?? exchange_manage.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td ></td>
</tr>
</table>
<?=$menu?>
<table cellpadding='2' cellspacing='1' border='0' align='center' class='tableBorder'>
<tr>
<td class='pagemenu' align="center">
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>" class='pagelink'>所有記錄</a> | <a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&type=資金換點數" class='pagelink'>資金換點數</a> | <a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&type=積分換點數" class='pagelink'>積分換點數</a> | <a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&type=贈送點數" class='pagelink'>贈送點數</a> | <a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&type=消費扣點" class='pagelink'>消費扣點</a>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td ></td>
</tr>
</table>
<form method="post" name="myform">
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=11>點數兌換管理</th>
</tr>
<tr align=center>
<td width="5%" class="tablerowhighlight">選中</td>
<td width="8%" class="tablerowhighlight">ID</td>
<td width="12%" class="tablerowhighlight">操作類型</td>
<td width="11%" class="tablerowhighlight">用戶名</td>
<td width="13%" class="tablerowhighlight">金額/積分</td>
<td width="10%" class="tablerowhighlight">點數/天</td>
<td width="20%" class="tablerowhighlight">備注</td>
<td width="11%" class="tablerowhighlight">操作人</td>
<td width="10%" class="tablerowhighlight">時間</td>
</tr>
<?php
if(is_array($exchanges))
{
foreach($exchanges as $exchange){ ?>
<tr align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td class=forumrow><input type="checkbox" name="exchangeid[]" id="pointid[]" value="<?=$exchange[exchangeid]?>"></td>
<td class=forumrow><?=$exchange[exchangeid]?></td>
<td class=forumrow><?=$exchange[type]?></td>
<td class=forumrow><a href="" target="_blank"><?=$exchange[username]?></a></td>
<td class=forumrow><?=$exchange[payment]?></td>
<td class=forumrow><?=$exchange[exchange]?></td>
<td class=forumrow><?=$exchange[note]?></td>
<td class=forumrow><?=$exchange[inputer]?></td>
<td class=forumrow><?=$exchange[addtime]?></td>
</tr>
<?php }
}
?>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10%"><input name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='checkbox'>全選/反選</td>
<td>
<input type="submit" name="submit" value="批量刪除" onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=delete'">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="30">
<tr>
<td align="center"><?=$pages?></td>
</tr>
</table>
</form>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=7>點數兌換搜索</th>
</tr>
<tr align="center">
<td width="12%" class="tablerowhighlight">類型</td>
<td width="18%" class="tablerowhighlight">點數范圍</td>
<td width="15%" class="tablerowhighlight">起始日期</td>
<td width="15%" class="tablerowhighlight">截止日期</td>
<td width="15%" class="tablerowhighlight">查詢類型</td>
<td width="15%" class="tablerowhighlight">關鍵詞</td>
<td width="10%" class="tablerowhighlight">查詢</td>
</tr>
<form method="get" action="?">
<tr align="center">
<td class="tablerow">
<input name="mod" type="hidden" size="15" value="<?=$mod?>">
<input name="file" type="hidden" size="15" value="<?=$file?>">
<input name="action" type="hidden" size="15" value="<?=$action?>">
<select name="type">
<option value='資金換點數' <?php if($type=="資金換點數"){ ?>selected <?php } ?>>資金換點數</option>
<option value='積分換點數' <?php if($type=="積分換點數"){ ?>selected <?php } ?>>積分換點數</option>
<option value='贈送點數' <?php if($type=="贈送點數"){ ?>selected <?php } ?>>贈送點數</option>
<option value='消費扣點' <?php if($type=="消費扣點"){ ?>selected <?php } ?>>消費扣點</option>
</select>
</td>
<td class="tablerow">
<input name="frompoint" size="5" value="<?=$frompoint?>">點 - <input name="topoint" size="5" value="<?=$topoint?>">點
</td>
<td class="tablerow">
<input name="fromdate" size="10" value="<?=$fromdate?>">
</td>
<td class="tablerow">
<input name="todate" size="10" value="<?=$todate?>">
</td>
<td class="tablerow">
<select name="searchtype">
<option value='username' <?php if($searchtype=='username'){ ?>selected <?php } ?>>按用戶名</option>
<option value='inputer' <?php if($searchtype=='inputer'){ ?>selected <?php } ?>>按操作人</option>
<option value='note' <?php if($searchtype=='note'){ ?>selected <?php } ?>>按備注</option>
</select>
</td>
<td class="tablerow">
<input name="keywords" size="15" value="<?=$keywords?>">
</td>
<td class="tablerow">
<input type="submit" value=" 查詢 ">
</td>
</tr>
</form>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td ></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=8>點數兌換統計</th>
</tr>
<tr>
<td class="tablerowhighlight" align="center" width="12%">資金換點數</td>
<td class="tablerow"><?=${md5("資金換點數")}?>點</td>
<td class="tablerowhighlight" align="center" width="12%">積分換點數</td>
<td class="tablerow"><?=${md5("積分換點數")}?>點</td>
<td class="tablerowhighlight" align="center" width="12%">贈送點數</td>
<td class="tablerow"><?=${md5("贈送點數")}?>點</td>
<td class="tablerowhighlight" align="center" width="12%">消費扣點</td>
<td class="tablerow"><?=${md5("消費扣點")}?>點</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -