<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link rel="shortcut icon" href="{$URL_ROOT}images/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<head id="Head1">
{include file='mss_meta.html'}

{literal}
<script language="javascript">
function selectpaper(id){
$.post("{/literal}{$ROOT}{literal}exam.php",{pprid:id},function(data){alert(data)});
}
</script>

{/literal}
</head> 

<body onload="MM_preloadImages('{$URL_ROOT}images/admision-o.png','{$URL_ROOT}images/online-appli-o.png','{$URL_ROOT}images/achievent-o.png','{$URL_ROOT}images/enqury-form-o.png')">

{include file='mss_head.html'}
<div class="container">
  <div class="row profile">
    
    <div class="col-md-3"> 
    {include file='usersidebar.html'} 
    </div>
    
    <div class="col-md-9">
      <div class="profile-content"> 
        <!--Some user related content goes here...-->
        
        <div class="panel panel-primary">
          <div class="panel-heading">
            <h2 class="panel-title">Latest Exams</h2>
  
    	  </div>
          <div class="panel-body">
      		<table class="table table-striped custab">
            <thead>
            
                <tr>
                    <th>Exam name</th>
                    <th>Class</th>
                    <th>Subject</th>
                    <th class="text-center">Action</th>
                </tr>
            </thead>
             {foreach from=$papers item=ppr}
                <tr>
                    <td>{$ppr.name}</td>
                    <td>{$ppr.class}</td>
                    <td>{$ppr.subject}</td>
                    <td class="text-center">
                    
<!--         <a class='btn btn-info btn-xs' href="#"><span class="glyphicon glyphicon-edit"></span> Edit</a> <a href="#" class="btn btn-danger btn-xs"><span class="glyphicon glyphicon-remove"></span> Del</a>-->                  
                 {if $ppr.attempted==0}
                  
                  <a class='btn btn-labeled btn-success' href="{$ROOT}examwindow.php?pid={$ppr.id}" target="_blank" ><span class="glyphicon glyphicon-edit"></span> Attempt</a>
                
                {elseif $ppr.attempted==1}
                 
                 <a class='btn btn-info btn-xs' href="javascript:;" ><span class="glyphicon glyphicon-success"></span> Taken</a>
                
                {else}
                  <a class='btn btn-info btn-xs' href="javascript:;" ><span class="glyphicon glyphicon-success"></span>  Requested </a>
                {/if}
                    
             </td>
                </tr>
             {/foreach}
    </table>
            
    	  </div>
        </div>
 
      </div>
    </div>
  </div>
</div>
{include file='mss_footer.html'}
    <script type="text/javascript">
        function navigateTo(url) {
            window.location = url;
        }
    </script>
    
</form>
</body>

<!-- Mirrored from www.british-school.org/About_school.aspx?p=2 by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 06 Dec 2015 07:44:23 GMT -->
</html>

