Mini Shell Moded By TiGER HeX
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
mnt
/
volume_sfo2_01
/
50mmla
/
includes
/
Linux midnightridazz 4.19.0-11-cloud-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64
Upload File :
New :
File
Dir
/mnt/volume_sfo2_01/50mmla/includes/totalUsers.php
<? $sql = "SELECT DISTINCT user_id,username FROM 50mm_users WHERE banned=0"; if( !($result = $db->sql_query($sql)) ){ $sql_error = $db->sql_error(); die($sql_error['message']); } $users = "<div class=\"comments\">User Profiles...</div><br>"; $count = 0; while($row = $db->sql_fetchrow($result)){ if( (!empty($row['user_id'])) && (!empty($row['username'])) ){ if($count == 0){ $users.='<a href="viewProfile.php?userId='.$row['user_id'].'">'.$row['username'].'</a>'; }else{ $users.=' | <a href="viewProfile.php?userId='.$row['user_id'].'">'.$row['username'].'</a>'; } $count++; } } echo $users; ?>