<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Data_TemplateCode" %>

<!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>
    <title>模板代码调用</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Data_TemplateCode.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>" method="post" enctype="multipart/form-data">
<div class="wrapper-div">
	<!-- 添加栏目 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico titico5 H B f_left m_right16">模板代码调用</span>
    	        <ul id="templateCode_Tab" class="tabs-2 f_left">
                    <li><a class="active" href="#tabDiv1">站点全局</a></li>
                    <li><a href="#tabDiv2">公司</a></li>
                    <li><a href="#tabDiv3">导航</a></li>
                    <li><a href="#tabDiv10">幻灯</a></li>
                    <li><a href="#tabDiv4">单页</a></li>
                    <li><a href="#tabDiv5">图册</a></li>
                    <li><a href="#tabDiv6">文章</a></li>
                    <li><a href="#tabDiv7">产品</a></li>
                    <li><a href="#tabDiv8">下载</a></li>
                    <li><a href="#tabDiv9">视频</a></li>
                </ul>
                <div class="clear-0"></div>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">
            <div id="tabDiv1">
                <p>
                    <label class="name">站点名称:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteT %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点名称，一般使用在每个模板的标题（title）</span>
                </p>
                <p>
                    <label class="name">站点Logo路径:</label> <input type="button" rel="commonBtn" code="/UpLoad/Ico/&lt;%=_siteLogo %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点名称，一般使用在每个模板的标题（title）</span>
                </p>
                <p>
                    <label class="name">站点公告:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteNotice %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点公告</span>
                </p>
                <p>
                    <label class="name">在线通讯工具:</label> <input type="button" rel="commonBtn" code="&lt;%=_onlineTools %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取网站浮动通讯工具</span>
                </p>
                <p>
                    <label class="name">底部版权:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteCopyright %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取底部版权，一般使用在每个模板底部（title）</span>
                </p>
                <p>
                    <label class="name">站点推广词语:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteK %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点关键词，一般使用在每个模板（meta）</span>
                </p>
                <p>
                    <label class="name">站点推广描述:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteD %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点关键词，一般使用在每个模板（meta）</span>
                </p>
                <p>
                    <label class="name">站点统计代码:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteCode %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点统计第三方代码</span>
                </p>
                <p>
                    <label class="name">站点后缀:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteSuffix %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点后缀名</span>
                </p>
                <p>
                    <label class="name">模板名称:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteTemplate %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取模板名称</span>
                </p>
                <p>
                    <label class="name">Icp备案号:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteIcp %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点Icp备案号</span>
                </p>
                <p>
                    <label class="name">当前网址:</label> <input type="button" rel="commonBtn" code="&lt;%=_siteUrl %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点绝对网址</span>
                </p>

                <p>
                    <label class="name">模板根路径:</label> <input type="button" rel="commonBtn" code="&lt;%=rootPath %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取站点模板路径，一般使用引用js文件和图片前调用</span>
                </p>
                
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="commonCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

            <div id="tabDiv2">
                <p>
                    <label class="name">公司名称:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpName %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司名称</span>
                </p>
                <p>
                    <label class="name">公司电话:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpTel %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司电话</span>
                </p>
                <p>
                    <label class="name">公司传真:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpFox %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司传真</span>
                </p>
                <p>
                    <label class="name">公司Email:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpEmail %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司Email</span>
                </p>
                <p>
                    <label class="name">公司所在地:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpSeat %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司所在地</span>
                </p>
                <p>
                    <label class="name">公司地址:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpAddress %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司地址</span>
                </p>
                <p>
                    <label class="name">公司所属行业:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpIndustry %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司所属行业</span>
                </p>
                <p>
                    <label class="name">公司介绍:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpInfo %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司介绍</span>
                </p>
                <p>
                    <label class="name">经营范围:</label> <input type="button" rel="corpBtn" code="&lt;%=_corpDeal %&gt;" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">获取公司经营范围</span>
                </p>

                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="corpCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

            <div id="tabDiv3">
                <p>
                    <label class="name">栏目中文名称:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getNaviName(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                        <%foreach (System.Data.DataRow subitem in _subDat(item["id"].ToString()).Rows) %>
                        <%{ %>
                            <option value="&lt;%=getNaviName(&quot;<%=subitem["id"].ToString() %>&quot;)%&gt">&nbsp;&nbsp;└&nbsp;&nbsp;<%=subitem["name"].ToString()%></option>
                        <%} %>

                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的导航调用栏目中文名称</span>
                </p>
                <p>
                    <label class="name">栏目英文名称:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getNaviEn_Name(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                        <%foreach (System.Data.DataRow subitem in _subDat(item["id"].ToString()).Rows) %>
                        <%{ %>
                            <option value="&lt;%=getNaviEn_Name(&quot;<%=subitem["id"].ToString() %>&quot;)%&gt">&nbsp;&nbsp;└&nbsp;&nbsp;<%=subitem["name"].ToString()%></option>
                        <%} %>

                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的导航调用栏目英文名称</span>
                </p>
                <p>
                    <label class="name">父级中文名称:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _sonDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getParentName(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的子级栏目调用父级栏目中文名称</span>
                </p>
                <p>
                    <label class="name">父级英文名称:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _sonDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getParentEn_Name(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的子级栏目调用父级栏目英文名称</span>
                </p>
                <p>
                    <label class="name">取父级ID:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _sonDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getParenID(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的子级栏目调用父级栏目ID</span>
                </p>
                <p>
                    <label class="name">栏目链接地址:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getNaviUrl(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                        <%foreach (System.Data.DataRow subitem in _subDat(item["id"].ToString()).Rows) %>
                        <%{ %>
                            <option value="&lt;%=getNaviUrl(&quot;<%=subitem["id"].ToString() %>&quot;)%&gt">&nbsp;&nbsp;└&nbsp;&nbsp;<%=subitem["name"].ToString()%></option>
                        <%} %>

                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的导航调用栏目链接地址</span>
                </p>
                <p>
                    <label class="name">推广词语:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getKey(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                        <%foreach (System.Data.DataRow subitem in _subDat(item["id"].ToString()).Rows) %>
                        <%{ %>
                            <option value="&lt;%=getKey(&quot;<%=subitem["id"].ToString() %>&quot;)%&gt">&nbsp;&nbsp;└&nbsp;&nbsp;<%=subitem["name"].ToString()%></option>
                        <%} %>

                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的导航调用栏目推广词语一般用在SEO（meta）</span>
                </p>
                <p>
                    <label class="name">推广描述:</label> 
                    <select tabindex="1" class="select m_right6">
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="&lt;%=getDescription(&quot;<%=item["id"].ToString() %>&quot;)%&gt"><%=item["name"].ToString()%></option>
                        <%foreach (System.Data.DataRow subitem in _subDat(item["id"].ToString()).Rows) %>
                        <%{ %>
                            <option value="&lt;%=getDescription(&quot;<%=subitem["id"].ToString() %>&quot;)%&gt">&nbsp;&nbsp;└&nbsp;&nbsp;<%=subitem["name"].ToString()%></option>
                        <%} %>

                      <%} %>
                    </select><input type="button" rel="naviBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">根据选择的导航调用栏目推广描述一般用在SEO（meta）</span>
                </p>
                <p>
                    <label class="name">导航循环数据:</label> 
                    <select tabindex="1" class="select m_right6">
                      <option value="0">- 全部父级导航 -</option>
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select><input type="button" rel="naviDatBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">调用导航条</span>
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="naviCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>
            <div id="tabDiv4">
                <p>
                    <label class="name">调用导航内容:</label>
                    <select tabindex="1" id="pageNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("1").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的栏目获取单页内容</span>
                </p>
                <p>
                    <label class="name">截取保留字符:</label>
                    <input id="pageCutStr" class="input200 isNumber" value="40" name="pageCutStr" type="text" />
                    <span class="point ico-remind V">输入截取保留字符数（限数字：中文2字节；英文1字节）</span>
                </p>
                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="pageBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="pageCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>
            <div id="tabDiv10">
                <p>
                    <label class="name">调用幻灯目标:</label> 
                    <select tabindex="1" class="select m_right6">
                      <option value="-1">动态获取</option>
                      <option value="0">站点首页</option>
                      <%foreach (System.Data.DataRow item in _parentDat.Rows) %>
                      <%{ %>
                      <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select><input type="button" rel="slideDatBtn" class="bule-btn W" value="更新生成" />
                    <span class="point ico-remind V">调用幻灯图片</span>
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="slideCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>
            <div id="tabDiv5">
                <p>
                    <label class="name">调用目标:</label>
                    <select tabindex="1" id="picNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("2").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的目标导航</span>
                </p>
                <p>
                    <label class="name">数量（行数）:</label>
                    <input id="picCount" class="input200 isNumber" value="10" name="picCount" type="text" />
                    <span class="point ico-remind V">输入调用数量</span>
                </p>
                <p>
                <label class="name">调用范围:</label>
                    <label class="radio">
                        <input name="picRange_rad" checked="checked" class="radio" type="radio" value="0" />全部 
                    </label>
                    <label class="radio">
                        <input class="radio" name="picRange_rad" type="radio" value="1" />仅头条
                    </label>
                    <label class="radio">
                        <input class="radio" name="picRange_rad" type="radio" value="2" />仅推荐
                    </label>
                    <label class="radio">
                        <input class="radio" name="picRange_rad" type="radio" value="3" />仅置顶
                    </label>
                <span class="point ico-remind V">选择调用附加属性范围</span>
                </p>

                <p>
                    <label class="name">默认排序:</label>
                    <label class="checkbox">
            	        <select id="picorder_select" tabindex="1" class="select">
                          <option value=",addtime desc,id asc">添加时间最新在前面</option>
                          <option value=",addtime asc,id asc">添加时间最旧在前面</option>
                          <option value=",clicks desc,id asc">点击数最多在前面</option>
                          <option value=",clicks asc,id asc">点击数最少在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">默认排序方式</span>
                </p>

                <p>
                    <label class="name">附加排序:</label>
                    <label class="checkbox">
            	        <select id="picorder2_select" tabindex="1" class="select">
                          <option value="attribute3 desc,updatetime desc">置顶在前面</option>
                          <option value="attribute2 desc,updatetime desc">推荐在前面</option>
                          <option value="attribute1 desc,updatetime desc">头条在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">附加属性排序方式</span>
                </p>

                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="picBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="picCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

            <div id="tabDiv6">
                <p>
                    <label class="name">调用目标:</label>
                    <select tabindex="1" id="articleNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("3").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的目标导航</span>
                </p>
                <p>
                    <label class="name">数量（行数）:</label>
                    <input id="articleCount" class="input200 isNumber" value="10" name="picCount" type="text" />
                    <span class="point ico-remind V">输入调用数量</span>
                </p>
                <p>
                <label class="name">调用范围:</label>
                    <label class="radio">
                        <input name="articleRange_rad" checked="checked" class="radio" type="radio" value="0" />全部 
                    </label>
                    <label class="radio">
                        <input class="radio" name="articleRange_rad" type="radio" value="1" />仅头条
                    </label>
                    <label class="radio">
                        <input class="radio" name="articleRange_rad" type="radio" value="2" />仅推荐
                    </label>
                    <label class="radio">
                        <input class="radio" name="articleRange_rad" type="radio" value="3" />仅置顶
                    </label>
                <span class="point ico-remind V">选择调用附加属性范围</span>
                </p>

                <p>
                    <label class="name">默认排序:</label>
                    <label class="checkbox">
            	        <select id="articleorder_select" tabindex="1" class="select">
                          <option value=",addtime desc,id asc">添加时间最新在前面</option>
                          <option value=",addtime asc,id asc">添加时间最旧在前面</option>
                          <option value=",clicks desc,id asc">点击数最多在前面</option>
                          <option value=",clicks asc,id asc">点击数最少在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">默认排序方式</span>
                </p>

                <p>
                    <label class="name">附加排序:</label>
                    <label class="checkbox">
            	        <select id="articleorder2_select" tabindex="1" class="select">
                          <option value="attribute3 desc,updatetime desc">置顶在前面</option>
                          <option value="attribute2 desc,updatetime desc">推荐在前面</option>
                          <option value="attribute1 desc,updatetime desc">头条在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">附加属性排序方式</span>
                </p>

                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="articleBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="articleCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

            <div id="tabDiv7">
                <p>
                    <label class="name">调用目标:</label>
                    <select tabindex="1" id="proNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("4").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的目标导航</span>
                </p>
                <p>
                    <label class="name">数量（行数）:</label>
                    <input id="proCount" class="input200 isNumber" value="10" name="picCount" type="text" />
                    <span class="point ico-remind V">输入调用数量</span>
                </p>
                <p>
                <label class="name">调用范围:</label>
                    <label class="radio">
                        <input name="proRange_rad" checked="checked" class="radio" type="radio" value="0" />全部 
                    </label>
                    <label class="radio">
                        <input class="radio" name="proRange_rad" type="radio" value="1" />仅头条
                    </label>
                    <label class="radio">
                        <input class="radio" name="proRange_rad" type="radio" value="2" />仅推荐
                    </label>
                    <label class="radio">
                        <input class="radio" name="proRange_rad" type="radio" value="3" />仅置顶
                    </label>
                <span class="point ico-remind V">选择调用附加属性范围</span>
                </p>

                <p>
                    <label class="name">默认排序:</label>
                    <label class="checkbox">
            	        <select id="proorder_select" tabindex="1" class="select">
                          <option value=",addtime desc,id asc">添加时间最新在前面</option>
                          <option value=",addtime asc,id asc">添加时间最旧在前面</option>
                          <option value=",clicks desc,id asc">点击数最多在前面</option>
                          <option value=",clicks asc,id asc">点击数最少在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">默认排序方式</span>
                </p>

                <p>
                    <label class="name">附加排序:</label>
                    <label class="checkbox">
            	        <select id="proorder2_select" tabindex="1" class="select">
                          <option value="attribute3 desc,updatetime desc">置顶在前面</option>
                          <option value="attribute2 desc,updatetime desc">推荐在前面</option>
                          <option value="attribute1 desc,updatetime desc">头条在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">附加属性排序方式</span>
                </p>

                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="proBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="proCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>
            <div id="tabDiv8">
                <p>
                    <label class="name">调用目标:</label>
                    <select tabindex="1" id="downNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("5").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的目标导航</span>
                </p>
                <p>
                    <label class="name">数量（行数）:</label>
                    <input id="downCount" class="input200 isNumber" value="10" name="picCount" type="text" />
                    <span class="point ico-remind V">输入调用数量</span>
                </p>
                <p>
                <label class="name">调用范围:</label>
                    <label class="radio">
                        <input name="downRange_rad" checked="checked" class="radio" type="radio" value="0" />全部 
                    </label>
                    <label class="radio">
                        <input class="radio" name="downRange_rad" type="radio" value="1" />仅头条
                    </label>
                    <label class="radio">
                        <input class="radio" name="downRange_rad" type="radio" value="2" />仅推荐
                    </label>
                    <label class="radio">
                        <input class="radio" name="downRange_rad" type="radio" value="3" />仅置顶
                    </label>
                <span class="point ico-remind V">选择调用附加属性范围</span>
                </p>

                <p>
                    <label class="name">默认排序:</label>
                    <label class="checkbox">
            	        <select id="downorder_select" tabindex="1" class="select">
                          <option value=",addtime desc,id asc">添加时间最新在前面</option>
                          <option value=",addtime asc,id asc">添加时间最旧在前面</option>
                          <option value=",clicks desc,id asc">点击数最多在前面</option>
                          <option value=",clicks asc,id asc">点击数最少在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">默认排序方式</span>
                </p>

                <p>
                    <label class="name">附加排序:</label>
                    <label class="checkbox">
            	        <select id="downorder2_select" tabindex="1" class="select">
                          <option value="attribute3 desc,updatetime desc">置顶在前面</option>
                          <option value="attribute2 desc,updatetime desc">推荐在前面</option>
                          <option value="attribute1 desc,updatetime desc">头条在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">附加属性排序方式</span>
                </p>

                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="downBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="downCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

            <div id="tabDiv9">
                <p>
                    <label class="name">调用目标:</label>
                    <select tabindex="1" id="videoNaviSelect" class="select">
                      <%foreach (System.Data.DataRow item in _moduleDat("6").Rows) %>
                      <%{ %>
                        <option value="<%=item["id"].ToString() %>"><%=item["name"].ToString()%></option>
                      <%} %>
                    </select>
                    <span class="point ico-remind V">选择调用的目标导航</span>
                </p>
                <p>
                    <label class="name">数量（行数）:</label>
                    <input id="videoCount" class="input200 isNumber" value="10" name="picCount" type="text" />
                    <span class="point ico-remind V">输入调用数量</span>
                </p>
                <p>
                <label class="name">调用范围:</label>
                    <label class="radio">
                        <input name="videoRange_rad" checked="checked" class="radio" type="radio" value="0" />全部 
                    </label>
                    <label class="radio">
                        <input class="radio" name="videoRange_rad" type="radio" value="1" />仅头条
                    </label>
                    <label class="radio">
                        <input class="radio" name="videoRange_rad" type="radio" value="2" />仅推荐
                    </label>
                    <label class="radio">
                        <input class="radio" name="videoRange_rad" type="radio" value="3" />仅置顶
                    </label>
                <span class="point ico-remind V">选择调用附加属性范围</span>
                </p>

                <p>
                    <label class="name">默认排序:</label>
                    <label class="checkbox">
            	        <select id="videoorder_select" tabindex="1" class="select">
                          <option value=",addtime desc,id asc">添加时间最新在前面</option>
                          <option value=",addtime asc,id asc">添加时间最旧在前面</option>
                          <option value=",clicks desc,id asc">点击数最多在前面</option>
                          <option value=",clicks asc,id asc">点击数最少在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">默认排序方式</span>
                </p>

                <p>
                    <label class="name">附加排序:</label>
                    <label class="checkbox">
            	        <select id="videoorder2_select" tabindex="1" class="select">
                          <option value="attribute3 desc,updatetime desc">置顶在前面</option>
                          <option value="attribute2 desc,updatetime desc">推荐在前面</option>
                          <option value="attribute1 desc,updatetime desc">头条在前面</option>
                        </select>
                    </label>
                    <span class="point ico-remind V">附加属性排序方式</span>
                </p>

                <p>
                    <label class="name">&nbsp;</label> <input type="button" id="videoBtn" class="bule-btn W" value="更新生成" />
                </p>
                <p>
                    <label class="name">生成代码:</label>
                    <textarea id="videoCode_text" class="input400" tabindex="1" cols="" rows=""></textarea>
                    <span class="point ico-remind V">生成的代码，复制到模板文件即可</span>
                </p>
            </div>

        <hr />
        </div>
        <!-- end 表单 -->
    <!-- end 添加栏目 -->
</div>

    </form>
</body>
</html>
