admin/shangjia/addgoods.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
include_once("top.php");
?>
<div id="middle">
<?php
include_once("left.php");
?>
<div class="right" id="mainFrame">
<div class="right_cont">
<div class="title_right"><strong>添加商品</strong></div>
<table width="100%" border="0" cellpadding="6" cellspacing="0" bgcolor="#cccccc" class="table table-bordered">
<script language="javascript">
function chkinput()
{
if(document.form1.mingcheng.value==""){
alert("请输入商品名称");
document.form1.mingcheng.focus();
return false;}
if(document.form1.huiyuanjia.value==""){
alert("请输入商品会员价");
document.form1.huiyuanjia.focus();
return false;}
if(document.form1.shichangjia.value==""){
alert("请输入商品市场价");
document.form1.shichangjia.focus();
return false;}
if(document.form1.xinghao.value==""){
alert("请输入商品型号");
document.form1.xinghao.focus();
return false;}
if(document.form1.shuliang.value==""){
alert("请输入商品数量");
document.form1.shuliang.focus();
return false;}
}
</script>
<form name="form1" enctype="multipart/form-data" method="post" action="?action=update" onSubmit="return chkinput();">
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2" align="center" bgcolor="#cecece"><strong>
添加商品</strong></td>
</tr>
<tr>
<td width="129" height="35" align="right">商品名称:</td>
<td width="618"><input type="text" name="mingcheng" size="25" class="span1-1" style="width:50%;"></td>
</tr>
<tr>
<td height="35" align="right">价格:</td>
<td height="25">市场价:<input type="text" name="shichangjia" size="10" class="span1-1" >
元 会员价:
<input type="text" name="huiyuanjia" size="10" class="span1-1">
元</td>
</tr>
<tr>
<td height="35" align="right">商品类型:</td>
<td height="25">
<?php
$sql=mysql_query("select * from category order by id desc",$conn);
后面还有 110 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。