更新全部静态文本
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
$row = db_get_row("select * from yajin where userid='". $_SESSION["studentid"] ."'");
|
||||
if ($row["id"]) {
|
||||
if($_POST["price"]+$row["price"]<300){
|
||||
goBakMsg("押金不能少于300元");
|
||||
goBakMsg("预存款不能少于300元");
|
||||
die;}else{db_query("update yajin set price=price+".$_POST["price"]." where id=".$row["id"]);}
|
||||
}
|
||||
else{if($_POST["price"]<300){goBakMsg("押金不能少于300元");die;}}
|
||||
else{if($_POST["price"]<300){goBakMsg("预存款不能少于300元");die;}}
|
||||
$data["price"] = "'".$_POST["price"]."'";
|
||||
$data["studentid"] = "'".$_SESSION['stuname']."'";
|
||||
$data["userid"] = "'".$_SESSION['studentid']."'";
|
||||
@@ -29,7 +29,7 @@
|
||||
<td width="17" rowspan="2" valign="top" bgcolor="#FFFFFF"></td>
|
||||
<td valign="top">
|
||||
<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr bgcolor="#FFFFFF"><td height="31"><div class="title">缴纳押金</div></td></tr>
|
||||
<tr bgcolor="#FFFFFF"><td height="31"><div class="title">缴纳预存款</div></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="16" rowspan="2" bgcolor="#FFFFFF"></td>
|
||||
|
||||
Reference in New Issue
Block a user