made changes

This commit is contained in:
Newcomer1989
2015-03-07 16:41:47 +01:00
parent 74dc270164
commit 4cff3f3317
71 changed files with 22583 additions and 0 deletions

18
other/search.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
$q = strtolower($_GET["q"]);
if (!$q) return;
require_once('config.php');
$dbuserlist=$mysqlcon->query("SELECT * FROM user ORDER BY online DESC");
$items=array();
while($userlist=$dbuserlist->fetch_assoc())
{
$items[$userlist['name']]=$userlist['uuid'];
}
foreach ($items as $key=>$value) {
if (strpos(strtolower($key), $q) !== false) {
echo "$key|$value\n";
}
}
?>