📄 new.php
字号:
<?
include "config.php";
?>
<html>
<head>
<title><? print ($new_transaction_title); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<table align="center" width="75%" border="0">
<tr>
<td align="center"> <br><br>
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr align="center">
<td colspan="2" bgcolor="#000066"><font color="#FFFFFF" face="Times New Roman, Times, serif" size="4"><? print ($new_transaction_title); ?></font></td>
</tr>
<form action="newaction.php" method="post">
<tr>
<td width="105"><font face="Times New Roman, Times, serif" size="4"><? print ($type_transaction); ?>:</font></td>
<td width="170">
<select name="type">
<option value="in"><? print ($money_in); ?></option>
<option value="out"><? print ($money_out); ?></option>
</select>
</td>
</tr>
<tr>
<td width="105" bgcolor="#CCCCCC"><font face="Times New Roman, Times, serif" size="4"><? print ($how_much); ?>:
</font></td>
<td width="170" bgcolor="#CCCCCC">
<input type="text" name="howmuch" size="15">
</td>
</tr>
<tr>
<td><font face="Times New Roman, Times, serif" size="4"><? print ($description); ?>:</font></td>
<td>
<textarea name="descriptionx" rows="5"></textarea>
</td>
</tr>
<tr>
<td><font face="Times New Roman, Times, serif" size="4"><? print ($ask_date); ?>:</font></td>
<td>
<?
$monthnow=date("m");
$daynow=date("d");
?>
<input type="hidden" name="month" value="<? print(date("m"))?>">
<select name="day">
<option selected value="<? print($daynow);?>"><? print($daynow);?></option>
<?
for($i=1;$i<=31;$i++) {print("<option value='$i'>$i</option>");}
?>
</select>
</td>
</tr>
<tr align="center">
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" name="Submit" value="<? print ($create_transaction); ?>">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -