?? finance_account.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<script LANGUAGE="javascript">
<!--
function CheckForm() {
if (document.myform.username.value=="")
{
alert("請輸入用戶名!")
document.myform.username.focus()
return false
}
if (!isint(document.myform.money.value))
{
alert("請輸入金額!")
document.myform.money.value = "";
document.myform.money.focus()
return false
}
return true;
}
//-->
</script>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<?=$menu?>
<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=2><?=$type?></th>
</tr>
<form name="myform" method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&type=<?=$type?>&save=1" onSubmit="return CheckForm();">
<tr>
<td class="tablerow" width="20%">操作類型</td>
<td class="tablerow" ><font color="red"><?=$type?></font>(<?=$notes[$typekey]?>)</td>
</tr>
<tr>
<td class="tablerow" >用戶名</td>
<td class="tablerow" ><input type="text" name="username" value="<?=$username?>" size=20> <input type="button" name="submit" value=" 檢查用戶名 " onclick="javascript:openwinx('?mod=<?=$mod?>&file=member&action=user_exists&username='+myform.username.value,'user_exists','450','160')"></td>
</tr>
<tr>
<td class="tablerow" >金額</td>
<td class="tablerow" ><input type="text" name="money" value="<?=$money?>" size=20> 元</td>
</tr>
<tr>
<td class="tablerow" >銀行</td>
<td class="tablerow" ><input type="text" name="bank" value="<?=$bank?>" size=20></td>
</tr>
<tr>
<td class="tablerow" >憑證編號</td>
<td class="tablerow" ><input type="text" name="idcard" value="<?=$idcard?>" size=20></td>
</tr>
<tr>
<td class="tablerow" >操作說明</td>
<td class="tablerow" ><textarea name="note" cols="60" rows="5"><?=$note?></textarea></td>
</tr>
<tr>
<td class="tablerow" ></td>
<td class="tablerow" > <input type="submit" name="submit" value=" 確定 "> <input type="reset" name="submit" value=" 重置 "></td>
</tr>
</form>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -