<?php /* Smarty version Smarty-3.1.11, created on 2024-08-26 07:28:18
         compiled from "../views/obgy/programesetting/add.html" */ ?>
<?php /*%%SmartyHeaderCode:57201704266cc91021e4013-71497140%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '10b636c757ec51bc44e6b5155f1f55f9a8df126c' => 
    array (
      0 => '../views/obgy/programesetting/add.html',
      1 => 1632128574,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '57201704266cc91021e4013-71497140',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'controllname' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cc9102345004_09291885',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cc9102345004_09291885')) {function content_66cc9102345004_09291885($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row clinick">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Program Setting
                        </div>
                    </div>
                    <div class="portlet-body">

                        <!--Begin Semen-->

                        <div class="row">

                            <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=addit" method="post" enctype="multipart/form-data">
                                <div class="form-body">

                                    <div class="portlet-title tbox2">
                                        <div class="caption font-blue col-md-12 txtc">
                                            <span class="caption-subject bold uppercase txtc">General Setting</span>
                                        </div>

                                    </div>


                                    <div class="row">

                                        <div class="col-md-6">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control edited" id="centername" name="centername" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['centername'];?>
">
                                                <label for="form_control_1">Medical laboratory name</label>
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="doctorname" name="doctorname" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['doctorname'];?>
">
                                                <label for="form_control_1">Doctor's name</label>
                                            </div>
                                        </div>

                                    </div>
                                    <br/>
                                    <div class="row">

                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="address" name="address" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['address'];?>
">
                                                <label for="form_control_1">Address</label>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="spacial" name="spacial" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['spacial'];?>
">
                                                <label for="form_control_1">Specialization</label>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="phone" name="phone"  value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['phone'];?>
">
                                                <label for="form_control_1">Phone</label>
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="email" name="email" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['email'];?>
">
                                                <label for="form_control_1">Email</label>
                                            </div>
                                        </div>

                                        <div class="col-md-6">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="password" name="password" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['password'];?>
">
                                                <label for="form_control_1">password</label>
                                            </div>
                                        </div>

                                    </div>
                                    <!-- <div class="widget-main-title" style="border-bottom-style: solid;   margin-top: 40px; color: #337AB7;"></div>-->
                                    <br/>
                                    <div class="portlet-title tbox2">
                                        <div class="caption font-blue col-md-12 txtc">
                                            <span class="caption-subject bold uppercase txtc">Properties and Printing</span>
                                        </div>

                                    </div>

                                    <br/>
                                    <div class="row">

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="above" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['above'];?>
">
                                                <label for="form_control_1">Print Margin Top</label>
                                                <span class="input-group-addon">CM</span>
                                            </div>
                                        </div>

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="buttom" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['buttom'];?>
">
                                                <label for="form_control_1">Print Margin Buttom </label>
                                                <span class="input-group-addon">CM</span>

                                            </div>
                                        </div>


                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="addshours" id="addshours" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['addshours'];?>
" min="0">
                                                <label for="form_control_1">Extra time </label>

                                            </div>
                                        </div>

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="backupdriver" id="backupdriver" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['backupdriver'];?>
">
                                                <label for="form_control_1">Mysql Path  </label>

                                            </div>
                                        </div>


                                    </div>
                                    <br/>

                                    <div class="row">

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="fontsizear" placeholder="Enter fontsizear" name="fontsizear" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['fontsizear'];?>
">
                                                <label for="fontsizear">Arabic font size </label>
                                                <span class="input-group-addon">Pixel</span>

                                            </div>
                                        </div>

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="fontsizeen" placeholder="Enter fontsizeen" name="fontsizeen"  value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['fontsizeen'];?>
">
                                                <label for="fontsizeen">English font size </label>
                                                <span class="input-group-addon">Pixel</span>

                                            </div>
                                        </div>

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" id="namefontsize" placeholder="Enter Patient Name font size" name="namefontsize"  value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['namefontsize'];?>
">
                                                <label for="namefontsize">Patient Name font size </label>
                                                <span class="input-group-addon">Pixel</span>

                                            </div>
                                        </div>

                                        <div class="col-md-3">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="phppath" id="phppath" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['phppath'];?>
">
                                                <label for="form_control_1">Php Path  </label>

                                            </div>
                                        </div>

                                    </div>
                                    <br/>
                                    <div class="row">

                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input has-info">
                                                <select class="bs-select form-control"   name="alignttt" id="alignttt">
                                                    <option value="-1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['alignttt']==-1){?>selected<?php }?>>Left</option>
                                                    <option value="0" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['alignttt']==0){?>selected<?php }?>>Center</option>
                                                    <option value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['alignttt']==1){?>selected<?php }?>>Right</option>
                                                </select>
                                                <label for="form_control_1">Alignment</label>
                                            </div>
                                        </div>

                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input has-info">
                                                <select class="bs-select form-control"  name="ultrasound" id="ultrasound">
                                                    <option value="0" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['ultrasound']==0){?>selected<?php }?>>Simple form</option>
                                                    <option value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['ultrasound']==1){?>selected<?php }?>>Complete form</option>
                                                </select>
                                                <label for="form_control_1">Ultrasound</label>
                                            </div>
                                        </div>


                                        <div class="col-md-4">
                                            <div class="form-group form-md-line-input has-info">
                                                <select class="bs-select form-control"  name="patientnoaut" id="patientnoaut">
                                                    <option value="0" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['patientnoaut']==0){?>selected<?php }?>>automatic</option>
                                                    <option value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['patientnoaut']==1){?>selected<?php }?>>manual</option>
                                                </select>
                                                <label for="form_control_1">Patient number</label>
                                            </div>
                                        </div>



                                    </div>









                                    <style>
                                        table{
                                            margin-top: 20px;
                                            width: 100%;
                                        }
                                        td, th {
                                            padding:6px 10px !important;
                                        }
                                        table .popover {
                                            display: none !important;
                                        }
                                        tr:nth-of-type(odd) {
                                            background-color: #C6D7F2;
                                        }
                                        .mr9{
                                            margin-right: 9%;
                                        }

                                        .bf{
                                            border-left: none ;
                                        }

                                        .br{
                                            border-right: none ;
                                        }

                                    </style>


                                    <table  border="1">
                                        <tr>
                                            <th colspan="2" style="text-align: center;" >
                                                check elements  to show 
                                            </th>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="ishide"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show patient data in instruction print">
                                                    <span>
                                                        <input type="checkbox" id="ishide"  value="1" name="ishide" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['ishide']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Display patient data (instruction print )
                                                </label>
                                            </td>
                                            <td>
                                                <label for="displaydoctorname"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show doctor name">
                                                    <span>
                                                        <input type="checkbox"   id="displaydoctorname"   value="1" name="displaydoctorname" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['displaydoctorname']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Display Doctor name
                                                </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="entrydetails"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show entry Details in apatient add">
                                                    <span>
                                                        <input type="checkbox"   id="entrydetails"   value="1" name="entrydetails"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['entrydetails']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Entry Details (Add Patient control)
                                                </label>
                                            </td>
                                            <td>
                                                <label for="gynalmp"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show LMP in Gyna">
                                                    <span>
                                                        <input type="checkbox"   id="gynalmp"   value="1" name="gynalmp"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['gynalmp']==1){?>checked<?php }?> >
                                                    </span> 
                                                    LMP (Gyna controller)
                                                </label>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>
                                                <label for="infertility"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show infertility button  in Gyna">
                                                    <span>
                                                        <input type="checkbox"   id="infertility"   value="1" name="infertility"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['infertility']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Infertility Btn (Gyna controller)
                                                </label>
                                            </td>
                                            <td>
                                                <label for="patient_doctor"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show patient's doctor  in patient add and edit ">
                                                    <span>
                                                        <input type="checkbox"   id="patient_doctor"   value="1" name="patient_doctor"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['patient_doctor']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Patient's Doctor  (Add Patient  controller)
                                                </label>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>
                                                <label for="visit_period"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span>
                                                        <input type="checkbox"   id="visit_period"   value="1" name="visit_period"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['visit_period']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Time  Periods (Add Visit )
                                                </label>
                                            </td>
                                            <td>
                                                <label for="print_diag"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span>
                                                        <input type="checkbox"   id="print_diag"   value="1" name="print_diag"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['print_diag']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Print  Diagnosis (prescription print  )
                                                </label>
                                            </td>
                                        </tr>


                                        <tr>
                                            <td>
                                                <label for="previous_marriage"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span>
                                                        <input type="checkbox"   id="previous_marriage"   value="1" name="previous_marriage"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['previous_marriage']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Previous Marriage (Add Patient )
                                                </label>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>


                                    </table>


                                    <table  border="1">
                                        <tr>
                                            <th colspan="4" style="text-align: center;" >
                                                <label>
                                                    Patient History Controller Tabs
                                                </label>
                                            </th>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="menstrual"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Menstrual H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="menstrual"  value="1" name="menstrual" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['menstrual']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Menstrual H
                                                </label>
                                            </td>
                                            <td>
                                                <label for="contraception"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Contraception H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="contraception"  value="1" name="contraception" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['contraception']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Contraception H
                                                </label>
                                            </td>
                                            <td>
                                                <label for="obstetric"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Obstetric H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="obstetric"  value="1" name="obstetric" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['obstetric']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Obstetric H
                                                </label>
                                            </td>
                                            <td>
                                                <label for="family"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Family H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="family"  value="1" name="family" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['family']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Family H
                                                </label>
                                            </td>
                                        </tr>
                                        <tr>  
                                            <td>
                                                <label for="past"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Past H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="past"  value="1" name="past" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['past']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Past H
                                                </label>
                                            </td>
                                            <td>
                                                <label for="medical"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Medical Tab ">
                                                    <span>
                                                        <input type="checkbox" id="medical"  value="1" name="medical" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['medical']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Medical
                                                </label>
                                            </td>
                                            <td>
                                                <label for="surgical"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Surgical Tab ">
                                                    <span>
                                                        <input type="checkbox" id="surgical"  value="1" name="surgical" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['surgical']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Surgical
                                                </label>
                                            </td>
                                            <td>
                                                <label for="gynecological"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Gynecological Tab ">
                                                    <span>
                                                        <input type="checkbox" id="gynecological"  value="1" name="gynecological" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['gynecological']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Gynecological
                                                </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="art"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show ART Tab ">
                                                    <span>
                                                        <input type="checkbox" id="art"  value="1" name="art" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['art']==1){?>checked<?php }?> >
                                                    </span> 
                                                    ART
                                                </label>
                                            </td>
                                            <td>
                                                <label for="art_external"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show ART External  Tab ">
                                                    <span>
                                                        <input type="checkbox" id="art_external"  value="1" name="art_external" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['art_external']==1){?>checked<?php }?> >
                                                    </span> 
                                                    ART External
                                                </label>
                                            </td>
                                            <td>
                                                <label for="art_internal"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show ART  Internal Tab ">
                                                    <span>
                                                        <input type="checkbox" id="art_internal"  value="1" name="art_internal" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['art_internal']==1){?>checked<?php }?> >
                                                    </span> 
                                                    ART Internal 
                                                </label>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>

                                    <table  border="1">
                                        <tr>
                                            <th colspan="4"  style="text-align: center;" >
                                                Blood Bar
                                            </th>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="btype"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Wife Blood Type ">
                                                    <span>
                                                        <input type="checkbox" id="btype"  value="1" name="btype" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['btype']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Wife Blood Type
                                                </label>
                                            </td>
                                            <td>
                                                <label for="hbtype"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Husband Blood Type">
                                                    <span>
                                                        <input type="checkbox" id="hbtype"  value="1" name="hbtype" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['hbtype']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Husband Blood Type
                                                </label>
                                            </td>

                                            <td>
                                                <label for="risk"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Risks">
                                                    <span>
                                                        <input type="checkbox" id="risk"  value="1" name="risk" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['risk']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Risks
                                                </label>
                                            </td>
                                            <td>
                                                <label for="notes"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Notes">
                                                    <span>
                                                        <input type="checkbox" id="notes"  value="1" name="notes" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['notes']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Notes 
                                                </label>
                                            </td>
                                        </tr>
                                    </table>

                                    <table  border="1">
                                        <tr>
                                            <th colspan="6" style="text-align: center;" >
                                                Examination Controller
                                            </th>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Head and neck</label></td>
                                            <td class="br"><input type="radio" id="head0" name="head" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['head']==0){?>checked<?php }?>>
                                                <label  for="head0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Head and neck as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="head1" name="head" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['head']==1){?>checked<?php }?>>
                                                <label  for="head1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Head and neck as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label></td>
                                            <td scope="row">
                                                <label class="control-label" for="form_control_1">Chest and heart</label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="chest0" name="chest" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['chest']==0){?>checked<?php }?>>
                                                <label   for="chest0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Chest and heart as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>

                                            </td>
                                            <td class="bf">

                                                <input type="radio" id="chest1" name="chest" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['chest']==1){?>checked<?php }?>>
                                                <label   for="chest1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Chest and heart as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Abdomen</label></td>
                                            <td class="br"><input type="radio" id="abdomen0" name="abdomen" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['abdomen']==0){?>checked<?php }?>>
                                                <label  for="abdomen0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Abdomen as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="abdomen1" name="abdomen" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['abdomen']==1){?>checked<?php }?>>
                                                <label  for="abdomen1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Abdomen as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label></td>
                                            <td scope="row">
                                                <label class="control-label" for="form_control_1">Pelvis</label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="pelvis0" name="pelvis" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['pelvis']==0){?>checked<?php }?>>
                                                <label   for="pelvis0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Pelvis as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>

                                            </td>
                                            <td class="bf">

                                                <input type="radio" id="pelvis1" name="pelvis" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['pelvis']==1){?>checked<?php }?>>
                                                <label   for="pelvis1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Pelvis as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Extremities</label></td>
                                            <td class="br"><input type="radio" id="extremitis0" name="extremitis" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['extremitis']==0){?>checked<?php }?>>
                                                <label  for="extremitis0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Extremities as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="extremitis1" name="extremitis" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['extremitis']==1){?>checked<?php }?>>
                                                <label  for="extremitis1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Extremities as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label></td>
                                            <td scope="row">
                                            </td>
                                            <td class="br">


                                            </td>
                                            <td class="bf">


                                            </td>
                                        </tr>
                                    </table>


                                    <table  border="1">

                                        <tr>
                                            <td scope="row">
                                                <label class="control-label" for="form_control_1">Program  Type</label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="programview0" name="programview" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['programview']==0){?>checked<?php }?>>
                                                <label  for="programview0"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show general clinic ">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    General  Clinic </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="programview1" name="programview" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['programview']==1){?>checked<?php }?>>
                                                <label  for="programview1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show gynecology clinic">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Gynecology Clinic </label>
                                            </td>
                                            <td></td>
                                            <td class="br"></td>
                                            <td class="bf"></td>
                                        </tr>


                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Program  Show</label></td>
                                            <td class="br">
                                                <input type="radio" id="simpleview0" name="simpleview" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['simpleview']==0){?>checked<?php }?>>
                                                <label  for="simpleview0"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show program complete view">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Complete </label>
                                            </td>
                                            <td class="bf">

                                                <input type="radio" id="simpleview1" name="simpleview" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['simpleview']==1){?>checked<?php }?>>
                                                <label  for="simpleview1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show program simple view">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Simple </label>
                                            </td>
                                            <td scope="row"><label class="control-label" for="form_control_1">Today Visits Display </label></td>
                                            <td class="br">
                                                <input type="radio" id="visitsform0" name="visitsform" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['visitsform']==0){?>checked<?php }?>>
                                                <label  for="visitsform0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="display visits to clinic">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Clinic  </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="visitsform1" name="visitsform" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['visitsform']==1){?>checked<?php }?>>
                                                <label  for="visitsform1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="display visits to hospital">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Hospital </label></td>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Entry order</label></td>
                                            <td class="br"><input type="radio" id="entryorder0" name="entryorder" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['entryorder']==0){?>checked<?php }?>>
                                                <label  for="entryorder0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="!!!!!!!!">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Disable </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="entryorder1" name="entryorder" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['entryorder']==1){?>checked<?php }?>>
                                                <label  for="entryorder1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="!!!!!!!!">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Enable </label></td>
                                            <td scope="row">
                                                <label class="control-label" for="form_control_1">Diagnosis show</label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="diagnosshow0" name="diagnosshow" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['diagnosshow']==0){?>checked<?php }?>>
                                                <label   for="diagnosshow0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show diagnosis as a drop down list">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Select </label>

                                            </td>
                                            <td class="bf">

                                                <input type="radio" id="diagnosshow1" name="diagnosshow" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['diagnosshow']==1){?>checked<?php }?>>
                                                <label   for="diagnosshow1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show diagnosis as a textbox">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Text </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Investigation  show</label></td>
                                            <td class="br"><input type="radio" id="investshow0" name="investshow" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['investshow']==0){?>checked<?php }?>>
                                                <label  for="investshow0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show investigation with tabs">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Tabs </label>

                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="investshow1" name="investshow" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['investshow']==1){?>checked<?php }?>>
                                                <label  for="investshow1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show investigation without tabs">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    No Tabs </label></td>
                                            <td scope="row"><label class="control-label" for="form_control_1">Prescription Cashing</label></td>
                                            <td class="br"><input type="radio" id="prescriptioncashing0" name="prescriptioncashing" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['prescriptioncashing']==0){?>checked<?php }?>>
                                                <label  for="prescriptioncashing0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="disable cashing">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Disable </label>

                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="prescriptioncashing1" name="prescriptioncashing" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['prescriptioncashing']==1){?>checked<?php }?>>
                                                <label  for="prescriptioncashing1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="enable cashing">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Enable </label></td>

                                        </tr>


                                        <tr>
                                            <td scope="row">
                                                <label class="control-label" for="form_control_2">Prescription Print </label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="hideId0" name="hideId" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['hideid']==0){?>checked<?php }?>>
                                                <label  for="hideId0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="display Patient id in print">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Show Id  </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="hideId1" name="hideId" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['hideid']==1){?>checked<?php }?>>
                                                <label  for="hideId1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="hide Patient id in print">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Hide Id </label>
                                            </td>

                                            <td scope="row">
                                                <label class="control-label" for="form_control_2">Total balance</label>
                                            </td>
                                            <td class="br">
                                                <input type="radio" id="balance0" name="balance" class="  md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['balance']==0){?>checked<?php }?>>
                                                <label  for="balance0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="prevent paying  bill in installments">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Deactivate  </label>
                                            </td>
                                            <td class="bf">
                                                <input type="radio" id="balance1" name="balance" class="  md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['balance']==1){?>checked<?php }?>>
                                                <label  for="balance1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="allow paying  bill in installments ">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Activate </label>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td scope="row">
                                                <label for="exampleInputFile2" class="control-label"> Background </label>
                                            </td>
                                            <td class="br">
                                                <div class="fileinput fileinput-new" data-provides="fileinput">
                                                    <div class="fileinput-preview thumbnail fleft" data-trigger="fileinput" style="width: 40px; height: 37px;">
                                                        <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/background/<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['background'];?>
" id="backgroundImage"  />
                                                    </div>
                                                    <div class="fleft">
                                                        <span class="btn default btn-file"> <span class="fileinput-new"> Upload Image</span> <span class="fileinput-exists"> Change </span>
                                                            <input type="file" name="bgfile" id="background" >
                                                        </span>
                                                        <a href="#" class="btn red fileinput-exists" data-dismiss="fileinput"> Delete</a>
                                                    </div>
                                                </div>
                                            </td>
                                            <td class="bf">
                                                <button type="button" class="btn default">
                                                    <a href="javascript:;" id="deleteBackground"> Delete background</a>
                                                </button>
                                            </td>
                                            <td scope="row">
                                                <label for="exampleInputFile2" class="control-label"> GT Image </label>
                                                <span class="error">( 1164px*476px )</span>
                                            </td>
                                            <td class="br">
                                                <div class="fileinput fileinput-new" data-provides="fileinput">
                                                    <div class="fileinput-preview thumbnail fleft" data-trigger="fileinput" style="width: 40px; height: 37px;">
                                                        <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/gtimage/<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['gtimage'];?>
" id="gtimage"  />
                                                    </div>
                                                    <div class="fleft">
                                                        <span class="btn default btn-file"> <span class="fileinput-new"> Upload Image</span> <span class="fileinput-exists"> Change </span>
                                                            <input type="file" name="gtimage" id="gtimage" >
                                                        </span>
                                                        <a href="#" class="btn red fileinput-exists" data-dismiss="fileinput"> Delete</a>
                                                    </div>
                                                </div>
                                            </td>
                                            <td class="bf"></td>
                                        </tr>


                                    </table>



                                    <input name="bimageurl"  id="bimageurl" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['background'];?>
" />
                                    <input name="bimageurl"  id="gtimageold" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['gtimage'];?>
" />
                                    <input name="backgroundImageValue"  id="backgroundImageValue" type="hidden" value="1" />
                                    <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['id'];?>
">

                                    <center>
                                        <br />
                                        <div class="col-md-4"></div>
                                        <div class="col-md-2">
                                            <button type="button" class="btn default"><a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php">Cancel</a></button>
                                        </div>

                                        <div class="col-md-2">
                                            <button type="submit" class="btn blue">Submit</button>
                                        </div>
                                        <div class="clearfix"></div>
                                        <br />
                                        <div class="clearfix"></div>
                                    </center>







                            </form>

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

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


<?php }} ?>