Rev 17018 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
17018 | bpr | 1 | !set basedir=bases/sheet/index |
6461 | bpr | 2 | !if $gotcntS > 0 |
3 | !set gotcnt=$gotcntS |
||
4 | !set gotm=$gotmS |
||
5 | !set gotd=$gotdS |
||
6 | !set gott=$gottS |
||
7 | !endif |
||
33 | reyssat | 8 | |
6620 | bpr | 9 | !default gotcntS=0 |
10 | !if $[$gotcntS + $gotcnt]=0 |
||
12822 | bpr | 11 | !changeto lang/welcome-S.phtml.$lang |
33 | reyssat | 12 | !endif |
7044 | bpr | 13 | |
6461 | bpr | 14 | <ul class="wims_home_result_list wims_sheet"> |
33 | reyssat | 15 | !for i=1 to $gotcnt |
12822 | bpr | 16 | !set m_=!line $i of $gotm |
17 | !set t_=!line $i of $gott |
||
18 | !set d_=!line $i of $gotd |
||
19 | !set i_=!line $i of $gotiS |
||
20 | !set n_=!line $i of $gotm_ |
||
17025 | bpr | 21 | |
22 | !default i_=$d_ |
||
23 | <li class="wims_home_result_list"> |
||
15375 | bpr | 24 | !href module=adm/sheet&job=read&sh=$m_ $t_ |
12822 | bpr | 25 | !if $i_ != $empty |
26 | , $i_ |
||
27 | !else |
||
28 | . |
||
29 | !endif |
||
17025 | bpr | 30 | !set serial=!lookup $m_ in wimshome/public_html/$basedir/serial |
31 | !set information=!lookup $serial in wimshome/public_html/$basedir/information |
||
32 | !set titre=!lookup $serial in wimshome/public_html/$basedir/title |
||
33 | !set desc=!lookup $serial in wimshome/public_html/$basedir/description |
||
34 | |||
35 | !set all=!record 0 of wimshome/public_html/bases/sheet/$m_.def |
||
36 | |||
37 | <pre>data from modind |
||
38 | serial=$serial |
||
39 | titre=$titre |
||
40 | information=$information |
||
41 | desc=$desc |
||
42 | </pre><pre> |
||
43 | data directly from the sheet=$all |
||
44 | </pre> |
||
45 | <pre> |
||
46 | m_=$m_ |
||
47 | t_=$t_ |
||
48 | i_=$i_ |
||
49 | d_=$d_ |
||
50 | </pre> |
||
12822 | bpr | 51 | </li> |
33 | reyssat | 52 | !next i |
5843 | bpr | 53 | </ul> |