Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #11  
Old 12th October 2009, 20:00
DrNet's Avatar
DrNet DrNet is offline
Senior Member
 
Join Date: May 2008
Posts: 184
Default
lol , i found the same problem in v5.4.1
Reply With Quote
  #12  
Old 12th October 2009, 20:02
Nightcrawler's Avatar
Nightcrawler Nightcrawler is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 97
Default
Quote:
Originally Posted by DrNet View Post
lol , i found the same problem in v5.4.1
Ok you lost me now :)
Reply With Quote
  #13  
Old 12th October 2009, 20:04
DrNet's Avatar
DrNet DrNet is offline
Senior Member
 
Join Date: May 2008
Posts: 184
Default
i don't know what's wrong , i hope some 1 will fix this soon
Reply With Quote
  #14  
Old 12th October 2009, 20:10
Nightcrawler's Avatar
Nightcrawler Nightcrawler is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 97
Default
Quote:
Originally Posted by DrNet View Post
i don't know what's wrong , i hope some 1 will fix this soon

what part?
Reply With Quote
  #15  
Old 12th October 2009, 20:12
DrNet's Avatar
DrNet DrNet is offline
Senior Member
 
Join Date: May 2008
Posts: 184
Default
Quote:
Originally Posted by Nightcrawler View Post
what part?
(No user found!)
Reply With Quote
  #16  
Old 12th October 2009, 20:14
Nightcrawler's Avatar
Nightcrawler Nightcrawler is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 97
Default
Quote:
Originally Posted by DrNet View Post
(No user found!)
theres nothing wrong with it you need to add a normal user for it to show it doesn't count staff.

this is the code....

Code:
  if (isset ($_GET['searchby'])) 
  { 
    if ($_GET['searchby'] == 'banned') 
    { 
      $query = '(u.enabled = \'no\' OR u.usergroup=' . UC_BANNED . ')'; 
    } 
    else 
    { 
      if ($_GET['searchby'] == 'warned') 
      { 
        $query = '(u.warned = \'yes\' OR u.leechwarn = \'yes\')'; 
      } 
      else 
      { 
        if ($_GET['searchby'] == 'donor') 
        { 
          $query = 'u.donor = \'yes\''; 
        } 
        else 
        { 
          if ($_GET['searchby'] == 'vip') 
          { 
            $query = 'u.usergroup = \'' . UC_VIP . '\''; 
          } 
          else 
          { 
            if ($_GET['searchby'] == 'poweruser') 
            { 
              $query = 'u.usergroup = \'' . UC_POWER_USER . '\''; 
            } 
            else 
            { 
              $query = 'u.usergroup = \'' . UC_USER . '\''; 
            } 
          } 
        } 
      } 
    } 
  } 
  else 
  { 
    $query = 'u.usergroup = \'' . UC_USER . '\''; 
  } 
 
  (($res = sql_query ('SELECT COUNT(*) FROM users WHERE ' . str_replace ('u.', '', $query)) OR sqlerr (__FILE__, 110)) OR sqlerr (__FILE__, 110)); 
  $row = mysql_fetch_array ($res); 
  $count = $row[0]; 
  $perpage = $ts_perpage; 
  list ($pagertop, $pagerbottom, $limit) = pager ($perpage, $count, $_this_script_ . '&' . ($_GET['searchby'] ? 'searchby=' . htmlspecialchars ($_GET['searchby'] . '&') : '')); 
  stdhead ('UsersList'); 
  if (mysql_num_rows ($res) == 0) 
  { 
    begin_main_frame (); 
  } 
 
  $users = number_format (tsrowcount ('id', 'users', 'usergroup=\'' . UC_USER . '\'')); 
  begin_frame ('' . 'Users List (' . $users . ')', true); 
  begin_table (true); 
  echo '<tr><td colspan=7>Search: <a href='; 
  echo $_this_script_; 
  echo '&searchby=all>Show ALL</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=banned>banned</a>| <a href='; 
  echo $_this_script_; 
  echo '&searchby=warned>warned</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=donor>donor</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=vip>vip</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=poweruser>poweruser</td></tr> 
 
<tr> 
<td class="colhead">ID</td> 
<td class="colhead" align="left">Username</td> 
<td class="colhead" align="left">e-mail</td> 
<td class="colhead" align="left">Joined</td> 
<td class="colhead" align="center">DELETE</td> 
<td class="colhead" align="center">BAN</td> 
<td class="colhead" align="center">UNBAN</td> 
</tr> 
'; 
  ($res = sql_query ('' . 'SELECT u.*, p.canupload, p.candownload, p.cancomment, p.canmessage, p.canshout, g.namestyle FROM users u LEFT JOIN ts_u_perm p ON (u.id=p.userid) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE ' . $query . ' ORDER BY u.id DESC '.$limit) OR sqlerr (__FILE__, 137)); 
  if (1 <= mysql_num_rows ($res)) 
  { 
    while ($arr = @mysql_fetch_array ($res)) 
    { 
      $pic = get_user_icons ($arr); 
      $cn = get_user_class_name ($arr['usergroup']); 
      echo '<tr> 
<td>' . $arr[id] . '</td> 
<td align="left"><b><a href=' . $BASEURL . '/userdetails.php?id=' . $arr[id] . '>' . get_user_color ($arr['username'], $arr['namestyle']) . ' ' . $pic . ' (' . $cn . ')</b> ' . (($arr['enabled'] == 'no' ? '<font color=red>(banned)</font>' : $arr['usergroup'] == 9) ? '<font color=red>(banned)</font>' : '') . (($arr['warned'] == 'yes' ? '<font color=red>(warned)</font>' : $arr['leechwarn'] == 'yes') ? '<font color=red>(leechwarned)</font>' : '') . '</a><br />' . htmlspecialchars_uni ($arr['ip']) . '</td> 
<td align="left"><a href=mailto:' . $arr[email] . '>' . $arr[email] . '</a></td> 
<td align="left">' . $arr[added] . '</td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . ('' . '> 
<input type=hidden name=action value=deleteuser> 
<input type="hidden" name="delusr" value="' . $arr['id'] . '" /> 
<input class=button type="submit" value="DELETE"> 
</form></td> 
<td align="center"> 
<form method=post action=') . $_this_script_ . '> 
<input type=hidden name=action value=banuser> 
<input type="hidden" name="banusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="BAN"> 
</form></td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . '> 
<input type=hidden name=action value=unbanuser> 
<input type="hidden" name="unbanusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="UNBAN"> 
</form></td></tr>'; 
    } 
 
    echo '</form> 
'; 
    echo '<tr><td colspan=7 align=center>' . $pagerbottom . '</td></tr>'; 
  } 
  else 
  { 
    echo '<td><td colspan=7><div class=error>No user found!</div></td></tr>'; 
  }
Reply With Quote
The Following User Says Thank You to Nightcrawler For This Useful Post:
dontmind (7th April 2013)
  #17  
Old 12th October 2009, 20:21
DrNet's Avatar
DrNet DrNet is offline
Senior Member
 
Join Date: May 2008
Posts: 184
Default
Quote:
Originally Posted by Nightcrawler View Post
theres nothing wrong with it you need to add a normal user for it to show it doesn't count staff.

this is the code....

Code:
  if (isset ($_GET['searchby'])) 
  { 
    if ($_GET['searchby'] == 'banned') 
    { 
      $query = '(u.enabled = \'no\' OR u.usergroup=' . UC_BANNED . ')'; 
    } 
    else 
    { 
      if ($_GET['searchby'] == 'warned') 
      { 
        $query = '(u.warned = \'yes\' OR u.leechwarn = \'yes\')'; 
      } 
      else 
      { 
        if ($_GET['searchby'] == 'donor') 
        { 
          $query = 'u.donor = \'yes\''; 
        } 
        else 
        { 
          if ($_GET['searchby'] == 'vip') 
          { 
            $query = 'u.usergroup = \'' . UC_VIP . '\''; 
          } 
          else 
          { 
            if ($_GET['searchby'] == 'poweruser') 
            { 
              $query = 'u.usergroup = \'' . UC_POWER_USER . '\''; 
            } 
            else 
            { 
              $query = 'u.usergroup = \'' . UC_USER . '\''; 
            } 
          } 
        } 
      } 
    } 
  } 
  else 
  { 
    $query = 'u.usergroup = \'' . UC_USER . '\''; 
  } 
 
  (($res = sql_query ('SELECT COUNT(*) FROM users WHERE ' . str_replace ('u.', '', $query)) OR sqlerr (__FILE__, 110)) OR sqlerr (__FILE__, 110)); 
  $row = mysql_fetch_array ($res); 
  $count = $row[0]; 
  $perpage = $ts_perpage; 
  list ($pagertop, $pagerbottom, $limit) = pager ($perpage, $count, $_this_script_ . '&' . ($_GET['searchby'] ? 'searchby=' . htmlspecialchars ($_GET['searchby'] . '&') : '')); 
  stdhead ('UsersList'); 
  if (mysql_num_rows ($res) == 0) 
  { 
    begin_main_frame (); 
  } 
 
  $users = number_format (tsrowcount ('id', 'users', 'usergroup=\'' . UC_USER . '\'')); 
  begin_frame ('' . 'Users List (' . $users . ')', true); 
  begin_table (true); 
  echo '<tr><td colspan=7>Search: <a href='; 
  echo $_this_script_; 
  echo '&searchby=all>Show ALL</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=banned>banned</a>| <a href='; 
  echo $_this_script_; 
  echo '&searchby=warned>warned</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=donor>donor</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=vip>vip</a> | <a href='; 
  echo $_this_script_; 
  echo '&searchby=poweruser>poweruser</td></tr> 
 
<tr> 
<td class="colhead">ID</td> 
<td class="colhead" align="left">Username</td> 
<td class="colhead" align="left">e-mail</td> 
<td class="colhead" align="left">Joined</td> 
<td class="colhead" align="center">DELETE</td> 
<td class="colhead" align="center">BAN</td> 
<td class="colhead" align="center">UNBAN</td> 
</tr> 
'; 
  ($res = sql_query ('' . 'SELECT u.*, p.canupload, p.candownload, p.cancomment, p.canmessage, p.canshout, g.namestyle FROM users u LEFT JOIN ts_u_perm p ON (u.id=p.userid) LEFT JOIN usergroups g ON (u.usergroup=g.gid) WHERE ' . $query . ' ORDER BY u.id DESC '.$limit) OR sqlerr (__FILE__, 137)); 
  if (1 <= mysql_num_rows ($res)) 
  { 
    while ($arr = @mysql_fetch_array ($res)) 
    { 
      $pic = get_user_icons ($arr); 
      $cn = get_user_class_name ($arr['usergroup']); 
      echo '<tr> 
<td>' . $arr[id] . '</td> 
<td align="left"><b><a href=' . $BASEURL . '/userdetails.php?id=' . $arr[id] . '>' . get_user_color ($arr['username'], $arr['namestyle']) . ' ' . $pic . ' (' . $cn . ')</b> ' . (($arr['enabled'] == 'no' ? '<font color=red>(banned)</font>' : $arr['usergroup'] == 9) ? '<font color=red>(banned)</font>' : '') . (($arr['warned'] == 'yes' ? '<font color=red>(warned)</font>' : $arr['leechwarn'] == 'yes') ? '<font color=red>(leechwarned)</font>' : '') . '</a><br />' . htmlspecialchars_uni ($arr['ip']) . '</td> 
<td align="left"><a href=mailto:' . $arr[email] . '>' . $arr[email] . '</a></td> 
<td align="left">' . $arr[added] . '</td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . ('' . '> 
<input type=hidden name=action value=deleteuser> 
<input type="hidden" name="delusr" value="' . $arr['id'] . '" /> 
<input class=button type="submit" value="DELETE"> 
</form></td> 
<td align="center"> 
<form method=post action=') . $_this_script_ . '> 
<input type=hidden name=action value=banuser> 
<input type="hidden" name="banusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="BAN"> 
</form></td> 
<td align="center"> 
<form method=post action=' . $_this_script_ . '> 
<input type=hidden name=action value=unbanuser> 
<input type="hidden" name="unbanusr" value="' . $arr[id] . '" /> 
<input class=button type="submit" value="UNBAN"> 
</form></td></tr>'; 
    } 
 
    echo '</form> 
'; 
    echo '<tr><td colspan=7 align=center>' . $pagerbottom . '</td></tr>'; 
  } 
  else 
  { 
    echo '<td><td colspan=7><div class=error>No user found!</div></td></tr>'; 
  }
aha , sorry i got it
Reply With Quote
  #18  
Old 13th October 2009, 19:14
PRODIGY's Avatar
PRODIGY PRODIGY is offline
Senior Member
 
Join Date: Jun 2009
Greece
Posts: 18
Default
i cant login to staff panel neither change the pincode.....
Reply With Quote
  #19  
Old 13th October 2009, 19:23
Nightcrawler's Avatar
Nightcrawler Nightcrawler is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 97
Default
Quote:
Originally Posted by PRODIGY View Post
i cant login to staff panel neither change the pincode.....
did you set the pincode during installation?
Reply With Quote
  #20  
Old 13th October 2009, 19:30
PRODIGY's Avatar
PRODIGY PRODIGY is offline
Senior Member
 
Join Date: Jun 2009
Greece
Posts: 18
Default
Quote:
Originally Posted by Nightcrawler View Post
did you set the pincode during installation?
yes but i cant login....
Reply With Quote
Reply

Tags
decoded , nightcrawler , nulled , tsse , v56

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TSSE v5.6 DECODED (NOT NULLED) Fynnon Template Shares 86 15th January 2019 19:56
fake account problem TSSE v5.6 DECODED (NULLED BY Nightcrawler) lovebeer Template Shares 8 27th November 2012 03:48
Poll problem on TSSE v5.6 DECODED (NULLED BY Nightcrawler) lovebeer Template Shares 15 19th July 2011 23:33
TSSE Full Nulled and Decoded. Moh.ElBaz Template Shares 16 16th July 2009 16:57
TSSE v5.4.1 Fully Decoded [Not Nulled] DrNet Downloads 44 3rd April 2009 10:05



All times are GMT +2. The time now is 10:09. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.