K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendahok / member /
server ip : 172.67.156.115

your ip : 172.69.130.147

H O M E


Filename/var/www/html/sman1baleendahok/member/listeman.php
Size1004
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:12
Last modified05-Feb-2025 08:55
Last accessed06-Jul-2025 22:37
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

// get names (eg: database)
// the format is:
// id, searchable plain text, html (for the textboxlist item, if empty the plain is used), html (for the autocomplete dropdown)
session_start();
$userid = $_SESSION['User']['userid'];
include "../functions/koneksi.php";
$response = array();
$query2=mysql_query("select t_member.nama,t_member.userid from t_member_contact,t_member where t_member_contact.id_con=t_member.userid and t_member_contact.id_master='". mysql_real_escape_string($userid) ."' and t_member_contact.status='1' ");
while($r=mysql_fetch_array($query2)) {
$file = "profil/gb".$r[userid].".jpg";
$fotouser ="<img src='profil/kosong.jpg' width='30' height='30' style='padding-right: 10px;' >";
if (file_exists(''.$file.'')) {
$fotouser="<img src='thumb-user.php?img=$file' width='30' height='30' style='padding-right: 10px;' />";
}
$response[] = array($r[userid],$r[nama],null,$fotouser.$r[nama]);
}

header('Content-type: application/json');
echo json_encode($response);

?>