<html>
    <head>
        <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
        <title><?php echo $b_header['title']; ?></title>
       <style>
            @media print
            {
                * {-webkit-print-color-adjust:exact;}
                @page {margin:0in 0.10in 0in 0in; }
                .super_container
                {
                    page-break-after: always;
                    margin-top:0.25in;
                    position:relative;
                    width:100vw;
                    height:710px;
                }
            }
            body {margin: 0.25in 0.25in 0.63in 0.25in; box-sizing:border-box;width:100vw; height:100vh;padding-bottom:0.63in;}
            *{margin:0;padding:0;font-family:calibri;}
            .clear:after{content:"";clear:both;display:block;}
            .left{float:left;}
            .right{float:right;}
            .wd-5{width:5%;}
            .wd-10{width:10%;}
            .wd-20{width:20%;}
            .wd-30{width:30%;}
            .wd-40{width:40%;}
            .wd-50{width:50%;}
            .wd-60{width:60%;}
            .wd-70{width:70%;}
            .wd-80{width:80%;}
            .wd-90{width:90%;}
            .wd-100{width:100%;}
            .wd-15{width:15%;}
            .wd-25{width:25%;}
            .wd-35{width:35%;}
            .wd-45{width:45%;}
            .wd-55{width:55%;}
            .wd-65{width:65%;}
            .wd-75{width:75%;}
            .wd-85{width:85%;}
            .wd-95{width:95%;}
            .wd-100{width:100%;}
            .title{font-size:35px;}
            .super_container
            {
                margin-bottom:200px;
                position:relative;
                width:100vw;
                height:710px;
            }
            .wrapper{
                border:4px transparent #18a05e;
                
                outline-offset: 5px;
                box-sizing: border-box;
                padding:5px;
            }
            .super_wrapper
            {
                position:absolute;
                top:0;
                left:0;
                width:100%;
                z-index:120;
                margin:0;
                padding:0;
            }
            /*.watermark*/
            /*{*/
            /*    height:200px;*/
            /*    width:300px;*/
            /*    margin:auto;*/
            /*    padding-top:50px;*/
            /*    padding-left:100px;*/
            /*    opacity:0.1;*/
            /*    background:url("<?php echo base_url().$b_header['logo1']; ?>");*/
            /*    background-size:100% 100%;*/
            /*}*/
            /*.watermark_wrapper*/
            /*{*/
            /*    height:470px;*/
            /*    width:100%;*/
            /*    margin-top:50px;*/
            /*    display:inline-flex;*/
            /*    display:-webkit-inline-flex;*/
            /* }*/
            .wrapper.left2{
                width: calc(90vw);
                margin-right: 20px;
                margin-left: 20px;
            }
            h1,h2,h3,h4,p{
                color:#191970;
                font-family:calibri;
                text-align:center;
            }
            .boxed{color:#000000;width:80%;margin:0 auto;}
            .header{
                width:100%;
                border-bottom:4px solid #191970;            
            }
            .body{
                padding:10px;
            }
            .row{
                width:100%;
                margin: 0px auto;  
            }
            .text-center{text-align:center;}
            .bold{font-weight:bold;}
            .b-u-l{
                border-bottom: 1px solid #000;
                height:inherit;
            }
            .x-small{
                font-size: 12px;
            }
            .x-x-small{
                font-size: 9px;
            }
            .page_break{
                width: 100vw;
                height: 100vh;
                padding: 10px 0px;
                box-sizing: border-box;
            }
            .tbl1
            {
                border: 1px solid #000;
                text-align:center;
                width:100%;
                min-height:20px;
            }
            th{
                font-size: 12px;
                border: 1px solid #000;
                  border-right: 0px;
                border-bottom: 0px; 
                background-color:#ccccb3; 
                padding: 3px !important;
            }
            td{
                font-size:12px;
                border: 1px solid #000;
                text-align: left;
                  border-right: 0px;
                border-bottom: 0px; 
                padding: 2px !important;
            }
            .normal{
                font-weight: normal !important;
            }
            .text-right{
                text-align: right !important;
            }
            .text-left{
                text-align: left !important;
            }
            .margin-a{margin: 30px auto 0px auto;}
        </style>
    </head>
    <body class="clear">
        <?php //date_default_timezone_set("Asia/Karachi"); ?>
        <div class="super_container">
            <div class="page_break clear">
                <div class="watermark_wrapper">
                    <div class="watermark"></div>
                </div>
                <div class="super_wrapper">
                    <div class="wrapper left2 left">
                        <div class="header">
                            <div class="wd-100 clear">
                                <div class=" text-left left ">
                                    <img src="<?php echo base_url().$b_header['logo1']; ?>" style="width:50px;height:50px;">
                                </div>
                                <div class=" text-left right ">
                                    <img src="<?php echo base_url().$b_header['logo2']; ?>" style="width:50px;height:50px;">
                                </div>
                                <div style="">
                                     <center><h1><?php echo $b_header['title']; ?></h1></center>
                                    <center><h4 style="font-size:18px;color:#000 !important;"><i><?php echo $b_header['tagline']; ?></i></h4></center>
                                    <center><i><h3 style="color:#000 !important;font-weight:normal;"><?php echo $b_header['short_address']; ?></h3></i></center>
                                    <center><u><h3 class="boxed" style="margin-top:0px !important;font-size:23px;">Final Term Assessment Report</h3></u></center>
                                </div>
                            </div>
                            <div class="wd-100 clear">
 
                                <div class="wd-20 left" style="margin-bottom:15px;">
                                    
                                </div>
                            </div>
                        </div>
                        <div class="body">
                            <div class="container">
                            <div class="row">
                                <div class="col-md-4"><strong>Name: <u><?php echo $query = $this->db->select('student_name')->from('student')->join('promotion','promotion.student_id = student.id')->where('student.id', $student_id)->get()->row()->student_name; ?></u></strong></div>
                                <div class="col-md-4"><strong>Class: <u><?php echo $class_name; ?></u></strong></div>
                                <div class="col-md-4"><strong>Section: <u><?php echo $section_name; ?></u></strong></div>
                                <div class="col-md-6"><strong>Total Working Days:<u><?php echo $working_days;?></u></strong></div>
                                <div class="col-md-6"><strong>Attended Days:<u><?php echo $days_attended;?></u>
                                </strong></div>
                            </div>
            <!--TABLES DATA-->
                            <div class="row">
                                <div class="col-md-6">
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">English</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Has Concepts of alphabets (a-z)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($concepts_eng=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($concepts_eng=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_eng=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_eng=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Has recognition of alphabets (a-z)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($recognition_eng=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($recognition_eng=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_eng=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_eng=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Writes Independently (a-z)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($writes_eng=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($writes_eng=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_eng=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_eng=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Mathematics</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Has Concepts of numbers (1-30)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($concepts_math=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($concepts_math=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_math=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_math=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Has recognition of numbers (1-30)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($recognition_math=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($recognition_math=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_math=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_math=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Writes Independently (1-30)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($writes_math=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($writes_math=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_math=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_math=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">General Knowledge</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Can answer general knowledge questions</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($gk_questions=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($gk_questions=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($gk_questions=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($gk_questions=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Has basic Islamic Knowledge</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($islamic_knowledge=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($islamic_knowledge=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($islamic_knowledge=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($islamic_knowledge=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Poem and Nazam</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Sings poem and Nazam with action and interest</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($poem_nazam=='excellent'){ echo 'checked'; } else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($poem_nazam=='good'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($poem_nazam=='satisfactory'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($poem_nazam=='improvement'){ echo 'checked'; } else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="col-md-6">
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Urdu</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Has Concepts of alphabets (ا۔غ)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($concepts_urdu=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($concepts_urdu=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_urdu=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($concepts_urdu=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Has recognition of alphabets (ا۔غ)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($recognition_urdu=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($recognition_urdu=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_urdu=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognition_urdu=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Writes Independently (ا۔غ)</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($writes_urdu=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($writes_urdu=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_urdu=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($writes_urdu=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Arts and Crafts</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                            <td>Can do coloring with interest</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($coloring=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($coloring=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($coloring=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($coloring=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Can do cutting and pasting</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($cut_paste=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($cut_paste=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($cut_paste=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($cut_paste=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Can recognize and name color</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($recognize_color=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($recognize_color=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognize_color=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($recognize_color=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Nazrah</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Can recite Masnoon Duain, Kalma and Surat Kausar</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($masnoon_dua=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($masnoon_dua=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($masnoon_dua=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($masnoon_dua=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td>Can recite Surah Akhlas</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($surah_akhlas=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($surah_akhlas=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($surah_akhlas=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($surah_akhlas=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th width="65%">Sensorial</th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td>Has sensorial concepts</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($sensorial_concepts=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($sensorial_concepts=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($sensorial_concepts=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($sensorial_concepts=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
            <!--TABLES DATA-->
            <hr>
            <!--Progress General-->
            <h2>General Progress</h2>
                <div class="row">
                    <div class="col-md-12">
                         <table class="table table-bordered">
                                        <thead style="width:100%;">
                                            <tr>
                                                <th></th>
                                                <th>E</th>
                                                <th>G</th>
                                                <th>S</th>
                                                <th>N</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td width="65%">I participate in class discussions</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($class_discussion=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($class_discussion=='good'){ echo 'checked'; }else { echo 'disabled';}  ?>></td>
                                                <td><input type="checkbox" <?php if($class_discussion=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($class_discussion=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td width="65%">My home work presentation is neat</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($hw_presentation=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($hw_presentation=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($hw_presentation=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($hw_presentation=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                            <tr>
                                                <td width="65%">Interact with peers and friends</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($peers_friends=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($peers_friends=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($peers_friends=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($peers_friends=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                             <tr>
                                                <td width="65%">I participate in outdoor activities</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($outdoor_activities=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($outdoor_activities=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($outdoor_activities=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($outdoor_activities=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                             <tr>
                                                <td width="65%">I am regular and punctual</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($regular_punctual=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($regular_punctual=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($regular_punctual=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($regular_punctual=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                             <tr>
                                                <td width="65%">I behave well in school</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($behaviour=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($behaviour=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($behaviour=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($behaviour=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                             <tr>
                                                <td width="65%">I wear neat and tidy uniform</td>
                                                <td><input type="checkbox" <?php
                                        //echo"<pre>";print_r($eone);exit;        
                                        if($uniform=='excellent'){ echo 'checked'; }else { echo 'disabled';} ?>> </td>
                                                <td><input type="checkbox" <?php if($uniform=='good'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($uniform=='satisfactory'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                                <td><input type="checkbox" <?php if($uniform=='improvement'){ echo 'checked'; }else { echo 'disabled';} ?>></td>
                                            </tr>
                                        </tbody>
                                    </table>
                    </div>
                </div>
            <!--Progress General-->
            <hr>
            <input type="text" value="   Key:                  E = Excellent                                    G = Good                             S = Satisfactory                                        N = Needs Improvement" style="width:100%;height:40px;" readonly><br><br>
            <strong><b>Class Teacher's Comments:</b></strong><br>
            ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
            <br><br>
            <div class="row">
                <div class="col-md-4">-------------------------
                <br>Class Teacher</div>
                <div class="col-md-4"></div>
                <div class="col-md-4 pull-right">-------------------------
                <br>Principal</div>
            </div>
                            </div>
                        </div>
                </div>
              </div>

            </div>
          </div>
        </div>
        <!-- /page content -->
      </div>
    </div>

      <script>
        window.print();
    </script>
  </body>
</html>