Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 20180612110143.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 20180612110347.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?php /* Smarty version Smarty-3.1.3, created on 2018-06-12 18:33:15
compiled from "templates/default/admin\module\site\nav_list.php" */ ?>
<?php /*%%SmartyHeaderCode:5245b1fa16b347798-07982200%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'42ed25abba18fcb2290b33224fc222f45cd0f7a4' =>
array (
0 => 'templates/default/admin\\module\\site\\nav_list.php',
1 => 1447358714,
2 => 'file',
),
),
'nocache_hash' => '5245b1fa16b347798-07982200',
'function' =>
array (
),
'variables' =>
array (
'nav' => 0,
'cat' => 0,
'global' => 0,
'list' => 0,
'item' => 0,
'S_TPL_PATH' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.3',
'unifunc' => 'content_5b1fa16b48ba8',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5b1fa16b48ba8')) {function content_5b1fa16b48ba8($_smarty_tpl) {?>
<?php $_smarty_tpl->tpl_vars['cat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cat']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['nav']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['cat']->total= $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['cat']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['cat']->key => $_smarty_tpl->tpl_vars['cat']->value){
$_smarty_tpl->tpl_vars['cat']->_loop = true;
$_smarty_tpl->tpl_vars['cat']->iteration++;
$_smarty_tpl->tpl_vars['cat']->last = $_smarty_tpl->tpl_vars['cat']->iteration === $_smarty_tpl->tpl_vars['cat']->total;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['nav']['last'] = $_smarty_tpl->tpl_vars['cat']->last;
?>
<div class="block">
<div class="head"><span>导航管理 - <?php echo $_smarty_tpl->tpl_vars['cat']->value['name'];?>
</span></div>
<div class="main">
<form id="form_edit_nav_<?php echo $_smarty_tpl->tpl_vars['cat']->value['type'];?>
" method="post" action="<?php echo url(array('channel'=>$_smarty_tpl->tpl_vars['global']->value['channel']),$_smarty_tpl);?>
">
<input name="cmd" type="hidden" value="edit_nav" />
<table class="table sheet">
<tr class="h">
<td>文字</td>
<td>链接</td>
<td width="45px">排序</td>
<td width="40px">置顶</td>
<td width="40px">显示</td>
<td>操作</td>
</tr>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->tpl_vars['cat']->value['type']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<tr>
<td><input name="word[]" type="text" class="text" maxlength="50" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
" /></td>
<td><input name="link[]" type="text" class="text" maxlength="150" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['url'];?>
" /></td>
<td onClick="show_edit('index_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
')">
<span id="index_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
_1"><?php echo $_smarty_tpl->tpl_vars['item']->value['index'];?>
<img src="<?php echo $_smarty_tpl->tpl_vars['S_TPL_PATH']->value;?>
images/pencil.gif" /></span>
<span id="index_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
_2" style="display:none;">
<input type="text" id="index_<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['index'];?>
" style="width:30px;" onBlur="set_order('index','menu',<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
,this.value)" />
</span>
</td>
<td><input type="checkbox" <?php if ($_smarty_tpl->tpl_vars['item']->value['top']==1){?>checked<?php }?> onClick="set_order('top','menu',<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
,this.checked)" /></td>
<td><input type="checkbox" <?php if ($_smarty_tpl->tpl_vars['item']->value['show']==1){?>checked<?php }?> onClick="set_order('show','menu',<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
,this.checked)" /></td>
<td><input name="id[]" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" /><span class="red" onClick="del('menu|<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
')">[删除]</span></td>
</tr>
<?php } ?>
<tr>
<td colspan="6">
<div class="bt_row">
<input class="button" type="submit" value="修改" />
<input class="button" type="button" onClick="jump('<?php echo url(array('channel'=>$_smarty_tpl->tpl_vars['global']->value['channel'],'mod'=>'nav_add','type'=>$_smarty_tpl->tpl_vars['cat']->value['type']),$_smarty_tpl);?>
')" value="添加" />
</div>
</td>
</tr>
</table>
</form>
</div>
</div>
<?php if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['nav']['last']){?><div class="space"></div><?php }?>
<?php } ?>
<?php }} ?>
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@

<?php /* Smarty version Smarty-3.1.3, created on 2018-06-12 23:15:55
compiled from "templates/default/admin\module\basic\basic_info.php" */ ?>
<?php /*%%SmartyHeaderCode:255215a59d814e15bf6-05383194%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'9278eaeb8e0b61ebf1638f792a96f2067082fe89' =>
array (
0 => 'templates/default/admin\\module\\basic\\basic_info.php',
1 => 1447639534,
1 => 1528816002,
2 => 'file',
),
),
'nocache_hash' => '255215a59d814e15bf6-05383194',
'function' =>
array (
),
'version' => 'Smarty-3.1.3',
'unifunc' => 'content_5a59d814eb718',
'variables' =>
array (
'show_sinsiu' => 0,
Expand All @@ -28,8 +31,6 @@
'server_software' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.3',
'unifunc' => 'content_5a59d814eb718',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a59d814eb718')) {function content_5a59d814eb718($_smarty_tpl) {?>
<div class="block">
Expand All @@ -41,7 +42,7 @@
<td>当前版本:</td>
<td><?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</td>
<td>最新版本:</td>
<td>最1版本:</td>
<td><div id="ver"><?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</div></td>
</tr>
Expand Down Expand Up @@ -82,7 +83,7 @@
</div>
</div>
<div class="space"></div>
<div class="block">
<!-- <div class="block">
<div class="head"><span>使用帮助</span></div>
<div class="main">
<table class="table">
Expand All @@ -100,7 +101,7 @@
</tr>
</table>
</div>
</div>
</div> -->

<script language="javascript">
function get_version()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<td width="45px">排序</td>
<td width="40px">促销</td>
<td width="40px">精品</td>
<td width="40px">新品</td>
<td width="40px">1品</td>
<td width="40px">热卖</td>
<td width="40px">置顶</td>
<td width="40px">显示</td>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.3, created on 2018-01-14 09:24:26
<?php /* Smarty version Smarty-3.1.3, created on 2018-06-12 17:57:10
compiled from "templates/default/admin\module\service\online.php" */ ?>
<?php /*%%SmartyHeaderCode:308795a5ab14ac2be86-91635594%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
Expand All @@ -7,56 +7,20 @@
'b26e713bcb63f12248dcbc530daf0d4f759324cb' =>
array (
0 => 'templates/default/admin\\module\\service\\online.php',
1 => 1447355403,
1 => 1528797382,
2 => 'file',
),
),
'nocache_hash' => '308795a5ab14ac2be86-91635594',
'function' =>
array (
),
'variables' =>
array (
'global' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.3',
'unifunc' => 'content_5a5ab14acd6d8',
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a5ab14acd6d8')) {function content_5a5ab14acd6d8($_smarty_tpl) {?>
<div class="block">
<div class="head"><span>在线客服</span></div>
<div class="main">
<form id="form_edit_online" method="post" action="<?php echo url(array('channel'=>$_smarty_tpl->tpl_vars['global']->value['channel']),$_smarty_tpl);?>
">
<input name="cmd" type="hidden" value="edit_online" />
<table class="table">
<tr>
<td width="100px">获取代码:</td>
<td>
请登录&nbsp;<a href="http://shang.qq.com/" target="_blank">http://shang.qq.com/</a>&nbsp;获取QQ在线客服代码<br />
</td>
</tr>
<tr>
<td>客服代码:</td>
<td>
<div class="editor">
<?php echo $_smarty_tpl->getSubTemplate ('module/editor.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="bt_row">
<input class="button" type="submit" value="提交" />
</div>
</td>
</tr>
</table>
</form>
</div>
</div>
<div class="space"></div>
<div class="block">
<div class="head"><span>使用说明</span></div>
Expand Down
Loading