<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:46:42
         compiled from "../views/obgy/instruction/print.html" */ ?>
<?php /*%%SmartyHeaderCode:12457700266856d3e28a56e4-89903518%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f1542998bbfe011c2f41aa22a5cf24c54f937f8f' => 
    array (
      0 => '../views/obgy/instruction/print.html',
      1 => 1670717494,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12457700266856d3e28a56e4-89903518',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'show' => 0,
    'instructions' => 0,
    'patient' => 0,
    'doctor_name' => 0,
    'h_doctor_name' => 0,
    'printDate' => 0,
    'user_name' => 0,
    'printserial' => 0,
    'inst' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d3e29c4bf0_31807268',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d3e29c4bf0_31807268')) {function content_6856d3e29c4bf0_31807268($_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%;" class="noborder">
                    <tr>
                        <td class="bold"> اسم الزوجة    </td>
                        <td class="arbfnt" colspan="2">  <?php echo $_smarty_tpl->tpl_vars['patient']->value->wifename;?>
        </td>
                        <td class="bold" > اسم الزوج   </td>
                        <td class="arbfnt" colspan="2" > <?php echo $_smarty_tpl->tpl_vars['patient']->value->husdandname;?>
       </td>
                    </tr>
                    <tr>
                        <td class="bold"> رقم البطاقة    </td>
                        <td class="arbfnt" colspan="2"> <?php echo $_smarty_tpl->tpl_vars['patient']->value->wifenationalid;?>
    </td>
                        <td class="bold"> رقم البطاقة    </td>
                        <td class="arbfnt" colspan="2"> <?php echo $_smarty_tpl->tpl_vars['patient']->value->husbandnationalid;?>
     </td>
                    </tr>
                    <tr>
                        <td class="bold" > الطبيب المعالج</td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['doctor_name']->value;?>
     </td>
                        <td class="bold" > الطبيب المعالج</td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['h_doctor_name']->value;?>
     </td>
                    </tr>

                    <tr>
                        <td class="bold" >   الموبايل  1 </td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['patient']->value->phone;?>
     </td>
                        <td class="bold" >   الموبايل   2 </td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['patient']->value->mobile;?>
    </td>
                    </tr>
                    <tr>
                        <td class="bold" > التاريخ    </td>
                        <td class="arbfnt" >   <?php echo $_smarty_tpl->tpl_vars['printDate']->value;?>
   </td>
                        <td class="bold" > اسم المستخدم  </td>
                        <td class="arbfnt" ><?php echo $_smarty_tpl->tpl_vars['user_name']->value;?>
     </td>
                        <td class="bold" >  رقم الايصال    </td>
                        <td class="arbfnt" >   <?php echo $_smarty_tpl->tpl_vars['printserial']->value;?>
   </td>
                    </tr>
                </table>
            </div>

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

        </div>

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

            <div>
                <?php echo $_smarty_tpl->tpl_vars['instructions']->value->content;?>
 
            </div>


        </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%;" class="noborder">
                    <tr>
                        <td class="bold"> اسم الزوجة    </td>
                        <td class="arbfnt" colspan="2">  <?php echo $_smarty_tpl->tpl_vars['patient']->value->wifename;?>
        </td>
                        <td class="bold" > اسم الزوج   </td>
                        <td class="arbfnt" colspan="2" > <?php echo $_smarty_tpl->tpl_vars['patient']->value->husdandname;?>
       </td>
                    </tr>
                    <tr>
                        <td class="bold"> رقم البطاقة    </td>
                        <td class="arbfnt" colspan="2"> <?php echo $_smarty_tpl->tpl_vars['patient']->value->wifenationalid;?>
    </td>
                        <td class="bold"> رقم البطاقة    </td>
                        <td class="arbfnt" colspan="2"> <?php echo $_smarty_tpl->tpl_vars['patient']->value->husbandnationalid;?>
     </td>
                    </tr>
                    <tr>
                        <td class="bold" > الطبيب المعالج</td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['doctor_name']->value;?>
     </td>
                        <td class="bold" > الطبيب المعالج</td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['h_doctor_name']->value;?>
     </td>
                    </tr>

                    <tr>
                        <td class="bold" >   الموبايل  1 </td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['patient']->value->phone;?>
     </td>
                        <td class="bold" >   الموبايل   2 </td>
                        <td class="arbfnt" colspan="2" ><?php echo $_smarty_tpl->tpl_vars['patient']->value->mobile;?>
    </td>
                    </tr>
                    <tr>
                        <td class="bold" > التاريخ    </td>
                        <td class="arbfnt" >   <?php echo $_smarty_tpl->tpl_vars['printDate']->value;?>
   </td>
                        <td class="bold" > اسم المستخدم  </td>
                        <td class="arbfnt" ><?php echo $_smarty_tpl->tpl_vars['user_name']->value;?>
     </td>
                        <td class="bold" >  رقم الايصال    </td>
                        <td class="arbfnt" >   <?php echo $_smarty_tpl->tpl_vars['printserial']->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 }} ?>