<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">'; if ($break == 1) { Header("Location: index.php"); die; } $have_ses = mysql_fetch_Array(mysql_Query("SELECT count(*) FROM online WHERE uniqPCID='" . session_id() . "' and login='******'")); if (!$have_ses[0]) { Header("Location: index.php?logout=" . md5(time())); die; } $db = mysql_fetch_array(mysql_query("SELECT users.*,zver.id as zver_count,zver.obraz as zver_obraz,zver.level as zver_level,zver.name as zver_name,zver.type as zver_type FROM `users` LEFT join zver on zver.owner=users.id and zver.sleep=0 WHERE login='******'")); effects($db["id"], $effect); ###################################################### TestBattle($db); testPrision($db); testCureTravm($login); if ($db["exp"] >= $db["next_up"]) { testUps($db); } if ($db["zver_count"]) { $zver_db = mysql_fetch_assoc(mysql_query("SELECT * FROM zver WHERE id=" . $db["zver_count"])); if ($zver_db["exp"] >= $zver_db["next_up"]) { testZverUp($zver_db, $db["login"]); } } ###################################################### if ($db["son"] == 0) { ########################## Жажда жизни ############################################ $have_elik = mysql_fetch_Array(mysql_query("SELECT * FROM effects WHERE user_id=" . $db["id"] . " and type='jj'")); if ($have_elik) { if ($have_elik["end_time"] < time()) {
case "krit": $v_type = "Критовик"; break; case "uvarot": $v_type = "Уворотчик"; break; case "mag": $v_type = "Маг"; break; case "antikrit": $v_type = "Анти-Критовик"; break; } #################################################################################### include "fill_hp.php"; testCureTravm($db["login"]); #################################################################################### ?> <html> <head> <title><?php echo $db["login"]; ?> - Информация о персонаже</title> <link rel="stylesheet" href="main.css" type="text/css"/> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <meta http-equiv="Content-Language" content="ru" /> <meta name="Description" content="Отличная RPG онлайн игра посвященная боям и магии. Тысячи жизней, миллионы смертей, два бога, сотни битв между Светом и Тьмой." /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="0" />