$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){
}
{$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 ){ 大家还没有{$ts['app']['app_alias']} }else{

### 大家的{$ts['app']['app_alias']}情况：

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' ))}
登陆后方可发表评论