ptype.php
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
session_start();
include('./conn.php');
;
if($act=="Del")
{
$sql="delete from ptype where id=$id";
$result=mysql_query($sql);
}
if($id!="")
{
$sql="select * from ptype where id=$id";
$result=mysql_query($sql);
$data=mysql_fetch_array($result);
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="skin/css/base.css">
<title>维修类型</title>
</head>
<table width="96%" border="0" align="center" cellpadding="4" cellspacing="1" class="table_big">
<tr bgcolor="#BAE87C">
<td height="30" colspan="8" ><div align="center" >维修类型</div></td>
</tr>
<tr bgcolor="#BAE87C">
<td >
<?php
$sql="select * from ptype";
$result=mysql_query($sql);
?>
<tr align="center" bgcolor="#BAE87C">
<td >维修类型名称</td>
<td width="75" >页面操作</td>
</tr>
<?php
while($type=mysql_fetch_array($result))
{
?>
<tr align="center" bgcolor="#BAE87C">
<td height="20" class="optiontitle"><?php echo $type[name];?></td>
<td height="20" class="optiontitle">
<a href="?id=<?php echo $type[id]?>&act=edit">修改</a>
后面还有 69 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。