<?php /* Smarty version Smarty-3.1.11, created on 2025-01-25 06:13:41
         compiled from "../views/obgy/gyna/printus.html" */ ?>
<?php /*%%SmartyHeaderCode:21138147046794f195579b49-75133683%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8e8bf96fdc98b4bb769c53ebf00b86ca6a03c171' => 
    array (
      0 => '../views/obgy/gyna/printus.html',
      1 => 1575005222,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21138147046794f195579b49-75133683',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'title' => 0,
    'name' => 0,
    'date' => 0,
    'statusNo' => 0,
    'type' => 0,
    'usRows' => 0,
    'gUs' => 0,
    'i' => 0,
    'j' => 0,
    'aUs' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6794f195af9fd2_39152646',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6794f195af9fd2_39152646')) {function content_6794f195af9fd2_39152646($_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: 20.8cm;
        height: auto;
        direction: rtl;
        font-size: 16px;
        margin:0px;
        padding:0px;
        font-weight: 700;
    }
    .zname_aw{
        width:98%;
        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: 20.8cm;
        position: absolute;
        bottom: 0px;
    }

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

    .prntbl2 {
        padding:0px !important;
        width:95% !important;
        margin:0px auto !important;
    }.prntbl2 table{
        border-collapse: collapse !important;
        width:100% !important;
        margin:0px !important;
        padding:0px !important;
    }
    .prntbl2 table th {
        background-color: #FFFFFF !important;
        background: #FFFFFF !important;
        border:0px solid #000000 !important;
        border-width:0px 0px 1px 1px !important;
        font-size:14px !important;
        font-family:Arial !important;
        font-weight:bold !important;
        color: #2D2D2D !important;
        text-align: center !important;
    }.prntbl2 tr:hover td{

    }
    .prntbl2 tr:nth-child(odd){
        background-color: #ffffff !important;
    }
    .prntbl2 tr:nth-child(even)    {
        background-color:#ffffff !important;
    }
    .prntbl2 td{
        border:1px solid #000000 !important;
        padding: 0px 3px !important;
        font-size: 12px !important;
        font-family: tahoma !important;
        color:#000000 !important;
        text-align: left !important;
    }


    .prntbl2 th, .prntbl2 tt, .prntbl2 td {
        line-height: 20px !important;
        padding: 1px 5px !important;


    }

    .prntbl2 span {
        font-weight: 700;
    }

</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 prntbl2" 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">

        <div class="right txtr" style="width: 50%;">

            <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['date']->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>
    <br />
    <div style="clear: both"></div>
    <br />
    <?php if ($_smarty_tpl->tpl_vars['type']->value=="usgyna"){?>

    <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->ultrasound==0){?>
    <table width="100%" border="1" dir="ltr">
        <tr>
            <th rowspan="2" scope="col">Date</th>
            <th rowspan="2" scope="col">Day</th>
            <th colspan="2" scope="col">Right Ovary </th>
            <th colspan="2" scope="col">Left Ovary</th>
            <th rowspan="2" scope="col">Endo</th>
            <th rowspan="2" scope="col">Notes </th>
        </tr>
        <tr>
            <td style="background: #fff !important;">No</td>
            <td style="background: #fff !important;">Size</td>
            <td style="background: #fff !important;">No</td>
            <td style="background: #fff !important;">Size </td>
        </tr>
        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
        <?php  $_smarty_tpl->tpl_vars['gUs'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gUs']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['usRows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['gUs']->key => $_smarty_tpl->tpl_vars['gUs']->value){
$_smarty_tpl->tpl_vars['gUs']->_loop = true;
?>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->date;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->day;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovraylno;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovraylsize;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayrno;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayrsize;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->endo;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['gUs']->value->notes;?>
</td>
        </tr>
        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
        <?php } ?>
    </table>
    <div style="clear: both"></div>
    <!--   0 for simple form  , 1 for complete form --->

    <?php }elseif($_smarty_tpl->tpl_vars['ProgramesettingData']->value->ultrasound==1){?>

    <table class="table table-striped table-hover table-bordered" style="width:100%;direction: ltr;" dir="ltr">
        <thead>
            <tr>
                <th class="cent wds1">
                    #
                </th>
                <th class="cent">
                    Date
                </th>
                <th class="cent">
                    Day
                </th>
                <th class="cent">
                    Endo
                </th>

                <th colspan="3" class="cent">
                    UTERUS
                </th>

                <th colspan="3" class="cent">
                    CERVIX
                </th>

                <th colspan="3" class="cent">
                    OVARY Lt
                </th>

                <th colspan="3" class="cent">
                    OVARY Rt
                </th>


                <th class="cent">
                    LTovary
                </th>
                <th class="cent">
                    Rtovary
                </th>
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
                <th>
                    Doctor
                </th>
                <?php }?>

            </tr>
            <tr>
                <th>

                </th>
                <th class="col-md-1">

                </th>
                <th>

                </th>
                <th>

                </th>
                <th  >
                    L
                </th>

                <th >
                    W
                </th>
                <th >
                    V
                </th>

                <th >
                    L
                </th>

                <th >
                    W
                </th>
                <th >
                    V
                </th>
                <th >
                    L
                </th>

                <th >
                    W
                </th>
                <th >
                    V
                </th>
                <th >
                    L
                </th>

                <th >
                    W
                </th>
                <th >
                    V
                </th>
                <th>

                </th>
                <th>

                </th>
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
                <th>

                </th>

                <?php }?>
            </tr>
        </thead>
        <tbody id="uscomplete">
            <?php $_smarty_tpl->tpl_vars['j'] = new Smarty_variable(1, null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['gUs'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gUs']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['usRows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['gUs']->key => $_smarty_tpl->tpl_vars['gUs']->value){
$_smarty_tpl->tpl_vars['gUs']->_loop = true;
?>
            <tr>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['j']->value;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->date;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->day;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->endo;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->uterusl;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->uterusw;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->uterusv;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->cervixl;?>

                </td>

                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->cervixw;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->cervixv;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayll;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovraylw;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovraylv;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayrl;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayrw;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->ovrayrv;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->lfolliclesno;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['gUs']->value->rfolliclesno;?>


                </td>
                <td class="bold">
                    <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?><?php echo $_smarty_tpl->tpl_vars['gUs']->value->doctorname;?>
<?php }?>
                </td>
            </tr>

            <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'j', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['j']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
            <?php } ?>
        </tbody>
    </table>
    <?php }?>

    <?php }elseif($_smarty_tpl->tpl_vars['type']->value=="usantenatal"){?>
    <table class=""  style="width:100%;direction: ltr;" dir="ltr">
        <thead>
            <tr>
                <!--                <th class="wds1">
                                    #
                                </th>-->
                <th class="wds12">
                    Date
                </th>
                <th class="wds3">
                    N
                </th>
                <th class="wds3">
                    GS
                </th>
                <th class="wds3">
                    CRL
                </th>
                <th class="wds3">
                    FHR
                </th>
                <th class="wds3">
                    BPD
                </th>

                <th class="wds3">
                    FL
                </th>
                <th class="wds10">
                    Placenta
                </th>

                <th class="wds3">
                    AI
                </th>

                <th class="wds3">
                    FWT
                </th>
                <th>
                    Notes
                </th>
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
                <th class="wds1">
                    Doctor

                </th>
                <?php }?>
            </tr>
        </thead>
        <tbody id="usantenatal">
            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['aUs'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['aUs']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['usRows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['aUs']->key => $_smarty_tpl->tpl_vars['aUs']->value){
$_smarty_tpl->tpl_vars['aUs']->_loop = true;
?>
            <tr>

                <!--<td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>-->

                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->date;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->nga;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->gs;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->crl;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->fhr;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->bpd;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->fl;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->placenta;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->ai;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->fwt;?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->notes;?>

                </td>
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
                <td class="bold">
                    <?php echo $_smarty_tpl->tpl_vars['aUs']->value->doctorname;?>

                </td>
                <?php }?>
            </tr>
            <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
            <?php } ?>
        </tbody>
    </table>
    <?php }?>




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