Rev 7759 |
Rev 10006 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
!set t
=!recordcnt wimshome
/log/classes
/$wims_class/vote
/.votes
!set avlist=
!for i=1 to $t
!set v_
$i=!record
$i of wimshome
/log/classes
/$wims_class/vote
/.votes
!set a_=!line 1 of $(v_$i)
!if $a_>=1 and $a_<=2
!set avlist=!append item $i to $avlist
!endif
!set v=!itemcnt $avlist
!if $v>0
<!-- _widgets/uservote.phtml -->
<div class="wims_seq">
<div class="wims_title_seq">$wims_name_Votes</div>
<ul class="wims_work_list">
!for i=1 to $v
!set sv=!item $i of $avlist
!distribute lines $(v_$sv) into ac,ti
<li class="wims_vote_item">
<span class="wims_user_vote_type">$wims_name_Vote $i</span>
<span class="wims_user_vote_desc">
!href module=adm/vote&job=read&vote=$sv $ti
</span>
<span class="wims_user_vote_expire">
!if $ac>=2
$U_expired
!else
!endif
</span>
</li>
</ul>
</div>
<!-- end _widgets
/uservote
.phtml
-->
!endif