<extend name="Public/base"/>

<block name="body">
    
    
    <div class="cf main-place top_nav_list navtab_list">
    {:W('Index/navigation',array('value'=>'Site/media'))}
        <h3 class="page_title">SEO设置</h3>
        <p class="description_text">说明:此处功能用于设置PC官网的站点SEO。</p>
    </div>
    
	<div class="tab-wrap">
		<div class="tab_nav stabnav17112 jstabnav">
    <ul>
            <volist name="lists" id="vo">
            <li data-tab="tab{$i}" class="<eq name='i' value='1' >current</eq>"><a href="javascript:void(0);" >{$vo.title}</a></li>
            </volist>
		</ul></div>
        <div class="infomation information1711">
            <h3>提示</h3>
            <p>插入的变量两边必须包括百分号" %变量% ",当游戏范围不支持该变量时,该变量
            将不会在前台显示(变量后边的分隔符也不会显示)。以下是可用SEO变量:</p>
            <p><strong>站点名称:</strong><span> %webname% </span></p>
            <p><strong>游戏名称:</strong><span> %gamename% </span></p>
            <p><strong>礼包名称:</strong><span> %giftname% </span></p>
            <p><strong>资讯名称:</strong><span> %newsname% </span></p>
            <p><strong>游戏类型:</strong><span> %gametype% </span></p>
        </div>
        <volist name="lists" id="vo">
        <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab{$i}" class="tab-pane <eq name='i' value='1' >in</eq> tab{$i}">
                <form action="{:U('save')}" method="post" class="form-horizontal {$vo.name}">
                  <table border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                      <tr>
                          <td class="l noticeinfo">Title</td>
                          <td class="r table_radio">
                              <input name="seo_title" value="{$vo.seo_title}" type="text" class="txt2">
                              <span class="notice-text">{$vo.title}标题</span>
                          </td>
                      </tr>
                      <tr>
                          <td class="l noticeinfo">Keyword</td>
                          <td class="r table_radio">
                              <textarea name="seo_keyword" class="txt2" >{$vo.seo_keyword}</textarea>
                              <span class="notice-text">{$vo.title}关键字</span>
                          </td>
                      </tr>
                      <tr>
                          <td class="l noticeinfo">Description</td>
                          <td class="r table_radio">
                              <textarea name="seo_description" class="txt2" >{$vo.seo_description}</textarea>
                              <span class="notice-text">{$vo.title}描述</span>
                          </td>
                      </tr>
                    </tbody>
                  </table>
                  <input type="hidden" name="name" value="{$vo.name}">
                  <input type="hidden" name="module" value="media">
                  

                </form>
                <div class="form-item cf">
                    <button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="{$vo.name}">
                        保存
                    </button>
                    <a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
                        返回
                    </a>
                </div>
            </div>
        </div>
        </volist>
	</div>
	
	<div class="common_settings">
			<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
			<form class="addShortcutIcon">
				<input type="hidden" name="title" value="{$m_title}">
				<input type="hidden" name="url" value="Site/media">
			</form>
			<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
		</div>
	
</block>

<block name="script">
<script type="text/javascript">
	//导航高亮
	highlight_subnav("{:U('Site/media')}");
	$(function(){
		//支持tab
		showTab();
	})
</script>
</block>