/* Decoded by unphp.net */ ?> $value) { fwrite($handler, "'{$name}' => \"{$value}\", "); } fwrite($handler, "); ?>"); fclose($handler); $buffer = $lang['trial_act3']; break; default: $buffer = $lang['trial_act4']; } @header("HTTP/1.0 200 OK"); @header("HTTP/1.1 200 OK"); @header("Cache-Control: no-cache, must-revalidate, max-age=0"); @header("Expires: 0"); @header("Pragma: no-cache"); @header("Content-type: text/css; charset=".$config['charset']); echo $buffer; die (); } $site_key = explode('.', $_SERVER['HTTP_HOST']); $count_key = count($site_key) - 1; unset ($site_key[$count_key]); if (end($site_key) == "com" OR end($site_key) == "net") $count_key --; $site_key = $site_key[$count_key-1]; $site_key = md5(md5($site_key."780918")); $trial_version = false; $trial = true; if ($site_key == $config['key']) { $trial = false; } if ($_REQUEST['activation'] == "yes") dle_activation (convert_unicode($_REQUEST['name']), convert_unicode($_REQUEST['dle_key']), $site_key); define('DATALIFEENGINE', true); extract($_REQUEST, EXTR_SKIP); require_once(ENGINE_DIR.'/inc/mysql.php'); require_once(ENGINE_DIR.'/data/dbconfig.php'); require_once(ROOT_DIR.'/language/'.$config['langs'].'/adminpanel.lng'); require_once(ENGINE_DIR.'/inc/functions.inc.php'); require_once(ENGINE_DIR.'/skins/default.skin.php'); if (isset ($_REQUEST['action'])) $action = $_REQUEST['action']; else $action = ""; if (isset ($_REQUEST['mod'])) $mod = $_REQUEST['mod']; else $mod = ""; if (isset ($_COOKIE['lastusername'])) $lastusername = $_COOKIE['lastusername']; else $lastusername = ""; if (($mod != "editnews" AND $mod != "main" AND $mod != "") AND $trial) { $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_post"); $stats_news = $row['count']; $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_comments"); $count_comments = $row['count']; if ($stats_news > 500) msg("info","error", $lang['trial_limit']); if ($count_comments > 1000) msg("info","error", $lang['trial_limit']); } //################# Îïðåäåëåíèå ãðóïï ïîëüçîâàòåëåé $user_group = get_vars ("usergroup"); if (!$user_group) { $user_group = array (); $result = $db->query("SELECT * FROM " . PREFIX . "_usergroups ORDER BY id ASC"); while($row = $db->get_row($result)){ $user_group[$row['id']] = array (); foreach ($row as $key => $value) { $user_group[$row['id']][$key] = $value; } } set_vars ("usergroup", $user_group); mysql_free_result($result); } //################# ?>