<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:26
         compiled from "../views/obgy/case_summary/art.html" */ ?>
<?php /*%%SmartyHeaderCode:2088560076856d486729027-17187778%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f9a6d64f8602712d0370d70b634b7799b017a638' => 
    array (
      0 => '../views/obgy/case_summary/art.html',
      1 => 1674625826,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2088560076856d486729027-17187778',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'phpastartcount' => 0,
    'phpastart' => 0,
    'i' => 0,
    'myallphpastart' => 0,
    'allphpastarttype' => 0,
    'myallphpastarttype' => 0,
    'allphpastartcenter' => 0,
    'myallphpastartcenter' => 0,
    'artResult' => 0,
    'data' => 0,
    'controllname' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d486760102_53593717',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d486760102_53593717')) {function content_6856d486760102_53593717($_smarty_tpl) {?>
<div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Previous Art Cycles </div>
        <div class="actions"></div>
        <div class="tools">
            <a href="#" class="collapse" title="تصغير / تكبير"></a>
        </div>
    </div>
    <div class="portlet-body">
        <div class="row">
            <div id="ultrasoundgynaDiv">
                <div class="row">
                    <div class="portlet-body form" >
                        <form>
                            <div class="form-body">
                                <input type="hidden" id="pastart_itr" value="<?php echo $_smarty_tpl->tpl_vars['phpastartcount']->value;?>
"/>
                                <table>
                                    <tbody>
                                    <th class="wds15">Art
                                        <button type="button" class="btn btn-xs blue" id="pastart_btn" data-summary="1">
                                            <i class="fa fa-plus"></i> </button>
                                    </th>
                                    <td> 
                                        <table>
                                            <tr>
                                                <th class="wds16">Type </th>
                                                <th class="wds16">Center </th>
                                                <th class="wds8"> Year</th>
                                                <th class="wds25"> Result</th>
                                                <th> Note</th>
                                                <th class="wds5"> </th>
                                            </tr>
                                        </table>
                                        <table  id="pastart_div">
                                            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                                            <?php  $_smarty_tpl->tpl_vars['myallphpastart'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastart']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['phpastart']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastart']->key => $_smarty_tpl->tpl_vars['myallphpastart']->value){
$_smarty_tpl->tpl_vars['myallphpastart']->_loop = true;
?>
                                            <tr>
                                                <td class="wds16"> 
                                                    <select  class="form-control arttype arttypeExtra updateElement allupdateselect" id="arttype<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->arttype;?>
"  name="arttype" data-colName="arttype" select-tableName="phpastarttype" data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" data-tableName="phpastart" >
                                                        <option value="">choose</option>
                                                        <?php  $_smarty_tpl->tpl_vars['myallphpastarttype'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastarttype']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastarttype']->key => $_smarty_tpl->tpl_vars['myallphpastarttype']->value){
$_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = true;
?>
                                                        <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->arttype;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->id;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp1==$_tmp2){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->name;?>
 </option>
                                                        <?php } ?>
                                                        <option value="-2" class="deleteoptincompo">Delete</option>
                                                    </select>
                                                </td>
                                                <td class="wds16">
                                                    <select  class="form-control artcenter updateElement allupdateselect" id="artcenter<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->artcenter;?>
" name="artcenter" data-colName="artcenter" data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" select-tableName="phpastartcenter" data-tableName="phpastart" >
                                                        <option value="">choose</option>
                                                        <?php  $_smarty_tpl->tpl_vars['myallphpastartcenter'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastartcenter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastartcenter']->key => $_smarty_tpl->tpl_vars['myallphpastartcenter']->value){
$_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = true;
?>
                                                        <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->artcenter;?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->id;?>
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp3==$_tmp4){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->name;?>
 </option>
                                                        <?php } ?>
                                                        <option value="-2" class="deleteoptincompo">Delete</option>
                                                    </select>
                                                </td>
                                                <td class="wds8"> 
                                                    <input type="text" class="form-control updateElement" placeholder="Year" name="artyear" data-colName="artyear"   data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" data-tableName="phpastart" value="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->artyear;?>
" />

                                                </td>
                                                <td class="wds25"> 
                                                    <select  class="form-control result updateElement allupdateselect" id="result<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->result;?>
" name="result" data-colName="result" data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" select-tableName="phpastartresult" data-tableName="phpastart" >
                                                        <option value="">choose</option>
                                                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['artResult']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                                        <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->result;?>
<?php $_tmp5=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
<?php $_tmp6=ob_get_clean();?><?php if ($_tmp5==$_tmp6){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                                                        <?php } ?>
                                                        <option value="-2" class="deleteoptincompo">Delete</option>
                                                    </select>
                                                </td>
                                                <td>
                                                    <input type="text" class="amrpop form-control updateElement" placeholder="Note" name="artnote" 
                                                           data-colName="artnote"  data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" data-tableName="phpastart" 
                                                           value="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->artnote;?>
"/>

                                                </td>
                                                <td class="wds5">
                                                    <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="<?php echo $_smarty_tpl->tpl_vars['myallphpastart']->value->id;?>
" 
                                                       data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"  data-fn="del" data-tableName="phpastart" data-colName="del">
                                                        <i class="fa fa-times"></i> </a>
                                                </td>
                                            </tr>
                                            <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                            <?php } ?>
                                        </table>
                                    </td>
                                    </tbody>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>

<?php }} ?>