<!--公司简介-->

{if $channel.channel_id == 14 && $is_page == 1}
<tr>
<td class="label"><a href="#" title="企业Logo,PNG格式，主要显示在首页顶部，{$logo_size}。" style="margin-right:5px;" ><img src="images/help.gif" border="0" alt=""/></a> LOGO:</td>
<td>
<input class="upload_image_btn" id="upload_image_{$list.language_id}" name="upload_image_{$list.language_id}" type="file" ref="{$list.language_id}" />
 <span style="color:#FF0000;">{$logo_size}</span>

<div id="image_box_{$list.language_id}">
{if $list.image neq ""}<br />
<a href="../{$list.image}" target="_blank"><img src="../{$list.image_thumb}" border="0"  /></a>
<div style="width:150px;text-align:center;">
{literal}
<a href="javascript:;" onclick="if(confirm('您确实要删除吗?')){drop_image({/literal}{$list.language_id}{literal});}">删除</a>
{/literal}
</div>
{/if}
</div>

<input name="image_{$list.language_id}" type="hidden" value="{$list.image}" id="image_{$list.language_id}" />
</td>
</tr>

<tr>
<td class="label" width="120"><a href="#" title="显示在首页中间主要位置。" style="margin-right:5px;" ><img src="images/help.gif" border="0" alt=""/></a>企业广告语:</td>
<td><input name="ext_field_{$list.language_id}[corp_slogan]" type="text" value="{$list.ext_field.corp_slogan}" style="width:250px;" class="FormSmall" /> <span class="required">&nbsp;</span><span style="color:#FF0000;">用一句话总结：您企业是为用户解决什么问题的！</span></td>
</tr>

<tr>
<td class="label" width="120">网址:</td>
<td><input name="ext_field_{$list.language_id}[website]" type="text" value="{$list.ext_field.website}" style="width:250px;" class="FormSmall" /> <span class="required">&nbsp;</span><span style="color:#FF0000;">当需要手机访问[电脑版]网站时的网址，如 "http://www.nitc.cc"</span></td>
</tr>

<script language="javascript" type="text/javascript">
{literal}
$('.upload_image_btn').each(function(){
	var obj = this;
	$(this).uploadify({
		'formData'     : {
			'rand_str' 	: '{/literal}{$rand_str}{literal}',
			'hash'     	: '{/literal}{$hash}{literal}',
			'session_id' : '{/literal}{$session_id}{literal}',
			'thumb_width'  : '150',
			'thumb_height' : '150',
			'img_type'  : 'image'
		},	
		'multi':false,
		'width':'94',
		'height':'25',
		'buttonText':'',
		'buttonImage':'images/add_image_1.png',
		'swf':'images/uploadify.swf',
		'uploader' : 'uploadify.php',
		'fileTypeDesc' : 'Image Files',
		'fileSizeLimit' : '2048KB',
		'fileTypeExts' : '*.gif; *.jpg; *.png',
		'itemTemplate' : '<div style="display:none;"></div>',
		'onUploadStart' : function(file) {
			//$("#loading").fadeIn("fast");
		},
		'onUploadSuccess' : function(file, data, response) {
			result = $.parseJSON(data);
			if(result.error == 1){
				alert(result.message);
			}else{
				$('#image_box_'+$(obj).attr('ref')).html("<a href=\"../"+result.image+"\" target=\"_blank\"><img src=\"../"+result.image_thumb+"\" border=\"0\"  /></a><div style=\"width:150px;text-align:center;\"><a href=\"javascript:;\" onclick=\"if(confirm('您确实要删除吗?')){drop_image("+$(obj).attr('ref')+");}\">删除</a></div>");
				$('#image_'+$(obj).attr('ref')).val(result.image);
			}
		 }
	});
});

function drop_image(language_id){
	$('#image_box_'+language_id).html('');
	$('#image_'+language_id).val('');
}
{/literal}
</script>
{/if}
<!--企业文化-->
{if $channel.channel_id == 18 && $is_page == 1}
<tr>
<td class="label" width="120">价值观:</td>
<td><input name="ext_field_{$list.language_id}[values]" type="text" value="{$list.ext_field.values}" style="width:250px;" class="FormSmall" /> </td>
</tr>

<tr>
<td class="label" width="120">经营理念:</td>
<td><input name="ext_field_{$list.language_id}[bus_philosophy]" type="text" value="{$list.ext_field.bus_philosophy}" style="width:250px;" class="FormSmall" /> </td>
</tr>


<tr>
<td class="label" width="120">公司使命:</td>
<td><input name="ext_field_{$list.language_id}[company_mission]" type="text" value="{$list.ext_field.company_mission}" style="width:250px;" class="FormSmall" /> </td>
</tr>

<tr>
<td class="label" width="120">公司目标:</td>
<td><input name="ext_field_{$list.language_id}[company_goals]" type="text" value="{$list.ext_field.company_goals}" style="width:250px;" class="FormSmall" /> </td>
</tr>
{/if}

{if $channel.show_type == $channel_type.channel_type_link && $is_page == 1}
<tr>
<td class="label">链接地址:</td>
<td>
<input name="ext_field_{$list.language_id}[link]" type="text" value="{$list.ext_field.link}" style="width:250px;" class="FormSmall" /> 请在网址前加 http:// 
</td>
</tr>	
{/if}

{if $channel.channel_id == $sys_channel.channel_mobile && $is_page == 1}
<tr>
<td class="label">二维码:</td>
<td>
<img src="../qrcode.php?act=qrcode&lang_id={$list.language_id}" width="200" height="200" />
</td>
</tr>	
{/if}