admin/qiye_add.php
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
require("../inc/mysql_connect.php");
if($id!="")
{//取出qiye表数据用于修改
$sql="select * from qiye where id=$id";
$result=mysql_query($sql);
$data=mysql_fetch_array($result);
}
?>
<?php
if($act=="save")
{
if($id!="")
{
$strsubject=implode(",",$subject);
$sql="update qiye set username='$username',userpassword='$userpassword',email='$email',company='$company',subject='$strsubject',linkname='$linkname',address='$address',tel='$tel',info='$info',areaid='$areaid' where id=$id";
$res=mysql_query($sql);
if($res)
{
echo "<script>alert('修改成功');location.href='qiye.php';</script>";
exit;
}
else
{
exit ("修改失败了");
}
}
$sql="insert into qiye (username,userpassword,email,company,subject,linkname,address,tel,info,areaid) values ('$username','$userpassword','$email','$company','$subject','$linkname','$address','$tel','$info','$areaid')";
$res=mysql_query($sql);
if($res)
{
echo "<script>alert('添加成功');location.href='qiye.php';</script>";
exit;
}
else
{
exit("添加失败了");
}
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#aec3de">
<form name="form1" method="post" action="?act=save&id=<?=$id?>" enctype="multipart/form-data" onSubmit="return check()">
<tr>
<td height="19" colspan="4" class="title"><div align="center" class="title"> 修改企业会员</div></td>
</tr>
<tr align="center" bgcolor="#F2FDFF">
<td align="right" width=150> 登陆账号:</td>
<td align="left"><input name="username" type="text" id="username" size="20" value=<?=$data[username]?> readonly>不可更改</td>
</tr>
<tr align="center" bgcolor="#F2FDFF">
<td align="right"> 登录密码:</td>
<td align="left"><input name="userpassword" type="text" id="userpassword" size="20" value=<?=$data[userpassword]?>></td>
后面还有 46 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。