<?php /* Smarty version Smarty-3.1.11, created on 2023-08-24 15:47:52
         compiled from "..\views\obgy\programesetting\add.html" */ ?>
<?php /*%%SmartyHeaderCode:296964e75f884f9778-51637021%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '89e075cbf44fdbd3dcacdacfd22c27ce2f1f14ef' => 
    array (
      0 => '..\\views\\obgy\\programesetting\\add.html',
      1 => 1691387058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '296964e75f884f9778-51637021',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'controllname' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64e75f892c6488_10106108',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64e75f892c6488_10106108')) {function content_64e75f892c6488_10106108($_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-5">
                                            <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-5">
                                            <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 class="col-md-2">
                                            <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>
                                    <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="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-3">
                                            <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-3">
                                            <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-3">
                                            <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-2 wds10">
                                            <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-2 wds25">
                                            <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">Project Partition </label>

                                            </div>
                                        </div>

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

                                            </div>
                                        </div>

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

                                            </div>
                                        </div>

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

                                            </div>
                                        </div>

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

                                            </div>
                                        </div>

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

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

                                            </div>
                                        </div>

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

                                            </div>
                                        </div>

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

                                            </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 class="form-group col-md-12 ">
                                            <label class="col-md-2 txtl" for="form_control_1">Whatsapp Message</label>
                                            <div class="col-md-10">
                                                <textarea class="form-control has-info " rows="2" placeholder="Enter message" 
                                                          name="whatsapp_txt" ><?php echo $_smarty_tpl->tpl_vars['programesetting']->value['whatsapp_txt'];?>
</textarea>
                                                <div class="form-control-focus">
                                                </div>
                                            </div>
                                        </div>



                                    </div>



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

                                        <div class="col-md-2">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="search_letters_no" 
                                                       value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['search_letters_no'];?>
" min="0">
                                                <label for="form_control_1">No of search Letters </label>

                                            </div>
                                        </div>

                                        <div class="col-md-2">
                                            <div class="form-group form-md-line-input form-md-floating-label has-info">
                                                <input type="text" class="form-control" name="search_result_no" 
                                                       value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['search_result_no'];?>
" min="0">
                                                <label for="form_control_1">No of search records   </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="3" 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>
                                            <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>
                                        </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="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>
                                            <td>
                                                <label for="case_summary"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Case Summary Btn">
                                                    <span>
                                                        <input type="checkbox"   id="case_summary"   value="1" name="case_summary" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['case_summary']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Case Summary Btn
                                                </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="national_id_req"   data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="National Id Required in patient profile">
                                                    <span>
                                                        <input type="checkbox"   id="national_id_req"   value="1" name="national_id_req" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['national_id_req']==1){?>checked<?php }?> >
                                                    </span> 
                                                    National Id Required ( Patient Profile )
                                                </label>
                                            </td>

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

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

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

                                            <td>
                                                <label for="temp_patient"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content=" Birth Notify in Patients">
                                                    <span>
                                                        <input type="checkbox"   id="temp_patient"   value="1" name="temp_patient" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['temp_patient']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Temp Patients
                                                </label>
                                            </td>

                                            <td>
                                                <label for="barcode_print"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content=" Birth Notify in Patients">
                                                    <span>
                                                        <input type="checkbox"   id="barcode_print"   value="1" name="barcode_print" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['barcode_print']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Print Barcode
                                                </label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="voice_record"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content=" voice record">
                                                    <span>
                                                        <input type="checkbox"   id="voice_record"   value="1" name="voice_record" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['voice_record']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Voice Records 
                                                </label>
                                            </td>

                                            <td>
                                                <label for="whatsapp_sms"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content=" Whatsapp Msg">
                                                    <span>
                                                        <input type="checkbox"   id="whatsapp_sms"   value="1" name="whatsapp_sms" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['whatsapp_sms']==1){?>checked<?php }?> >
                                                    </span> 
                                                    WhatsApp Messages
                                                </label>
                                            </td>

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

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

                                            <td>
                                                <label for="diagnos_ant"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content="  Diagnosis Show (Antenatal Controller) ">
                                                    <span>
                                                        <input type="checkbox"   id="diagnos_ant"   value="1" name="diagnos_ant" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['diagnos_ant']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Diagnosis Show (Antenatal Controller)
                                                </label>
                                            </td>

                                            <td>
                                                <label for="attend_today"   data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content=" Show Attend Today  Button in Visits">
                                                    <span>
                                                        <input type="checkbox"   id="attend_today"   value="1" name="attend_today" 
                                                               <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['attend_today']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Attend Today  Button  ( Add Visits )
                                                </label>
                                            </td>

                                        </tr>
                                    </table>


                                    <table  class="table">
                                        <th colspan="6" 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>

                                            <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>
                                        </tr>
                                        <tr>
                                            <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>

                                            <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="sexual"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Sexual H  Tab ">
                                                    <span>
                                                        <input type="checkbox" id="sexual"  value="1" name="sexual" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['sexual']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Sexual H
                                                </label>
                                            </td>
                                            <td>
                                                <label for="personal"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show Personal  H Tab ">
                                                    <span>
                                                        <input type="checkbox" id="personal"  value="1" name="personal" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['personal']==1){?>checked<?php }?> >
                                                    </span> 
                                                    Personal  H
                                                </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 class="table">
                                        <th colspan="9" style="text-align: center;" >
                                            <label>
                                                Patient History Controller Tabs
                                            </label>
                                        </th>
                                        </tr>
                                        <tr>
                                            <th> 
                                                <label class="control-label" for="form_control_1">Operation  Surgeon </label>
                                            </th>
                                            <td>
                                                <input type="radio" id="surgeon1" name="surgeon" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['surgeon']==1){?>checked<?php }?>>
                                                <label for="surgeon1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label></td>
                                            <td>
                                                <input type="radio" id="surgeon0" name="surgeon" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['surgeon']!=1){?>checked<?php }?>>
                                                <label for="surgeon2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label></td>

                                            <th>
                                                <label class="control-label" for="form_control_1">Operation  Triggering </label>
                                            </th>
                                            <td>
                                                <input type="radio" id="triggering1" name="triggering" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['triggering']==1){?>checked<?php }?>>
                                                <label for="triggering1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label></td>
                                            <td>
                                                <input type="radio" id="triggering0" name="triggering" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['triggering']!=1){?>checked<?php }?>>
                                                <label for="triggering2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>

                                            <th>
                                                <label class="control-label" for="form_control_1">Operation  Notes </label>
                                            </th>
                                            <td> 
                                                <input type="radio" id="notes1" name="notes" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['notes']==1){?>checked<?php }?>>
                                                <label for="notes1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label>
                                            </td>
                                            <td>
                                                <input type="radio" id="notes0" name="notes" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['notes']!=1){?>checked<?php }?>>
                                                <label for="notes2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>
                                        </tr><!-- comment -->

                                        <tr>
                                            <th> Operation  Ovum Tab  </th>
                                            <td> 
                                                <input type="radio" id="ovum_tab1" name="ovum_tab" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['ovum_tab']==1){?>checked<?php }?>>
                                                <label for="ovum_tab1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label></td>
                                            <td >
                                                <input type="radio" id="ovum_tab0" name="ovum_tab" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['ovum_tab']!=1){?>checked<?php }?>>
                                                <label for="ovum_tab2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>

                                            <th> Operation  Embro Tab  </th>

                                            <td > 
                                                <input type="radio" id="embro_tab1" name="embro_tab" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['embro_tab']==1){?>checked<?php }?>>
                                                <label for="embro_tab1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label>
                                            </td>
                                            <td >
                                                <input type="radio" id="embro_tab0" name="embro_tab" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['embro_tab']!=1){?>checked<?php }?>>
                                                <label for="embro_tab2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>

                                            <th> Operation  others Tab  </th>

                                            <td > 
                                                <input type="radio" id="others_tab1" name="others_tab" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['others_tab']==1){?>checked<?php }?>>
                                                <label for="others_tab1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label>
                                            </td>
                                            <td >
                                                <input type="radio" id="others_tab0" name="others_tab" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['others_tab']!=1){?>checked<?php }?>>
                                                <label for="others_tab0"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>
                                        </tr>

                                    </table>



                                    <table width="100%" border="1">

                                        <tr>
                                            <td scope="row"> 
                                                <label class="control-label" for="form_control_1">Program Version </label>
                                            </td>
                                            <td > 
                                                <input type="radio" id="system_type1" name="system_type" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_type']==1){?>checked<?php }?>>
                                                <label for="system_type1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Center </label></td>
                                            <td ><input type="radio" id="system_type2" name="system_type" class="md-radiobtn" value="2"
                                                        <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_type']==2){?>checked<?php }?>>
                                                <label for="system_type2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Share  </label>
                                            </td>
                                            <td>
                                                <input type="radio" id="system_type3" name="system_type" class="md-radiobtn" 
                                                       value="3"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_type']==3){?>checked<?php }?>>
                                                <label for="system_type3"  data-toggle="popover" data-trigger="hover" data-placement="bottom" 
                                                       data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Beauty  </label>
                                            </td>

                                            <td>
                                                <input type="radio" id="system_type4" name="system_type" class="md-radiobtn" 
                                                       value="4"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_type']==4){?>checked<?php }?>>
                                                <label for="system_type4"  data-toggle="popover" data-trigger="hover" data-placement="bottom" 
                                                       data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Hospital  </label>
                                            </td>
                                            <td></td>
                                        </tr>

                                        <tr>
                                            <td scope="row"> 
                                                <label class="control-label" for="form_control_1">Program Language </label>
                                            </td>
                                            <td > 
                                                <input type="radio" id="system_lang1" name="system_lang" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_lang']==1){?>checked<?php }?>>
                                                <label for="system_lang1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Gyna </label></td>
                                            <td ><input type="radio" id="system_lang2" name="system_lang" class="md-radiobtn" value="2"
                                                        <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['system_lang']==2){?>checked<?php }?>>
                                                <label for="system_lang2"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Public  </label>
                                            </td>
                                            <td>
                                                <label class="control-label" for="form_control_1">Rooms Chart </label>
                                            </td>
                                            <td > 
                                                <input type="radio" id="rooms1" name="rooms" 
                                                       class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['rooms']==1){?>checked<?php }?>>
                                                <label for="rooms1"  data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Vertical </label>
                                            </td>
                                            <td >
                                                <input type="radio" id="rooms2" name="rooms" 
                                                       class="md-radiobtn" value="2"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['rooms']==2){?>checked<?php }?>>
                                                <label for="rooms2"  data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Horizontal  </label>
                                            </td>
                                        </tr>


                                        <tr>
                                            <td scope="row">  </td>
                                            <td></td>
                                            <td> </td>
                                            <td scope="row"><label class="control-label" for="form_control_1">Program  Show</label></td>
                                            <td><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><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>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Entry order</label></td>
                                            <td><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><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">Investigation  show</label></td>
                                            <td><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><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>
                                        </tr>
                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_1">Diagnosis show</label></td>
                                            <td><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><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>

                                            <td scope="row"><label class="control-label" for="form_control_1">Prescription Cashing</label></td>
                                            <td><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><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_1">Today Visits Display </label></td>
                                            <td><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><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>

                                            <td scope="row"><label class="control-label" for="form_control_2">Prescription Print </label></td>
                                            <td><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><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>
                                        </tr>

                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_2">Login Bar </label></td>
                                            <td><input type="radio" id="loginbar1" name="loginbar" class="md-radiobtn" value="1"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['loginbar']==1){?>checked<?php }?>>
                                                <label for="loginbar1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="display login bar">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Show  </label></td>
                                            <td><input type="radio" id="loginbar0" name="loginbar" class="md-radiobtn" value="0" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['loginbar']==0){?>checked<?php }?>>
                                                <label for="loginbar0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="hide login bar">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Hide </label></td>

                                            <td scope="row"><label class="control-label" for="form_control_2">Visit type </label></td>
                                            <td><input type="radio" id="visittype0" name="visittype" class="md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['visittype']==0){?>checked<?php }?>>
                                                <label for="visittype0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="External visits in rays and lab department">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    External  </label></td>
                                            <td><input type="radio" id="visittype1" name="visittype" class="md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['visittype']==1){?>checked<?php }?>>
                                                <label for="visittype1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Internal visits in rays and lab department">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Internal </label></td>
                                        </tr>


                                        <tr>
                                            <td scope="row"><label class="control-label" for="form_control_2">drug quantity </label></td>
                                            <td><input type="radio" id="presquantity0" name="presquantity" class="md-radiobtn" value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['presquantity']==0){?>checked<?php }?>>
                                                <label for="presquantity0" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="hide drug quantity in prescriptions">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    No  </label></td>
                                            <td><input type="radio" id="presquantity1" name="presquantity" class="md-radiobtn" value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['presquantity']==1){?>checked<?php }?>>
                                                <label for="presquantity1" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="show drug quantity in prescriptions">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Yes </label></td>

                                            <td  scope="row"> 
                                                <label class="control-label" for="form_control_1">Organizations  Discount </label>
                                            </td>
                                            <td > 
                                                <input type="radio" id="organizations1" name="organizations" class="md-radiobtn" value="1" 
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['organizations']==1){?>checked<?php }?>>
                                                <label for="organizations1"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    hide </label></td>
                                            <td >
                                                <input type="radio" id="organizations0" name="organizations" class="md-radiobtn" value="0"
                                                       <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['organizations']!=1){?>checked<?php }?>>
                                                <label for="organizations0"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    show  </label>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td scope="row"></td>
                                            <td></td>
                                            <td></td>

                                            <td scope="row">
                                                <label class="control-label" for="form_control_2"> Dr Dept in Fin. Report  </label></td>
                                            <td><input type="radio" id="fin_doc_dept0" name="fin_doc_dept" class="md-radiobtn" 
                                                       value="0"  <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['fin_doc_dept']==0){?>checked<?php }?>>
                                                <label for="fin_doc_dept0" data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content="hide drug quantity in prescriptions">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    No  </label></td>
                                            <td><input type="radio" id="fin_doc_dept1" name="fin_doc_dept" class="md-radiobtn" 
                                                       value="1" <?php if ($_smarty_tpl->tpl_vars['programesetting']->value['fin_doc_dept']==1){?>checked<?php }?>>
                                                <label for="fin_doc_dept1" data-toggle="popover" data-trigger="hover" 
                                                       data-placement="bottom" data-content="show drug quantity in prescriptions">
                                                    <span></span>
                                                    <span class="check"></span>
                                                    <span class="box"></span>
                                                    Yes </label></td>
                                        </tr>

                                        <tr>
                                            <td scope="row"></td>
                                            <td></td>
                                            <td></td>


                                            <td scope="row">
                                                <label for="exampleInputFile2" class="control-label"> Background </label>
                                            </td>
                                            <td colspan="2">
                                                <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>
                                                    <a href="javascript:;" class="btn red" id="deleteBackground"> <i class="fa fa-close" ></i></a>
                                                </div>
                                            </td>

                                        </tr>

                                    </table>


                                    <input name="bimageurl"  id="bimageurl" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['programesetting']->value['background'];?>
" />
                                    <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 }} ?>