Subversion Repositories wimsdev

Rev

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

!set basedir=bases/sheet/index
!if $gotcntS > 0
  !set gotcnt=$gotcntS
  !set gotm=$gotmS
  !set gotd=$gotdS
  !set gott=$gottS
!endif

!default gotcntS=0
!if $[$gotcntS + $gotcnt]=0
  !changeto lang/welcome-S.phtml.$lang
!endif

<ul class="wims_home_result_list wims_sheet">
!for i=1 to $gotcnt
  !set m_=!line $i of $gotm
  !set t_=!line $i of $gott
  !set d_=!line $i of $gotd
  !set i_=!line $i of $gotiS
  !set n_=!line $i of $gotm_

  !default i_=$d_
   <li class="wims_home_result_list">
  !href module=adm/sheet&job=read&sh=$m_ $t_
  !if $i_ != $empty
    , $i_
  !else
    .
  !endif
  !set serial=!lookup $m_ in wimshome/public_html/$basedir/serial
  !set information=!lookup $serial in wimshome/public_html/$basedir/information
  !set titre=!lookup $serial in wimshome/public_html/$basedir/title
  !set desc=!lookup $serial in wimshome/public_html/$basedir/description

  !set all=!record 0 of wimshome/public_html/bases/sheet/$m_.def

  <pre>data from modind
  serial=$serial
  titre=$titre
  information=$information
  desc=$desc
  </pre><pre>
  data directly from the sheet=$all
  </pre>
  <pre>
  m_=$m_
  t_=$t_
  i_=$i_
  d_=$d_
</pre>
  </li>
!next i
</ul>