View file dl/system/cookies.php

File size: 1.96Kb
<?php
#********************************** AgS MOD DOWNLOAD CENTR SEA *************************************#
#***************************************************************************************************#
#  /||||||||||||||| *********************  /||||||||||||||| *********************  /||||||||||||||| #
# | ||||||||||||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||/////||||| ********************* | |||||/////////  ********************* | |||||/////////  #
# | |||||   | ||||| ****** E-MAIL ******* | |||||           ****** WAP/WEB ****** | |||||           #
# | |||||   | ||||| *** [email protected] *** | |||||           * http://ags.h2m.ru * | ||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||   | ||||| ********************* | |||||/////||||| ********************* |///////////||||| #
# | ||||||||||||||| ****** SKYPE ******** | |||||   | ||||| ***** MOD AUTHOR ****           | ||||| #
# | |||||////|||||| ***** agrizz15 ****** | |||||   | ||||| ***** Agris Ci&#353;s ****  /||||||||||||||| #
# | |||||   | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# |/////    |/////  ********************* |///////////////  ********************* |///////////////  #
#***************************************************************************************************#
#********************************* MOD by AgS in 2010 @ LATVIA *************************************#


if(empty($_SESSION['par']) && empty($_SESSION['log']) && !empty($_COOKIE['cookpar']) && !empty($_COOKIE['cooklog'])) {
$unlog=cookies_atkodesana($_COOKIE['cooklogins'],$cookies_key);
$unpar=cookies_atkodesana($_COOKIE['cookparole'],$cookies_key);

if (md5($unpar)==$setup['adpass'] && $unlog==$setup['adnick'] && $unlog!=="" && md5($unpar)!=="") {

$log=$unlog;
$par=$unpar;

$_SESSION['log']=$log;
$_SESSION['par']=$par;}
}

?>