Просмотр файла element_options/element_lost_cron/element_lost_online5.php

Размер файла: 802B
<?php
	require_once '../element_database.php';
	require_once '../../element_function/element_function_standart.php';
	
	$online = readcache('lost_element_online');	
	foreach ($online as $key => $value) {
		$explode = explode(".", $value);
			if ($explode[1] < (time() - 700)) { 
				$user_key = cache_user($key);
				$explode1 = explode(' ', $user_key['lost_other']);
				$explode1[1] = time();
				$user_key['lost_other'] = implode(' ', $explode1);
				user_list_update($key);
				writecache('element_users_id_'.$key, $user_key);
				unset($online[$key]);
			}
	}
	writecache('lost_element_online',$online)
///element_options/element_lost_cron/element_lost_online5.php
// /usr/bin/wget -q -o /dev/null http://godwars.ru/element_options/element_lost_cron/element_lost_online5.php
?>