Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
idcm_old
/
application
:
testimonial_print.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<style> .table-bordered { border: 1px solid #000 !important; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #000 !important; text-align: left; padding: 5px 5px 5px 5px; } table { width: 100%; margin: auto; font-size: 12px; } .row { margin-right: 0px !important; margin-left: 0px !important; } </style> <?php $master_stdArr = isset($master_stdArr)?$master_stdArr:array(); $exam_name = isset($exam_name)?$exam_name:''; $i = 1; $msg = isset($msg)?$msg:''; $msg_type = isset($msg_type)?$msg_type:''; $this->session->UnsetFlashData(); $k = 1; $num_std = count($master_stdArr); $num_pages = ceil($num_std / 25); if($num_pages == 0){ $num_pages = 1; } //echo $num_pages;die; //for($j=0;j<$num_pages;$j++){} $grpArr = array('A'=>'Science','B'=>'Arts','C'=>'Commerce'); ?> <!-- https://codepen.io/rafaelcastrocouto/pen/poyWPO --> <style> @media print { body { -webkit-print-color-adjust: exact; margin:0px !important; padding:0px !important; } } body { background: rgb(204,204,204); } page { background: white; display: block; margin: 0 auto; margin-bottom: 0.0cm; box-shadow: 0 0 0.5cm rgba(0,0,0,0.5); } page[size="A4"] { width: 21cm; height: 29.7cm; } page[size="A4"][layout="portrait"] { width: 21cm; height: 29.7cm; } @page { margin: 0; } #pad { padding: 5px 18px 20px 18px; height: 15cm; } #header { padding: 20px 20px 0px 20px; } #spanc { display: block; } .ich-logo{ float:left; } .ich-exam{ float:left; } .test-border { background-repeat: no-repeat !important; background-size: 100% 100% !important; background-image: url(https://www.ichhamatidegreecollege.edu.bd/images/test_border7.png) !important; } </style> <page size="A4" class=" test-border" layout="portrait" onload="window.print();"> <div class="row " style="margin-top:10px"> <div class="col-xs-12 " style=" padding:65px; "> <div class="row"> <div class="ich-logo" style="padding-left: 25px; padding-top:10px"> <img style="height:90px" src="<?php echo base_url().'img/idc-logo.png';?>" class="user-image" alt="User Image"> </div> <div class="ich-exam" style="padding-left: 35px; padding-top:10px"> <p style='text-align:center'><span style='font-size:25px;font-weight: bold; text-transform:uppercase;color:#0939a8'>Ichhamati Degree College</span><br><span style='font-size:16px;font-weight: bold;'>Post: Ranirbandar, Upazilla: Chirirbandar, District: Dinajpur</span><br> <strong>Established: 1972<br>Institute Code: 7805013201</strong></p> </div> </div> <div class="row"> <div style="float:left; width:32%"> <b>Higher Secondary Code:</b> 7750<br> <b>Degree Code:</b> 3419 </div> <div style="float:left; width:32%"> <p style='text-align:center;margin-top:5px;'> <span style='background:#2145a6 !important; color:#fff !important;padding:5px 25px 5px 25px; '> Testimonial</span> </p> </div> <div style="float:left; width:32%"> <b>Serial No. : <?php echo $st_data[0]->test_sl; ?></b> <br> <b>Date: <?php echo $st_data[0]->dois; ?></b> </div> </div> <div class="row" style="min-height: 550px; background-image: url('https://www.ichhamatidegreecollege.edu.bd/images/ich-logo-bg.png') !important;background-repeat: no-repeat !important; background-position: center top !important;"> <p style='text-align:justify; line-height: 30px;padding-right:10px; font-size:15px'> <br> This is to certify that <b><?php echo $st_data[0]->name; ?></b>, Father: <b><?php echo $st_data[0]->fname; ?></b>, Mother: <b><?php echo $st_data[0]->mname; ?></b>, Address: <b><?php echo $st_data[0]->permanent_address; ?></b>, passed the H.S.C examination in <b><?php echo $st_data[0]->passing_year; ?></b> from this college under the Board of Intermediate and Secondary Education, Dinajpur bearing Roll No. <b><?php echo $st_data[0]->std_roll; ?></b>, Registration No. <b><?php echo $st_data[0]->std_reg; ?></b>, Group: <b><?php echo $grpArr[$st_data[0]->batch_group]; ?></b> and obtained GPA: <b><?php echo $st_data[0]->hsc_gpa; ?></b>. His/Her date of birth is <b><?php echo $st_data[0]->dob; ?></b>. <br> <br> To the best of my knowledge he did not take part in any activities subversive of the state or discipline. <br> I wish him every success in life. </p> <br> <b style="font-size:15px">His/Her Studied Subjects:</b> <p style="font-size:15px"> <?php $i=0; $j=1; $opt=$st_data[0]->opt_ids; $opt_sub = explode(',',$opt); foreach($sub_data as $sd){ if (in_array($sd->sub_id, $opt_sub)){ $sub_name = $sd->short_name.' (Optional)'; } else{ $sub_name=$sd->short_name; } echo "<br><b>".$j.'.</b> '. $sub_name.'   '; /* if ($i%3==0){ echo "<br><b>".$j.'.</b> '. $sub_name.'   '; } else{ echo '<b>'.$j.'.</b> '. $sub_name.'   '; } */ $i++; $j++; } ?> </p> <div style="float:right;margin-top:60px; margin-right:20px"> <b>----------------------------------</b><br> (Principal's Seal and Signature) </div> </div> </div> </div> </page>