<?php /* Smarty version Smarty-3.1.11, created on 2025-06-14 04:34:39
         compiled from "../views/obgy/instruction/print.html" */ ?>
<?php /*%%SmartyHeaderCode:151672545684d5e4f380f00-66457099%%*/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 => 1575005222,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '151672545684d5e4f380f00-66457099',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'patientId' => 0,
    'title' => 0,
    'name' => 0,
    'date' => 0,
    'show' => 0,
    'instructions' => 0,
    'inst' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_684d5e4f432063_97884695',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_684d5e4f432063_97884695')) {function content_684d5e4f432063_97884695($_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: 14.8cm;
        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>
    @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;">




    <div class="zname_aw">

        <div class="right txtr">

            <?php if ($_smarty_tpl->tpl_vars['patientId']->value!=0){?> <p class="arab namefontsize"> <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
 / <span> <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
  </span></p><?php }?>

        </div>


        <div class="left">

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

        </div>

    </div>

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

    <div class="zdetlz_aw">

        <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 if ($_smarty_tpl->tpl_vars['show']->value==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:30px;direction:ltr;">
                <!--                <span class="enfnt"><?php echo $_smarty_tpl->tpl_vars['instructions']->value->name;?>
 </span>
                                <br>-->
                <span class="arab arbfnt onyio">   <?php echo $_smarty_tpl->tpl_vars['instructions']->value->content;?>
 </span>
            </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="<?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:30px;direction:ltr;">
                <span class="enfnt"><?php echo $_smarty_tpl->tpl_vars['inst']->value->name;?>
 </span>
                <br>
                <span class="arab arbfnt onyio">   <?php echo $_smarty_tpl->tpl_vars['inst']->value->content;?>
 </span>
            </div>

            <?php } ?>
            <?php }?>

        </div>



    </div>
</div>






<?php }} ?>