if(@in_array($v_uid,$option[2])){
Showmsg('job_havevote');
}
if($winduid){
@in_array($winduid,$option[3]) && Showmsg('job_havevote');
}else{
@in_array($onlineip,$option[2]) && Showmsg('job_havevote');
}
foreach($option[2] as $vid=>$value){
if($value==$v_uid){
$votearray['options'][$key][1]--;
unset($votearray['options'][$key][2][$vid]);
}
}
foreach($option[3] as $vid=>$value){
if($value==$winduid){
unset($votearray['options'][$key][3][$vid]);
}
}
$votearray['options'][(int)$id][2][]=$v_uid;
!empty($winduid) && $votearray['options'][(int)$id][3][]=$winduid;
$previewable,$vote_close;
$previewable,$vote_close,$winduid;
if (@in_array(($windid ? $windid : $onlineip),$option[2])) {
$havevote = 'havevote';
}
if($winduid){
@in_array($winduid,$option[3]) && $havevote = 'havevote';
}else{
@in_array($onlineip,$option[2]) && $havevote = 'havevote';
}
新闻热点
疑难解答
图片精选