






global $admin, $user;
if (is_user($user)) {
$content = "něco<br>";
}


if (is_admin($admin)) {
$content .= "něco_jinýho<br><br>";
}


$content .= "anonymous";





<?php
#### Vygenerovano pomoci Creatoru na Blassenwebu (http://blassenweb.net) ###
if (stristr($_SERVER['SCRIPT_NAME'], basename(__FILE__)) OR !defined('UN_KERNELFILES_LOADED')) {
Header("Location: ../index.php");
die();
}
$content = "";
global $admin, $user;
if (is_user($user)) {
$content = "něco<br>co vidí user";
}


if (is_admin($admin)) {
$content .= "něco_jinýho<br>co vidí admin<br>";
}


$content .= "anonymous<br>blééé";
?>



<?php
#### Vygenerovano pomoci Creatoru na Blassenwebu (http://blassenweb.net) ###
if (stristr($_SERVER['SCRIPT_NAME'], basename(__FILE__)) OR !defined('UN_KERNELFILES_LOADED')) {
Header("Location: ../index.php");
die();
}


$content = "";


global $admin, $sitekey, $gfx_chk;


setlocale(LC_TIME, 'cs_CZ');
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 6);


$content .= "<center>";
$content .= "<form action="admin.php" method="post">";
$content .= "<table border="0">";
$content .= "<td><input type="text" NAME="aid" VALUE="Admin ID" SIZE="20" MAXLENGTH="25"></td></tr>";
$content .= "<td><input type="password" NAME="pwd" VALUE="Admin PW" SIZE="20" MAXLENGTH="18"></td></tr>";


if (extension_loaded("gd") AND ($gfx_chk == 1 OR $gfx_chk == 5 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
$content .= "<tr><td colspan='2'>"._SECURITYCODE.": <img src="?gfx=gfx&random_num=".$random_num."" border="1" alt=""._SECURITYCODE."" title=""._SECURITYCODE.""></td></tr>
";
$content .= "<tr><td colspan='2'>"._TYPESECCODE."<br><input type="text" name="gfx_check" size="7" maxlength="6"></td></tr>
";
} 


$content .= "<tr><td>";
$content .= "<input type="hidden" name="random_num" value="".$random_num.""><br>
";
$content .= "<input type="hidden" NAME="op" value="login">";
$content .= "<center><input type="submit" VALUE=""._LOGIN.""></center>";
$content .= "</td></tr></table>";
$content .= "</form>";
if (is_admin($admin)) {
$content .= "<a href="admin.php">Admin Main</a><br>";
$content .= "<a href="admin.php?op=logout">Logout</a>";
}


?>


Obsah fóra BLASSENweb » United-Nuke
|
|