/[LeafOK_CVS]/lbbs/utils/bin/gen_top.php
ViewVC logotype

Diff of /lbbs/utils/bin/gen_top.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Sun Mar 13 09:06:27 2005 UTC Revision 1.7 by sysadm, Sat May 17 03:11:58 2008 UTC
# Line 1  Line 1 
 #!/usr/local/php/bin/php  
1  <?  <?
2          if (!isset($_SERVER["argc"]))          if (!isset($_SERVER["argc"]))
3                  $_SERVER["argc"] = 0;                  $_SERVER["argc"] = 0;
# Line 33  Line 32 
32                          strftime("%b %d %H:%M:%S", strtotime($row["sub_dt"])),                          strftime("%b %d %H:%M:%S", strtotime($row["sub_dt"])),
33                          str_repeat(" ", 16 - strlen($row["username"])),                          str_repeat(" ", 16 - strlen($row["username"])),
34                          $row["username"], substr($row["title"],0,60),                          $row["username"], substr($row["title"],0,60),
35                          str_repeat(" ", 60 - strlen($row["title"]))                          str_repeat(" ", 60 - strlen($row["title"]) >=0 ? 60 - strlen($row["title"]) : 0)
36                          );                          );
37          }          }
38                    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1