Subversion Repositories wimsdev

Rev

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

  1. !set week_min=3
  2. !set month_min=20
  3. !set year_min=200
  4.  
  5. !set n=!linecnt $ref
  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).
  14. <br>$name_list2
  15. <p>
  16. <table border=0 cellspacing=1>
  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]
  26.   <tr><td align="right">$a<td>&nbsp;&nbsp;
  27.   <td><a href="http://$b">$b</a>
  28.   !set total=$[$total+$a]
  29.  !endif
  30. !next i
  31. <tr><td align="right">$total<td>&nbsp;&nbsp;
  32. <td>$name_visit1 $totall $(names_$type).
  33. </table> <p>
  34.  
  35. !if $auto>0
  36.  $name_visit2.
  37.  <p>
  38. !endif
  39.  
  40.