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 / sman1baleendah_sch_id / member / | server ip : 104.21.89.46 your ip : 172.69.130.131 H O M E |
Filename | /var/www/html/sman1baleendah_sch_id/member/allmemberlist.php |
Size | 1.75 kb |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 11-Jun-2025 21:32 |
Last modified | 11-Jun-2025 21:32 |
Last accessed | 05-Jul-2025 11:35 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @author Hendi Ahmad Hidayat
* @copyright 2011
*/
// 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";
include "../functions/fungsi_pass.php";
if(isset($_POST['queryString'])) {
$queryString = $_POST['queryString'];
if(strlen($queryString) >0) {
$query="select t_member.nama,t_member.userid from t_member where t_member.nama LIKE '%$queryString%' limit 20";
$result=mysql_query($query);
while($row=mysql_ftch_array($result)){
$file = "profil/gb".$row[userid].".jpg";
$fotouser ="<img src='profil/kosong.jpg' width='50' height='60' style='padding-right: 10px;' />";
if (file_exists(''.$file.'')) {
//$fotouser="<img src='thumb-user.php?img=$file' width='50' height='50' style='padding-right: 10px;' />";
$fotouser="<img src='$file' width='50' height='60' style='padding-right: 10px;' />";
}
//echo "<li onClick='fill(\"$row[nama]\");'>";
echo "";
echo "<table>";
echo "<tr>";
echo "<td>";
echo "<a href='user.php?id=lih_profil&kode=".hex($row[userid],$noacak)."' style='text-decoration:none;color:white'>".$fotouser."</a>";
echo "</td>";
echo "<td>";
echo "<a href='user.php?id=lih_profil&kode=".hex($row[userid],$noacak)."' style='text-decoration:none;color:white'>".$row['nama']."</a>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "";
}
}
}
?>
/**
* @author Hendi Ahmad Hidayat
* @copyright 2011
*/
// 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";
include "../functions/fungsi_pass.php";
if(isset($_POST['queryString'])) {
$queryString = $_POST['queryString'];
if(strlen($queryString) >0) {
$query="select t_member.nama,t_member.userid from t_member where t_member.nama LIKE '%$queryString%' limit 20";
$result=mysql_query($query);
while($row=mysql_ftch_array($result)){
$file = "profil/gb".$row[userid].".jpg";
$fotouser ="<img src='profil/kosong.jpg' width='50' height='60' style='padding-right: 10px;' />";
if (file_exists(''.$file.'')) {
//$fotouser="<img src='thumb-user.php?img=$file' width='50' height='50' style='padding-right: 10px;' />";
$fotouser="<img src='$file' width='50' height='60' style='padding-right: 10px;' />";
}
//echo "<li onClick='fill(\"$row[nama]\");'>";
echo "";
echo "<table>";
echo "<tr>";
echo "<td>";
echo "<a href='user.php?id=lih_profil&kode=".hex($row[userid],$noacak)."' style='text-decoration:none;color:white'>".$fotouser."</a>";
echo "</td>";
echo "<td>";
echo "<a href='user.php?id=lih_profil&kode=".hex($row[userid],$noacak)."' style='text-decoration:none;color:white'>".$row['nama']."</a>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "";
}
}
}
?>