<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$public_diyr['pagetitle']='增加信息';
$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].")";
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>
<div id="currentPage" pagevalue="3"></div>
<div class="bgBox">
   		<div class="zhLeft">
        	<h3 class="leftTitle tg">消息</h3>
            <div class="tougao">
         	<?php
			//输出可管理的模型
			$tmodsql=$empire->query("select mid,qmname from {$dbtbpre}enewsmod where usemod=0 and showmod=0 and qenter<>'' order by myorder,mid");
			while($tmodr=$empire->fetch($tmodsql))
			{
				$fontb="";
				$fontb1="";
				if($tmodr['mid']==$tgetmid)
				{
					$fontb="<b>";
					$fontb1="</b>";
				}
			?>
              <p><a href="<?=$public_r['newsurl']?>e/DoInfo/ListInfo.php?mid=<?=$tmodr['mid']?>"><?=$fontb?>管理<?=$tmodr[qmname]?><?=$fontb1?></a>
              <span><a href="<?=$public_r['newsurl']?>e/DoInfo/ChangeClass.php?mid=<?=$tmodr['mid']?>"><?=$fontb?>发布<?=$fontb1?></a></span>
              </p>
			<?php
			}
			?>
            </div>
        </div>	
        <div class="zhRight">
       		<div class="bigTitle"><span style=" background-position:-144px 0;"></span>投稿</div>
                <div class="Bborder"></div>		
			<table width="500" border="0" align="center" style="margin-top:10px;">
                <tr height="30px;" style="font-size:12px;"> 
                  <td>你好,<?=$musername?>,请选择要增加信息的栏目</td>
                </tr>
              </table>
              <table width="500" border="0" style="margin-top:3px;" align="center" cellpadding="3" cellspacing="1" >
                <form action="AddInfo.php" method="get" name="changeclass" id="changeclass" onsubmit="return CheckChangeClass();">
                  <tr bgcolor="#FFFFFF"> 
                    <td height="32"> <select name=classid size="22" style="width:300px">
                        <script src="<?=$classjs?>"></script>
                      </select> </td>
                  </tr>
                  <tr height="35px"> 
                    <td><input type="submit" class="ganniu" name="Submit" value="添加信息"> <font color="#666666" style="font-size:12px;">(请选择终极栏目[蓝色条])</font></td>
                  </tr>
                </form>
              </table>
        </div> 	
        <div class="clear"></div>   
        </div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>