function captcha($Num, $Left = 0, $Right = 0, $Permanent = false) {
$Pos = "";
if ($Left !== 0) { $Pos .= "left:".$Left."px;"; }
if ($Right !== 0) { $Pos .= "right:".$Right."px;"; }
if ($Permanent or $_SESSION["sec_actions"] >= $Num) {
return '';
} else {
return false;
}
}
if (!isset($_SESSION["ten2020Holiday"])) {
sleep(0.78); //For Apache keep-alive and ddos
}
function check_captcha_sp($Num) {
if ($_SESSION["sec_actions"] >= $Num) {
return check_captcha();
} else {
return true;
}
return false;
}
require_once $_SERVER['DOCUMENT_ROOT']."/_templates/_head/main_head.php" ?>
if (!empty($Top_text)) : ?>HOLAP!
endif ?>
if (isset($_GET["vlare"])) : ?>Vlare.tv is going to be offline for a bit. Please be patient.
endif ?>
require_once $_SERVER['DOCUMENT_ROOT']."/_templates/_layout/header.php" ?>
if ($_USER->logged_in && !$_USER->Is_Activated) : ?>
Click the activation link we sent to your email to use VidLii to its fullest! (Check the spam folder!)
endif ?>
if (isset($_SESSION["notification"])) : ?>
unset($_SESSION["notification"]); unset($_SESSION["n_color"]); ?>
endif ?>
require_once $_SERVER['DOCUMENT_ROOT']."/_templates/_pages/$_PAGE->Page.php" ?>
require_once $_SERVER['DOCUMENT_ROOT']."/_templates/_layout/footer.php" ?>
require_once $_SERVER['DOCUMENT_ROOT']."/_templates/_layout/scripts.php" ?>