{:W('Weibo',array('tpl_name'=>'vote_share_weibo','button_title'=>'分享'))} $tpl_data = array('author'=>getUserName($vote['uid']),'title'=>$vote['title'],'url'=>U('vote/Index/pollDetail',array('id'=>$vote['id']))); $tpl_data = urlencode(serialize($tpl_data)); $param_data = urlencode(serialize(array('has_status'=>1,'is_success_status'=>1,'status_title'=>'发布成功'))); if($MyNewVote == 1){
}
{uavatar}
{$vote.vote_num} 参与人数

## {uname} 的{$ts['app']['app_alias']}

有效期：{$vote['cTime']|friendlyDate} - echo date('Y-m-d H:i:s',$vote['deadline'])

$isOwner = $mid == $vote['uid'] ? '1' : '0';

我的全部{$ts['app']['app_alias']}

{$vote['uid']|getUserName}的全部{$ts['app']['app_alias']}

if( $mid == $vote['uid'] ){ if ( $vote['deadline'] > time() ){ 增加候选项 | } 修改结束时间 | 删除{$ts['app']['app_alias']} }

# {$vote.title}(可选 echo intval( $vote['type'])+1; 个)

{$vote.explain}

if( $vote['deadline'] <= time() ){ 已结束 }elseif( $has_vote ){ 您已经投过票 }else{
}
if( $empty_friend ){ 还没有人参与投票 }else{

### 大家的投票情况：

loading...
}
{:W('Comment',array( 'type'=>'vote','appid'=>$vote['id'],'author_uid'=>$vote['uid'], 'title'=>$vote['title'], 'url'=>U('vote/Index/pollDetail',array('id'=>$vote['id'])), 'table'=>'vote','id_field'=>'id','comment_count_field'=>'commentCount' ))}