?? paycard.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="4%" class="tablerowhighlight">ID</td>
<td width="10%" class="tablerowhighlight">操作類型</td>
<td width="10%" class="tablerowhighlight">用戶名</td>
<td width="5%" class="tablerowhighlight">金額</td>
<td width="11%" class="tablerowhighlight">銀行</td>
<td width="11%" class="tablerowhighlight">憑證</td>
<td width="15%" class="tablerowhighlight">備注</td>
<td width="9%" class="tablerowhighlight">操作人</td>
<td width="10%" class="tablerowhighlight">時間</td>
</tr>
<?php
if(is_array($finances))
{
foreach($finances as $finance){ ?>
<tr align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td class=forumrow><input type="checkbox" name="financeid[]" id="financeid[]" value="<?=$finance[financeid]?>"></td>
<td class=forumrow><?=$finance[financeid]?></td>
<td class=forumrow><?=$finance[type]?></td>
<td class=forumrow><a href="" target="_blank"><?=$finance[username]?></a></td>
<td class=forumrow><?=$finance[money]?>元</td>
<td class=forumrow><?=$finance[bank]?></td>
<td class=forumrow><?=$finance[idcard]?></td>
<td class=forumrow><?=$finance[note]?></td>
<td class=forumrow><?=$finance[inputer]?></td>
<td class=forumrow><?=$finance[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='匯款入帳'>匯款入帳</option>
<option value='退款出帳'>退款出帳</option>
<option value='退款入帳'>退款入帳</option>
<option value='業務扣款'>業務扣款</option>
</select>
</td>
<td class="tablerow">
<input name="frommoney" size="5" value="<?=$frommoney?>">元 - <input name="tomoney" size="5" value="<?=$tomoney?>">元
</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='bank' <?php if($searchtype=='bank'){ ?>selected <?php } ?>>按銀行</option>
<option value='idcard' <?php if($searchtype=='idcard'){ ?>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 + -