qstr($id); $rs = &$conn->Execute($sql); if ($rs == false) { echo "数据查询失败,请与管理员联系!"; exit(); }//end if if ($rs && !$rs->EOF) { $czyId = $rs->fields("id"); $czyAccount = stripslashes($rs->fields("account")); $czyName = stripslashes($rs->fields("name")); $czyPassword = stripslashes($rs->fields("password")); $czyRelease = $rs->fields("release"); $czyPowerCode = $rs->fields("powerCode"); } $rs->Close(); $sql = "select * from operatorPower where operatorId = " . $conn->qstr($id); $rs = &$conn->Execute($sql); if (false === $rs) { die("查询数据库出错!"); }//end if $arrPower = array(); while (!$rs->EOF) { $arrPower[] = stripslashes($rs->fields("sysDir")); $rs->MoveNext(); }//end while $rs->Close(); $sql = "select * from system order by lang asc , id asc"; $rs = &$conn->Execute($sql); if (false === $rs) { die("查询数据库出错"); }//end if $arrLang[0] = "简体中文版"; $arrLang[1] = "英文版"; $arrLang[2] = "繁体中文版"; ?>