工会web
This commit is contained in:
17
GonghuiWeb/www/js/username.php
Normal file
17
GonghuiWeb/www/js/username.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
include_once("../../inc/admin.inc.php");
|
||||
include_once("../../inc/class.php");
|
||||
$db = new myConn;
|
||||
$db->links();
|
||||
$GG=$db->getpost($GG,"username|user");
|
||||
if($GG['username']){
|
||||
$data=$db->getdy("names,province,school",TABLE."member","username='".$GG['username']."'");
|
||||
if($data){
|
||||
echo "姓名:<font color=#666666>".$data['names']."</font> 省份:<font color=#666666>".$data['province']."</font> 学校:<font color=#666666>".$data['school']."</font>";
|
||||
}else{
|
||||
echo "<font color=red>未检测到用户名</font>";
|
||||
}
|
||||
}
|
||||
$db->close();
|
||||
unset($GG,$db);
|
||||
?>
|
||||
Reference in New Issue
Block a user