Subversion Repositories wimsdev

Rev

Rev 9597 | Rev 13681 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !!set already_seen=!record 0 of $forumdir/.users/$forumrealuser
  2.  
  3. !read desc.phtml
  4. <br />
  5. !if $tot<=0
  6.  !if $mlist!=.newlist
  7.   $n_nomessage
  8.  !else
  9.   $n_emptyforum
  10.  !endif
  11. !else
  12.  !if $mlist=.newlist
  13.   $n_list, $n_most
  14.  !else
  15.   $n_list_month
  16.   !item $lmon of $monthnames
  17.   $lyear, $n_most
  18.  !endif
  19.  !item $l_order of $n_old
  20. .
  21.  !set wims_ref_class=wims_button
  22.  !href cmd=reply&l_order=$[$l_order%2+1] $n_reverse
  23.  
  24.  <div class="wimscenter">
  25.  !set wims_ref_class=wims_button
  26.  !href cmd=reply&job=threadlist& $n_bysubject
  27.  &nbsp;&nbsp;
  28.  !if $mlist!=.newlist
  29.    !set wims_ref_class=wims_button
  30.    !href cmd=reply&job=list&mlist=.newlist $n_bydate
  31.  !else
  32.    <span class="wims_button disabled">$n_bydate</span>
  33.  !endif
  34.  !if $mlist=.newlist
  35.    !set mlist1=!record 0 of $forumdir/$mlist
  36.    !set mlist1=!line -1 of $mlist1
  37.    !set mlist1=!word 1 of $mlist1
  38.    !set wims_ref_class=wims_button
  39.    !href cmd=reply&job=list&mlist=$mlist1 $n_recent
  40.  !else
  41.   <span class="wims_button disabled">$n_recent</span>
  42.  !endif
  43. </div>
  44.  
  45.  <ul class="wims_forum_list">
  46.  !if $l_order=1
  47.   !distribute item $tot,1,-1 into start,end,step
  48.  !else
  49.   !distribute item 1,$tot,1 into start,end,step
  50.  !endif
  51.  !for i=$start to $end step $step
  52.   !if $mlist=.newlist
  53.    !set l_=!line $i of $mnew
  54.    !distribute word $l_ into a_,b_
  55.    !set l_=!record $b_ of $forumdir/$a_/.msglist
  56.   !else
  57.    !set l_=!record $i of $forumdir/$mlist/.msglist
  58.   !endif
  59.   !read listone.phtml $l_
  60.   </li>
  61.  !next i
  62.  </ul>
  63. !endif
  64.  
  65. !read listarch.phtml
  66.  
  67.