{include file="pageheader.htm"}
{insert_scripts files='../js/quickView.js'}
<div class="BodyRight">
	<div class="RightDetill">
		<ul>
			<li class="Green"><a href="http://www.nitc.cc/About-nitc/488.html#_Toc239504382" target="_blank">查看演示文件</a></li>
			<li class="SkyBlue"><a href="help_document.php?action=download">下载演示文档</a></li>
			<li class="Black">操作帮助请详见演示文件!</li>
			<li class="DetillRigh"></li>
		</ul>
	</div>
	
	<div class="PageContent">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		 {if $language|@count>1}
			  <tr>
		<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			{section name=loop loop=$language}
				{if $smarty.section.loop.index == 0}
					<td width="85" height="29" align="center" id="languagesel{$language[loop].language_id}" class="Move"><a href="javascript:void(0);" onclick="javascript:languageselect('{$language[loop].language_id}')">{$language[loop].name}</a></td>
				{else}
					<td width="5" align="center"><img src="images/{$skin}/tiao.gif"></td>
					<td width="85" align="center" id="languagesel{$language[loop].language_id}" class="Out"><a href="javascript:void(0);" onclick="javascript:languageselect('{$language[loop].language_id}')">{$language[loop].name}</a></td>			
				{/if}
			{/section}
			<td align="left" class="LineRight" style="padding-left:10px;">点击左侧语言选项,填写不同语言首页Meta信息.</td>
		  </tr>
		  
		</table> </td>
	  </tr>
	  <tr>
		<td class="LineRightBlue">
	  {else}
	  <tr>
		<td class="LineRightBlue1">	  	
	  {/if}
		<table width="95%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
		  <td width="88%" height="24" style="padding-left:20px;">首页Meta标签</td>
		  <td width="12%" align="right"></td>
		  </tr>
		</table>
			</td>
		  </tr>
		</table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;padding:10px;border:1px #BFC9D2 solid;">
  <tr>
    <td height="92">
		<div class="panel">
        <ul>
        <li><a href="ad_manage.php?action=list"><span><img src="images/{$skin}/banner.gif" alt="" hspace="20" border="0"></span><p>广告管理</p></a></li>
		<li><a href="company.php?action=edit"><span><img src="images/{$skin}/company.gif" alt="" hspace="20" border="0" /></span><p>公司介绍</p></a></li>       
        <li><a href="channel_content.php?action=list&amp;category_id=4"><span><img src="images/{$skin}/news.gif" alt="" hspace="20" border="0" /></span><p>新闻动态</p></a></li>
        <li><a href="product.php?action=list"><span><img src="images/{$skin}/products.gif" alt="" hspace="20" border="0" /></span><p>产品管理</p></a></li>
        <li><a href="contact.php?action=list"><span><img src="images/{$skin}/contact.gif" alt="" hspace="20" border="0" /></span><p>联系我们</p></a></li>
        <li><a href="friend_link.php?action=list"><span><img src="images/{$skin}/link.gif" alt="" hspace="20" border="0" /></span><p>友情链接</p></a></li>
        </ul>
        </div>
        </td>
  </tr>
</table>

      <form action="home_meta.php?action=update" method="post" name="theForm">
        
		<table width="100%" border="0" cellspacing="0" cellpadding="0"  style="margin-top:10px;">
			<tr><td style="border:none;">
			{section name=loop loop=$meta}
				{if $smarty.section.loop.index == 0}
					<div id="languageBox{$meta[loop].language_id}" class="">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="110" height="24" align="center" bgcolor="#DFEFC7" class="SeoMeta"><a href="#" title="&lt;img src='images/help/title.gif'&gt;" style="float:right;margin-right:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a>首页优化设置</td>
                <td>&nbsp;</td>
              </tr>
            </table>
            <div style="border:2px #DFEFC7 solid;padding:5px 0px;background:#F4F9EC;">
            <table width="100%" border="0" cellpadding="0" cellspacing="3" class="Font">
                          <tr>
                            <td width="110"><img src="{$meta[loop].country}" /> <span>Title标签</span></td>
                            <td width="280"><input type="input" class="FormSmall" name="metaTitle_{$meta[loop].language_id}" style="width:200px;"  value="{$meta[loop].meta_title|escape}" /> <a href="#" title="建议网页标题最多30个汉字(或60个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                            <td width="110"><img src="{$meta[loop].country}" /> <span>Keywords标签</span></td>
                            <td><input type="input" class="FormSmall" name="metaKeywords_{$meta[loop].language_id}" style="width:200px;"  value="{$meta[loop].meta_keywords|escape}" /> <a href="#" title="建议关键词2至3个,且用半角逗号隔开." style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                          </tr>
                        </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="3" class="Font">
              <tr>
                <td width="110"><img src="{$meta[loop].country}" /> <span>Description标签</span></td>
                <td><textarea name="metaDescription_{$meta[loop].language_id}" class="FormSmall" style="width:595px;height:60px;">{$meta[loop].meta_description}</textarea> <a href="#" title="建议描述最多70个汉字(或140个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a>
                </td>
              </tr>
            </table>
            </div>
					</div>
				{else}
					<div id="languageBox{$meta[loop].language_id}" class="close">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="110" height="24" align="center" bgcolor="#DFEFC7" class="SeoMeta"><a href="#" title="&lt;img src='images/help/title.gif'&gt;" style="float:right;margin-right:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a>首页优化设置</td>
                <td>&nbsp;</td>
              </tr>
            </table>
            <div style="border:2px #DFEFC7 solid;padding:5px 0px;background:#F4F9EC;">
            <table width="100%" border="0" cellpadding="0" cellspacing="3" class="Font">
                          <tr>
                            <td width="110"><img src="{$meta[loop].country}" /> <span>Title标签</span></td>
                            <td width="280"><input type="input" class="FormSmall" name="metaTitle_{$meta[loop].language_id}" style="width:200px;"  value="{$meta[loop].meta_title|escape}" /> <a href="#" title="建议网页标题最多30个汉字(或60个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                            <td width="110"><img src="{$meta[loop].country}" /> <span>Keywords标签</span></td>
                            <td><input type="input" class="FormSmall" name="metaKeywords_{$meta[loop].language_id}" style="width:200px;"  value="{$meta[loop].meta_keywords|escape}" /> <a href="#" title="建议关键词2至3个,且用半角逗号隔开." style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                          </tr>
                        </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="3" class="Font">
              <tr>
                <td width="110"><img src="{$meta[loop].country}" /> <span>Description标签</span></td>
                <td><textarea name="metaDescription_{$meta[loop].language_id}" class="FormSmall" style="width:595px;height:60px;">{$meta[loop].meta_description}</textarea> <a href="#" title="建议描述最多70个汉字(或140个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a>
                </td>
              </tr>
            </table>
            </div>
					</div>
				{/if}
			{/section}
			</td></tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
			<tr>
				<td align="center">
				<input type="hidden" value="{$company_id}" name="company_id" />
				<input class="bginput" type="submit" id="btSubmit" name="submit" value=" 提交 " />
				<input class="bginput" name="reset" type="reset" value=" 重置 " /></td>
			</tr>
			</table>
		</form>
	</div>

</div>
<script type="text/javascript">
{literal}
function clearSearchText(searchText){
	if(document.getElementById(searchText).value=="查找产品信息..."){
		document.getElementById(searchText).value="";
	}
}

function doSearchSubmit(){
	if(document.getElementById("searchText").value=="查找产品信息..."){
		document.getElementById("searchText").value="";
	}
}

function languageselect(id){
	{/literal}
	{section name=loop loop=$language}
	{literal}
		document.getElementById('languageBox{/literal}{$language[loop].language_id}{literal}').className="close";
		document.getElementById('languagesel{/literal}{$language[loop].language_id}{literal}').className="Out";
	{/literal}
	{/section}
	{literal}
	document.getElementById('languagesel'+id).className="Move";
	document.getElementById('languageBox'+id).className="";
}
{/literal}
</script>
{include file="pagefooter.htm"}