Subversion Repositories wimsdev

Rev

Rev 5960 | Rev 6594 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
!set week_min=3
2
!set month_min=20
3
!set year_min=200
4
 
5
!set n=!linecnt $ref
2419 bpr 6
 
7
$name_list1
8
!read adm/date.phtml date,$year1,$month1,$day1
9
$s_date_out
10
$name_to
11
!read adm/date.phtml date,$year2,$month2,$day2
12
$s_date_out
13
($name_sum).
6235 bpr 14
<br />$name_list2
5855 bpr 15
 
5960 bpr 16
<table class="wimsnoborder">
23 reyssat 17
!set total=0
18
!set totall=0
19
!for i=1 to $n
20
 !set l=!line $i of $ref
21
 !set w=!wordcnt $l
22
 !set a=!word 1 of $l
23
 !set b=!word 2 of $l
24
 !if $w=2 and ($search = yes or (search notin $b and query notin $b and cgi notin $b))
25
  !set totall=$[$totall+1]
3955 bpr 26
  <tr><td align="right">$a</td><td>&nbsp;&nbsp;
27
  </td><td><a href="http://$b">$b</a></td></tr>
23 reyssat 28
  !set total=$[$total+$a]
29
 !endif
30
!next i
3955 bpr 31
<tr><td align="right">$total</td><td>&nbsp;&nbsp;
32
</td><td>$name_visit1 $totall $(names_$type).
5960 bpr 33
</td></tr>
34
</table>
23 reyssat 35
 
36
!if $auto>0
5855 bpr 37
<p>
2425 bpr 38
 $name_visit2.
5855 bpr 39
 </p>
23 reyssat 40
!endif
41