parent
4d1fc23a18
commit
0e8a995c7d
@ -1,181 +0,0 @@
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo $this->_var['lang']['cp_home']; ?></title>
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
<link rel="stylesheet" href="./layuiadmin/layui/css/layui.css" media="all">
|
||||
<link rel="stylesheet" href="./layuiadmin/style/admin.css" media="all">
|
||||
</head>
|
||||
<body class="layui-layout-body">
|
||||
<div id="LAY_app">
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div class="layui-header">
|
||||
<!-- 頭部區域 -->
|
||||
<ul class="layui-nav layui-layout-left">
|
||||
<li class="layui-nav-item layadmin-flexible" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="flexible" title="側邊伸縮">
|
||||
<i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item layui-hide-xs" lay-unselect>
|
||||
<a href="http://www.layui.com/admin/" target="_blank" title="前台">
|
||||
<i class="layui-icon layui-icon-website"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="refresh" title="刷新">
|
||||
<i class="layui-icon layui-icon-refresh-3"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item layui-hide-xs" lay-unselect>
|
||||
<input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search" layadmin-event="serach" lay-action="template/search.html?keywords=">
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
|
||||
|
||||
<li class="layui-nav-item" lay-unselect>
|
||||
<a lay-href="app/message/index.html" layadmin-event="message" lay-text="消息中心">
|
||||
<i class="layui-icon layui-icon-notice"></i>
|
||||
|
||||
<!-- 如果有新消息,則顯示小圓點 -->
|
||||
<span class="layui-badge-dot"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item layui-hide-xs" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="theme">
|
||||
<i class="layui-icon layui-icon-theme"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item layui-hide-xs" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="fullscreen">
|
||||
<i class="layui-icon layui-icon-screen-full"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="layui-nav-item" lay-unselect>
|
||||
<a href="javascript:;">
|
||||
<cite>admin</cite>
|
||||
</a>
|
||||
<dl class="layui-nav-child">
|
||||
<dd><a lay-href="set/user/info.html">基本資料</a></dd>
|
||||
<dd><a lay-href="set/user/password.html">修改密碼</a></dd>
|
||||
<hr>
|
||||
<dd layadmin-event="logout" style="text-align: center;"><a>退出</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
|
||||
<li class="layui-nav-item layui-hide-xs" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="about"><i class="layui-icon layui-icon-more-vertical"></i></a>
|
||||
</li>
|
||||
<li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
|
||||
<a href="javascript:;" layadmin-event="more"><i class="layui-icon layui-icon-more-vertical"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 側邊菜單 -->
|
||||
<div class="layui-side layui-side-menu">
|
||||
<div class="layui-side-scroll">
|
||||
<div class="layui-logo" lay-href="dashboard.html">
|
||||
<span>SlashCard</span>
|
||||
</div>
|
||||
|
||||
<ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
|
||||
<li data-name="home" class="layui-nav-item layui-nav-itemed">
|
||||
<a href="javascript:;" lay-href="dashboard.html" lay-tips="資訊面版">
|
||||
<i class="layui-icon layui-icon-home"></i>
|
||||
<cite>資訊面版</cite>
|
||||
</a>
|
||||
</li>
|
||||
<?php $_from = $this->_var['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('k', 'menu');$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
|
||||
if ($this->_foreach['foo']['total'] > 0):
|
||||
foreach ($_from AS $this->_var['k'] => $this->_var['menu']):
|
||||
$this->_foreach['foo']['iteration']++;
|
||||
?>
|
||||
<?php if (isset ( $this->_var['menu']['action'] ) && $this->_var['menu']['action']): ?>
|
||||
<li data-name="home" class="layui-nav-item">
|
||||
<a href="javascript:;" lay-tips="<?php echo $this->_var['menu']['label']; ?>" lay-direction="2">
|
||||
<i class="layui-icon layui-icon-component"></i>
|
||||
<cite><?php echo $this->_var['menu']['label']; ?></cite>
|
||||
</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li data-name="home" class="layui-nav-item">
|
||||
<a href="javascript:;" lay-tips="<?php echo $this->_var['menu']['label']; ?>" lay-direction="2">
|
||||
<i class="layui-icon layui-icon-component"></i>
|
||||
<cite><?php echo $this->_var['menu']['label']; ?></cite>
|
||||
</a>
|
||||
<?php if ($this->_var['menu']['children']): ?>
|
||||
<dl class="layui-nav-child">
|
||||
<?php $_from = $this->_var['menu']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['child']):
|
||||
?>
|
||||
<dd data-name="console">
|
||||
<a lay-href="<?php echo $this->_var['child']['action']; ?>"><?php echo $this->_var['child']['label']; ?></a>
|
||||
</dd>
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 頁面標籤 -->
|
||||
<div class="layadmin-pagetabs" id="LAY_app_tabs">
|
||||
<div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
|
||||
<div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
|
||||
<div class="layui-icon layadmin-tabs-control layui-icon-down">
|
||||
<ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
|
||||
<li class="layui-nav-item" lay-unselect>
|
||||
<a href="javascript:;"></a>
|
||||
<dl class="layui-nav-child layui-anim-fadein">
|
||||
<dd layadmin-event="closeThisTabs"><a href="javascript:;">關閉當前標籤頁</a></dd>
|
||||
<dd layadmin-event="closeOtherTabs"><a href="javascript:;">關閉其它標籤頁</a></dd>
|
||||
<dd layadmin-event="closeAllTabs"><a href="javascript:;">關閉全部標籤頁</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
|
||||
<ul class="layui-tab-title" id="LAY_app_tabsheader">
|
||||
<li lay-id="home/console.html" lay-attr="home/console.html" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 主體內容 -->
|
||||
<div class="layui-body" id="LAY_app_body">
|
||||
<div class="layadmin-tabsbody-item layui-show">
|
||||
<iframe src="dashboard.html" frameborder="0" class="layadmin-iframe">
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 輔助元素,一般用於移動設備下遮罩 -->
|
||||
<div class="layadmin-body-shade" layadmin-event="shade"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="./layuiadmin/layui/layui.js"></script>
|
||||
<script>
|
||||
layui.config({
|
||||
base: './layuiadmin/' //靜態資源所在路徑
|
||||
}).extend({
|
||||
index: 'lib/index' //主入口模塊
|
||||
}).use('index');
|
||||
</script>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@ -1,133 +0,0 @@
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
<!-- $Id: msg_list.htm 15616 2009-02-18 05:16:22Z sunxiaodong $ -->
|
||||
<?php echo $this->fetch('pageheader.htm'); ?>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js,listtable.js')); ?>
|
||||
<div class="form-div">
|
||||
<form action="javascript:searchMsg()" name="searchForm">
|
||||
<img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
|
||||
<?php echo $this->_var['lang']['msg_type']; ?>:
|
||||
<select name="msg_type">
|
||||
<option value="-1"><?php echo $this->_var['lang']['select_please']; ?></option>
|
||||
<option value="0"><?php echo $this->_var['lang']['type']['0']; ?></option>
|
||||
<option value="1"><?php echo $this->_var['lang']['type']['1']; ?></option>
|
||||
<option value="2"><?php echo $this->_var['lang']['type']['2']; ?></option>
|
||||
<option value="3"><?php echo $this->_var['lang']['type']['3']; ?></option>
|
||||
<option value="4"><?php echo $this->_var['lang']['type']['4']; ?></option>
|
||||
<option value="5"><?php echo $this->_var['lang']['type']['5']; ?></option>
|
||||
</select>
|
||||
<?php echo $this->_var['lang']['msg_title']; ?>: <input type="text" name="keyword" /> <input type="submit" class="button" value="<?php echo $this->_var['lang']['button_search']; ?>" />
|
||||
</form>
|
||||
</div>
|
||||
<form method="POST" action="user_msg.php?act=batch_drop" name="listForm" onsubmit="return confirm_bath()">
|
||||
<!-- start article list -->
|
||||
<div class="list-div" id="listDiv">
|
||||
<?php endif; ?>
|
||||
<table class="table table-bordered"> <tr>
|
||||
<th>
|
||||
<input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" />
|
||||
<a href="javascript:listTable.sort('msg_id'); "><?php echo $this->_var['lang']['msg_id']; ?></a><?php echo $this->_var['sort_msg_id']; ?>
|
||||
</th>
|
||||
<th><a href="javascript:listTable.sort('user_name'); "><?php echo $this->_var['lang']['user_name']; ?></a><?php echo $this->_var['sort_user_name']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('msg_title'); "><?php echo $this->_var['lang']['msg_title']; ?></a><?php echo $this->_var['sort_msg_title']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('msg_type'); "><?php echo $this->_var['lang']['msg_type']; ?></a><?php echo $this->_var['sort_msg_type']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('msg_time'); "><?php echo $this->_var['lang']['msg_time']; ?></a><?php echo $this->_var['sort_msg_time']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('msg_status'); "><?php echo $this->_var['lang']['msg_status']; ?></a><?php echo $this->_var['sort_msg_status']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('reply'); "><?php echo $this->_var['lang']['reply']; ?></a><?php echo $this->_var['sort_reply']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['handler']; ?></th>
|
||||
</tr>
|
||||
<?php $_from = $this->_var['msg_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'msg');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['msg']):
|
||||
?>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="checkboxes[]" value="<?php echo $this->_var['msg']['msg_id']; ?>" /><?php echo $this->_var['msg']['msg_id']; ?></td>
|
||||
<td align="center"><?php echo $this->_var['msg']['user_name']; ?></td>
|
||||
<td align="left"><?php echo htmlspecialchars(sub_str($this->_var['msg']['msg_title'],40)); ?></td>
|
||||
<td align="center"><?php echo $this->_var['msg']['msg_type']; ?><?php if ($this->_var['msg']['order_id']): ?><br><a href="order.php?act=info&order_id=<?php echo $this->_var['msg']['order_id']; ?>"><?php echo $this->_var['msg']['order_sn']; ?><?php endif; ?></a></td>
|
||||
<td align="center" nowrap="nowrap"><?php echo $this->_var['msg']['msg_time']; ?></td>
|
||||
<?php if ($this->_var['msg']['msg_area'] == 0): ?>
|
||||
<td align="center"><?php echo $this->_var['lang']['display']; ?></td>
|
||||
<?php else: ?>
|
||||
<td align="center"><?php if ($this->_var['msg']['msg_status'] == 0): ?><?php echo $this->_var['lang']['hidden']; ?><?php else: ?><?php echo $this->_var['lang']['display']; ?><?php endif; ?></td>
|
||||
<?php endif; ?>
|
||||
<td align="center"><?php if ($this->_var['msg']['reply'] == 0): ?><?php echo $this->_var['lang']['unreplyed']; ?><?php else: ?><?php echo $this->_var['lang']['replyed']; ?><?php endif; ?></td>
|
||||
<td align="center">
|
||||
<a href="user_msg.php?act=view&id=<?php echo $this->_var['msg']['msg_id']; ?>" title="<?php echo $this->_var['lang']['view']; ?>">
|
||||
<img src="images/icon_view.gif" border="0" height="21" width="21" />
|
||||
</a>
|
||||
<a href="javascript:;" onclick="listTable.remove(<?php echo $this->_var['msg']['msg_id']; ?>, '<?php echo $this->_var['lang']['drop_confirm']; ?>')" title="<?php echo $this->_var['lang']['remove']; ?>">
|
||||
<img src="images/icon_drop.gif" border="0" height="21" width="21">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; else: ?>
|
||||
<tr><td class="no-records" colspan="7"><?php echo $this->_var['lang']['no_records']; ?></td></tr>
|
||||
<?php endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</table>
|
||||
<table id="page-table" cellspacing="0">
|
||||
<tr>
|
||||
<td><div>
|
||||
<select name="sel_action">
|
||||
<option value=""><?php echo $this->_var['lang']['select_please']; ?></option>
|
||||
<option value="remove"><?php echo $this->_var['lang']['delete']; ?></option>
|
||||
<option value="allow"><?php echo $this->_var['lang']['allow']; ?></option>
|
||||
<option value="deny"><?php echo $this->_var['lang']['forbid']; ?></option>
|
||||
</select>
|
||||
<input type="hidden" name="act" value="batch" />
|
||||
<input type="submit" name="drop" id="btnSubmit" value="<?php echo $this->_var['lang']['button_submit']; ?>" class="button" disabled="true" /></div></td>
|
||||
<td align="right" nowrap="true">
|
||||
<?php echo $this->fetch('page.htm'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
</div>
|
||||
<!-- end article list -->
|
||||
</form>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
listTable.recordCount = <?php echo $this->_var['record_count']; ?>;
|
||||
listTable.pageCount = <?php echo $this->_var['page_count']; ?>;
|
||||
cfm = new Object();
|
||||
cfm['allow'] = '<?php echo $this->_var['lang']['cfm_allow']; ?>';
|
||||
cfm['remove'] = '<?php echo $this->_var['lang']['cfm_remove']; ?>';
|
||||
cfm['deny'] = '<?php echo $this->_var['lang']['cfm_deny']; ?>';
|
||||
<?php $_from = $this->_var['filter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['key'] => $this->_var['item']):
|
||||
?>
|
||||
listTable.filter.<?php echo $this->_var['key']; ?> = '<?php echo $this->_var['item']; ?>';
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
|
||||
<!--
|
||||
onload = function()
|
||||
{
|
||||
document.forms['searchForm'].elements['keyword'].focus();
|
||||
// 开始检查订单
|
||||
startCheckOrder();
|
||||
}
|
||||
|
||||
/**
|
||||
* 搜索标题
|
||||
*/
|
||||
function searchMsg()
|
||||
{
|
||||
var keyword = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
|
||||
var msgType = document.forms['searchForm'].elements['msg_type'].value;
|
||||
|
||||
listTable.filter['keywords'] = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
|
||||
listTable.filter['msg_type'] = document.forms['searchForm'].elements['msg_type'].value;
|
||||
listTable.filter['page'] = 1;
|
||||
listTable.loadList();
|
||||
}
|
||||
|
||||
function confirm_bath()
|
||||
{
|
||||
var action = document.forms['listForm'].elements['sel_action'].value;
|
||||
if (action == 'allow'||action == 'remove'||action == 'deny')
|
||||
{
|
||||
return confirm(cfm[action]);
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<?php echo $this->fetch('pagefooter.htm'); ?>
|
||||
<?php endif; ?>
|
||||
@ -1,17 +0,0 @@
|
||||
<!-- $Id: page.htm 14216 2008-03-10 02:27:21Z testyang $ -->
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js')); ?>
|
||||
<div id="turn-page">
|
||||
<?php echo $this->_var['lang']['total_records']; ?> <span id="totalRecords"><?php echo $this->_var['record_count']; ?></span>
|
||||
<?php echo $this->_var['lang']['total_pages']; ?> <span id="totalPages"><?php echo $this->_var['page_count']; ?></span>
|
||||
<?php echo $this->_var['lang']['page_current']; ?> <span id="pageCurrent"><?php echo $this->_var['filter']['page']; ?></span>
|
||||
<?php echo $this->_var['lang']['page_size']; ?> <input type='text' size='3' id='pageSize' value="<?php echo $this->_var['filter']['page_size']; ?>" onkeypress="return listTable.changePageSize(event)" />
|
||||
<span id="page-link">
|
||||
<a href="javascript:listTable.gotoPageFirst()"><?php echo $this->_var['lang']['page_first']; ?></a>
|
||||
<a href="javascript:listTable.gotoPagePrev()"><?php echo $this->_var['lang']['page_prev']; ?></a>
|
||||
<a href="javascript:listTable.gotoPageNext()"><?php echo $this->_var['lang']['page_next']; ?></a>
|
||||
<a href="javascript:listTable.gotoPageLast()"><?php echo $this->_var['lang']['page_last']; ?></a>
|
||||
<select id="gotoPage" onchange="listTable.gotoPage(this.value)">
|
||||
<?php echo $this->smarty_create_pages(array('count'=>$this->_var['page_count'],'page'=>$this->_var['filter']['page'])); ?>
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
@ -1,39 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><?php echo $this->_var['lang']['cp_home']; ?><?php if ($this->_var['ur_here']): ?> - <?php echo $this->_var['ur_here']; ?> <?php endif; ?></title>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="styles/general.css" rel="stylesheet" type="text/css" />
|
||||
<link href="styles/main.css?v=1" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="dist/css/adminlte.min.css">
|
||||
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/jquery-1.9.1.min.js,../js/jquery.json.js')); ?>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'transport_jquery.js,common.js,respond.src.js')); ?>
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
// 这里把JS用到的所有语言都赋值到这里
|
||||
<?php $_from = $this->_var['lang']['js_languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['key'] => $this->_var['item']):
|
||||
?>
|
||||
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>
|
||||
<?php if (isset ( $this->_var['action_link'] )): ?>
|
||||
<span class="action-span"><a href="<?php echo $this->_var['action_link']['href']; ?>"><?php echo $this->_var['action_link']['text']; ?></a></span>
|
||||
<?php endif; ?>
|
||||
<?php if (isset ( $this->_var['action_link2'] )): ?>
|
||||
<span class="action-span"><a href="<?php echo $this->_var['action_link2']['href']; ?>"><?php echo $this->_var['action_link2']['text']; ?></a> </span>
|
||||
<?php endif; ?>
|
||||
<span class="action-span1"><a href="index.php?act=main"><?php echo $this->_var['lang']['cp_home']; ?></a> </span><span id="search_id" class="action-span1"><?php if (isset ( $this->_var['ur_here'] )): ?> - <?php echo $this->_var['ur_here']; ?> <?php endif; ?></span>
|
||||
<div style="clear:both"></div>
|
||||
</h1>
|
||||
@ -1,198 +0,0 @@
|
||||
<!-- $Id: start.htm 17216 2011-01-19 06:03:12Z wayne $ -->
|
||||
<?php echo $this->fetch('pageheader.htm'); ?>
|
||||
<!-- directory install start -->
|
||||
<ul id="cloud_list" style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
|
||||
|
||||
</ul>
|
||||
<ul id="lilist" style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
|
||||
<?php $_from = $this->_var['warning_arr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'warning');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['warning']):
|
||||
?>
|
||||
<li class="Start315"><?php echo $this->_var['warning']; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</ul>
|
||||
<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
|
||||
</ul>
|
||||
<!-- directory install end -->
|
||||
<!-- start personal message -->
|
||||
<?php if ($this->_var['admin_msg']): ?>
|
||||
<div class="list-div" style="border: 1px solid #CC0000">
|
||||
<table class="table table-bordered"> <tr>
|
||||
<th><?php echo $this->_var['lang']['pm_title']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['pm_username']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['pm_time']; ?></th>
|
||||
</tr>
|
||||
<?php $_from = $this->_var['admin_msg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'msg');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['msg']):
|
||||
?>
|
||||
<tr align="center">
|
||||
<td align="left"><a href="message.php?act=view&id=<?php echo $this->_var['msg']['message_id']; ?>"><?php echo sub_str($this->_var['msg']['title'],60); ?></a></td>
|
||||
<td><?php echo $this->_var['msg']['user_name']; ?></td>
|
||||
<td><?php echo $this->_var['msg']['send_date']; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
<!-- end personal message -->
|
||||
|
||||
<div class="list-div">
|
||||
<div class="important">
|
||||
<ul>
|
||||
<li class="item01">
|
||||
<div class="con_box">
|
||||
<img src="images/icon01.png" />
|
||||
<h2>今日銷售總額</h2>
|
||||
<p><!--<?php if ($this->_var['today']['formatted_money']): ?>--><?php echo $this->_var['today']['formatted_money']; ?><!--<?php else: ?>-->0.00<!--<?php endif; ?>--></p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item02">
|
||||
<div class="con_box">
|
||||
<img src="images/icon02.png" />
|
||||
<h2>今日訂單總數</h2>
|
||||
<p><?php echo $this->_var['today']['order']; ?></p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item03">
|
||||
<div class="con_box">
|
||||
<img src="images/icon03.png" />
|
||||
<h2>今日註冊會員</h2>
|
||||
<p><?php echo $this->_var['today']['user']; ?></p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="console_detaile">
|
||||
<ul>
|
||||
<li class="item01">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-weiqueren.png" width="30" height="30" /></div>
|
||||
<div class="text"><h2><?php echo $this->_var['lang']['unconfirmed']; ?></h2><p><a href="order.html#/list?composite_status=<?php echo $this->_var['status']['unconfirmed']; ?>"><?php echo $this->_var['order']['unconfirmed']; ?></a></p></div>
|
||||
</div>
|
||||
</li><li class="item02">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-daizhifu.png" width="30" height="30" /></div>
|
||||
<div class="text"><h2><?php echo $this->_var['lang']['await_pay']; ?></h2><p><a href="order.html#/list?composite_status=<?php echo $this->_var['status']['await_pay']; ?>"><?php echo $this->_var['order']['await_pay']; ?></a></p></div>
|
||||
</div>
|
||||
</li><li class="item03">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-daifahuo.png" width="30" height="30" /></div>
|
||||
<div class="text"><h2><?php echo $this->_var['lang']['await_ship']; ?></h2><p><a href="order.html#/list?composite_status=<?php echo $this->_var['status']['await_ship']; ?>"><?php echo $this->_var['order']['await_ship']; ?></a></p></div>
|
||||
</div>
|
||||
</li><li class="item04">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-iconsvggyiwancheng18.png" width="30" height="30" /></div>
|
||||
<div class="text"><h2><?php echo $this->_var['lang']['finished']; ?></h2><p><a href="order.html#/list?composite_status=<?php echo $this->_var['status']['finished']; ?>"><?php echo $this->_var['order']['finished']; ?></a></p></div>
|
||||
</div>
|
||||
</li><li class="item05">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-dengji.png" width="30" height="30" /></div>
|
||||
<div class="text clearfix"><h2><?php echo $this->_var['lang']['new_booking']; ?></h2><p><a href="goods_booking.php?act=list_all"><?php echo $this->_var['booking_goods']; ?></a></p></div>
|
||||
</div>
|
||||
</li><li class="item07">
|
||||
<div class="con_box clearfix">
|
||||
<div class="img"><img src="images/iconfont-iconfeature.png" width="30" height="30" /></div>
|
||||
<div class="text"><h2><?php echo $this->_var['lang']['new_reimburse']; ?></h2><p><a href="back.php?act=back_list"><?php echo $this->_var['new_repay']; ?></a></p></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list-div">
|
||||
<div class="order_count">
|
||||
<p style="position:absolute; margin:-1px 0 0 0;"><span class="tab_front" style="font-size:20px;"><strong><?php echo $this->_var['thismonth']; ?>月訂單統計</strong></span></p>
|
||||
<div style='height:400px;' id='order_chart_div'></div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="list-div">
|
||||
<div class="order_count">
|
||||
<p style="position:absolute; margin:-1px 0 0 0;"><span class="tab_front" style="font-size:20px;"><strong><?php echo $this->_var['thismonth']; ?>月銷售額統計</strong></span></p>
|
||||
<div style='height:400px;' id='sales_chart_div'></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<!-- start system information -->
|
||||
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'echarts-all.js')); ?>
|
||||
<script type="Text/Javascript" language="JavaScript">
|
||||
var order_chart = echarts.init(document.getElementById('order_chart_div'));
|
||||
order_chart.setOption(<?php echo $this->_var['orders_option']; ?>);
|
||||
var sales_chart = echarts.init(document.getElementById('sales_chart_div'));
|
||||
sales_chart.setOption(<?php echo $this->_var['sales_option']; ?>);
|
||||
</script>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js')); ?>
|
||||
<script type="Text/Javascript" language="JavaScript">
|
||||
<!--
|
||||
onload = function()
|
||||
{
|
||||
/* 檢查訂單 */
|
||||
startCheckOrder();
|
||||
}
|
||||
Ajax.call('index.php?is_ajax=1&act=main_api','', start_api, 'GET', 'TEXT','FLASE');
|
||||
//Ajax.call('cloud.php?is_ajax=1&act=cloud_remind','', cloud_api, 'GET', 'JSON');
|
||||
function start_api(result)
|
||||
{
|
||||
apilist = document.getElementById("lilist").innerHTML;
|
||||
document.getElementById("lilist").innerHTML =result+apilist;
|
||||
if(document.getElementById("Marquee") != null)
|
||||
{
|
||||
var Mar = document.getElementById("Marquee");
|
||||
lis = Mar.getElementsByTagName('div');
|
||||
//alert(lis.length); //顯示li元素的個數
|
||||
if(lis.length>1)
|
||||
{
|
||||
api_styel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function api_styel()
|
||||
{
|
||||
if(document.getElementById("Marquee") != null)
|
||||
{
|
||||
var Mar = document.getElementById("Marquee");
|
||||
if (Browser.isIE)
|
||||
{
|
||||
Mar.style.height = "52px";
|
||||
}
|
||||
else
|
||||
{
|
||||
Mar.style.height = "36px";
|
||||
}
|
||||
|
||||
var child_div=Mar.getElementsByTagName("div");
|
||||
|
||||
var picH = 16;//移動高度
|
||||
var scrollstep=2;//移動步幅,越大越快
|
||||
var scrolltime=30;//移動頻度(毫秒)越大越慢
|
||||
var stoptime=4000;//間斷時間(毫秒)
|
||||
var tmpH = 0;
|
||||
|
||||
function start()
|
||||
{
|
||||
if(tmpH < picH)
|
||||
{
|
||||
tmpH += scrollstep;
|
||||
if(tmpH > picH )tmpH = picH ;
|
||||
Mar.scrollTop = tmpH;
|
||||
setTimeout(start,scrolltime);
|
||||
}
|
||||
else
|
||||
{
|
||||
tmpH = 0;
|
||||
Mar.appendChild(child_div[0]);
|
||||
Mar.scrollTop = 0;
|
||||
setTimeout(start,stoptime);
|
||||
}
|
||||
}
|
||||
setTimeout(start,stoptime);
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<?php echo $this->fetch('pagefooter.htm'); ?>
|
||||
@ -1,113 +0,0 @@
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
<!-- $Id: user_account_list.htm 17030 2010-02-08 09:39:33Z sxc_shop $ -->
|
||||
<?php echo $this->fetch('pageheader.htm'); ?>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js,listtable.js')); ?>
|
||||
<div class="form-div">
|
||||
<form action="javascript:searchUser()" name="searchForm">
|
||||
<img src="images/icon_search.gif" width="25" height="22" border="0" alt="SEARCH" />
|
||||
<?php echo $this->_var['lang']['user_id']; ?> <input type="text" name="keyword" size="10" />
|
||||
<select name="process_type">
|
||||
<option value="-1"><?php echo $this->_var['lang']['process_type']; ?></option>
|
||||
<option value="0" <?php echo $this->_var['process_type_0']; ?>><?php echo $this->_var['lang']['surplus_type_0']; ?></option>
|
||||
<option value="1" <?php echo $this->_var['process_type_1']; ?>><?php echo $this->_var['lang']['surplus_type_1']; ?></option>
|
||||
</select>
|
||||
<select name="payment">
|
||||
<option value=""><?php echo $this->_var['lang']['pay_mothed']; ?></option>
|
||||
<?php echo $this->html_options(array('options'=>$this->_var['payment_list'])); ?>
|
||||
</select>
|
||||
<select name="is_paid">
|
||||
<option value="-1"><?php echo $this->_var['lang']['status']; ?></option>
|
||||
<option value="0" <?php echo $this->_var['is_paid_0']; ?>><?php echo $this->_var['lang']['unconfirm']; ?></option>
|
||||
<option value="1" <?php echo $this->_var['is_paid_1']; ?>><?php echo $this->_var['lang']['confirm']; ?></option>
|
||||
<option value="2"><?php echo $this->_var['lang']['cancel']; ?></option>
|
||||
</select>
|
||||
<input type="submit" value="<?php echo $this->_var['lang']['button_search']; ?>" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="" name="listForm">
|
||||
<!-- start user_deposit list -->
|
||||
<div class="list-div" id="listDiv">
|
||||
<?php endif; ?>
|
||||
<table class="table table-bordered"> <tr>
|
||||
<th><a href="javascript:listTable.sort('user_name', 'DESC'); "><?php echo $this->_var['lang']['user_id']; ?></a><?php echo $this->_var['sort_user_name']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('add_time', 'DESC'); "><?php echo $this->_var['lang']['add_date']; ?></a><?php echo $this->_var['sort_add_time']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('process_type', 'DESC'); "><?php echo $this->_var['lang']['process_type']; ?></a><?php echo $this->_var['sort_process_type']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('amount', 'DESC'); "><?php echo $this->_var['lang']['surplus_amount']; ?></a><?php echo $this->_var['sort_amount']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('payment', 'DESC'); "><?php echo $this->_var['lang']['pay_mothed']; ?></a><?php echo $this->_var['sort_payment']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('is_paid', 'DESC'); "><?php echo $this->_var['lang']['status']; ?></a><?php echo $this->_var['sort_is_paid']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['admin_user']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['handler']; ?></th>
|
||||
</tr>
|
||||
<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['item']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php if ($this->_var['item']['user_name']): ?><?php echo $this->_var['item']['user_name']; ?><?php else: ?><?php echo $this->_var['lang']['no_user']; ?><?php endif; ?></td>
|
||||
<td align="center"><?php echo $this->_var['item']['add_date']; ?></td>
|
||||
<td align="center"><?php echo $this->_var['item']['process_type_name']; ?></td>
|
||||
<td align="right"><?php echo $this->_var['item']['surplus_amount']; ?></td>
|
||||
<td><?php if ($this->_var['item']['payment']): ?><?php echo $this->_var['item']['payment']; ?><?php else: ?>N/A<?php endif; ?></td>
|
||||
<td align="center"><?php if ($this->_var['item']['is_paid']): ?><?php echo $this->_var['lang']['confirm']; ?><?php else: ?><?php echo $this->_var['lang']['unconfirm']; ?><?php endif; ?></td>
|
||||
<td align="center"><?php echo $this->_var['item']['admin_user']; ?>
|
||||
<td align="center">
|
||||
<?php if ($this->_var['item']['is_paid']): ?>
|
||||
<a href="user_account.php?act=edit&id=<?php echo $this->_var['item']['id']; ?>" title="<?php echo $this->_var['lang']['surplus']; ?>"><img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>
|
||||
<?php else: ?>
|
||||
<a href="user_account.php?act=check&id=<?php echo $this->_var['item']['id']; ?>" title="<?php echo $this->_var['lang']['check']; ?>"><img src="images/icon_view.gif" border="0" height="21" width="21" />
|
||||
<a href="javascript:;" onclick="listTable.remove(<?php echo $this->_var['item']['id']; ?>, '<?php echo $this->_var['lang']['drop_confirm']; ?>')" title="<?php echo $this->_var['lang']['drop']; ?>" ><img src="images/icon_drop.gif" border="0" height="21" width="21" /></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; else: ?>
|
||||
<tr>
|
||||
<td class="no-records" colspan="8"><?php echo $this->_var['lang']['no_records']; ?></td>
|
||||
</tr>
|
||||
<?php endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
|
||||
<table id="page-table" cellspacing="0">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td align="right" nowrap="true">
|
||||
<?php echo $this->fetch('page.htm'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
</div>
|
||||
<!-- end user_deposit list -->
|
||||
</form>
|
||||
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
listTable.recordCount = <?php echo $this->_var['record_count']; ?>;
|
||||
listTable.pageCount = <?php echo $this->_var['page_count']; ?>;
|
||||
<?php $_from = $this->_var['filter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['key'] => $this->_var['item']):
|
||||
?>
|
||||
listTable.filter.<?php echo $this->_var['key']; ?> = '<?php echo $this->_var['item']; ?>';
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
|
||||
<!--
|
||||
|
||||
onload = function()
|
||||
{
|
||||
// 开始检查订单
|
||||
startCheckOrder();
|
||||
}
|
||||
/**
|
||||
* 搜索用户
|
||||
*/
|
||||
function searchUser()
|
||||
{
|
||||
listTable.filter['keywords'] = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
|
||||
listTable.filter['process_type'] = document.forms['searchForm'].elements['process_type'].value;
|
||||
listTable.filter['payment'] = Utils.trim(document.forms['searchForm'].elements['payment'].value);
|
||||
listTable.filter['is_paid'] = document.forms['searchForm'].elements['is_paid'].value;
|
||||
listTable.filter['page'] = 1;
|
||||
listTable.loadList();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<?php echo $this->fetch('pagefooter.htm'); ?>
|
||||
<?php endif; ?>
|
||||
@ -1,52 +0,0 @@
|
||||
<!-- $Id: user_rank.htm 14216 2008-03-10 02:27:21Z testyang $ -->
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
<?php echo $this->fetch('pageheader.htm'); ?>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js,listtable.js')); ?>
|
||||
|
||||
<form method="post" action="" name="listForm">
|
||||
<!-- start ads list -->
|
||||
<div class="list-div" id="listDiv">
|
||||
<?php endif; ?>
|
||||
|
||||
<table class="table table-bordered"> <tr>
|
||||
<th><?php echo $this->_var['lang']['rank_name']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['integral_min']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['integral_max']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['discount']; ?>(%)</th>
|
||||
<th><?php echo $this->_var['lang']['special_rank']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['show_price_short']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['handler']; ?></th>
|
||||
</tr>
|
||||
<?php $_from = $this->_var['user_ranks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rank');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['rank']):
|
||||
?>
|
||||
<tr>
|
||||
<td class="first-cell" ><span onclick="listTable.edit(this,'edit_name', <?php echo $this->_var['rank']['rank_id']; ?>)"><?php echo $this->_var['rank']['rank_name']; ?></span></td>
|
||||
<td align="right"><span <?php if ($this->_var['rank']['special_rank'] != 1): ?> onclick="listTable.edit(this, 'edit_min_points', <?php echo $this->_var['rank']['rank_id']; ?>)" <?php endif; ?> ><?php echo $this->_var['rank']['min_points']; ?></span></td>
|
||||
<td align="right"><span <?php if ($this->_var['rank']['special_rank'] != 1): ?> onclick="listTable.edit(this, 'edit_max_points', <?php echo $this->_var['rank']['rank_id']; ?>)" <?php endif; ?> ><?php echo $this->_var['rank']['max_points']; ?></span></td>
|
||||
<td align="right"><span onclick="listTable.edit(this, 'edit_discount', <?php echo $this->_var['rank']['rank_id']; ?>)"><?php echo $this->_var['rank']['discount']; ?></span></td>
|
||||
<td align="center"><img src="images/<?php if ($this->_var['rank']['special_rank']): ?>yes<?php else: ?>no<?php endif; ?>.gif" onclick="listTable.toggle(this, 'toggle_special', <?php echo $this->_var['rank']['rank_id']; ?>)" /></td>
|
||||
<td align="center"><img src="images/<?php if ($this->_var['rank']['show_price']): ?>yes<?php else: ?>no<?php endif; ?>.gif" onclick="listTable.toggle(this, 'toggle_showprice', <?php echo $this->_var['rank']['rank_id']; ?>)" /></td>
|
||||
<td align="center">
|
||||
<a href="javascript:;" onclick="listTable.remove(<?php echo $this->_var['rank']['rank_id']; ?>, '<?php echo $this->_var['lang']['drop_confirm']; ?>')" title="<?php echo $this->_var['lang']['remove']; ?>"><img src="images/icon_drop.gif" border="0" height="21" width="21"></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
</table>
|
||||
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
</div>
|
||||
<!-- end user ranks list -->
|
||||
</form>
|
||||
<script type="Text/Javascript" language="JavaScript">
|
||||
<!--
|
||||
|
||||
onload = function()
|
||||
{
|
||||
// 开始检查订单
|
||||
startCheckOrder();
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
<?php echo $this->fetch('pagefooter.htm'); ?>
|
||||
<?php endif; ?>
|
||||
@ -1,141 +0,0 @@
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
<!-- $Id: users_list.htm 17053 2010-03-15 06:50:26Z sxc_shop $ -->
|
||||
<?php echo $this->fetch('pageheader.htm'); ?>
|
||||
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js,listtable.js')); ?>
|
||||
|
||||
<div class="form-div">
|
||||
<form action="javascript:searchUser()" name="searchForm">
|
||||
<img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
|
||||
<?php echo $this->_var['lang']['label_rank_name']; ?> <select name="user_rank" id="user_rank"><option value="0"><?php echo $this->_var['lang']['all_option']; ?></option><?php echo $this->html_options(array('options'=>$this->_var['user_ranks'])); ?></select>
|
||||
<?php echo $this->_var['lang']['label_pay_points_gt']; ?> <input type="text" name="pay_points_gt" id="pay_points_gt" size="8" /> <?php echo $this->_var['lang']['label_pay_points_lt']; ?> <input type="text" name="pay_points_lt" id="pay_points_lt" size="10" />
|
||||
<?php echo $this->_var['lang']['label_user_name']; ?> <input type="text" name="keyword" id="keyword" /> <input type="submit" class="button" value="<?php echo $this->_var['lang']['button_search']; ?>" /><input type="button" class="button" value="導出會員" onclick="user_to_excel()" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function user_to_excel()
|
||||
{
|
||||
var user_rank = document.getElementById('user_rank').value;
|
||||
var pay_points_gt = document.getElementById('pay_points_gt').value;
|
||||
var pay_points_lt = document.getElementById('pay_points_lt').value;
|
||||
var keyword = document.getElementById('keyword').value;
|
||||
window.location.href='../plugins/user_to_excel/index.php?user_rank='+user_rank+'&pay_points_gt='+pay_points_gt+'&pay_points_lt='+pay_points_lt+'&keyword='+keyword;
|
||||
window.event.returnValue = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<form method="POST" action="" name="listForm" onsubmit="return confirm_bath()">
|
||||
|
||||
<!-- start users list -->
|
||||
<div class="list-div" id="listDiv">
|
||||
<?php endif; ?>
|
||||
<!--用户列表部分-->
|
||||
<table class="table table-bordered"> <tr>
|
||||
<th>
|
||||
<input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox">
|
||||
<a href="javascript:listTable.sort('user_id'); "><?php echo $this->_var['lang']['record_id']; ?></a><?php echo $this->_var['sort_user_id']; ?>
|
||||
</th>
|
||||
<th><a href="javascript:listTable.sort('mobile_phone'); ">手機號</a><?php echo $this->_var['sort_mobile_phone']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('user_name'); "><?php echo $this->_var['lang']['username']; ?></a><?php echo $this->_var['sort_user_name']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('email'); "><?php echo $this->_var['lang']['email']; ?></a><?php echo $this->_var['sort_email']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('is_validated'); "><?php echo $this->_var['lang']['is_validated']; ?></a><?php echo $this->_var['sort_is_validate']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['user_money']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['frozen_money']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['rank_points']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['pay_points']; ?></th>
|
||||
<th><a href="javascript:listTable.sort('reg_time'); "><?php echo $this->_var['lang']['reg_date']; ?></a><?php echo $this->_var['sort_reg_time']; ?></th>
|
||||
<th><?php echo $this->_var['lang']['handler']; ?></th>
|
||||
<tr>
|
||||
<?php $_from = $this->_var['user_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'user');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['user']):
|
||||
?>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="checkboxes[]" value="<?php echo $this->_var['user']['user_id']; ?>" notice="<?php if ($this->_var['user']['user_money'] != 0): ?>1<?php else: ?>0<?php endif; ?>"/><?php echo $this->_var['user']['user_id']; ?></td>
|
||||
<td class="first-cell"><a href="sms.php?act=display_send_ui&mobile=<?php echo $this->_var['user']['mobile_phone']; ?> "><?php echo htmlspecialchars($this->_var['user']['mobile_phone']); ?></a></td>
|
||||
<td class="first-cell"><?php echo htmlspecialchars($this->_var['user']['real_name']); ?></td>
|
||||
<td><span onclick="listTable.edit(this, 'edit_email', <?php echo $this->_var['user']['user_id']; ?>)"><?php echo $this->_var['user']['email']; ?></span></td>
|
||||
<td align="center"><?php if ($this->_var['user']['is_validated']): ?> <img src="images/yes.gif"> <?php else: ?> <img src="images/no.gif"> <?php endif; ?></td>
|
||||
<td><?php echo $this->_var['user']['user_money']; ?></td>
|
||||
<td><?php echo $this->_var['user']['frozen_money']; ?></td>
|
||||
<td><?php echo $this->_var['user']['rank_points']; ?></td>
|
||||
<td><?php echo $this->_var['user']['pay_points']; ?></td>
|
||||
<td align="center"><?php echo $this->_var['user']['reg_time']; ?></td>
|
||||
<td align="center">
|
||||
<a href="users.php?act=edit&id=<?php echo $this->_var['user']['user_id']; ?>" title="<?php echo $this->_var['lang']['edit']; ?>"><img src="images/icon_edit.gif" border="0" height="21" width="21" /></a>
|
||||
<a href="users.php?act=address_list&id=<?php echo $this->_var['user']['user_id']; ?>" title="<?php echo $this->_var['lang']['address_list']; ?>"><img src="images/book_open.gif" border="0" height="21" width="21" /></a>
|
||||
<a href="order.html#/list?user_id=<?php echo $this->_var['user']['user_id']; ?>" title="<?php echo $this->_var['lang']['view_order']; ?>"><img src="images/icon_view.gif" border="0" height="21" width="21" /></a>
|
||||
<a href="account_log.php?act=list&user_id=<?php echo $this->_var['user']['user_id']; ?>" title="<?php echo $this->_var['lang']['view_deposit']; ?>"><img src="images/icon_account.gif" border="0" height="21" width="21" /></a>
|
||||
<a href="javascript:confirm_redirect('<?php if ($this->_var['user']['user_money'] != 0): ?><?php echo $this->_var['lang']['still_accounts']; ?><?php endif; ?><?php echo $this->_var['lang']['remove_confirm']; ?>', 'users.php?act=remove&id=<?php echo $this->_var['user']['user_id']; ?>')" title="<?php echo $this->_var['lang']['remove']; ?>"><img src="images/icon_drop.gif" border="0" height="21" width="21" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; else: ?>
|
||||
<tr><td class="no-records" colspan="11"><?php echo $this->_var['lang']['no_records']; ?></td></tr>
|
||||
<?php endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="hidden" name="act" value="batch_remove" />
|
||||
<input type="submit" id="btnSubmit" value="<?php echo $this->_var['lang']['button_remove']; ?>" disabled="true" class="button" /></td>
|
||||
<td align="right" nowrap="true" colspan="11">
|
||||
<?php echo $this->fetch('page.htm'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php if ($this->_var['full_page']): ?>
|
||||
</div>
|
||||
<!-- end users list -->
|
||||
</form>
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
listTable.recordCount = <?php echo $this->_var['record_count']; ?>;
|
||||
listTable.pageCount = <?php echo $this->_var['page_count']; ?>;
|
||||
|
||||
<?php $_from = $this->_var['filter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
|
||||
foreach ($_from AS $this->_var['key'] => $this->_var['item']):
|
||||
?>
|
||||
listTable.filter.<?php echo $this->_var['key']; ?> = '<?php echo $this->_var['item']; ?>';
|
||||
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||||
|
||||
|
||||
onload = function()
|
||||
{
|
||||
document.forms['searchForm'].elements['keyword'].focus();
|
||||
// 開始檢查訂單
|
||||
startCheckOrder();
|
||||
}
|
||||
|
||||
/**
|
||||
* 搜索用户
|
||||
*/
|
||||
function searchUser()
|
||||
{
|
||||
listTable.filter['keywords'] = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
|
||||
listTable.filter['rank'] = document.forms['searchForm'].elements['user_rank'].value;
|
||||
listTable.filter['pay_points_gt'] = Utils.trim(document.forms['searchForm'].elements['pay_points_gt'].value);
|
||||
listTable.filter['pay_points_lt'] = Utils.trim(document.forms['searchForm'].elements['pay_points_lt'].value);
|
||||
listTable.filter['page'] = 1;
|
||||
listTable.loadList();
|
||||
}
|
||||
|
||||
function confirm_bath()
|
||||
{
|
||||
userItems = document.getElementsByName('checkboxes[]');
|
||||
|
||||
cfm = '<?php echo $this->_var['lang']['list_remove_confirm']; ?>';
|
||||
|
||||
for (i=0; userItems[i]; i++)
|
||||
{
|
||||
if (userItems[i].checked && userItems[i].notice == 1)
|
||||
{
|
||||
cfm = '<?php echo $this->_var['lang']['list_still_accounts']; ?>' + '<?php echo $this->_var['lang']['list_remove_confirm']; ?>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return confirm(cfm);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<?php echo $this->fetch('pagefooter.htm'); ?>
|
||||
<?php endif; ?>
|
||||
@ -1,6 +0,0 @@
|
||||
<?php
|
||||
$this->mysql_config_cache_file_time = 1684316653;
|
||||
$this->timeline = 0;
|
||||
$this->timezone = 0;
|
||||
$this->platform = 'OTHER';
|
||||
?>
|
||||
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
$data = NULL;
|
||||
?>
|
||||
Loading…
Reference in new issue