<?php /* Smarty version Smarty-3.1.11, created on 2025-06-10 15:29:41
         compiled from "../views/obgy/instruction/print_lab.html" */ ?>
<?php /*%%SmartyHeaderCode:2082121686848253550cea1-68909858%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7ed4e22bfbf208f2412b848452bee9b1391ad914' => 
    array (
      0 => '../views/obgy/instruction/print_lab.html',
      1 => 1592722044,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2082121686848253550cea1-68909858',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'show' => 0,
    'instructions' => 0,
    'name' => 0,
    'hosturl' => 0,
    'statusNo' => 0,
    'age' => 0,
    'sex' => 0,
    'printDate' => 0,
    'req_time' => 0,
    'doctor_name' => 0,
    'dateTime' => 0,
    'inst' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6848253561f1e6_67460699',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6848253561f1e6_67460699')) {function content_6848253561f1e6_67460699($_smarty_tpl) {?>





<style>
    @font-face {
        font-family: "MyFont"; src: url(../../views/default/assets/admin/layout2/css/font/GE_Dinar_One.otf) format("truetype");
    }

    html,body,div,p,ul,li,sapn{
        margin:0px;
        padding:0px;
    }
    .zprint_aw{
        width: 19cm;
        height: auto;
        direction: rtl;
        font-size: 18px;
        margin:0px;
        padding:0px;
        font-weight: 700;
    }
    .zname_aw{
        width:98%;
        margin:0px auto;
    }

    .zdetlz_aw{
        width:100%;
        margin:0px auto;
        height:300px;
        margin-top: 0.5cm;
    }
    .aw_bottom_p {
        margin: 0px;
        padding: 0px;
        width: 14.8cm;
        position: absolute;
        bottom: 0px;
    }

    .right{
        float:right;
    }
    .left{
        float:left;
    }
    .arab{
        font-family:"Swissra-Bold";
        font-size: 13px
    }
    .txtr{
        text-align:right;
    }
    .txtl{
        text-align:left;
    }
    .txtc{
        text-align:center;
    }
    .clr{
        clear:both;
    }
    .cntr{
        margin:0px auto;
    }
    .rtl{
        direction:rtl;
    }
    .ltr{
        direction:ltr;
    }

    .cenet{
        float: right;
        margin-right: 21%;
        border: 1px solid;
        padding: 3px 6px;
    }
    .space{
        width: 110px;
        display: inline-block;
    }
    .onyio{
        margin-top: 7px;
        display: block;
    }


</style>

<style>

    .noborder tr { height: 8mm; }
    .bold { font-weight: bold;}
    .h1 { font-weight: 900; font-size: 28px;}

    .form-group.form-md-line-input .help-block {
        position: absolute;
        margin: 2px 0 0 0;
        opacity: 1;
        filter: alpha(opacity=0);
        font-size: 13px;
    }

    @media print {
        #patient_profile_print {
            transform: scale(.9);
        }

        .noborder tr { height: 8mm; }

        .bold { font-weight: bold;}
        .h1 { font-weight: 900; font-size: 28px;}
        .col-md-12 { width: 100% !important ;}
        .break { page-break-after: always;}
    }
</style>






<style>
    @page {
    size: auto;
    margin-top: <?php echo $_smarty_tpl->tpl_vars['ProgramesettingData']->value->above;?>
cm;
    margin-bottom: <?php echo $_smarty_tpl->tpl_vars['ProgramesettingData']->value->buttom;?>
cm;
    }

    .arbfnt {
    font-size: <?php echo $_smarty_tpl->tpl_vars['ProgramesettingData']->value->fontsizear;?>
px !important;
    }

    .enfnt {
    font-size: <?php echo $_smarty_tpl->tpl_vars['ProgramesettingData']->value->fontsizeen;?>
px !important;
    }
</style>






<div class="page-content-wrapper" id="mydiv">

    <?php if ($_smarty_tpl->tpl_vars['show']->value==1){?>

    <div class="row " style="direction: rtl;">

        <div class="col-md-12">
            <h1 class="h1" style="text-align: center;">   <?php echo $_smarty_tpl->tpl_vars['instructions']->value->name;?>
 </h1>              
        </div>

        <div class="right txtr col-md-12">

            <hr class="col-md-12"  style="border: 1px solid black;">

            <div class="col-md-12">

                <table style="width: 95%;margin: 5px auto;padding-right: 3%;direction: ltr;" class="noborder txtl">
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Patient Name   </td>
                        <td style="width: 25%;"> <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
     </td>
                        <td style="width: 25%;font-weight: bold;"> Patient ID   </td>
                        <td style="width: 25%;"> <img id="xx"  src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/barcodes/<?php echo $_smarty_tpl->tpl_vars['statusNo']->value;?>
.png" height="20">     </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Age / Sex    </td>
                        <td style="width: 25%;"> <?php echo $_smarty_tpl->tpl_vars['age']->value;?>
 Years  / <?php echo $_smarty_tpl->tpl_vars['sex']->value;?>
      </td>
                        <td style="width: 25%;font-weight: bold;"> Requested Date     </td>
                        <td style="width: 25%;">  <?php echo $_smarty_tpl->tpl_vars['printDate']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['req_time']->value;?>
 </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Referred By   </td>
                        <td style="width: 25%;"><?php echo $_smarty_tpl->tpl_vars['doctor_name']->value;?>
     </td>
                        <td style="width: 25%;font-weight: bold;"> Printed In   </td>
                        <td style="width: 25%;">   <?php echo $_smarty_tpl->tpl_vars['dateTime']->value;?>
   </td>
                    </tr>
                </table>
            </div>

            <hr class="col-md-12"  style="border: 1px solid black;">

        </div>

        <div class="col-md-12">

            <table style="width: 95%;margin: 5px auto;" cellpadding="2" class="noborder">
                <tr>
                    <td colspan="2">
                        <?php echo $_smarty_tpl->tpl_vars['instructions']->value->content;?>
 
                    </td>
                </tr>

            </table>

        </div>
    </div>

    <?php }else{ ?>

    <?php  $_smarty_tpl->tpl_vars['inst'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inst']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['instructions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inst']->key => $_smarty_tpl->tpl_vars['inst']->value){
$_smarty_tpl->tpl_vars['inst']->_loop = true;
?>
    <div class="row break " style="direction: rtl;">

        <div class="col-md-12">
            <h1 class="h1" style="text-align: center;">   <?php echo $_smarty_tpl->tpl_vars['inst']->value->name;?>
 </h1>              
        </div>

        <div class="right txtr col-md-12">

            <hr class="col-md-12"  style="border: 1px solid black;">

            <div class="col-md-12">

                <table style="width: 95%;margin: 5px auto;padding-right: 3%;direction: ltr;" class="noborder txtl">
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Patient Name   </td>
                        <td style="width: 25%;"> <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
     </td>
                        <td style="width: 25%;font-weight: bold;"> Patient ID   </td>
                        <td style="width: 25%;"> <img id="xx"  src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/barcodes/<?php echo $_smarty_tpl->tpl_vars['statusNo']->value;?>
.png" height="20">     </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Age / Sex    </td>
                        <td style="width: 25%;"> <?php echo $_smarty_tpl->tpl_vars['age']->value;?>
 Years  / <?php echo $_smarty_tpl->tpl_vars['sex']->value;?>
      </td>
                        <td style="width: 25%;font-weight: bold;"> Requested Date     </td>
                        <td style="width: 25%;">  <?php echo $_smarty_tpl->tpl_vars['printDate']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['req_time']->value;?>
 </td>
                    </tr>
                    <tr>
                        <td style="width: 25%;font-weight: bold;"> Referred By   </td>
                        <td style="width: 25%;"><?php echo $_smarty_tpl->tpl_vars['doctor_name']->value;?>
     </td>
                        <td style="width: 25%;font-weight: bold;"> Printed In   </td>
                        <td style="width: 25%;">   <?php echo $_smarty_tpl->tpl_vars['dateTime']->value;?>
   </td>
                    </tr>
                </table>

            </div>

            <hr class="col-md-12"  style="border: 1px solid black;">

        </div>

        <div class="col-md-12">

            <table style="width: 95%;margin: 5px auto;" cellpadding="2" class="noborder">
                <tr>
                    <td colspan="2">
                        <?php echo $_smarty_tpl->tpl_vars['inst']->value->content;?>
 
                    </td>
                </tr>

            </table>

        </div>
    </div>
    <?php } ?>

    <?php }?>
</div>






<?php }} ?>