Rev 12950 | Rev 13005 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12950 | Rev 13003 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | !set table_class=sortable |
33 | !set table_class=sortable |
34 | !endif |
34 | !endif |
35 | $table_header |
35 | $table_header |
36 | <thead> |
36 | <thead> |
37 | <tr> |
37 | <tr> |
38 | <th colspan=" |
38 | <th colspan="4"></th> |
39 |
|
39 | !for j in $showsheet |
40 |
|
40 | !if $(activ[$j])>0 |
41 |
|
41 | <th colspan="2" class="small">$wims_name_Sheet $j <br />$(shs_title[$j])<br />($(nbexo$j) $name_exo)</th> |
42 |
|
42 | !increase nbth |
43 |
|
43 | !increase nbth |
44 |
|
44 | !endif |
45 |
|
45 | !next j |
46 | </tr> |
46 | </tr> |
47 |
|
47 | $table_hdtr |
48 | <th scope="col">$name_lastconnexion</th> |
48 | <th scope="col">$name_lastconnexion</th> |
49 | <th scope="col" data-sort-method="number">$name_nbsessions</th> |
49 | <th scope="col" data-sort-method="number">$name_nbsessions</th> |
50 | <th scope="col" class="small" data-sort-method="number">$wims_name_cnt_exo<br /> ($nbexototal $name_exo)</th> |
50 | <th scope="col" class="small" data-sort-method="number">$wims_name_cnt_exo<br /> ($nbexototal $name_exo)</th> |
51 | <th>$name_total</th> |
51 | <th>$name_total</th> |
52 |
|
52 | !for j in $showsheet |
53 |
|
53 | !if $(activ[$j])>0 |
54 |
|
54 | <th class="small" scope="col" data-sort-method="number">$name_cnt_exo</th> |
55 |
|
55 | <th class="small" scope="col" data-sort-method="number">$name_time</th> |
56 |
|
56 | !endif |
57 |
|
57 | !next j |
58 | </tr> |
58 | </tr> |
59 | </thead> |
59 | </thead> |
60 | <tbody> |
60 | <tbody> |
61 |
|
61 | !set getraw=$user |
62 |
|
62 | !readproc script/raw.proc |
63 |
|
63 | $table_tr |
64 |
|
64 | !for h = 1 to 2*$sheetcnt + 4 |
65 |
|
65 | !set h1=$[($h+$h%2)/2-2] |
66 |
|
66 | !if $h <=4 or ($h>4 and $(activ[$h1])>0) and $h1 isitemof $showsheet |
67 |
|
67 | <td> |
68 |
|
68 | !if $h>2 and . notin $[$h/2] |
69 |
|
69 | $(data[$h]) |
70 |
|
70 | !else |
71 |
|
71 | $(data[$h]) |
72 |
|
72 | !endif |
73 |
|
73 | !if $h=3 and $(data[$h])!=$empty and $(data[-1])>0 |
74 |
|
74 | <span style="color:orange">+ $(data[-1])</span> |
75 |
|
75 | !endif |
76 |
|
76 | !set h2=$[$h%2] |
77 |
|
77 | !if $h1 isitemof $showsheet and $h2=1 |
78 |
|
78 | !if , isin $showsheet |
79 |
|
79 | !set bb=!select $databyday where column 1=$h1 |
80 |
|
80 | !else |
81 |
|
81 | !set bb=$(databyday[1;]) |
82 | !endif |
- | |
83 | !if $bb!=$empty |
- | |
84 | !set bb=!exec pari vecsum($(bb[6])) |
- | |
85 | <span style="color:orange">+ $bb</span> |
- | |
86 | !endif |
- | |
87 | !endif |
- | |
88 | </td> |
- | |
89 | !endif |
82 | !endif |
90 | !next h |
- | |
91 | </tr> |
- | |
92 | ! |
83 | !if $bb!=$empty |
93 |
|
84 | !set bb=!exec pari vecsum($(bb[6])) |
94 |
|
85 | <span style="color:orange">+ $bb</span> |
95 | ! |
86 | !endif |
96 |
|
87 | !endif |
97 | </ |
88 | </td> |
98 | !endif |
89 | !endif |
- | 90 | !next h |
|
- | 91 | </tr> |
|
- | 92 | !if $graphics=1 |
|
- | 93 | $table_tr |
|
- | 94 | <td colspan="$[$nbth+1]" style="text-align:left;"> |
|
- | 95 | !read script/exobyday.phtml |
|
- | 96 | </td> |
|
- | 97 | </tr> |
|
- | 98 | !endif |
|
99 | </tbody> |
99 | </tbody> |
100 | $table_end |
100 | $table_end |
101 | !endif |
101 | !endif |
102 | 102 | ||
103 | !set wims_menu_items=!append line myscore,1,module=adm/class/userscore&job_affi=notes\ |
103 | !set wims_menu_items=!append line myscore,1,module=adm/class/userscore&job_affi=notes\ |