@section('page_title')
    OSAA - Tickets
@stop

@section('page_sub_title')    
   Tickets
@stop

@section('scripts')
    @parent

    <style type="text/css">
        
        .ticket_item {
            float: left;
            display: block;
            width: 200px;
            height: 300px;
            border: 1px solid #d9e1e0;
            text-align: center;            
            margin: 0 3em 3em 0;
            padding: 0.5em 0;            
            /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fcfdff+12,deefff+82,98bede+100 */
            background: #fcfdff; /* Old browsers */
            background: -moz-linear-gradient(top,  #fcfdff 12%, #deefff 82%, #98bede 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top,  #fcfdff 12%,#deefff 82%,#98bede 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom,  #fcfdff 12%,#deefff 82%,#98bede 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfdff', endColorstr='#98bede',GradientType=0 ); /* IE6-9 */
        }
        
        .ticket_item:hover {
            text-decoration: none;            
            border: 1px solid #990000;
            /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+43,efe7ae+100 */
            background: #ffffff; /* Old browsers */
            background: -moz-linear-gradient(top,  #ffffff 43%, #efe7ae 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top,  #ffffff 43%,#efe7ae 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom,  #ffffff 43%,#efe7ae 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efe7ae',GradientType=0 ); /* IE6-9 */
        }       

        .ticket_item img {
            margin: 0;
        }

        .ticket_item h2 {
            margin-top: 0 !important;
        }

        .ticket_item h1 {
            line-height: 1.15em;
            height: 52px;
        }
    </style>

@stop

@section('jquery_init')
    
    $('.ticket_button_links div.fourth a').css({'height':'300px'});

@stop

@section('page_functions')
   
@stop


@section('main_content')    

    <div class="ticket_button_links">        

        @foreach ($configuration as $item)

            @if ($item->show)

                <a href="{{ $item->link }}" class="ticket_item ui-corner-all">
                    <h1>{{ $item->title }}</h1>                
                    <img src="{{ $item->image }}" alt="" title="" style="" />
                    <h2>{{ $item->sub_title }}</h2>               
                </a>                

            @endif

        @endforeach

    </div>

    <br class="clear" /><br />

    {{--


        @if (time() <= strtotime('2016-05-19 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/btf/tickets') }}" class="ui-corner-all" />
                    <h1>Track &amp; Field</h1>                
                    <img src="{{ asset('/images/sportsu/btf.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2016-06-06 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/bbl/tickets') }}" class="ui-corner-all" />
                    <h1>Baseball</h1>                
                    <img src="{{ asset('/images/sportsu/bbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2016-06-06 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/sbl/tickets') }}" class="ui-corner-all" />
                    <h1>Softball</h1>                
                    <img src="{{ asset('/images/sportsu/sbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif




        @if (time() <= strtotime('2016-02-13 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/che/tickets') }}" class="ui-corner-all" />
                    <h1>Cheerleading</h1>                
                    <img src="{{ asset('/images/sportsu/che.png') }}" alt="" title="" style="margin: 20px 0 20px 0;" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2016-02-20 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/bsw/tickets') }}" class="ui-corner-all" />
                    <h1>Swimming</h1>                
                    <img src="{{ asset('/images/sportsu/bsw.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2016-02-27 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/wre/tickets') }}" class="ui-corner-all" />
                    <h1>Wrestling</h1>                
                    <img src="{{ asset('/images/sportsu/wre.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif        

        @if (time() <= strtotime('2016-03-05 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/bbx/tickets') }}#3a_basketball_state_championships" class="ui-corner-all" />
                    <h1>3A, 2A, 1A Basketball</h1>                
                    <img src="{{ asset('/images/sportsu/bbx.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif    

        @if (time() <= strtotime('2016-03-12 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/bbx/tickets') }}#6a_basketball_state_championships" class="ui-corner-all" />
                    <h1>6A, 5A, 4A Basketball</h1>                
                    <img src="{{ asset('/images/sportsu/bbx.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif    

        @if (time() <= strtotime('2016-03-19 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/dnc/tickets') }}" class="ui-corner-all" />
                    <h1>Dance/Drill</h1>                
                    <img src="{{ asset('/images/sportsu/dnc.png') }}" alt="" title="" style="margin: 10.5px 0 10.5px 0;" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif 

    </div>

    <br class="clear" />

    <div class="ticket_button_links columns">

       

    </div>   





        @if (time() <= strtotime('2016-10-31 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/bxc/tickets') }}" class="ui-corner-all" />
                    <h1>Cross Country</h1>                
                    <img src="{{ asset('/images/sportsu/bxc.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-11-14 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/bsc/tickets') }}" class="ui-corner-all" />
                    <h1>Soccer</h1>                
                    <img src="{{ asset('/images/sportsu/bsc.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-11-07 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/vbl/tickets') }}" class="ui-corner-all" />
                    <h1>Volleyball</h1>                
                    <img src="{{ asset('/images/sportsu/vbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-12-05 23:59:59'))
            <div class="fourth">
                <a href="{{ url('/activities/fbl/tickets') }}" class="ui-corner-all" />
                    <h1>Football</h1>                
                    <img src="{{ asset('/images/sportsu/fbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif


        @if (time() <= strtotime('2015-05-05 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/cho/tickets') }}" class="ui-corner-all" />
                    <h1>Choir</h1>                
                    <img src="{{ asset('/images/sportsu/cho.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-05-11 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/bnd/tickets') }}" class="ui-corner-all" />
                    <h1>Band/Orchestra</h1>                
                    <img src="{{ asset('/images/sportsu/bnd.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-05-19 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/btf/tickets') }}" class="ui-corner-all" />
                    <h1>Track &amp; Field</h1>                
                    <img src="{{ asset('/images/sportsu/btf.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

    </div>
    <div class="ticket_button_links columns">

        @if (time() <= strtotime('2015-06-06 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/bbl/tickets') }}" class="ui-corner-all" />
                    <h1>Baseball</h1>                
                    <img src="{{ asset('/images/sportsu/bbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        @if (time() <= strtotime('2015-06-06 10:00:00'))
            <div class="fourth">
                <a href="{{ url('/activities/sbl/tickets') }}" class="ui-corner-all" />
                    <h1>Softball</h1>                
                    <img src="{{ asset('/images/sportsu/sbl.png') }}" alt="" title="" style="" />
                    <h2>Ticket Information</h2>               
                </a>
            </div>
        @endif

        

    </div>

    --}}
       
        
@stop