include("../function/sessioncheck.php");
include("../function/connectdb.php");
include("../function/valuecheck.php");
include("../function/userdatacheck.php");
include("../function/config.php");
$loginname1=checking($link,$_SESSION["loginname"]);
$sql1="SELECT * FROM labmember where loginname = ".$loginname1."";
$result1=mysqli_query($link,$sql1) or die(mysqli_error());
$list1=mysqli_fetch_array($result1)
?>
mysqli_free_result($result1);
mysqli_free_result($result2);
?>
實驗室成員帳號 | 實驗室成員姓名 | 實驗室成員群組 | 實驗室成員電子郵件 | 實驗室成員可使用功能 | 實驗室成員帳號選項 |
---|---|---|---|---|---|
echo $list1[loginname]; ?> | echo $list1[username]; ?> | userdatachecking("grade",$list1[grade]); ?> | echo $list1[email]; ?> |
$sql2="select checkname,checkvalue from labmember where (loginname='".$list1[loginname]."') and (checkvalue='1')";
$result2=mysqli_query($link,$sql2);
while($list2=mysqli_fetch_array($result2)){
if($list2[checkvalue]==1){
$sql3="select mainfile from labmemberconfig where (checkname='".$list2[checkname]."') order by checkname_ID";
$result3=mysqli_query($link,$sql3);
$list3=mysqli_fetch_array($result3);
userdatachecking("checkname",$list2[checkname]);
echo " 前往 "; } } ?> |
">編輯資料 |