{include file="pageheader.htm"}
{insert_scripts files='./js/form.js'}
{insert_scripts files='./js/checkForm.js'}
{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#_Toc239504374" 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;">点击左侧语言选项,填写不同语言公司信息.</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;">公司信息管理 > 编辑公司信息</td>
		  <td width="12%" align="right"></td>
		  </tr>
		</table>
			</td>
		  </tr>
		</table>
		<form action="company.php?action=update" enctype="multipart/form-data" method="post" name="theForm" onsubmit="return doCompanySubmit()">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListCategory" style="margin-top:10px;">
			<tr><td align="right" style="padding-right:5px;">"<img src="images/required_icon.gif" />"号为必填项</td></tr>
			<tr><td style="border:none;">
			{section name=loop loop=$company}
				{if $smarty.section.loop.index == 0}
					<div id="languageBox{$company[loop].language_id}" class="">
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Font">
						<tr class="firstalt">
							<td width="150" align="left" style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司名称</span></td>
  <td style="padding-top:5px; padding-bottom:5px;">
		  <div id="msgbox">
								<div class="msgbase">
									<input type="input" class="FormSmall" name="companyName_{$company[loop].language_id}" style="width:400px;" id="companyName_{$company[loop].language_id}" onblur="companyNameCheck('companyName_{$company[loop].language_id}')" value="{$company[loop].companyName|escape}" /> <img src="images/required_icon.gif" />&nbsp;&nbsp;<a href="home_meta.php?action=edit"><span style="color:#ff0000">首页标题设置</span></a></div>
								<div  class="msg" style="width:205px;">
									<div class="" id="companyName_{$company[loop].language_id}Msg" style="display:none;"></div>
								</div>
							</div>		
							</td>
					  </tr>
			
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司Logo</span><a href="#" title="公司标志，显示在前台页面顶部左侧，图片最大1MB，允许(.jpg .gif .png)。" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
			  <td style="padding-top:5px; padding-bottom:5px;">
					<input type="file"  class="FormSmall" name="image_{$company[loop].language_id}" /> {if $xml_config_company.logo_size}&nbsp;&nbsp;&nbsp;<span style="color:#FF0000;">{$xml_config_company.logo_size}</span>{/if}
								{if $company[loop].logo}
								  <br />
						  <a href="../upload/photo/{$company[loop].logo}" target="_blank"><img src="../upload/photo/{$company[loop].logo}" width="120" height="120" border="0" style="margin:5px" onload="setImgSizeWH(this.src,this,120,120)" /></a><br />
							<div style="font-size:12px;"><input name="delimg_{$company[loop].language_id}" type="checkbox" />&nbsp;删除</div>
								{/if}
							</td>
					  </tr>	
			
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>商业类型</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
                            	<input type="input" class="FormSmall" name="businessType_{$company[loop].language_id}" style="width:500px;" id="businessType_{$company[loop].language_id}" value="{$company[loop].businessType|escape}" />		
							</td>
						</tr>	
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>主要产品</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
                            	<input type="input" class="FormSmall" name="productService_{$company[loop].language_id}" style="width:500px;" id="productService_{$company[loop].language_id}" value="{$company[loop].productService|escape}" />	
							</td>
						</tr>				  	
							
						<tr class="firstalt">
							<td style="padding-left:10px;">　 <span>公司注册时间</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="yearCompanyRegistered" style="width:200px;" id="yearCompanyRegistered" value="{$yearCompanyRegistered|escape}" />
							</td>
						</tr>						
							
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司地址</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
							<div id="msgbox">
								<div class="msgbase">
								<input type="input" class="FormSmall" name="address_{$company[loop].language_id}" style="width:500px;" id="address_{$company[loop].language_id}" onblur="companyAddressCheck('address_{$company[loop].language_id}')" value="{$company[loop].address|escape}" />
									 <img src="images/required_icon.gif" />
								</div>
								<div  class="msg" style="width:205px;">
									<div class="" id="address_{$company[loop].language_id}Msg" style="display:none;"></div>
								</div>
							</div>				
							</td>
						</tr>
                        


						<tr class="firstalt">
							<td style="padding-left:10px;">　 <span>GOOGLE地图公司地址 </span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="googleMapAddress" style="width:500px;" id="googleMapAddress" value="{$googleMapAddress|escape}" />
								<br>(说明：能够从 <a href='http://ditu.google.cn/maps?hl=zh-cn&tab=wl' target=_blank>http://ditu.google.cn/maps?hl=zh-cn&tab=wl</a> 得到搜索结果的地址。)
							</td>
						</tr>	


						<tr class="firstalt">
							<td style="padding-left:10px;">　 <span>GOOGLE地图API密钥</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="googleMapKey" style="width:500px;" id="googleMapKey" value="{$googleMapKey|escape}" /><br> (说明：密钥获取地址：<a href='http://code.google.com/intl/zh-CN/apis/maps/signup.html' target=_blank>http://code.google.com/intl/zh-CN/apis/maps/signup.html</a>)
							</td>
						</tr>


                        <tr class="firstalt">
							<td style="padding-left:10px;">　 <span>邮编</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
                            	<div id="msgbox">
                                    <div class="msgbase">
                                        <input type="input" class="FormSmall" name="zip" style="width:200px;" id="zip" onblur="zipCheck('zip')" value="{$zip|escape}" /> <img src="images/required_icon.gif" />
                                    </div>
                                    <div  class="msg" style="width:205px;">
                                        <div class="" id="zipMsg" style="display:none;"></div>
                                    </div>
                                </div>
							</td>
						</tr>
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>员工人数</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="employeeNumber_{$company[loop].language_id}" style="width:200px;" id="employeeNumber_{$company[loop].language_id}" value="{$company[loop].employeeNumber|escape}" />
							</td>
						</tr>	
										
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>品牌</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="brands_{$company[loop].language_id}" style="width:200px;" id="brands_{$company[loop].language_id}" value="{$company[loop].brands|escape}" />
							</td>
						</tr>	
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>证书</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="certification_{$company[loop].language_id}" style="width:200px;" id="certification_{$company[loop].language_id}" value="{$company[loop].certification|escape}" />
							</td>
						</tr>					
						
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>年营业额</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="annualTurnover_{$company[loop].language_id}" style="width:200px;" id="annualTurnover_{$company[loop].language_id}" value="{$company[loop].annualTurnover|escape}" />
							</td>
						</tr>	
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>主要市场</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="mainMarkets_{$company[loop].language_id}" style="width:200px;" id="mainMarkets_{$company[loop].language_id}" value="{$company[loop].mainMarkets|escape}" />
							</td>
						</tr>					
						
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>出口比例</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="exportPercentage_{$company[loop].language_id}" style="width:200px;" id="exportPercentage_{$company[loop].language_id}" value="{$company[loop].exportPercentage|escape}" />
							</td>
						</tr>	
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>工厂位置</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="factoryLocation_{$company[loop].language_id}" style="width:500px;" id="factoryLocation_{$company[loop].language_id}" value="{$company[loop].factoryLocation|escape}" />
							</td>
						</tr>
						
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>工厂大小</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="factorySize_{$company[loop].language_id}" style="width:200px;" id="factorySize_{$company[loop].language_id}" value="{$company[loop].factorySize|escape}" />
							</td>
						</tr>	
						  
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司网址</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
                            	<div id="msgbox">
                                    <div class="msgbase">
                                        <input type="input" class="FormSmall" name="website_{$company[loop].language_id}" style="width:200px;" id="website_{$company[loop].language_id}" onblur="websiteCheck('website_{$company[loop].language_id}')" value="{$company[loop].website|escape}" /> <img src="images/required_icon.gif" />
                                    </div>
                                    <div  class="msg" style="width:205px;">
                                        <div class="" id="website_{$company[loop].language_id}Msg" style="display:none;"></div>
                                    </div>
                                </div>
							</td>
						</tr>					
					
						<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司摘要 <a href="#" title="&lt;img src='images/help/cadd2.gif'&gt;"><img src="images/help/help.gif" border="0" alt=""/></a></span></td>
					  <td style="padding-top:5px; padding-bottom:5px;">
								<textarea name="abstract_{$company[loop].language_id}" class="FormSmall" style="width:510px;height:50px;">{$company[loop].abstract}</textarea>
							</td>
						</tr>					
					
						<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司介绍</span></td>
							<td style="padding-top:3px;padding-bottom:3px;">
								{$company[loop].description}
							</td>
						</tr>						
						</table>
						<br><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" style="border:0px;"><img src="{$company[loop].country}" /> <span>Title标签</span></td>
                            <td width="280" style="border:0px;"><input type="input" class="FormSmall" name="metaTitle_{$company[loop].language_id}" style="width:200px;" value="{$company[loop].metaTitle|escape}"  /> <a href="#" title="建议网页标题最多30个汉字(或60个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                            <td width="110" style="border:0px;"><img src="{$company[loop].country}" /> <span>Keywords标签</span></td>
                            <td style="border:0px;"><input type="input" class="FormSmall" name="metaKeywords_{$company[loop].language_id}" style="width:200px;" value="{$company[loop].metaKeywords|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" style="border:0px;"><img src="{$company[loop].country}" /> <span>Description标签</span></td>
                <td style="border:0px;"><textarea name="metaDescription_{$company[loop].language_id}" class="FormSmall" style="width:595px;height:60px;">{$company[loop].metaDescription}</textarea>{$content[loop].metaDescription}</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{$company[loop].language_id}" class="close">
						<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Font">
										<tr class="firstalt">
											<td width="150" style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司名称</span></td>
										  <td style="padding-top:5px; padding-bottom:5px;">
									<input type="input" class="FormSmall" name="companyName_{$company[loop].language_id}" style="width:400px;" id="companyName_{$company[loop].language_id}" value="{$company[loop].companyName|escape}" />
											</td>
										</tr>
							
								<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司Logo</span> <a href="#" title="公司标志，显示在前台页面顶部左侧，图片最大1MB，允许(.jpg .gif .png)。" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>						<td style="padding-top:5px; padding-bottom:5px;">
								<input type="file"  class="FormSmall" name="image_{$company[loop].language_id}" /> {if $xml_config_company.logo_size}&nbsp;&nbsp;&nbsp;<span style="color:#FF0000;">{$xml_config_company.logo_size}</span>{/if}
								{if $company[loop].logo}
								  <br />
								  <a href="../upload/photo/{$company[loop].logo}" target="_blank"><img src="../upload/photo/{$company[loop].logo}" width="120" height="120" border="0" style="margin:5px" onload="setImgSizeWH(this.src,this,120,120)" /></a><br />
							<div style="font-size:12px;"><input name="delimg_{$company[loop].language_id}" type="checkbox" />&nbsp;删除</div>
								{/if}
							</td>
						</tr>	
							
							
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>商业类型</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
											<input type="input" class="FormSmall" name="businessType_{$company[loop].language_id}" style="width:500px;" id="businessType_{$company[loop].language_id}" value="{$company[loop].businessType|escape}" />
											</td>
										</tr>	
		
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>主要产品</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="productService_{$company[loop].language_id}" style="width:500px;" id="productService_{$company[loop].language_id}" value="{$company[loop].productService|escape}" />
											</td>
										</tr>				  	
											
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司地址</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
								<input type="input" class="FormSmall" name="address_{$company[loop].language_id}" style="width:500px;" id="address_{$company[loop].language_id}"  value="{$company[loop].address|escape}" />
											</td>
										</tr>	
										  
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>员工人数</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="employeeNumber_{$company[loop].language_id}" style="width:200px;" id="employeeNumber_{$company[loop].language_id}" value="{$company[loop].employeeNumber|escape}" />
											</td>
										</tr>	
														
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>品牌</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="brands_{$company[loop].language_id}" style="width:200px;" id="brands_{$company[loop].language_id}" value="{$company[loop].brands|escape}" />
											</td>
										</tr>	
										  
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>证书</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="certification_{$company[loop].language_id}" style="width:200px;" id="certification_{$company[loop].language_id}" value="{$company[loop].certification|escape}" />
											</td>
										</tr>
										
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>年营业额</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="annualTurnover_{$company[loop].language_id}" style="width:200px;" id="annualTurnover_{$company[loop].language_id}" value="{$company[loop].annualTurnover|escape}" />
											</td>
										</tr>	
										  
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>主要市场</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="mainMarkets_{$company[loop].language_id}" style="width:200px;" id="mainMarkets_{$company[loop].language_id}" value="{$company[loop].mainMarkets|escape}" />
											</td>
										</tr>					
										
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>出口比例</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="exportPercentage_{$company[loop].language_id}" style="width:200px;" id="exportPercentage_{$company[loop].language_id}" value="{$company[loop].exportPercentage|escape}" />
											</td>
										</tr>	
										  
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>工厂位置</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="factoryLocation_{$company[loop].language_id}" style="width:500px;" id="factoryLocation_{$company[loop].language_id}" value="{$company[loop].factoryLocation|escape}" />
											</td>
										</tr>					
										
										<tr class="firstalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>工厂大小</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="factorySize_{$company[loop].language_id}" style="width:200px;" id="factorySize_{$company[loop].language_id}" value="{$company[loop].factorySize|escape}" />
											</td>
										</tr>	
										  
										<tr class="secondalt">
											<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司网址</span></td>
											<td style="padding-top:5px; padding-bottom:5px;">
												<input type="input" class="FormSmall" name="website_{$company[loop].language_id}" style="width:200px;" id="website_{$company[loop].language_id}" value="{$company[loop].website|escape}" />
											</td>
										</tr>
										
										
												<tr class="firstalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司摘要 <a href="#" title="&lt;img src='images/help/cadd2.gif'&gt;"><img src="images/help/help.gif" border="0" alt=""/></a></span></td>
					  <td style="padding-top:5px; padding-bottom:5px;">
								<textarea name="abstract_{$company[loop].language_id}" class="FormSmall" style="width:510px;height:50px;">{$company[loop].abstract}</textarea>
							</td>
						</tr>				
										
										<tr class="secondalt">
							<td style="padding-left:10px;"><img src="{$company[loop].country}" /> <span>公司介绍</span></td>
							<td style="padding-top:5px; padding-bottom:5px;">
								{$company[loop].description}
							</td>
						</tr>						
							</table>
							<br><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 style="border:0px;"></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" style="border:0px;"><img src="{$company[loop].country}" /> <span>Title标签</span></td>
                            <td width="280" style="border:0px;"><input type="input" class="FormSmall" name="metaTitle_{$company[loop].language_id}" style="width:200px;" value="{$company[loop].metaTitle|escape}"  /> <a href="#" title="建议网页标题最多30个汉字(或60个英文字母)" style="margin-left:5px;" ><img src="images/help/help.gif" border="0" alt=""/></a></td>
                            <td width="110" style="border:0px;"><img src="{$company[loop].country}" /> <span>Keywords标签</span></td>
                            <td style="border:0px;"><input type="input" class="FormSmall" name="metaKeywords_{$company[loop].language_id}" style="width:200px;" value="{$company[loop].metaKeywords|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" style="border:0px;"><img src="{$company[loop].country}" /> <span>Description标签</span></td>
                <td style="border:0px;"><textarea name="metaDescription_{$company[loop].language_id}" class="FormSmall" style="width:595px;height:60px;">{$company[loop].metaDescription}</textarea>{$content[loop].metaDescription}</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="";
}

function doCompanySubmit(){
	CheResult = true;
	firstErrorControl = "";
	{/literal}
		{section name=loop loop=$company}
			{if $smarty.section.loop.index == 0}
	{literal}
		if(companyNameCheck("{/literal}companyName_{$company[loop].language_id}{literal}") == false)
			CheResult = false;

		if(companyAddressCheck("{/literal}address_{$company[loop].language_id}{literal}") == false)
			CheResult = false;
			
		if(zipCheck("zip") == false)
			CheResult = false;
		
		if(websiteCheck("{/literal}website_{$company[loop].language_id}{literal}") == false)
			CheResult = false;
			
		{/literal}
			{/if}
		{literal}
	{/literal}
		{/section}
	{literal}
	SetMsgFocus();
	return CheResult;
}
{/literal}
</script>
{include file="pagefooter.htm"}