
<!DOCTYPE html>
<html>
<head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>{wc:$key}</title>
<meta content="app-id=518966501" name="apple-itunes-app" /><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no, maximum-scale=1.0" /><meta content="yes" name="apple-mobile-web-app-capable" /><meta content="black" name="apple-mobile-web-app-status-bar-style" /><meta content="telephone=no" name="format-detection" /><link href="{G_TEMPLATES_CSS}/mobile/comm.css" rel="stylesheet" type="text/css" /><link href="{G_TEMPLATES_CSS}/mobile/single.css" rel="stylesheet" type="text/css" /><script src="{G_TEMPLATES_JS}/mobile/jquery190.js" language="javascript" type="text/javascript"></script><script id="pageJS" data="{G_TEMPLATES_JS}/mobile/BuyRecord.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" href="{G_TEMPLATES_CSS}/mobile/top.css"></head>
<body>
<div class="h5-1yyg-v1" id="loadingPicBlock">
    
<!-- 栏目页面顶部 -->


<!-- 内页顶部 -->
<header class="header">
<div class="n-header-wrap">
<div class="backbtn">
<a href="javascript:;" onclick="history.go(-1)" class="h-count white">
</a>
</div>
<div class="h-top-right ">
<a href="{WEB_PATH}/mobile/home" class="h-search white"></a>
</div>
<div class="n-h-tit"><h1 class="header-logo">{wc:$key}</h1></div>
</div>
</header>

    <input name="hidCodeID" type="hidden" id="hidCodeID" value="18101" />
    <input name="hidIsEnd" type="hidden" id="hidIsEnd" value="1" />

    <!-- 晒单记录 -->
    <section class="goodsCon">
	    <div class="cSingleCon">
			<p class="cEntry">已有<em class="orange">{wc:fun:count($shaidan)}</em>个幸运者晒单，<em class="orange">{wc:$sum}</em>条评论！</p>
	        <div id="postList" class="cSingleCon2" style="display:block;" z-minheight>
				{wc:loop $shaidan $sd}
				<div class="cSingleInfo">
					<dl class="fl"><a href="{WEB_PATH}/mobile/mobile/userindex/{wc:$sd['sd_userid']}"><img src="{G_UPLOAD_PATH}/{wc:fun:get_user_key($sd['sd_userid'],'img')}"><b></b></a></dl>
					<div class="cSingleR m-round" id="{wc:$sd['sd_id']}">
						<ul>
							<li><em class="blue" uweb="{wc:$sd['sd_userid']}">{wc:fun:userid($sd['sd_userid'],'username')}</em><strong>：</strong><span>{wc:$sd['sd_title']}</span></li>
							{wc:php:start}
								$qs=$this->db->GetOne("select * from `@#_shoplist` where `id`='$sd[sd_shopid]'");				
							{wc:php:end}							
							<li><h3><b>第{wc:$qs['qishu']}期晒单</b> {wc:fun:date('Y-m-d H:i:s',$sd['sd_time'])}</h3></li>
							<li><p>{wc:$sd['sd_content']}</p></li>
							<li class="maxImg">
							{wc:php:start}
								$p=trim($sd['sd_photolist'],";");
								$img=explode(';',$p);
								foreach($img as $i){
									echo '<img src="'.G_UPLOAD_PATH.'/'.$i.'">';
								}								
							{wc:php:end}
							</li>
							<li><dd><s></s><strong>{wc:$sd['sd_zhan']}</strong>人羡慕嫉妒</dd><dd><i></i><strong>{wc:$sd['sd_ping']}</strong>条评论</dd></li>
						</ul><b class="z-arrow"></b>
					</div>
				</div>
				{wc:loop:end}
			</div>
        </div>
    </section>
   

    
{wc:templates "mobile/index","footer"}
<script language="javascript" type="text/javascript">
//跳转页面
	$(".cSingleInfo li:not(:first)").click(function(){
		var id=$(this).parent().parent().attr('id');
		if(id){
			window.location.href="{WEB_PATH}/mobile/shaidan/detail/"+id;
		}			
	});
	$(".cSingleInfo .blue").click(function(){
		var id=$(this).attr('uweb');
		if(id){
			window.location.href="{WEB_PATH}/mobile/mobile/userindex/"+id;
		}	
	});	
</script>

</div>
</body>
</html>
