<!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'}
</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>
    
 <script>
function openwin(id,uid) {
   
   window.open("result_view.php?pid="+id+"&uid="+uid,"", "width=800px, height=600px");
}
</script>   
   
       <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"> Profile Detail </h2>
        
		</div>
         
          <div class="panel-body" style="overflow:scroll"> 
      
         	{if !empty($result)} 
          
                <table class="table table-bordered tablestyle  table-striped custab" >
                              <thead>
                                 <tr> 
                                   <td valign="top">View Result</td>
                                   <td valign="top">Exam name</td >
                                   <td valign="top">Total Marks </td >
                                   <td valign="top">Duration</td >
                                   <td valign="top">Total Question</td >
                                   <td valign="top">Correct Attempted</td >
                                   <td valign="top">Wrong Attempted</td >
                                  
                                   <td valign="top"> Marking Scheme</td >
                                   <td valign="top">Correct Marks </td >
                                   <td valign="top">Inncorrect Marks	</td >	
                                   <td valign="top">Date</td >
                                   <td valign="top">Obtained Marks</td >
                                </tr>
                              </thead>
                              
                              <tbody>
                                    {foreach from=$result item=rs}
                                      
                                <tr> 
                                   <td>
                                   <a href="" onClick="openwin({$rs.pid},{$SESSION.user.uid})" class="btn-dietician pull-right " style=" margin-top: 5px;">View Result</a></td> 
                                   <td>{$rs.papername}</td >
                                   <td >{$rs.marks}</td >
                                   <td >{$rs.time}</td >
                                   <td >{$rs.totalattemptques}</td >
                                   <td >{$rs.correctq}</td >
                                   <td >{$rs.wrongq}</td >
                                   
                                   <td >{$rs.marking_scheme}</td >
                                   <td >{$rs.cmarks}</td >
                                   <td >{$rs.wmarks}</td >	
                                   <td >{$rs.date}</td >
                                   <td >{$rs.finaltotal}</td >
                                </tr>
                                     {/foreach}
                              </tbody>
                           </table> 
                           
            {else}
                           
                <label style="margin:5px">sorry no results to show </label> 	  
                               
            {/if}
      
    </div>
            
      </div> 
    
    </div>
    
    
    
    
    
    
   
    <script src="script2.js" type="text/javascript"></script>
</div>

    </div>

                        
                    </div>
                </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>

