<?php /* Smarty version Smarty-3.1.11, created on 2024-08-26 07:46:03
         compiled from "../views/obgy/gyna/print.html" */ ?>
<?php /*%%SmartyHeaderCode:161776604266cc952bbe88d1-25695685%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '377586cbcd807c5940d194999896f04b80f3ab5d' => 
    array (
      0 => '../views/obgy/gyna/print.html',
      1 => 1646497790,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '161776604266cc952bbe88d1-25695685',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'title' => 0,
    'name' => 0,
    'printDate' => 0,
    'statusNo' => 0,
    'lastDiadnosis' => 0,
    'drugs' => 0,
    'drug' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cc952bc6fee7_95236048',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cc952bc6fee7_95236048')) {function content_66cc952bc6fee7_95236048($_smarty_tpl) {?><style>
    @font-face {
        font-family: 'Droid Arabic Kufi';
        font-style: normal;
        font-weight: 700;
        src: url(../_assets/custom/fonts/DroidKufi-Regular.eot);
        src: url(../_assets/custom/fonts/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
            url(../_assets/custom/fonts/DroidKufi-Regular.woff2) format('woff2'),
            url(../_assets/custom/fonts/DroidKufi-Regular.woff) format('woff'),
            url(../_assets/custom/fonts/DroidKufi-Regular.ttf) format('truetype');
    }

    @font-face {
        font-family:"GE Dinar One Medium";
        src:url("../_assets/custom/fonts/GE_Dinar_One_Medium.eot?") format("eot"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.woff") format("woff"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.ttf") format("truetype"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.svg#GEDinarOne-Medium") format("svg");
        font-weight:normal;
        font-style:normal;
    }

    /*@font-face {
        font-family: 'Swissra-Bold';
        font-weight: 700;
        src: url(../_assets/custom/fonts/SwissraBold.woff) format('woff')
    }*/


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

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

    .right{
        float:right;
    }
    .left{
        float:left;
    }
    .arab{
        font-family:"Swissra-Bold";
        font-size: 16px;
    }
    .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;
    }

    li{
        list-style: initial;
    }
    .pnumz{
        position: absolute;
        top: 0;
        right: 50%;
        border: 1px solid #000;
        padding: 0px 20px;
    }
    @page {
        padding-right: 0px !important;
        padding-left: 0px !important;
        margin-right: 0px !important;
        margin-left: 0px !important;
        width: 176mm !important;
    }
</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;
    }

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




<div class="zprint_aw" style="margin: 0px auto;position: inherit;padding: 0px 50px;padding-right: 20px !important; padding-left: 20px !important; margin-right: 0px !important; margin-left: 0px !important; min-width: 176mm !important;">



    <div class="zname_aw" style="margin-bottom: 15%;">

        <div class="right txtr">

             <p class="arab namefontsize"> <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
 / <span> <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
  </span></p>

        </div>



        <div class="left txtl" style="width: 20%;padding-left: 20px;">

            <p><span class="arab namefontsize" ><?php echo $_smarty_tpl->tpl_vars['printDate']->value;?>
</span></p>

        </div>

        <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->hideid!=1){?>
        <div class="left pnumz" style="width: 15%;">
            <center>
                <p><span class="arab namefontsize"><?php echo $_smarty_tpl->tpl_vars['statusNo']->value;?>
</span></p>
            </center>
        </div>
        <?php }?>
    </div>

    <div style="clear: both"></div>




    <div class="zdetlz_aw">
        <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->print_diag==1){?>
        <div  class="<?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==0){?>txtc<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==-1){?>txtl<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==1){?>txtr<?php }?>" style="margin-bottom:5px;direction:ltr;">

            <div class="cntr <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==0){?>txtc<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==-1){?>txtl<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==1){?>txtr<?php }?>">
                <span class="enfnt">Diagnosis : </span>
                &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                <span class=" enfnt "> <?php echo $_smarty_tpl->tpl_vars['lastDiadnosis']->value;?>
 </span></div>
        </div>
        <br>
        <?php }?>

        <div class="cntr <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==0){?>txtc<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==-1){?>txtl<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==1){?>txtr<?php }?>">

            <?php  $_smarty_tpl->tpl_vars['drug'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['drug']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['drugs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['drug']->key => $_smarty_tpl->tpl_vars['drug']->value){
$_smarty_tpl->tpl_vars['drug']->_loop = true;
?>
            <?php if ($_smarty_tpl->tpl_vars['drug']->value->drugid!=''){?>

            <div  class="<?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==0){?>txtc<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==-1){?>txtl<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==1){?>txtr<?php }?>" style="margin-bottom:5px;direction:ltr;">

                <div class="cntr <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==0){?>txtc<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==-1){?>txtl<?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->alignttt==1){?>txtr<?php }?>">
                    <ul>
                        <li><span class="enfnt"><?php echo $_smarty_tpl->tpl_vars['drug']->value->drugname;?>
 </span> 
                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                            <span class="enfnt"> <?php echo $_smarty_tpl->tpl_vars['drug']->value->drugtype;?>
 </span>
                        </li>
                    </ul> 
                </div>
                <span class="txtr arab arbfnt onyio">   <?php echo $_smarty_tpl->tpl_vars['drug']->value->drugdos;?>
 </span>
            </div>

            <br><hr style="width: 100%;">
            <?php }?>
            <?php } ?>
        </div>



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