Guest User

Untitled

a guest
Oct 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <?php
  2. /*********************/
  3. /* */
  4. /* Dezend for PHP5 */
  5. /* NWS */
  6. /* S.h */
  7. /* */
  8. /*********************/
  9.  
  10. class SimpleCounter
  11. {
  12.  
  13. public $ip_addr;
  14. public $timeout;
  15. public $db_server;
  16. public $db_name;
  17. public $db_user;
  18. public $db_password;
  19.  
  20. public function SimpleCounter( ( );
  21. ( );
  22. }
  23.  
  24. public function resetCounter( )
  25. {
  26. mysql_close( );
  27. }
  28.  
  29. public function getTodaysVisitCount( )
  30. {
  31. mysql_close( );
  32. }
  33.  
  34. public function getYesterdayVisitCount( )
  35. {
  36. mysql_close( );
  37. }
  38.  
  39. public function getTodaysHitCount( )
  40. {
  41. mysql_close( );
  42. }
  43.  
  44. public function getTotalVisitCount( )
  45. {
  46. mysql_close( );
  47. }
  48.  
  49. public function getTotalHitCount( )
  50. {
  51. mysql_close( );
  52. }
  53.  
  54. public function getCounterStartDate( )
  55. {
  56. mysql_close( );
  57. }
  58.  
  59. public function getUsersOnlineCount( )
  60. {
  61. mysql_close( );
  62. }
  63.  
  64. public function initCounter( )
  65. {
  66. ( );
  67. mysql_close( );
  68. }
  69.  
  70. public function checkTables( )
  71. {
  72. array_push( );
  73. mysql_query( );
  74. mysql_query( );
  75. }
  76.  
  77. public function countInternalUsers( )
  78. {
  79. }
  80.  
  81. public function dropExpiredIPAddresses( )
  82. {
  83. ( );
  84. mysql_close( );
  85. }
  86.  
  87. public function updateCounter( )
  88. {
  89. mysql_close( );
  90. }
  91.  
  92. }
  93.  
  94. ?>
Add Comment
Please, Sign In to add comment