📄 order_status_form.ihtml
字号:
<h2><?php echo $order_status_form_lbl ?></H2>
<?php
if ($order_status_id) {
$q = "SELECT * FROM order_status WHERE order_status_id='$order_status_id'";
$db->query($q);
$db->next_record();
}
?><BR>
<form method="post" action="<?php $sess->purl(SECUREURL) ?>" enctype="multipart/form-data">
<TABLE WIDTH="80%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="center">
<TR>
<TD><B><?php echo $order_status_form_lbl ?></B></TD>
<TD> </TD>
</TR>
<TR>
<TD ALIGN="right" ><?php echo $order_status_form_code ?>:</TD>
<TD>
<INPUT TYPE="text" NAME="order_status_code" VALUE="<?php $db->sp("order_status_code") ?>" SIZE="1" MAXLENGTH="1">
</TD>
</TR>
<TR>
<TD ALIGN="right" ><?php echo $order_status_form_name ?>:</TD>
<TD>
<INPUT TYPE="text" NAME="order_status_name" VALUE="<?php $db->sp("order_status_name") ?>" SIZE="16">
</TD>
</TR>
<TR>
<TD ALIGN="right" ><?php echo $order_status_form_list_order ?>:</TD>
<TD>
<INPUT TYPE="text" NAME="list_order" VALUE="<?php $db->sp("list_order") ?>" SIZE="2">
</TD>
</TR>
<TR ALIGN="CENTER">
<TD COLSPAN="2" > </TD>
</TR>
<TR ALIGN="CENTER">
<TD COLSPAN="2" >
<INPUT TYPE="hidden" NAME="order_status_id" VALUE="<?php echo $order_status_id ?>">
<INPUT TYPE="hidden" NAME="func" VALUE="<?php if ($order_status_id) echo "orderStatusUpdate"; else echo "orderStatusAdd"; ?>">
<INPUT TYPE="hidden" NAME="page" VALUE="order/order_status_list">
</TD>
</TR>
<TR ALIGN="CENTER">
<TD COLSPAN="2" ><?php if ($order_status_id) { ?>
<TABLE WIDTH="50%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR ALIGN="center">
<TD WIDTH="50%">
<INPUT TYPE="image" BORDER="0" SRC="/phpshop/ps_image/save.gif" WIDTH="50" HEIGHT="16" NAME="image">
</TD>
<TD WIDTH="50%"><A onClick="return confirm('Are you sure you want to delete this record?')" HREF="<?php $sess->purl(SECUREURL . "?page=order/order_status_list&func=OrderStatusDelete&order_status_id=$order_status_id"); ?>"><IMG SRC="/phpshop/ps_image/delete.gif" WIDTH="50" HEIGHT="16" BORDER="0"></A>
</TD>
</TR>
</TABLE>
<?php }
else {
?>
<TABLE WIDTH="50%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR ALIGN="center">
<TD WIDTH="50%">
<INPUT TYPE="image" BORDER="0" SRC="/phpshop/ps_image/save.gif" WIDTH="50" HEIGHT="16" NAME="image">
</TD>
<TD WIDTH="50%"><A HREF="<?php $sess->purl(SECUREURL . "?page=order/order_status_form&order_status_id") ?>"><IMG SRC="/phpshop/ps_image/clear.gif" WIDTH="50" HEIGHT="16" BORDER="0"></A>
</TD>
</TR>
</TABLE>
<?php } ?></TD>
</TR>
</TABLE>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -