国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.4KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>广告分类管理</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. </head>
  10. <body>
  11. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  12. <form name="form1" action="adtype_main.php" method="post">
  13. <tr>
  14. <td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px"><input type="hidden" name="dopost" value="save"/>广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-3">广告管理</a></td>
  15. </tr>
  16. <tr bgcolor="#FBFCE2">
  17. <td width="9%" height="26" align="center">类型ID</td>
  18. <td width="55%" align="center">广告分类</td>
  19. <td width="36%" align="center">状态</td>
  20. </tr>
  21. <?php
  22. $dsql->SetQuery("Select * From #@__myadtype");
  23. $dsql->Execute();
  24. $k=0;
  25. while($row = $dsql->GetObject())
  26. {
  27. $k++;
  28. ?>
  29. <tr align="center">
  30. <td height="26"><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td>
  31. <td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td>
  32. <td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</td>
  33. </tr>
  34. <?php
  35. }
  36. ?>
  37. <input type="hidden" name="idend" value="<?php echo $k?>">
  38. <tr bgcolor="#F8FCF1">
  39. <td height="26" colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td>
  40. </tr>
  41. <tr height="26" align="center">
  42. <td colspan="2"><input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td>
  43. <td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> 新增 </td>
  44. </tr>
  45. <tr>
  46. <td height="26" colspan="5" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></td>
  47. </tr>
  48. </form>
  49. </table>
  50. </body>
  51. </html>