';
reset($available_languages);
while (list($id,$tmplang) = each($available_languages)) {
$lang_name = ucfirst(substr(strstr($tmplang[0], '|'), 1));
echo "\n";
?>
[ ]
\n";
}
?>
phpMyAdmin 2.3.0alpha-20010604 (unofficial devel-branch)
0) {
// Don't display server info if $server==0 (no server selected)
$res_version = mysql_query("SELECT Version() as version") or mysql_die();
$row_version = mysql_fetch_array($res_version);
echo "MySQL $row_version[version] $strRunning " . $cfgServer['host'];
if (!empty($cfgServer['port'])) {
echo ":" . $cfgServer['port'];
}
echo "
\n";
}
?>
0) && isset($mode) && ($mode == "reload"))
{
$result = mysql_query("FLUSH PRIVILEGES");
if ($result != 0) {
echo "
$strMySQLReloaded";
} else {
echo "
$strReloadFailed";
}
}
?>
1)
{
echo "- ";
echo '';
}
if($server > 0) {
// Don't display server-related links if $server==0 (no server selected)
if(empty($cfgServer['only_db'])) {
if($cfgServer['adv_auth'])
{
if (empty($cfgServer['port'])) {
$dbh = mysql_connect($cfgServer['host'],$cfgServer['stduser'],$cfgServer['stdpass']);
} else {
$dbh = mysql_connect($cfgServer['host'].":".$cfgServer['port'],$cfgServer['stduser'],$cfgServer['stdpass']);
}
$rs_usr=mysql_query("select * from mysql.user where User=\"".$cfgServer['user']."\"",$dbh);
$result_usr=mysql_fetch_array($rs_usr);
$rs_db=mysql_query("select * from mysql.db where User=\"".$cfgServer['user']."\"",$dbh);
if(mysql_num_rows($rs_db)>0) {
$result_db=mysql_fetch_array($rs_db);
}
if($result_usr['Create_priv']=='Y') {
$CREATE=TRUE;
// BEGIN
// 2001-05-04, Lem9: The create_priv on a single database does not allow
// to create a database
// } elseif(!empty($result_db) && $result_db['Create_priv']=='Y') {
// $CREATE=TRUE;
// END
} else {
$CREATE=FALSE;
}
if($CREATE) {
?>
-
- &display=simple">
- &display=simple">
- &display=simple">
-
";
echo "$strUsers ";
print show_docu("manual_Privilege_system.html#Privilege_system");
}
?>
-
-
- ">
- ">
- ">
-
-
(sourceforge)
[ ChangeLog ]
-
-
phpMyAdmin