One Hat Cyber Team
Your IP :
216.73.216.24
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
admin
/
View File Name :
header.php.orig
<? require_once("functions_admin.php"); ?> <? require_once("../login/include/session.php"); ?> <? require_once("../auth/auth.php"); ?> <? include_once('../ip2country.inc.php'); ?> <? if($session->logged_in) { if ($session-> userlevel < 7) { $session->referrer = "../users"; header("Location: ".$session->referrer); } } function language_select_admin($page="") { global $lang,$volume,$number,$id_selected,$todo,$menu_item,$session,$db_handle; if (!$page) $page = $_SERVER['PHP_SELF']; echo "<form action=\"".$page."\" method=\"post\">"; while (list($key, $val) = each($_GET)) { //if(($key!="username")&&($key!="password")) echo pass($key,$val); } while (list($key, $val) = each($_POST)) {//if(($key!="username")&&($key!="password")) echo pass($key,$val); } echo "<table width=\"100%\">\n"; echo "<td>"; echo "<select name=lang>\n"; echo "<option "; if($lang=="en") echo " selected "; echo "value=\"en\">".enruua("English","английский","англійська")."</option>\n"; echo "<option "; if($lang=="ru") echo " selected "; echo "value=\"ru\">".enruua("Russian","русский","російська")."</option>\n"; echo "<option "; if($lang=="ua") echo " selected "; echo "value=\"ua\">".enruua("Ukrainian","украинский","українська")."</option>\n"; echo "</select>\n"; echo "<input type=submit value=\"".enruua("Change language","Изменить язык","Змінити мову")."\">"; echo "</td>"; if($session->logged_in) { echo "<td>".say_greetings().", ".plain_short_name($session->author_id,FALSE)."! " .current_user_level_draw()."</td>"; }//if logged in echo "</table>"; echo "</form>\n"; }//language_select_admin function banner() { global $_db,$session,$lang,$db_handle; echo "<div class=banner id=sidebar>\n"; echo menu(); echo "</div>\n"; } //banner function login_form() { global $form,$lang; /** * User not logged in, display the login form. * If user has already tried to login, but errors were * found, display the total number of errors. * If errors occurred, they will be displayed. */ if($form->num_errors > 0) { echo "<font size=\"2\" color=\"#ff0000\">"; //$form->num_errors// error(s) found",)." error(s) found</font>"; echo enruua("Error","Неудача","Невдача")."!"; echo "</font>\n"; } echo "<form action=\"../login/process.php\" method=\"POST\">"; echo "<div class=login_form>\n"; echo "<h2>".enruua("Access authentication","Авторизация доступа","Авторизація доступу")."</h2>\n"; echo "<table cellspacing=\"0\" cellpadding=\"3\" width=100%>\n"; echo "<tr><td>".enruua("User name","Имя пользователя","Ім'я користувача").":"."</td>"; echo "<td><input type=\"text\" name=\"user\" maxlength=\"30\" value=\"".$form->value("user")."\"></td>"; echo "<td>".$form->error("user")."</td></tr>\n"; echo "<tr><td>".enruua("Password","Пароль","Пароль").": </td>"; echo "<td><input type=\"password\" name=\"pass\" maxlength=\"30\" value=\"".$form->value("pass")."\"></td>"; echo "<td>".$form->error("pass")."</td></tr>\n"; echo "<tr><td colspan=\"2\" align=\"left\">"; /*echo "<input type=\"checkbox\" name=\"remember\""; if($form->value("remember") != ""){ echo "checked"; } echo ">"; echo enruua("Remember me next time", "Запомнить на следующий раз", "Запам'ятати на наступний раз");*/ ?></td><td><input type="hidden" name="sublogin" value="1"> <input id="login_admin" type="submit" value="<? echo enruua("Login","Войти","Увійти");?>"></td></tr> <tr><td colspan="2" align="left"><a href="forgotpass.php?lang=<? echo $lang;?>"> <small><? echo enruua("Forgot Password","Забыли пароль","Забули пароль")."?";?></small></a></td><td align="right"></td></tr> <!--<tr><td colspan="2" align="left"><br>Not registered? <a href="register.php">Sign-Up!</a></td></tr>--> <? echo "</table>\n"; echo "</div>\n"; echo "</form>\n"; }//login_form ?> <? require_once("../charset.php"); ?> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html"; CHARSET="<? echo $_charset;?>"> <? require("defs.php"); ?> <!--<SCRIPT TYPE="text/javascript" SRC="<? echo $_root; ?>/absolute_popup_box.js"></SCRIPT>--> <SCRIPT TYPE="text/javascript" SRC="<? echo $_root; ?>/boxover.js"></SCRIPT> <link rel="stylesheet" type="text/css" href="../epoch/epoch_styles.css" /> <!--Epoch's styles--> <? require("../epoch/epoch_classes.php");?> <script type="text/javascript"> var bas_cal,dp_cal,ms_cal; window.onload = function () { displayYearInitial=<? echo $_start_year;?> // bas_cal = new Epoch('epoch_basic','flat',document.getElementById('basic_container')); dp_cal = new Epoch('epoch_popup','popup',document.getElementById('popup_container')); // ms_cal = new Epoch('epoch_multi','flat',document.getElementById('multi_container'),true); }; </script> <script type="text/JavaScript"> <!-- //experimental style setting/switching function P7_setDomStyle(){ //v0.6 experimental by PVII //run only if ver 5 browser if(!document.getElementById){alert('DOM-Level Style Switching Requires a Modern Browser.\nThe underlying premise of this tutorial will work in Netscape 4 when the actual style sheet is edited.');return;} var i,g,args=P7_setDomStyle.arguments; for(i=0;i<args.length;i+=3){ g=document.getElementById(args[i]); if(g){ eval("g.style."+args[i+1]+"=\""+args[i+2]+"\""); } } } //--> </script> <script language="JavaScript"> <!-- function go_here_there(msg,here,there) { var where_to= confirm(msg); if (where_to== true) { window.location=here; } else { window.location=there; } } function gotosite(site){ if (site != ""){ //myWindow=window.open(site,"newWindow","menubar=1,toolbar=1,scrollbar=1,resizable=1, width=800, height=600"); //myWindow.focus(); window.location = site; } }//gotosite // www.sean.co.uk function pausecomp(millis) { date = new Date(); var curDate = null; do { var curDate = new Date(); } while(curDate-date < millis); } //message = "Not allowed"; function NoRightClick() { if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1)) ||((navigator.appName=="Netscape")&&(b.which > 1))){ // alert(message); return false; } } //document.onmousedown = NoRightClick; // var phone_allowed = "()- 0123456789"; var digits_allowed = "0123456789"; var alpha_allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ "; function res(t,v){ var w = ""; for (i=0; i < t.value.length; i++) { x = t.value.charAt(i); if (v.indexOf(x,0) != -1) w += x; } t.value = w; } // --> </script> <TITLE><? if ($page_title) print($page_title); ?></TITLE> <LINK REL="STYLESHEET" HREF="style_admin.css"> <? if ($related_page) echo "<LINK HREF=\"$related_page\" REL=\"Next\">"; ?> <? if($session->logged_in) { if (!isset($lang)) { $lang=preferred_language(person($session->author_id)); // tell("Setting lang=".$lang); } } //if logged in else {} if (!is_valid_language($lang)) $lang=guess_client_language(); ?> </head> <body> <!--<body onUnLoad="alert('<?php echo enruua("","До свидания!","");?>');"> --> <!--<body onLoad="moveTo(0,0); window.resizeTo(screen.width,screen.height);">--> <!--<body onunload="window.open('bye_admin_box.php?contents=Bye!')">--> <? echo "".language_select_admin(); /** * User has already logged in, so display relavent links, including * a link to the admin center if the user is an administrator. */ echo "<a name=main>\n"; if($session->logged_in) { echo banner(); echo "<div class=metabody_admin>"; } else { echo "<div class=metabody_admin>"; login_form(); //echo admin_note("QQQQ"); ?> <? include ("footer.php"); exit; } ?>