Subversion Repositories wimsdev

Rev

Rev 17180 | 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.  
  16. <ul>
  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.   !if _http notin _$b
  27.     !set b=http://$b
  28.   !endif
  29.   <li>$a : <a href="$b">$b</a></li>
  30.   !set total=$[$total+$a]
  31.  !endif
  32. !next i
  33. </ul>
  34. $total $name_visit1 $totall $(names_$type).
  35.  
  36.  
  37. !if $auto>0
  38. <p>
  39.  $name_visit2
  40.  </p>
  41. !endif
  42.  
  43.