<?php
############################################
### Этот скрипт написан для Wap-Motor 18 ###
###Автор скрипта Dred#######################
###ICQ: 757041##############################
###Сайт: http://nmn.webhop.net##############
###Желающие могут подкинуть деньжат#########
###Z840880492902############################
###R852036927651############################
############################################
require_once"../template/start.php";require_once"../template/regglobals.php";require_once"../template/config.php";require_once"../template/siti_conf.php";require_once"../template/functions.php";require_once"../template/antidos.php";require_once"../template/cookies.php";require_once"../template/gzip.php";require_once"../template/header.php";require_once"../template/referer.php";include_once"../themes/$config_themes/index.php";include_once"../template/isset.php";if ($provlog==$_SESSION['log'] && $provpar==md5($_SESSION['par']) && $_SESSION['log']!="" && md5($_SESSION['par'])!="") { $nam=check($nam);$ufile = file(BASEDIR."local/profil/$log.prof"); $udata = explode(":||:",$ufile[0]);$udata[41] =round($udata[41]-$dt9);if ($nam==""){$udata[167]="";}else{$udata[167]=100;}$udata[166]=$nam;for ($u=0; $u<$config_userprofkey; $u++){$utext.=$udata[$u].':||:';}if($udata[0]!="" && $udata[1]!="" && $udata[4]!="" && $utext!=""){$fp=fopen(BASEDIR."local/profil/$log.prof","a+"); flock ($fp,LOCK_EX); ftruncate ($fp,0); fputs($fp,$utext);fflush ($fp);flock ($fp,LOCK_UN);fclose($fp); unset($utext); }if ($nam==""){header ("location: index.php");}header ("location: tamagoch.php?action=tam");}?>