Location: PHPKode > scripts > Linker IMG > linker-img/manage/authen.php
<?php

//=====================================
// LINKER Category Engine
//=====================================
// Filename : authen.php
// Path  : Manage directory
// last update : 2002/03/13
// Desc : Admin check
//=====================================

//=====================================
// File include part
//=====================================

include("../function/pass_info.php");


//=====================================
// Bad admin connect
//=====================================

if (!isset($HTTP_COOKIE_VARS[admin_login])) {

echo "
<script>
window.top.location.href = 'authen_check.php';
</script>
";
exit;

}

//=====================================
// Include base_info.php
//=====================================


else {

$cook_id = $HTTP_COOKIE_VARS[linker_key1];
$cook_pw = $HTTP_COOKIE_VARS[linker_key2];
if ($Sadmin_id == $cook_id && $Sadmin_pass == $cook_pw) {
include ("../function/base_info.php"); 
}
else {
echo "
<script>
window.top.location.href = 'authen_check.php';
</script>
";
}

}


?>
Return current item: Linker IMG