<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="{{$head[keywords]}}" />
<meta name="description" content="{{$head[description]}}" />
<base href="{{$DIRCMS['site_url']}}" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link href="template/{{$DIRCMS['tpl_name']}}/css/share.css" type="text/css" rel="stylesheet" />
<link href="template/{{$DIRCMS['tpl_name']}}/css/company.css" type="text/css" rel="stylesheet" />
<script language="JavaScript">
<!--
function killerrors() 
{ 
	return true; 
}
window.onerror = killerrors;
//-->
</script>
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="images/js/comment.func.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="template/{{$DIRCMS['tpl_name']}}/images/site.js"></script>
<title>{{$head[title]}}</title>
</head>

<body>
	<div class="company_top">
		<div class="company_top_main">
			<div class="company_top_main_left">
				<div id="login_div">
				<a href="member/index.php?file=login&action=login">登录</a> | <a href="member/index.php?file=login&action=register">注册</a>
				</div>
				<div id="usercenet" style="display:none">
				浏览器不支持Js!
				</div>
			<script language="javascript" src="login.js.php"></script>
			</div>
			<div class="company_top_main_right">
			<a href="post/index.php" target="_blank">免费发布信息</a> | <a href="{{$DIRCMS['site_url']}}">网站首页</a> | <a href="member/index.php?file=login&action=login">商家入驻</a></div>
			</div>
		</div>
	</div>
	<div class="company_nav">
		<div class="company_nav_logo"><img src="{{if $companypic}}{{$companypic}}{{else}}images/nopic.gif{{/if}}" align="absmiddle" /> {{$companyname}}</div>
		<ul>
			{{loop $menu $__key $_menu}}
			<li><a href="{{$_menu['url']}}" {{if $__key==1}}class="current"{{/if}}>{{$_menu['name']}}</a></li>
			{{end loop}}
		</ul>
	</div>
	<div class="company_body">
		<div class="company_body_left">
			<div class="company_c_nav">基本信息</div>
			<div class="company_baseinfo">
				<div class="company_baseinfo_t">{{$companyname}}</div>
<span>商家积分：</span>{{$point}} 分
<br />
<span>店铺地址：</span>{{$address}}
<br />
<span>交通路线：</span>{{$busroute}}
<br />
<span>营业时间：</span>{{$openingtime}}
<br />
<span>在线客服：</span> <span class="qq"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={{$qq}}&site=qq&menu=yes">{{$qq}}</a></span>
<br />
				<div class="tel">{{$phone}}</div>
			</div>
			<div class="company_c_nav">认证信息</div>
			<div class="company_baseinfo">
				{{if $shenfenzheng}}
				<img src="template/{{$DIRCMS['tpl_name']}}/images/person1.gif" align="absmiddle" />  本店铺已提交身份证，通过认证 
				{{else}}
				<img src="template/{{$DIRCMS['tpl_name']}}/images/person0.gif" align="absmiddle" />  本店铺未提交身份证，尚未认证 
				{{/if}}
				<br />
				{{if $zhizhao}}
				<img src="template/{{$DIRCMS['tpl_name']}}/images/company1.gif" align="absmiddle" />  <a href="{{$zhizhao}}" target="_blank">本店铺已提营业执照，通过认证 </a>
				{{else}}
				<img src="template/{{$DIRCMS['tpl_name']}}/images/company0.gif" align="absmiddle" />  本店铺未通过营业执照认证
				{{/if}}
				<div class="company_body_baoc" style="width:215px; overflow:hidden">
				<a href="about/connectus.html" target="_blank"><img src="template/{{$DIRCMS['tpl_name']}}/images/baocuo.gif" /></a>
				<a href="about/connectus.html" target="_blank"><img src="template/{{$DIRCMS['tpl_name']}}/images/renling.gif" /></a>
				</div>
			</div>
		</div>
		<div class="company_body_right">
			<div class="company_body_right_top">
				<div class="company_body_right_top_left">
					{{if $pics}}
					{{code $pic_array=getImages($pics);}}
					{{loop $pic_array $r}}
					{{code $focus_title[]=str_replace(array('"','\''),array('',''),$r['name']);}}
					{{code $focus_imgs[]=str_replace(array('"','\''),array('',''),$r['url']);}}
					{{code $focus_urls[]=str_replace(array('"','\''),array('',''),$r['url']);}}
					{{/loop}}
					<script type="text/javascript">
					<!--
						var focus_width=435
						var focus_height=225
						var text_height=0
						var swf_height = focus_height+text_height
						
						var pics='{{code echo implode("|",$focus_imgs);}}'
						var links='{{code echo implode("|",$focus_urls);}}'
						var texts='{{code echo implode("|",$focus_title);}}'	
						document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
						document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
						document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
						document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
						document.write('<embed ID="focus_flash" src="images/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#Ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');		
						document.write('</object>');
					//-->
					</script>
					<!--焦点图结束-->
					{{else}}
					<img src="{{$companypic}}" width="435" height="225" />
					{{/if}}
				</div>
				<div class="company_body_right_top_right">
					<div class="dpdt_nav"></div>
					<ul>
						{{dir:co_news memberid="$id" row="8" page="0"}}
						<li><a href="{{$DIRCMS['site_url']}}company/shownews_{{mydc:id}}.html" target="_blank">{{mydc:title}}</a></li>
						{{/dir:co_news}}
					</ul>					
				</div>
			</div>
			{{if $pics}}
			<script language="javascript"> 
				$(function(){ 
				var ei = $("#large"); 
				ei.hide(); 
				$(".sp img").mouseover(function(e){ 
				ei.css({top:e.pageY,left:e.pageX}).html('<img style="border:1px solid gray;" width="500" src="' + this.src + '" />').fadeIn(); 
				}).mouseout( function(){ 
				ei.hide(); 
				})
				}); 
			</script>
			<style type="text/css"> 
			#large{position:absolute;display:none;z-index:999;} 
			</style> 
			<div class="long_nav">
				<div class="long_nav_left">商家图片</div>
				<div class="long_nav_right"></div>
			</div>
			<div class="company_body_right_box">
				<ul>
					{{code $pic_array=getImages($pics);}}
					{{loop $pic_array $r}}
						<li class="sp"><a href="{{$r['url']}}" target="_blank"><img src="{{$r['url']}}" title="{{$r['name']}}" /><br />{{$r['name']}}</a></li>	
					{{/loop}}
				</ul>
			</div>
			<div id="large"></div>
			{{/if}}
			{{if $shipin}}
			<div class="vedio_nav">
				<div class="vedio_nav_left">视频展示</div>
				<div class="vedio_nav_right"></div>
			</div>
			<div class="company_body_right_vedio">
				<ul>
					{{code $shipin_array=getVedios($shipin);}}
					{{loop $shipin_array $r}}
					<li><embed src="{{$r['url']}}" type="application/x-shockwave-flash" play="true" loop="true" width="135" height="95" menu="true"></embed><br /><a href="{{$r['url']}}" target="_blank">{{$r['name']}}</a></li>
					{{/loop}}
				</ul>
			</div>
			{{/if}}
			<script language="javascript"> 
				$(function(){ 
				var ei = $("#plarge"); 
				ei.hide(); 
				$(".bp img").mouseover(function(e){ 
				ei.css({top:e.pageY,left:e.pageX}).html('<img style="border:1px solid gray;" width="500" src="' + this.src + '" />').fadeIn(); 
				}).mouseout( function(){ 
				ei.hide(); 
				})
				}); 
			</script>
			<style type="text/css"> 
			#plarge{position:absolute;display:none;z-index:999;} 
			</style> 
			<div class="long_nav">
				<div class="long_nav_left">{{getmenuNamebyid($id,5)}}</div>
				<div class="long_nav_right"><a href="{{$DIRCMS['site_url']}}company/product_{{$id}}_1_1.html" target="_blank">更多</a></div>
			</div>
			<div class="company_body_right_box">
				<ul>
					{{dir:co_product memberid="$id" row="4" page="0"}}
					<li class="bp"><a href="{{$DIRCMS['site_url']}}company/showproduct_{{mydc:id}}.html" target="_blank"><img src="{{mydc:pruductimg}}" /><br />{{mydc:product}}</a></li>
					{{/dir:co_product}}
				</ul>
			</div>
			<div id="plarge"></div>
			<div class="long_nav">
				<div class="long_nav_left">最新点评</div>
				<div class="long_nav_right"></div>
			</div>
			
			{{dir:co_guestbook memberid="$id" row="8" page="0"}}
			<div class="company_body_comment">
				<div class="company_body_comment_left">
					<img src="{{mydc:userface}}" /><br />{{mydc:username}}
				</div>
				<div class="company_body_comment_right">
服务 <img src="template/{{$DIRCMS['tpl_name']}}/images/star/{{mydc:fuwu}}.gif" />
品质 <img src="template/{{$DIRCMS['tpl_name']}}/images/star/{{mydc:pinzhi}}.gif" /> 
性价比 <img src="template/{{$DIRCMS['tpl_name']}}/images/star/{{mydc:xingjiabi}}.gif" />
<br />
<a href="{{$DIRCMS['site_url']}}company/company_{{mydc:memberid}}.html" target="_blank"><img src="template/{{$DIRCMS['tpl_name']}}/images/{{mydc:score}}.gif" /></a>
{{mydc:content}}
<br />
<span style="color:#666">[发布于{{date('Y-m-d H:i:s',mydc:addtime)}}]</span> 
				</div>
			</div>
			{{/dir:co_guestbook}}

			
			<div class="long_nav">
				<div class="long_nav_left">发布点评</div>
				<div class="long_nav_right">&nbsp;</div>
			</div>
			<div class="company_body_comment_p">
			<form action="company/comment.php" method="post" name="cform" id="commentform">
			<input type="hidden" name="memberid" value="{{$id}}" />
			<input type="hidden" name="membername" value="{{$username}}" />
			<input type="hidden" name="authkey" value="{{md5(AUTH_KEY.$id.$username)}}" />
			<select name="fuwu">
				<option value="1">-服务-</option>
				<option value="0">差(0)</option>
				<option value="1">一般(1)</option>
				<option value="2">还行(2)</option>
				<option value="3">好(3)</option>
				<option value="4">很好(4)</option>
				<option value="5">非常好(5)</option>
			</select>
			
			<select name="pinzhi">
				<option value="1">-环境-</option>
				<option value="0">差(0)</option>
				<option value="1">一般(1)</option>
				<option value="2">还行(2)</option>
				<option value="3">好(3)</option>
				<option value="4">很好(4)</option>
				<option value="5">非常好(5)</option>
			</select>
			
			<select name="xingjiabi">
				<option value="1">-性价比-</option>
				<option value="0">差(0)</option>
				<option value="1">一般(1)</option>
				<option value="2">还行(2)</option>
				<option value="3">好(3)</option>
				<option value="4">很好(4)</option>
				<option value="5">非常好(5)</option>
			</select>
			<br />
			总  体：<input type="radio" name="score" value="80" style="border:0px">喜欢 <input type="radio" checked="checked" name="score" value="60" style="border:0px">无所谓 <input type="radio"  name="score" value="30" style="border:0px">不喜欢
			<br />
			请在下面输入评论内容 (仅限200字
			<br />
			<textarea cols="96" rows="8"  name="content" id="c_content"></textarea>
			<br />
			验证码：<input type="text" name="chkcode" id="c_chkcode" size="8"/> <img src="{{$DIRCMS['site_url']}}checkcode.php" onclick="this.src='{{$DIRCMS[site_url]}}checkcode.php?id='+Math.random()*5;" style="cursor:pointer;" align="middle" alt="验证码,看不清楚?请点击刷新验证码"/><br />
			<br />
			<input type="submit" value="直接发表" class="yl_btn" />
			</form>
			<span id="commentmsg" style="color:#FF3300"></span>
			</div>
		</div>
	</div>
	<!-- 底部 -->
	{{tlp footer}}
</body>
</html>