ChangeClass.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <?php
  8. $public_diyr['pagetitle']='增加信息';
  9. $url="<a href='../../'>首页</a>&nbsp;>&nbsp;<a href='../member/cp/'>会员中心</a>&nbsp;>&nbsp;<a href='ListInfo.php?mid=".$mid."'>管理信息</a>&nbsp;>&nbsp;增加信息&nbsp;(".$mr[qmname].")";
  10. require(ECMS_PATH.'e/template/incfile/header.php');
  11. ?>
  12. <script>
  13. function CheckChangeClass()
  14. {
  15. if(document.changeclass.classid.value==0||document.changeclass.classid.value=='')
  16. {
  17. alert("请选择栏目");
  18. return false;
  19. }
  20. return true;
  21. }
  22. </script>
  23. <table width="500" border="0" align="center">
  24. <tr>
  25. <td>你好,<b><?=$musername?></b></td>
  26. </tr>
  27. </table>
  28. <table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  29. <form action="AddInfo.php" method="get" name="changeclass" id="changeclass" onsubmit="return CheckChangeClass();">
  30. <tr class="header">
  31. <td height="23"><strong>请选择要增加信息的栏目
  32. <input name="mid" type="hidden" id="mid" value="<?=$mid?>">
  33. <input name="enews" type="hidden" id="enews" value="MAddInfo">
  34. </strong></td>
  35. </tr>
  36. <tr bgcolor="#FFFFFF">
  37. <td height="32"> <select name=classid size="22" style="width:300px">
  38. <script src="<?=$classjs?>"></script>
  39. </select> </td>
  40. </tr>
  41. <tr bgcolor="#FFFFFF">
  42. <td><input type="submit" name="Submit" value="添加信息"> <font color="#666666">(请选择终极栏目[蓝色条])</font></td>
  43. </tr>
  44. </form>
  45. </table>
  46. <?php
  47. require(ECMS_PATH.'e/template/incfile/footer.php');
  48. ?>