<?php include template("admin/header");?>

<!--main-->
<div class="midder">

<h2>广告管理</h2>
<?php include pubTemplate("plugin_menu");?>

<form method="POST" action="<?php echo SITE_URL; ?>index.php?app=pubs&ac=plugin&plugin=gobad&in=edit&ts=do">
<table  cellpadding="0" cellspacing="0">


    <tr><td width="100">全站统一头部调用：<br />此处仅放公共文件，比如针对广告的js、css文件引用等</td><td><textarea style="width:600px;height:100px;" name="code[pub_header]"><?php echo stripslashes($code['pub_header']) ?></textarea></td></tr>


<tr><td>广告代码：<br />宽度<=300px</td><td><textarea style="width:600px;height:100px;" name="code[300]"><?php echo stripslashes($code['300']) ?></textarea></td></tr>

<tr><td>广告代码：<br />宽度<=468px</td><td><textarea style="width:600px;height:100px;" name="code[468]"><?php echo stripslashes($code['468']) ?></textarea></td></tr>

<tr><td>广告代码：<br />宽度<=640px</td><td><textarea style="width:600px;height:100px;" name="code[640]"><?php echo stripslashes($code['640']) ?></textarea></td></tr>

<tr><td>广告代码：<br />宽度<=960px</td><td><textarea style="width:600px;height:100px;" name="code[960]"><?php echo stripslashes($code['960']) ?></textarea></td></tr>

<tr><td>帖子右侧顶部：<br />宽度<=360px</td><td><textarea style="width:600px;height:100px;" name="code[topic_right_top]"><?php echo stripslashes($code['topic_right_top']) ?></textarea></td></tr>

<tr><td>首页左侧广告1：<br />宽度<=750px</td><td><textarea style="width:600px;height:100px;" name="code[home_left_1]"><?php echo stripslashes($code['home_left_1']) ?></textarea></td></tr>


<tr><td>内容正文顶部：<br />宽度<=640px</td><td><textarea style="width:600px;height:100px;" name="code[content_top]"><?php echo stripslashes($code['content_top']) ?></textarea></td></tr>


<tr><td>首页左侧广告2：<br />宽度<=750px</td><td><textarea style="width:600px;height:100px;" name="code[home_left_2]"><?php echo stripslashes($code['home_left_2']) ?></textarea></td></tr>


    <tr><td>全站底部通栏：<br />宽度<=1140px</td><td><textarea style="width:600px;height:100px;" name="code[pub_footer]"><?php echo stripslashes($code['pub_footer']) ?></textarea></td></tr>


<tr><td></td><td><input type="submit" value="提交修改" /></td></tr>

</table>
</form>
</div>

<?php include template("admin/footer");?>