Example #1
0
     echo genactcode();
     exit;
 }
 if ($cmd[0] === "genactcode" and !$prauth[$ADM][42]) {
     msgexiterror("notrights", " superuser", "admin.php");
 }
 if ($cmd[0] === "hashgen") {
     echo hashgen($cmd[1]);
     exit;
 }
 if ($cmd[0] === "print") {
     echo ${$cmd[1]};
     exit;
 }
 if ($cmd[0] === "deactivate" and $prauth[$ADM][42]) {
     $a = genactcode();
     if ($cmd[1] === $a) {
         unlink("_conf/.key");
         @unlink("_conf/dbs.key");
         @unlink("_conf/add.key");
         echo lprint("REGRESET") . ".<br>";
     }
     exit;
 }
 if ($cmd[0] === "del" and $prauth[$ADM][42]) {
     if ($cmd[1] === "install") {
         unlink("installer.php");
         echo "OK<br>";
     }
     exit;
 }
Example #2
0
</STYLE>
<script language="JavaScript" type="text/JavaScript">
</script>
<link href="style.css" rel="stylesheet" type="text/css">
<div id="Layer1" style="position:absolute; width:400px; height:115px; z-index:1; left: 141px; top: 148px;" class="author_text">
<FIELDSET>
<LEGEND><img src=_ico/keyact.png></img></LEGEND>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2>
<TR>
<form action="login.php" method="post">
<TD WIDTH=41%><?php 
    lprint("ACT_CODE");
    ?>
:</TD>
<TD WIDTH=59%><?php 
    echo genactcode();
    ?>
</TD>
</TR>
<TR>
<TD><?php 
    lprint("S_N_ENT");
    ?>
:</TD>
<TD><INPUT NAME=serial TYPE=text CLASS=text></TD>
</TR>
</TABLE><CENTER>
<?php 
    submitkey("check", "CHECK");
    if ($OSTYPE == "WINDOWS") {
        submitkey("demo", "DEMO");
Example #3
0
require_once 'dbscore.lib';
// функци¤ подготовки к работе и авторизации
echo "<CENTER>";
$enterpoint = "help";
// дл¤ показа точки входа
$hlp = getvar('hlp');
if ($hlp !== false) {
    $messageid = rmsg($hlp);
    //	echo "message $hlp  is key $messageid <br>";
    $msghelpid = "F1_" . $messageid;
    //	echo "msg for key $msghelpid is ".cmsg ($msghelpid)."<br>";
    lprint($msghelpid);
    exit(1);
}
// ѕ–» Ќ≈—ќќ“¬≈“—“¬»» LANGDB —≈–¬≈– ћќ∆≈“ Ќ≈ ѕ–»Ќя“№ ƒјЌЌџ≈"!!
$actcode = genactcode();
$dbs_ip = $_SERVER['REMOTE_ADDR'];
$rmsg = getvar('rmsg');
//надо это делать в три шага 1- получение инфы. два подтверждение и отправка, 3 сохранение на сервере
//echo "rmsg=$rmsg go=$go inet=$inet str=$str <br>!!!!!!!!!!!!!!!!!1";
if ($rmsg !== false) {
    @($inet = fopen("http://dj.chg.su/dbscript/update.txt", "r"));
    $authorreport = $prauth[$ADM][0];
    $keyword = $rmsg;
    echo " Report by {$authorreport}  (pressed last key " . $keyword . "<br>";
    lprint("REP_MSG");
    //if ($str) $go==cmsg ("SENDMSG");
    if ($inet == false) {
        lprint(NO_INET);
        echo "<form action=main.php method=post>";
    }