Diff for /kcms/src/user.php between versions 1.1 and 1.2

version 1.1, 2005/08/13 12:13:11 version 1.2, 2005/08/20 02:33:40
Line 1 Line 1
 <?php  <?php
 /*  /*
 +---------------------------------------------------------------+  +---------------------------------------------------------------+
|        kCMS 0.1.4|        kCMS 0.1.5
 |        /user.php  |        /user.php
 |  |
 |        kCMS.Kanaco.Com  |        kCMS.Kanaco.Com
Line 178  function renderuser($row, $user_entended Line 178  function renderuser($row, $user_entended
                 </tr>";                  </tr>";
         }else{          }else{
         $user_data = $user_id.".".$user_name;          $user_data = $user_id.".".$user_name;
        $chatposts = $sql -> db_Count("chatbox");        $chatposts = $sql -> db_Count("asynch");
         $commentposts = $sql -> db_Count("comments");          $commentposts = $sql -> db_Count("comments");
         $forumposts = $sql -> db_Count("forum_t");          $forumposts = $sql -> db_Count("forum_t");
         $actual_forums = $sql -> db_Count("forum_t", "(*)", "WHERE thread_user='$user_data'");          $actual_forums = $sql -> db_Count("forum_t", "(*)", "WHERE thread_user='$user_data'");
        $actual_chats = $sql -> db_Count("chatbox", "(*)", "WHERE cb_nick='$user_data'");        $actual_chats = $sql -> db_Count("asynch", "(*)", "WHERE cb_nick='$user_data'");
         $actual_comments = $sql -> db_Count("comments", "(*)", "WHERE comment_author='$user_data'");          $actual_comments = $sql -> db_Count("comments", "(*)", "WHERE comment_author='$user_data'");
         $chatper = round(($actual_chats/$chatposts)*100,2);          $chatper = round(($actual_chats/$chatposts)*100,2);
         $commentper = round(($actual_comments/$commentposts)*100,2);          $commentper = round(($actual_comments/$commentposts)*100,2);

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>