<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
      
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">All Sessions</span>
                        </div>

                    </div>
   
                    <table class="table table-striped table-bordered table-hover" id="sample_2">
                        <thead>
                            <th>No</th>
                            <th>Date</th>
                            <th>Details</th>
                        </thead>
                        
                        <tbody>
                            {assign var=i value=1}
                            {foreach $allSessions as $session}
                            <tr>
                                <td>{$i}</td>
                                <td>{$session->date}</td>
                                <td><a href="#" class="btn green btn-block sessionDetails" data-sessionid="{$session->id}">Details </a></td>
                            </tr>
                            {capture assign=i}{$i+1}{/capture}
                            {/foreach}
                        </tbody>
                    </table>

                    
            





                    </div>
                </div>
            </div>
        
        </div>
        <!-- END PAGE CONTENT-->
    </div>

<!-- END CONTENT -->
<!----------------------------------------------------  Models --------------------------------------------------->
<div id="request_div" style="width:100%;background-color:red;"> </div>