<?php include("parent/callMe.php"); ?>

<?php  include("sessioncheck.php");



        $m->where("branch_id", $_SESSION['branch']);

        $branch=$m->get("edu_branch_config");



        $m->where("student_id", $_REQUEST['student_id']);

        $student=$m->get("edu_student_details");



 ?>



  <style type="text/css">







.center {

  margin-left: auto;

  margin-right: auto;

}



</style>

<div style="margin-left: 45px;" class="watermarked">

<div class="center"style="width:850px; height:600px; padding:20px; text-align:center; border: 10px solid #787878">

<div style="width:800px; height:550px; padding:20px; text-align:center; border: 5px solid #787878">

<br>





<div style="">

<div style="float: left;width: 20%;">



   <?php if($brid[0]['logo']!=NULL){ ?>

          

          <img src="<?php echo DOMAIN.AgentDirectory;?>img/<?php echo $brid[0]['logo'];?>" id="preview" class="img-thumbnail" style="width:100px;height:100px;"   />



       <?php }else { ?>   



           <img src="http://cdn.onlinewebfonts.com/svg/img_234957.png" id="preview" style="width:100px;height:100px;" class="img-thumbnail" />





       <?php } ?> 



</div>

<div style="float: left;width: 60%;font-size:30px; font-weight:bold">

  <?php echo $branch[0]['Branch_Name']; ?><br><span style="font-size:14px; "><?php echo $branch[0]['Branch_Location5']; ?></span><br><br><span style="font-size:24px; font-weight:bold">Character Certificate</span>

</div>

<div style="float: left;width: 20%;">

  <?php if($student[0]['image']!=NULL){ ?>



      <img src="<?php echo DOMAIN;?>Production/students_pics/<?php echo $student[0]['image'];?>" id="preview" class="img-thumbnail" style="width:100px;height:100px;"   />



   <?php }else { ?>   



       <img src="<?php echo DOMAIN;?>Production/images/upload.png" id="preview" height="100px" class="img-thumbnail" width="100px"  />





   <?php } ?>

</div>

</div>



     <br><br><br><br><br><br>

     <h3 style="text-align: right;"> Dated: <?php echo date("d-M-Y"); ?> </h3>

     

     <p style="text-align:justify; font-size:18px;">

      It is certified that Mr/Ms <u><b> <?php echo $student[0]['first_name'];?></b></u> Son/Daughter <u><b> <?php echo $student[0]['last_name'];?></b></u> is a bonafide student of this Institute and bears a good moral character. His/Her got <input type="text" name="" placeholder="Write Here" style="border: none; width: 65px;"> marks out of <input type="text" name="" placeholder="Write Here" style="border: none; width: 65px;"> with grade <input type="text" name="" placeholder="Write Here" style="border: none; width: 65px;"> in his/her <input type="text" name="" placeholder="Enter Class" style="border: none; width: 65px;"> exam under the Roll No <input type="text" name="" placeholder="Write Here" style="border: none; width: 65px;">. His/her behaviour was good with teachers and students. He/she has neither displayed persistent violent of or aggressive behaviour nor any desire to harm others. <br><br><br>

        I wish all success and prosperity in his/her life.

     </p><br><br><br><br>



     <div style="font-weight: bold; text-align: left; ">Principal Signature: _____________________________</div> 

<br><br>

     <p><?php echo $branch[0]['Branch_Location']." # ".$branch[0]['branch_contact']; ?></p>

</div>

</div>

</div>