<?php /* Smarty version Smarty-3.0.6, created on 2020-03-31 15:39:56
         compiled from "I:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\temp.tpl" */ ?>
<?php /*%%SmartyHeaderCode:18278066135e82f3cca46814-67004454%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '29556b15bd5a9fd164929755c1fcb5f2c28afc27' => 
    array (
      0 => 'I:/AppServ/www/demo.hucart.com/hucart_cn/templates/adminsys\\temp.tpl',
      1 => 1583825690,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18278066135e82f3cca46814-67004454',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title><?php echo $_smarty_tpl->getVariable('txt_title')->value;?>
 - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/info.css" rel="stylesheet">
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/pinyin.js"></script>
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/admin_common.js"></script>
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script language="javascript">
 function select_title(val,csscout)
 {
	document.getElementById('sys_name').value 	= document.getElementById('sys_title['+val+']').value + document.getElementById('sys_version['+val+']').value;
	document.getElementById('sys_code').value 	= document.getElementById('sys_dir['+val+']').value;
	var isall = false;
	for(var i=0;i<csscout;i++)
	{
		if(document.getElementById('sys_css'+val+'['+i+']').checked ==true)
		{
			document.getElementById('sys_css').value = document.getElementById('sys_css'+val+'['+keyval+']').value;
			isall = true;
		}
	}
	if(isall == false)
	{
		document.getElementById('sys_css').value = document.getElementById('sys_css'+val+'[0]').value;
		document.getElementById('sys_css'+val+'[0]').checked = true;
	}
 }
 
 function select_css(cssval,keyval)
 {
	document.getElementById('sys_css').value 		= document.getElementById('sys_css'+keyval+'['+cssval+']').value;
	document.getElementById('sys_name').value 		= document.getElementById('sys_title['+keyval+']').value + document.getElementById('sys_version['+keyval+']').value;
	document.getElementById('sys_code').value 		= document.getElementById('sys_dir['+keyval+']').value;	
	document.getElementById('sys_code['+keyval+']').checked 	= true;
	alert('');
 }
 
</script>
</head>
<body>

    <div class="info-tit"> 
    <form action="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/adminsys/index.php?load=sys_config&act=edit_temp" method="post"  name="formSub"><span class="glyphicon glyphicon-paperclip"> </span> <a href="index.php?load=<?php echo $_smarty_tpl->getVariable('master_act')->value;?>
&act=info_list" >
   
    <?php echo $_smarty_tpl->getVariable('lang')->value['title'];?>
</a> > <?php echo $_smarty_tpl->getVariable('txt_title')->value;?>
 (<?php echo $_smarty_tpl->getVariable('lang')->value['need_edit'];?>
&nbsp;&nbsp; <?php echo $_smarty_tpl->getVariable('lang')->value['need_add'];?>
 <?php echo $_smarty_tpl->getVariable('lang')->value['need_del'];?>
)<a href="http://help.hucart.com/item-show-temp.html" target="_blank" title="<?php echo $_smarty_tpl->getVariable('lang')->value['help_url'];?>
"><span class="glyphicon glyphicon-question-sign" style="float: right"></span></a></div>
    <!-- custom con start -->
    <div class="info-add">
<input name="sys_id" id="sys_id" value="<?php echo $_smarty_tpl->getVariable('info_user')->value['sys_id'];?>
" type="hidden">
<input name="sys_code" id="sys_code" value="<?php echo $_smarty_tpl->getVariable('info_user')->value['sys_code'];?>
" type="hidden">
<input name="sys_css" id="sys_css" value="<?php echo $_smarty_tpl->getVariable('info_user')->value['sys_css'];?>
" type="hidden">
<input name="sys_value" id="sys_value" value="<?php echo $_smarty_tpl->getVariable('info_user')->value['sys_value'];?>
" type="hidden">
<input name="sys_name" id="sys_name" value="<?php echo $_smarty_tpl->getVariable('info_user')->value['sys_name'];?>
" type="hidden">
<div class="list" style="overflow:hidden;">
<ul>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('info')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<li style="width:450px;list-style: none;float:left;">
<table cellpadding="0" cellspacing="1" border="0" style="width:450" class="tableborder" >
<tr >
<td class="td"><strong><?php echo $_smarty_tpl->getVariable('lang')->value['tem_name_prefix'];?>
<?php echo $_smarty_tpl->tpl_vars['key']->value+1;?>
<?php echo $_smarty_tpl->getVariable('lang')->value['tem_name'];?>
 </strong></td>
<td class="tdd"><?php echo $_smarty_tpl->tpl_vars['item']->value['sys_title'];?>
<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_version'];?>
</td>
</tr>
<tr >
<td class="td"><strong><?php echo $_smarty_tpl->getVariable('lang')->value['tem_url'];?>
</strong></td>
<td class="tdd">templates/<font color="#0000FF"><?php echo $_smarty_tpl->tpl_vars['item']->value['sys_dir'];?>
</font></td>
</tr>
<tr >
<td class="td"><strong><?php echo $_smarty_tpl->getVariable('lang')->value['tem_img'];?>
</strong></td>
<td class="tdd"><div style="border:1px solid #333333; width:122px;" ><img src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/templates/www/<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_dir'];?>
/<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_image'];?>
" width="200" border="0" /></div></td>
</tr>
<tr >
<td class="td"><strong><?php echo $_smarty_tpl->getVariable('lang')->value['tem_color'];?>
</strong></td>
<td class="tdd"><?php  $_smarty_tpl->tpl_vars['itemcss'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['keycss'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['item']->value['sys_css']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['itemcss']->key => $_smarty_tpl->tpl_vars['itemcss']->value){
 $_smarty_tpl->tpl_vars['keycss']->value = $_smarty_tpl->tpl_vars['itemcss']->key;
?><input type="radio"  value="<?php echo $_smarty_tpl->tpl_vars['itemcss']->value;?>
" name="sys_csskey" id="sys_css<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
[<?php echo $_smarty_tpl->tpl_vars['keycss']->value;?>
]" <?php if ($_smarty_tpl->tpl_vars['item']->value['sys_css_checked']==$_smarty_tpl->tpl_vars['itemcss']->value){?> checked="checked" <?php }?>  onclick="select_css('<?php echo $_smarty_tpl->tpl_vars['keycss']->value;?>
','<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
')"  ><a style="display:inline-block;line-height:18px;padding:0 6px;border:1px solid #cccccc;background-color:<?php echo $_smarty_tpl->tpl_vars['itemcss']->value;?>
;color:#000000 !important;margin-right:5px; width:10px; height:20px;"></a> &nbsp;&nbsp;<?php }} ?></td>
</tr>

<tr >
<td class="td"><strong><?php echo $_smarty_tpl->getVariable('lang')->value['tem_is_select'];?>
</strong></td>
<td class="tdd"><input name="sys_codekey" id="sys_code[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['item']->value['sys_checked']=='1'){?> checked="checked" <?php }?>  type="radio" style="width:20px;" onclick="select_title(<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
,'<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_css_cout'];?>
')" ><?php if ($_smarty_tpl->tpl_vars['item']->value['sys_checked']=='1'){?> <font color="#FF0000;"><?php echo $_smarty_tpl->getVariable('lang')->value['tem_sel'];?>
</font> <?php }else{ ?> <?php echo $_smarty_tpl->getVariable('lang')->value['tem_no_sel'];?>
 <?php }?>

<input value="<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_title'];?>
" name="sys_title[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" 	id="sys_title[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  type="hidden">
<input value="<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_image'];?>
" name="sys_image[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" 	id="sys_image[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  type="hidden">
<input value="<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_version'];?>
" name="sys_version[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" id="sys_version[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  type="hidden">
<input value="<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_link'];?>
" name="sys_link[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]" 	id="sys_link[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  type="hidden">
<input value="<?php echo $_smarty_tpl->tpl_vars['item']->value['sys_dir'];?>
" name="sys_dir[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  	id="sys_dir[<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
]"  type="hidden">

</td>
</tr>

<tr >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>


</table>

</li><?php }} ?>
</ul>
<div style="width:100%; overflow:hidden">
<table>
<tr><td>
<input class="btn btn-primary  btn-sm"  name="submit" id="submit" type="submit" value="修 改"   >
</td></tr>
</table>
</div>
</div>
  </form>
    </div>
    <!-- custom con end -->

    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>
<script src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/jquery.min.js"></script>
<script src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/base.js"></script>
</body>
</html>