<!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>{tab_other_language::get("商品评价")}-{cfg:(site_title,sys)}</title>
<meta name="keywords" content="{cfg:(keywords,sys)}"/>
<meta name="description" content="{cfg:(description,sys)}"/>
<link rel="stylesheet" type="text/css" href="/common/images/common.css"/>
<link rel="stylesheet" type="text/css" href="images/css.css"/>
<script src="{cfg:(dirpath,base)}/common.php?app=sys&app_act=web.config&app_ajax=1"></script>
<script src="/common/js/kj.js"></script>
<script src="/common/js/kj.page.js"></script>
</head>
<body style="overflow-x:hidden">
<div class="shop_comment">
	<table class="xtotal">
		<tr><td class="x1"><h1>{$menucomment['menu_comment']}<font>分</font></h1><p><span class="starbg"><font style="width:<?php echo $menucomment['menu_comment']/5*100;?>%"></font></span></p><p>{tab_other_language::get("共有")} <font class='xnum' id="id_comment_num">{$arr_list['pageinfo']['total']}</font> {tab_other_language::get("人评价")}</p></td>
		<td class="x3">
			{foreach($menucomment['commentval'] as $item=>$key)}
			<p><font>{$item}分</font><span><font style="width:<?php echo number_format($key/$menucomment['commenttotalren']*100,2);?>%"></font></span><font>{$key}人</font></p>
			{/foreach}
		</td>
		</tr>
	</table>
	<div class="xtit">{tab_other_language::get("全部评价")}</div>
	<div class="xlist" id="id_comment_list">
		{foreach($arr_list['list'] as $item)}
			<ul>
				<li class="xxtit"><span>{$item['user_name']}</span><span><img src="images/vip{$item['level']}.png"></span><span>{$item['addtime']}</span><span class="xstar"><font style="width:{$item['val']}%"></font></span></li>
				<li class="xcont">{$item['comment_beta']}</li>
				{if(!empty($item['pic']))}
				<li class="xpic">
				{foreach($item['pic'] as $pic)}
				<img src = "{fun_get::html_url($pic)}" onclick="kj.pic.preview('{$pic}')">
				{/foreach}
				</li>
				{/if}
				{if(!empty($item['comment_recont']))}
				<li class="xrecont">
				{$item['comment_recont']}
				</li>
				{/if}
			</ul>
		{/foreach}
	</div>
</div>
<div class="page">
	<li{if($arr_list['pagebtns']['pre']<1)} class="xnone"{/if}><a href="{if($arr_list['pagebtns']['pre']<1)}javascript:void(0);{else}{fun_get::url(array('page'=>''))}&page={$arr_list['pagebtns']['pre']}{/if}">{tab_other_language::get("上一页")}</a></li>
	{if($arr_list['pagebtns']['start']!=1)}<li><a href="{fun_get::url(array('page'=>''))}&page=1">1</a></li>{/if}
	{if($arr_list['pagebtns']['start']>2)}
		<li class="xnone"><font>...</font></li>
	{/if}
	{foreach($arr_list['pagebtns']['list'] as $item)}
	<li{if(fun_get::get('page',1)==$item)} class="xsel"{/if}><a href="{fun_get::url(array('page'=>''))}&page={$item}">{$item}</a></li>
	{/foreach}
	{if($arr_list['pagebtns']['end']<$arr_list['pageinfo']['pages']-1)}
		<li class="xnone"><font>...</font></li>
	{/if}
	{if($arr_list['pagebtns']['end']<$arr_list['pageinfo']['pages'])}
	<li><a href="{fun_get::url(array('page'=>''))}&page={$arr_list['pageinfo']['pages']}">{$arr_list['pageinfo']['pages']}</a></li>
	{/if}
	<li{if($arr_list['pagebtns']['next']<1)} class="xnone"{/if}><a href="{if($arr_list['pagebtns']['next']<1)}javascript:void(0);{else}{fun_get::url(array('page'=>''))}&page={$arr_list['pagebtns']['next']}{/if}">{tab_other_language::get("下一页")}</a></li>
	</li>
</div></body>
</html>