admin/cat.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php include("check_login.php"); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>汽车类别管理</title>
<link rel="stylesheet" type="text/css" href="images/admincp.css">
<style type="text/css">
<!--
.style1 {
}
-->
</style>
</head>

<body topmargin="0" leftmargin="0" bottommargin="0">
<?php
include("../conn.php");
$sql=mysql_query("select * from type order by id desc",$conn);
$info=mysql_fetch_array($sql);
 if($info==false)
  {
    echo "本站暂无汽车类别!";
   }
  else
  {
?>
<div align="center">
  <table width="600" border="0" align="left" cellpadding="0" cellspacing="0">
   <form name="form1" method="post" action="deletelb.php">
    <tr>
      <td height="20" bgcolor="#E7F3FB"><div align="center" >汽车类别管理</div></td>
    </tr>
    <tr>
      <td height="20" bgcolor="#E7F3FB"><table width="600" border="0" align="center" cellpadding="0" cellspacing="1">
        <tr>
          <td width="300" height="20" bgcolor="#FFFFFF"><div align="center">类别名称</div></td>
          <td width="144" bgcolor="#FFFFFF"><div align="center">操作</div></td>
        </tr>
		<?php
		  do
		  {
		?>
        <tr>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><?php echo $info[typename];?></div></td>
          <td height="20" bgcolor="#FFFFFF"><div align="center"><a href="cat_edit.php?id=<?php echo $info[id]?>">修改 <a onclick="return confirm('确定要删除吗');"  href="cat_del.php?id=<?php echo $info[id]?>">删除</a></div></td>
        </tr>

		<?php
		 }
		 while($info=mysql_fetch_array($sql));
		?>

      </table></td>
    </tr>
	</form>
  </table>
</div>
<?php
 }
?>
后面还有 2 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。