<?php /* Smarty version Smarty-3.1.11, created on 2024-08-13 17:44:56
         compiled from "../views/obgy/patients/printcard.html" */ ?>
<?php /*%%SmartyHeaderCode:77362425166bb71686e51b8-12001589%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd27a97a09ba048e1bccb718bdbd8afb8467da878' => 
    array (
      0 => '../views/obgy/patients/printcard.html',
      1 => 1592686904,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '77362425166bb71686e51b8-12001589',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'patient' => 0,
    'doctor_name' => 0,
    'h_doctor_name' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bb7168782335_55707136',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bb7168782335_55707136')) {function content_66bb7168782335_55707136($_smarty_tpl) {?>
<div class="row text-right" style="direction: rtl;width: 7cm ; height: 5cm;float: right">
    <div class="col-md-12">
        <div class="col-md-3" style="float: right;">
            <img alt="" class="img-circle" src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/_assets/custom/images/royal1.jpeg" 
                 style="height: 60px;"/>
        </div>
        <div class="col-md-8">
            <span class="h2">   مركز رويال للخصوبة   </span>    
            <span class="h22">  عيش أمنيتك </span> 
        </div>

    </div>
    <div class="col-md-12">
        <table style="width: 100%;border: 1px solid black;">

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <span class="bold">   الإسم    :     </span>
                            <span>  
                                <?php if (!empty($_smarty_tpl->tpl_vars['patient']->value->wifename)&&$_smarty_tpl->tpl_vars['patient']->value->wifename!=''){?>
                                <?php echo $_smarty_tpl->tpl_vars['patient']->value->wifename;?>

                                <?php }else{ ?>
                                <?php echo $_smarty_tpl->tpl_vars['patient']->value->husdandname;?>
 
                                <?php }?> 
                            </span>
                        </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <span class="bold">   الطبيب   :     </span>
                            <span>
                                <?php if ($_smarty_tpl->tpl_vars['patient']->value->doctor1>0){?>
                                <?php echo $_smarty_tpl->tpl_vars['doctor_name']->value;?>

                                <?php }elseif($_smarty_tpl->tpl_vars['patient']->value->h_doctor1>0){?>
                                <?php echo $_smarty_tpl->tpl_vars['h_doctor_name']->value;?>
 
                                <?php }else{ ?>
                                لا يوجد 
                                <?php }?> 
                            </span>
                        </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <span class="bold">   رقم الملف    :     </span>
                            <span> <?php echo $_smarty_tpl->tpl_vars['patient']->value->statusno;?>
 </span>
                        </span>
                    </h4>
                </td>
            </tr>

            <tr>

                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <span class="bold" style="float: right;">   RFC   :     </span>
                            <span>
                                <?php if ($_smarty_tpl->tpl_vars['patient']->value->rfc==1){?>
                                Yes
                                <?php }elseif($_smarty_tpl->tpl_vars['patient']->value->rfc==2){?>
                                No
                                <?php }?> 
                            </span>
                        </span>
                    </h4>
                </td>
            </tr>

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


<style>

    .noborder tr { height: 10mm; }
    .bold { font-weight: bold;}
    .h1 { font-weight: 900; font-size: 28px;}
    .h2 { font-weight: 700; font-size: 24px;}
    .h22 { font-size: 26px;display: block;}

    .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: 10mm; }

        .bold { font-weight: bold;}
        .h1 { font-weight: 900; font-size: 28px;}
        .h2 { font-weight: 700; font-size: 24px;}
        .h22 { font-size: 26px;display: block;}
    }
</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 }} ?>