<script type="text/javascript" src="{$_config[siteurl]}include/javascript/review.js"></script>
<script type="text/javascript">
window.onload = function() {
    user_effect($couponid,'coupon','effect1','getusers');
}
</script>
<div id="body">
<div class="link_path">
    <em>本信息已浏览 <span class="font_2">$detail[pageview]</span> 次</em>
    <a href="{$_config[siteurl]}">首页</a>&nbsp;&raquo;&nbsp;<a href="{$MOD[url]}">$MOD[name]</a>&nbsp;&raquo;&nbsp;<a href="{$MOD[url]}?ac=detail&couponid=$couponid">$detail[subject]</a>
</div>
<div class="mainrail rail-border-3">
    <div id="coupon_left">
        <h1 class="d-subject"><strong>$detail[subject] : $detail[des]</strong></h1>
        <div class="d-info">
            <li>商家：<a href="{$_modules['shop']['url']}shop.php?shopid=$shop[sid]">$shop[fullname]</a>&nbsp;&nbsp;地址：$shop[fulladdress]</li>
            <li>有效期：<span class="font_1">{date $detail[starttime]} ~ {date $detail[endtime],'Y-m-d'}</span></li>  
            <li>上传者：<a href="{$_modules[space][url]}index.php?suid=$detail[uid]">$detail[username]</a> @ {date $detail[dateline]}</li>
        </div>
        <div class="d-pic">
            <button type="button" onclick="window.open('{$MOD[url]}?ac=print&pic=$detail[picture]');" />打印图片</button>
            <img src="{$_config[siteurl]}uploads{$detail[picture]}" />
        </div>
        <h5>简介内容：</h5>
        <p>$detail[content]</p>
    </div>
    <div id="coupon_right" style="margin-top:5px;">
        <div class="mainrail rail-border-3">
            <em><a href="javascript:user_effect($couponid,'coupon','effect1','add','getuser');">有用</a>&nbsp;<a href="javascript:user_effect($couponid,'coupon','effect1','dec','getuser');">没用</a></em>
            <h3 class="rail-h-3 rail-h-bg-3"><strong>本条信息对<span id="num_effect1">$detail[effect1]</span>人有用</strong></h3>
            <ul class="rail-list">
                <li id="users_effect1"><!--{loop $effects $val}--><a href="{$_modules[space][url]}index.php?suid=$val[uid]">$val[username]</a><!--{/loop}--></li>
            <ul>
        </div>
        <div class="mainrail rail-border-3">
            <h1 class="rail-h-3 rail-h-bg-3"><strong>其他热门$MOD[name]</strong></h1>
            <ul class="rail-list">
                <!--{datacall:4}-->
            <ul>
            <ul>
        </div>
        <div class="mainrail rail-border-1">
            <!--{datacall:28}-->
        </div>
    </div>
    <div class="clear"></div>
</div>
</div>