<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 22:27:31
         compiled from "../views/obgy/patienthistory/printcase.html" */ ?>
<?php /*%%SmartyHeaderCode:2017446804685707a3e680d9-18582646%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '945edb5a0177d432f6f962038cc4cc98eda8dca7' => 
    array (
      0 => '../views/obgy/patienthistory/printcase.html',
      1 => 1673928260,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2017446804685707a3e680d9-18582646',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'newPage' => 0,
    'patient' => 0,
    'wAge' => 0,
    'phpersonal' => 0,
    'hAge' => 0,
    'phmenstrual' => 0,
    'AbortiondataCount' => 0,
    'myallobsteric' => 0,
    'pcounter' => 0,
    'cscounter' => 0,
    'abcounter' => 0,
    'Ectopiccounter' => 0,
    'vmodelcounter' => 0,
    'lastCsDelivery' => 0,
    'Abortiondata' => 0,
    'abortion' => 0,
    'medical' => 0,
    'surgical' => 0,
    'gynecological' => 0,
    'hus_medical' => 0,
    'hus_surgical' => 0,
    'family' => 0,
    'hus_family' => 0,
    'phsexual' => 0,
    'semen' => 0,
    'phpasthx' => 0,
    'hormon' => 0,
    'ustv' => 0,
    'hsg' => 0,
    'laparoscopy' => 0,
    'hysteroscopy' => 0,
    'case_summary' => 0,
    'otherInvs' => 0,
    'otherinvestDate' => 0,
    'otherinvest' => 0,
    'data' => 0,
    'iui' => 0,
    'icsi' => 0,
    'diagnosis' => 0,
    'recommend' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_685707a4058174_57313350',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_685707a4058174_57313350')) {function content_685707a4058174_57313350($_smarty_tpl) {?><div class="page-content-wrapper" id="mydiv" <?php if ($_smarty_tpl->tpl_vars['newPage']->value>0){?> style="page-break-after: always;"  <?php }?>>
    <h4  class="enfnt bold underline txtc" >Royal Fertility center   </h4>     
    <h4  class="enfnt bold underline txtc" > Case Summary   </h4>     

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

        <table  cellpadding="2">

            <tr>
                <th rowspan="7"  style="width: 11%;">
                    <span class="vertical  txtc" style="margin-left: 30px;" > Personal History</span>
                </th>
                <td colspan="3">
                    <span>Date of current marriage :  </span>
                    <span><?php echo $_smarty_tpl->tpl_vars['patient']->value->mirragefromdate;?>
</span>
                </td>
            </tr>

            <tr>
                <th rowspan="3" style="width: 3%;">Wife</th>
                <td style="width: 50%;">  
                    <span> Name : </span> 
                    <span><?php echo $_smarty_tpl->tpl_vars['patient']->value->wifename;?>
  </span>   
                </td>
                <td style="width: 40%;"> 
                    <span>Occupation :  </span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['patient']->value->wifejob;?>
  </span>   
                </td>
            </tr>

            <tr>
                <td> 
                    <span> Age :  </span>
                    <span> <?php echo $_smarty_tpl->tpl_vars['wAge']->value;?>
 </span> 
                </td>
                <td> 
                    <span>Special Habits :  </span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->personal_habits;?>
  </span>   
                </td>
            </tr>

            <tr>
                <td> 
                    <span> Pr . Marriage :</span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->present_marriage;?>
  </span> 
                </td>
                <td> 
                    <span> Offspring's :  </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->offsprings;?>
 </span>  
                </td>
            </tr>

            <tr>
                <th rowspan="3" >Husband</th>
                <td> 
                    <span>Name : </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['patient']->value->husdandname;?>
 </span>  
                </td>
                <td> 
                    <span>Occupation :  </span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['patient']->value->husbandjob;?>
  </span>   
                </td>
            </tr>

            <tr>
                <td> 
                    <span>Age :  </span>
                    <span> <?php echo $_smarty_tpl->tpl_vars['hAge']->value;?>
  </span>
                </td>
                <td> 
                    <span>Special Habits :   </span>  
                    <span> <?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->hus_personal_habits;?>
 </span>  
                </td>
            </tr>

            <tr>
                <td> 
                    <span> Pr . Marriage : </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->hus_present_marriage;?>
 </span>
                </td>
                <td> 
                    <span> Offspring's : </span>
                    <span> <?php echo $_smarty_tpl->tpl_vars['phpersonal']->value->hus_offsprings;?>
 </span>  
                </td>
            </tr>
            <tr>
                <th>  Menstrual History</th>
                <td colspan="2">
                    <span> Rhythm , Frequency : </span>  
                    <span>  <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->duration;?>
  -  <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->length;?>
  -  <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phregularity;?>
  -  
                        <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phamount;?>
  -   <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phdysmenorrhoea;?>
 </span>
                </td>
                <td> 
                    <span>L.M.P :   </span>
                    <span> <?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phlMP;?>
</span>  
                </td>
            </tr>
        </table> 

        <table class="tb1"  cellpadding="2">
            <tr>
                <th   <?php if ($_smarty_tpl->tpl_vars['AbortiondataCount']->value>0){?>rowspan="4" <?php }else{ ?> rowspan="3"rowspan="3" <?php }?>  style="width: 11%;">  Obstetric   History</th>

                <td>
                    <span> G : </span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['myallobsteric']->value;?>
 </span>
                </td>
                <td>
                    <span> P :</span>
                    <span><?php echo $_smarty_tpl->tpl_vars['pcounter']->value;?>
 </span> 
                </td>
                <td> 
                    <span> C.S : </span>  
                    <span> <?php echo $_smarty_tpl->tpl_vars['cscounter']->value;?>
</span>  
                </td>
                <td>  
                    <span> AB : </span>  
                    <span><?php echo $_smarty_tpl->tpl_vars['abcounter']->value;?>
 </span> 
                </td>
                <td> 
                    <span> Ectopic : </span> 
                    <span><?php echo $_smarty_tpl->tpl_vars['Ectopiccounter']->value;?>
 </span>
                </td>
                <td>
                    <span> V.mole : </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['vmodelcounter']->value;?>
</span> 
                </td>

            </tr>

            <tr>
                <td colspan="5"> 
                    <span>Abnormal Deliveries  :  </span> 
                    <span>  <?php echo $_smarty_tpl->tpl_vars['cscounter']->value;?>
</span>
                </td>
                <td colspan="1"> 
                    <span> Date Of Last Delivery  : </span> 
                    <span><?php echo $_smarty_tpl->tpl_vars['lastCsDelivery']->value;?>
  </span>  
                </td>
            </tr>

            <tr>
                <td colspan="6"> 
                    <span>Abortions: </span>
                    <span>   <?php echo $_smarty_tpl->tpl_vars['abcounter']->value;?>
  </span> 
                </td>
            </tr>

            <?php if ($_smarty_tpl->tpl_vars['AbortiondataCount']->value>0){?>
            <tr>
                <td colspan="2">  </td>
                <td colspan="4"> 
                    <table   cellpadding="2" >
                        <?php  $_smarty_tpl->tpl_vars['abortion'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['abortion']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['Abortiondata']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['abortion']->key => $_smarty_tpl->tpl_vars['abortion']->value){
$_smarty_tpl->tpl_vars['abortion']->_loop = true;
?>
                        <tr>
                            <td> 
                                <span>  Gestational age : </span>  
                                <span>  <?php echo $_smarty_tpl->tpl_vars['abortion']->value['obstrduration'];?>
   </span>  
                            </td>
                            <td> 
                                <span> Date Of  Abortion : </span> 
                                <span><?php echo $_smarty_tpl->tpl_vars['abortion']->value['obsdate'];?>
 </span>   
                            </td>
                        </tr>
                        <?php } ?>

                    </table>
                </td>
            </tr>
            <?php }?> 
        </table>

        <table class="tb1"  cellpadding="2" >
            <tr>
                <th rowspan="9" style="width: 11%;">  Past   History</th>
                <td class="underline">Wife : </td>
            </tr>

            <tr>
                <td>
                    <span>Medical  : </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['medical']->value;?>
 </span>   
                </td>
            </tr>

            <tr>
                <td> 
                    <span>General Surgery :   </span> 
                    <span><?php echo $_smarty_tpl->tpl_vars['surgical']->value;?>
 </span> 
                </td>
            </tr>

            <tr>
                <td style="border-bottom: 1px solid black;" > 
                    <span> Gynecological  Surgery :</span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['gynecological']->value;?>
</span>
                </td>
            </tr>

            <tr>
                <td class="underline">
                    <span> Husband : </span> 
                    <span> </span>
                </td>
            </tr>

            <tr>
                <td>
                    <span>Medical  : </span> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['hus_medical']->value;?>
 </span>   
                </td>
            </tr>

            <tr>
                <td style="border-bottom: 1px solid black;" > 
                    <span>General Surgery :   </span> 
                    <span><?php echo $_smarty_tpl->tpl_vars['hus_surgical']->value;?>
 </span> 
                </td>
            </tr>
        </table>

        <table class="tb1"  cellpadding="2" >
            <tr>
                <th rowspan="9" style="width: 11%;">  Family   History</th>
                <td class="underline">Wife : </td>
            </tr>

            <tr>
                <td style="border-bottom: 1px solid black;" > 
                    <span> <?php echo $_smarty_tpl->tpl_vars['family']->value;?>
 </span>   
                </td>
            </tr>

            <tr>
                <td class="underline">
                    <span> Husband : </span> 
                </td>
            </tr>

            <tr>
                <td style="border-bottom: 1px solid black;" > 
                    <span><?php echo $_smarty_tpl->tpl_vars['hus_family']->value;?>
 </span> 
                </td>
            </tr>
        </table>

        <table class="tb1 break"  cellpadding="2">
            <tr>
                <th  style="width: 11%;">
                    <span> Sexual   History </span> 
                </th>
                <td> 
                    <span> Continuous  / Interrupted : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['phsexual']->value->sexual_type;?>
 </span>
                </td>
            </tr>
        </table>

        <table  cellpadding="2" style="border-bottom: 10px solid black;">
            <tr>
                <th  style="width: 11%;" rowspan="18">
                    <span class="vertical  txtc" style="margin-left: 30px;" > Investigation </span> 
                </th>
                <td colspan="4" style="border-right: none;"> 
                    <span> Semen analysis  : </span>
                    <span> </span>
                </td>
                <td style="border-left:  none;"> 
                    <span > Date  : </span>
                    <span > <?php echo $_smarty_tpl->tpl_vars['semen']->value->sdate;?>
</span>
                </td>
            </tr>

            <tr>
                <td> 
                    <span>  Total count : </span>
                </td>
                <td colspan="4"> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['semen']->value->count;?>
</span>
                </td>
            </tr>

            <tr>
                <td> 
                    <span>  Concentration : </span>
                </td>
                <td colspan="4"> 
                    <span><?php echo $_smarty_tpl->tpl_vars['semen']->value->concentration;?>
</span>
                </td>
            </tr>

            <tr>
                <td style=" width: 18%;"> 
                    <span>  Mobility  : </span>
                </td>
                <td style=" width: 15%;border-right: none;"> 
                    <span>  Total  : </span>
                </td>
                <td style="border-left:  none;"> 
                    <span><?php echo $_smarty_tpl->tpl_vars['semen']->value->motilityab;?>
</span>
                </td>
                <td style=" width: 15%;border-right: none;"> 
                    <span>  Progressive  : </span>
                </td>
                <td style=" width: 35%;border-left:  none;"> 
                    <span><?php echo $_smarty_tpl->tpl_vars['semen']->value->motilitya;?>
</span>
                </td>
            </tr>

            <tr>
                <td> 
                    <span>  Normal  Forms : </span>
                </td>
                <td colspan="4"> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['semen']->value->normal;?>
</span>
                </td>
            </tr>

            <tr>
                <td> 
                    <span>  Abnormal Forms : </span>
                </td>
                <td colspan="4"> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['semen']->value->abnormal;?>
</span>
                </td>
            </tr>

            <tr>
                <th colspan="2" style="border-right: none;"> 
                    <span style="float: left;"> Past hx. Of testicular biobsy  : </span>
                </th>
                <td colspan="3" style="border-left:  none;"> 
                    <span> <?php echo $_smarty_tpl->tpl_vars['phpasthx']->value;?>
</span>
                </td>
            </tr>

            <tr>
                <th colspan="2" style="border-right: none;"> 
                    <span style="float: left;"> Hormones  : </span>
                    <span> </span>
                </th>
                <td colspan="3" style="border-left:  none;"> 
                    <span > </span>
                    <span > </span>
                </td>
            </tr>

            <tr>
                <td colspan="3"> 
                    <span> Serum TSH : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->tsh;?>
 </span>
                </td>

                <td colspan="2"> 
                    <span> Day 3 serum E2 : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->etwo;?>
 </span>
                </td>
            </tr>

            <tr>
                <td colspan="3"> 
                    <span> Serum Prolactin : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->prl;?>
 </span>
                </td>

                <td colspan="2"> 
                    <span> Day 3 serum FSH : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->fsh;?>
 </span>
                </td>
            </tr>

            <tr>
                <td colspan="3"> 
                    <span> Serum LH : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->lh;?>
 </span>
                </td>

                <td colspan="2"> 
                    <span>  Serum AMH : </span>
                    <span>  <?php echo $_smarty_tpl->tpl_vars['hormon']->value->amh;?>
 </span>
                </td>
            </tr>

            <tr>
                <th> 
                    <span style="float: left;"> TVS  : </span>
                    <span> </span>
                </th>
                <td  colspan="4"> 
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->sdate){?>  <span > Date : </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->sdate;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->uterus){?>  <span > Uterus : </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->uterus;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->radnexa){?> <span >R.adnexa :   </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->radnexa;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->ladnexa){?> <span > L.adnexa : </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->ladnexa;?>
   ,  </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->pelvis){?> <span >Pelvis  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->pelvis;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['ustv']->value->notes){?> <span >Notes  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['ustv']->value->notes;?>
     </span> <?php }?>
                </td>
            </tr>

            <tr>
                <th> 
                    <span style="float: left;"> HSG  : </span>
                    <span> </span>
                </th>
                <td  colspan="4"> 
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->sdate){?>  <span > Date : </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->sdate;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->uterus){?>  <span > Uterus : </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->uterus;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->rtube){?> <span >R.tube :   </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->rtube;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->ltube){?> <span > L.tube : </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->ltube;?>
   ,  </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->smear){?> <span >Smear  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->smear;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hsg']->value->notes){?> <span >Notes  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['hsg']->value->notes;?>
     </span> <?php }?>
                </td>
            </tr>

            <tr>
                <th> 
                    <span style="float: left;"> Laparoscopy  : </span>
                    <span> </span>
                </th>
                <td  colspan="4"> 
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->sdate){?>  <span > Date : </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->sdate;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->uterus){?>  <span > Uterus : </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->uterus;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->radnexa){?> <span >R.adnexa :   </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->radnexa;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->ladnexa){?> <span > L.adnexa : </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->ladnexa;?>
   ,  </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->pelvis){?> <span >Pelvis  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->pelvis;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['laparoscopy']->value->notes){?> <span >Notes  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['laparoscopy']->value->notes;?>
     </span> <?php }?>
                </td>
            </tr>

            <tr>
                <th> 
                    <span style="float: left;">  Hysteroscopy  : </span>
                    <span> </span>
                </th>
                <td  colspan="4"> 
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->sdate){?>  <span > Date : </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->sdate;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->cervix){?>  <span > Cervix : </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->cervix;?>
   ,    </span>  <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->uterine){?> <span >Ut Cavity :   </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->uterine;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->rostium){?> <span > R.Ostium : </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->rostium;?>
   ,  </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->lostium){?> <span >L.Ostium  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->lostium;?>
  ,   </span> <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['hysteroscopy']->value->notes){?> <span >Notes  :  </span><span ><?php echo $_smarty_tpl->tpl_vars['hysteroscopy']->value->notes;?>
    </span> <?php }?>
                </td>
            </tr>

            <tr>
                <th> 
                    <span style="float: left;"> Other Investigations   : </span>
                    <span> </span>
                </th>
                <td  colspan="4"> 
                    <?php if ($_smarty_tpl->tpl_vars['case_summary']->value==1){?>
                    <?php echo $_smarty_tpl->tpl_vars['otherInvs']->value;?>

                    <?php }else{ ?>
                    <?php if ($_smarty_tpl->tpl_vars['otherinvestDate']->value){?>  <span > Date  : </span><span ><?php echo $_smarty_tpl->tpl_vars['otherinvestDate']->value;?>
   ,    </span>  <?php }?>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['otherinvest']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['data']->value->value){?>  <span > <?php echo $_smarty_tpl->tpl_vars['data']->value->investName;?>
  : </span><span ><?php echo $_smarty_tpl->tpl_vars['data']->value->value;?>
   ,    </span>  <?php }?>
                    <?php } ?>
                    <?php }?>
                </td>
            </tr>
        </table>

        <table  cellpadding="2" >
            <tr>
                <th colspan="5"> 
                    <span style="float: left;"> Previous Art Cycles   : </span>
                    <span> </span>
                </th>
            </tr>
            <tr>
                <th style="width:11%;">  Types   </th>
                <th style="width:20%;">  No of cycles   </th>
                <th style="width:24%;">  Center   </th>
                <th style="width:20%;">  Date   </th>
                <th style="width:24%;">  Result   </th>
            </tr>

            <tr>
                <th>  IUI   </th>
                <td colspan="4" style="padding: 0">
                    <table>
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['iui']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                        <tr>
                            <td style="width:20%;" class="txtc"></td>
                            <td style="width:24%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->artcenter;?>
 </td>
                            <td style="width:20%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->artyear;?>
 </td>
                            <td style="width:24%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->result;?>
 </td>
                        </tr>
                        <?php } ?>
                    </table>
                </td>
            </tr>

            <tr style="border-bottom: 10px solid black;">
                <th>  ICSI   </th>
                <td colspan="4" style="padding : 0">
                    <table>
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['icsi']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                        <tr>
                            <td style="width:20%;" class="txtc"></td>
                            <td style="width:24%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->artcenter;?>
 </td>
                            <td style="width:20%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->artyear;?>
 </td>
                            <td style="width:24%;" class="txtc"><?php echo $_smarty_tpl->tpl_vars['data']->value->result;?>
 </td>
                        </tr>
                        <?php } ?>
                    </table>
                </td>
            </tr>

            <tr>
                <th colspan="5"> 
                    <span style="float: left;"> Final Diagnosis   : </span>
                    <span>  <?php if ($_smarty_tpl->tpl_vars['newPage']->value>0){?> <?php echo $_smarty_tpl->tpl_vars['patient']->value['diagnosis'];?>
  <?php }elseif($_smarty_tpl->tpl_vars['case_summary']->value==1){?><?php echo $_smarty_tpl->tpl_vars['diagnosis']->value;?>
<?php }?> </span>
                </th>
            </tr>

            <tr>
                <th colspan="5"> 
                    <span style="float: left;"> Recommended Plan of treatment   : </span>
                    <span> <?php if ($_smarty_tpl->tpl_vars['case_summary']->value==1){?><?php echo $_smarty_tpl->tpl_vars['recommend']->value;?>
<?php }?>  </span>
                </th>
            </tr>

        </table>
    </div>
</div>


<style>

    table{
        width: 100%;
        border-spacing: 0px;
        border: none;
    }

    .tb1 td , .noborder {
        border: none;
    }

    .tb1{
        border-bottom: 1px solid black;
        border-right: 1px solid black;
    }

    td , th{
        border: 1px solid black;
        padding: 3px;
    }

    p3{    padding: 3px}

    .txtc{    text-align:  center !important; }

    th{    text-align:  center !important; }

    .bold { font-weight: bold;}

    .underline { text-decoration: underline;}

    .vertical{
        writing-mode: vertical-rl;
        -webkit-transform:rotate(180deg);
        -moz-transform:rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform:rotate(180deg);
        transform: rotate(180deg);
        white-space:nowrap;
    }

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

        .break { page-break-after: always;}


        table{
            width: 100%;
            border-spacing: 0px;
            border: none;
        }

        .tb1 td , .noborder {
            border: none;
        }

        .tb1{
            border-bottom: 1px solid black;
            border-right: 1px solid black;
        }

        td , th{
            border: 1px solid black;
            padding: 3px;
        }

        p3{    padding: 3px}

        .txtc{    text-align:  center !important; }

        th{    text-align:  center !important; }

        td{    text-align:  left !important; }


        .bold { font-weight: bold;}

        .underline { text-decoration: underline;}

        .vertical{
            writing-mode: vertical-rl;
            -webkit-transform:rotate(180deg);
            -moz-transform:rotate(180deg);
            -o-transform: rotate(180deg);
            -ms-transform:rotate(180deg);
            transform: rotate(180deg);
            white-space:nowrap;
        }
    }
</style>


<style>

    @page {
    size: auto;
    margin-top: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->above2;?>
cm !important;
    margin-bottom: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->buttom2;?>
cm !important;
    }

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

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

    #content, #page {
        width: 100%; 
        margin: 0; 
        float: none;
    }


    /* Unnötige Elemente ausblenden für den Druck */

    #header-widgets, nav, aside.mashsb-container, 
    .sidebar, .mashshare-top, .mashshare-bottom, 
    .content-ads, .make-comment, .author-bio, 
    .heading, .related-posts, #decomments-form-add-comment, 
    #breadcrumbs, #footer, .post-byline, .meta-single, 
    .site-title img, .post-tags, .readability 
    {
        display: none;
    }



</style><?php }} ?>