<?php $title = $sale['subject'].' - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<?php echo backLink();?>/<?php echo ilink('抢拍首页',url('system',array('s'=>'sale')));?>

<div class="nav">本周抢拍：<?php echo $sale['subject'];?></div>
<div class="content">
<div class="comment">
<?php if(!SALE_STOP && !empty($expire)):?>剩余时间：<b><?php echo $expire;?></b><br/><?php endif;?>
参与人数：<?php echo ilink($count,url('system',array('s'=>'sale','a'=>'joinlist','id'=>$sale['id'])));?>人
<br/>
<?php if (!empty($top)):?>
    当前领先：<?php echo ilink(userName($top['uid']),url('system',array('s'=>'member','uid'=>$top['uid'])));?>,落后了?我要<?php echo ilink('追加',url('system',array('s'=>'sale','a'=>'append','id'=>$sale['id'])));?>赢得奖品!
    <br/>
<?php endif;?>
最低叫价：<?php echo $sale['least'].setting('creditname');?>
<br/>
当前总额：<span class="r"><?php echo $sale['amount'].setting('creditname');?></span>
<br/>
平均额度：<?php if ($count > 0 && $sale['amount'] > 0):?><?php echo round($sale['amount'] / $count);?><?php else:?>0<?php endif;?><?php echo setting('creditname');?>
<br/>

开始时间：<span class="f"><?php echo $sale['begin'];?></span>
<br/>
结束时间：<span class="f"><?php echo $sale['end'];?></span><?php if (SALE_STOP):?><b>(本周抢拍已停止)</b><?php endif;?>
<br/>
相关说明：
<br/>
<?php echo $sale['content'];?>
</div>
<?php if ($this->uid()):?>
    <form action="<?php echo url('system', array('s'=>'sale','a'=>'join','id'=>$sale['id']));?>" method="post">
	您当前拥有<?php echo setting('creditname');?>:<span class="r"><?php echo u('extcredits1');?></span>
	<br/>
	参与抢拍<?php echo setting('creditname');?>数:<input type='text' name='credit' value='' size='6' />
    <br/>
    <input type="submit" value="提交确定参与" />
	</form>
<?php else:?>
	每周抢拍只对<?php echo setting('webname');?><?php echo ilink('验证会员',url('help/index',array('module'=>'member_6')));?>开放,请先<?php echo ilink('登录',url('system',array('s'=>'member','a'=>'login')));?>或者<?php echo ilink('免费注册',url('system',array('s'=>'member','a'=>'register')));?>
<?php endif;?>
</div>

<div class="kind">≠抢拍规则≠</div>
<div class="content">
1.抢拍开始后,任意投注<?php echo ilink(setting('creditname'),url('help/index',array('module'=>'money_1')));?>额度,可以在结束前任意追加.<br/>
2,抢拍结束之后,投注<?php echo ilink(setting('creditname'),url('help/index',array('module'=>'money_1')));?>最高额度的书友为获胜,赢得抢拍奖品并扣除对应的<?php echo setting('creditname');?>投注额.<br/>
3,其他没有赢得奖品的书友,系统将会把投注<?php echo ilink(setting('creditname'),url('help/index',array('module'=>'money_1')));?>额自动扣除20%手续费后返还原账号.<br/>
4,<?php echo setting('webname');?>抢拍会每周举办一次,属于站内会员娱乐活动,<?php echo setting('webname');?>拥有最终解释权利.<br/>

</div>
<?php echo backLink();?>/<?php echo ilink('抢拍首页',url('system',array('s'=>'sale')));?>
<br/>
<?php include_once tpl('globalFooter');?>