<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link href="{$tplroot}/admin/images/admincp.css?UmR" rel="stylesheet" type="text/css" />
</head>
<body>
<script src="{$tplroot}/admin/js/common.js?UmR" type="text/javascript"></script>
<script src="{$tplroot}/admin/js/admincp.js?UmR" type="text/javascript"></script>
<script type="text/javascript">
if(ISFRAME && !parent.document.getElementById('leftmenu') && !parent.parent.document.getElementById('leftmenu')) {
	redirect(admincpfilename + '?frames=yes&' + document.URL.substr(document.URL.indexOf(admincpfilename) + admincpfilename.length + 1));
}
</script>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="container" id="cpcontainer">
  <script type="text/JavaScript">parent.document.title = 'iQQol 管理中心 - 运营 - 站点广告';if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='运营&nbsp;&raquo;&nbsp;站点广告&nbsp;&nbsp;';</script>
  <div class="itemtitle">
    <h3>站点广告</h3><?php global $adv; ?>
  </div>
  <form name="cpform" method="post" autocomplete="off" action="admin.php?action=adv&edit=yes" id="cpform" >
    <input type="hidden" name="formhash" value="8bfe81ed" />
    <input type="hidden" id="formscrolltop" name="scrolltop" value="" />
    <input type="hidden" name="anchor" value="" />
    <input type="hidden" name="operation" value="basic">
    <table class="tb tb2 ">
      <tr onmouseover="setfaq(this, 'faq68c1')">
        <td colspan="2" class="td27" s="1">头部自定义广告:</td>
      </tr>
      <tr class="noborder" onmouseover="setfaq(this, 'faq68c1')">
        <td class="vtop rowform"><textarea  rows="6" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="header" id="settingnew[statcode]"  cols="50" class="tarea" >{$adv[header][note]}</textarea>
        <br>
          <input type="radio" name="header_a" value="on" <?php if($adv[header][status]=='on') echo 'checked'; ?>>
          &nbsp;开启
        
          <input type="radio" name="header_a" value="off" <?php if($adv[header][status]=='off') echo 'checked'; ?>>
          &nbsp;关闭
        </td>
        <td class="vtop tips2" s="1">显示在网站头部位置 如header.html等<br />
          双击输入框可扩大/缩小</td>
      </tr>
      <tr onmouseover="setfaq(this, 'faq68c1')">
        <td colspan="2" class="td27" s="1">尾部自定义广告:</td>
      </tr>
      <tr class="noborder" onmouseover="setfaq(this, 'faq68c1')">
        <td class="vtop rowform"><textarea  rows="6" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="footer" id="settingnew[statcode]"  cols="50" class="tarea" >{$adv[footer][note]}</textarea>
        <br>
          <input type="radio" name="footer_a" value="on" <?php if($adv[footer][status]=='on') echo 'checked'; ?>>
          &nbsp;开启
        
          <input type="radio" name="footer_a" value="off" <?php if($adv[footer][status]=='off') echo 'checked'; ?>>
          &nbsp;关闭
        </td>
        <td class="vtop tips2" s="1">显示在网站尾部位置 如footer.html等<br />
          双击输入框可扩大/缩小</td>
      </tr>
      <tr onmouseover="setfaq(this, 'faq68c1')">
        <td colspan="2" class="td27" s="1">首页自定义广告:</td>
      </tr>
      <tr class="noborder" onmouseover="setfaq(this, 'faq68c1')">
        <td class="vtop rowform"><textarea  rows="6" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="index" id="settingnew[statcode]"  cols="50" class="tarea" >{$adv[index][note]}</textarea>
        <br>
          <input type="radio" name="index_a" value="on" <?php if($adv[index][status]=='on') echo 'checked'; ?>>
          &nbsp;开启
        
          <input type="radio" name="index_a" value="off" <?php if($adv[index][status]=='off') echo 'checked'; ?>>
          &nbsp;关闭
        </td>
        <td class="vtop tips2" s="1">显示在网站首页位置 如index.html、login.html等<br />
          双击输入框可扩大/缩小</td>
      </tr>
      <tr onmouseover="setfaq(this, 'faq68c1')">
        <td colspan="2" class="td27" s="1">挂Q主界面自定义广告:</td>
      </tr>
      <tr class="noborder" onmouseover="setfaq(this, 'faq68c1')">
        <td class="vtop rowform"><textarea  rows="6" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="main" id="settingnew[statcode]"  cols="50" class="tarea" >{$adv[main][note]}</textarea>
        <br>
          <input type="radio" name="main_a" value="on" <?php if($adv[main][status]=='on') echo 'checked'; ?>>
          &nbsp;开启
        
          <input type="radio" name="main_a" value="off" <?php if($adv[main][status]=='off') echo 'checked'; ?>>
          &nbsp;关闭
        </td>
        <td class="vtop tips2" s="1">显示在挂Q主界面位置 如main.html等<br />
          双击输入框可扩大/缩小</td>
      </tr>
      <tr onmouseover="setfaq(this, 'faq68c1')">
        <td colspan="2" class="td27" s="1">广场自定义广告:</td>
      </tr>
      <tr class="noborder" onmouseover="setfaq(this, 'faq68c1')">
        <td class="vtop rowform"><textarea  rows="6" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="ground" id="settingnew[statcode]"  cols="50" class="tarea" >{$adv[ground][note]}</textarea>
        <br>
          <input type="radio" name="ground_a" value="on" <?php if($adv[ground][status]=='on') echo 'checked'; ?>>
          &nbsp;开启
        
          <input type="radio" name="ground_a" value="off" <?php if($adv[ground][status]=='off') echo 'checked'; ?>>
          &nbsp;关闭
        </td>
        <td class="vtop tips2" s="1">显示在网站广场位置 如ground.html等<br />
          双击输入框可扩大/缩小</td>
      </tr>
    </table>
    <table class="tb tb2 ">
      <tr>
        <td colspan="15"><div class="fixsel">
            <input type="submit" class="btn" id="submit_settingsubmit" name="settingsubmit" title="按 Enter 键可随时提交您的修改" value="提交" />
          </div></td>
      </tr>
      <script type="text/JavaScript">_attachEvent(document.documentElement, 'keydown', function (e) { entersubmit(e, 'settingsubmit'); });</script>
    </table>
  </form>
</div>
</body>
</html>
