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