- Автор темы
- #41
у мну не работает версия 6,5
Демо? Клиентка? Симптомы?
Простое заявление "не работает" наводит на мысли о кривости рук и чрезмерной ленивости и ламерности автора заявления.
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
у мну не работает версия 6,5
прописал но лучше не стало
<?PHP
//System Configurations
$config = array (
'home_title' => "Key For DataLife Engine",
'http_home_url' => "http://keyfordle.300mb.info/",
'charset' => "windows-1251",
'description' => "Key for DataLife Engine",
'keywords' => "Key generator, DataLife, Engine, CMS, PHP движок",
'short_title' => "Демонстрационный сайт",
'date_adjust' => "0",
'site_offline' => "no",
'allow_alt_url' => "yes",
'langs' => "Russian",
'skin' => "Default",
'allow_gzip' => "no",
'allow_admin_wysiwyg' => "no",
'allow_static_wysiwyg' => "no",
'admin_path' => "admin.php",
'extra_login' => "0",
'ip_control' => "1",
'log_hash' => "0",
'safe_xfield' => "0",
'news_number' => "5",
'smilies' => "wink,winked,smile,am,belay,feel,fellow,laughing,lol,love,no,recourse,request,sad,tongue,wassat,crying,what,bully,angry",
'timestamp_active' => "j F Y",
'news_sort' => "news_read",
'news_msort' => "DESC",
'image_align' => "",
'mail_news' => "1",
'show_sub_cats' => "1",
'short_rating' => "1",
'hide_full_link' => "no",
'allow_site_wysiwyg' => "no",
'news_captcha' => "1",
'allow_comments' => "yes",
'allow_url_instead_mail' => "yes",
'comm_nummers' => "30",
'comm_msort' => "DESC",
'flood_time' => "30",
'auto_wrap' => "80",
'timestamp_comment' => "j F Y H:i",
'mail_comments' => "1",
'allow_comments_wysiwyg' => "no",
'full_search' => "0",
'allow_registration' => "yes",
'allow_cache' => "no",
'allow_multi_category' => "1",
'related_news' => "1",
'no_date' => "1",
'speedbar' => "1",
'allow_banner' => "1",
'allow_cmod' => "0",
'allow_votes' => "yes",
'allow_topnews' => "yes",
'allow_read_count' => "yes",
'cache_count' => "0",
'allow_calendar' => "yes",
'allow_archives' => "yes",
'rss_informer' => "0",
'ajax' => "0",
'files_allow' => "no",
'files_type' => "zip,rar,exe,doc,pdf",
'files_force' => "1",
'files_max_speed' => "0",
'files_antileech' => "1",
'files_count' => "yes",
'admin_mail' => "keyfordle@mail.com",
'mail_metod' => "php",
'smtp_host' => "localhost",
'smtp_port' => "25",
'smtp_user' => "",
'smtp_pass' => "",
'mail_bcc' => "0",
'reg_group' => "4",
'registration_type' => "0",
'allow_sec_code' => "yes",
'allow_skin_change' => "yes",
'max_users' => "0",
'max_users_day' => "0",
'allow_upload' => "yes",
'max_up_side' => "0",
'max_up_size' => "200",
'max_image_days' => "2",
'allow_watermark' => "yes",
'max_watermark' => "150",
'max_image' => "450",
'jpeg_quality' => "85",
'tag_img_width' => "0",
'allow_rss' => "1",
'rss_mtype' => "0",
'rss_number' => "10",
'rss_format' => "1",
'version_id' => "6.5",
'key' => "bdef61fcab10dc9ffd88bd821567c37d",
);
?>
<?PHP
//System Configurations
$config = array (
'home_title' => "Íàöèîíàëüíûé Îíëàéí Êèíîòåàòð",
'http_home_url' => "http://firefilms.net/",
'charset' => "windows-1251",
'description' => "Âñå êèíî ñî âñåìè çâåçäàìè!",
'keywords' => "Ñàéò, ïîðòàë, îíëàéí, online, êèíî, ôèëüìû. óæàñòèêè, ïîðíî, áîåâèêè, êðåìèíàë, äåòåêòèâ,èñòîðè÷åñêèå, ñåìåéíûå, ôàíòàñòèêà,êîìåäèè, äîêóìåíòàëüíûå",
'short_title' => "Kinostars",
'date_adjust' => "0",
'allow_alt_url' => "yes",
'langs' => "Russian",
'skin' => "kinostars.ru",
'allow_gzip' => "no",
'allow_admin_wysiwyg' => "no",
'allow_static_wysiwyg' => "no",
'site_offline' => "no",
'offline_reason' => "Ñàéò íàõîäèòñÿ íà òåêóùåé ðåêîíñòðóêöèè, ïîñëå çàâåðøåíèÿ âñåõ ðàáîò ñàéò áóäåò îòêðûò.<br /><br />Ïðèíîñèì âàì ñâîè èçâèíåíèÿ çà äîñòàâëåííûå íåóäîáñòâà.",
'admin_path' => "sudba.php",
'extra_login' => "0",
'ip_control' => "0",
'log_hash' => "0",
'safe_xfield' => "0",
'news_number' => "10",
'smilies' => "wink,winked,smile,am,belay,feel,fellow,laughing,lol,love,no,recourse,request,sad,tongue,wassat,crying,what,bully,angry",
'timestamp_active' => "j F Y",
'news_sort' => "date",
'news_msort' => "DESC",
'image_align' => "left",
'mail_news' => "1",
'show_sub_cats' => "1",
'short_rating' => "1",
'hide_full_link' => "no",
'allow_site_wysiwyg' => "no",
'news_captcha' => "0",
'allow_comments' => "yes",
'allow_url_instead_mail' => "yes",
'comments_maxlen' => "3000",
'comm_nummers' => "30",
'comm_msort' => "ASC",
'flood_time' => "30",
'auto_wrap' => "80",
'timestamp_comment' => "j F Y H:i",
'mail_comments' => "1",
'allow_comments_wysiwyg' => "no",
'full_search' => "0",
'allow_registration' => "yes",
'allow_cache' => "yes",
'allow_multi_category' => "1",
'related_news' => "0",
'no_date' => "1",
'speedbar' => "1",
'allow_banner' => "1",
'allow_cmod' => "0",
'allow_votes' => "yes",
'allow_topnews' => "yes",
'allow_read_count' => "yes",
'cache_count' => "0",
'allow_calendar' => "yes",
'allow_archives' => "yes",
'rss_informer' => "1",
'ajax' => "0",
'files_allow' => "yes",
'files_type' => "zip,rar,exe,doc,pdf,jpg,gif,bmp",
'files_force' => "1",
'files_max_speed' => "0",
'files_antileech' => "1",
'files_count' => "yes",
'admin_mail' => "dr.sudba@rambler.ru",
'mail_metod' => "php",
'smtp_host' => "localhost",
'smtp_port' => "25",
'smtp_user' => "",
'smtp_pass' => "",
'mail_bcc' => "0",
'reg_group' => "4",
'registration_type' => "0",
'allow_sec_code' => "yes",
'allow_skin_change' => "yes",
'max_users' => "0",
'max_users_day' => "0",
'allow_upload' => "yes",
'max_up_side' => "0",
'max_up_size' => "2000",
'max_image_days' => "2",
'allow_watermark' => "no",
'max_watermark' => "150",
'max_image' => "450",
'jpeg_quality' => "85",
'tag_img_width' => "237",
'allow_rss' => "1",
'rss_mtype' => "0",
'rss_number' => "10",
'rss_format' => "1",
'version_id' => "6.7",
'key' => "",
);
?>
А у мну тут смех
это другой мой сайт. А в админки написано: Лицензия активирована, хотя код не вводилPHP:<?PHP //System Configurations $config = array ( 'home_title' => "Национальный Онлайн Кинотеатр", 'http_home_url' => "http://firefilms.net/", 'charset' => "windows-1251", 'description' => "Все кино со всеми звездами!", 'keywords' => "Сайт, портал, онлайн, online, кино, фильмы. ужастики, порно, боевики, креминал, детектив,исторические, семейные, фантастика,комедии, документальные", 'short_title' => "Kinostars", 'date_adjust' => "0", 'allow_alt_url' => "yes", 'langs' => "Russian", 'skin' => "kinostars.ru", 'allow_gzip' => "no", 'allow_admin_wysiwyg' => "no", 'allow_static_wysiwyg' => "no", 'site_offline' => "no", 'offline_reason' => "Сайт находится на текущей реконструкции, после завершения всех работ сайт будет открыт.<br /><br />Приносим вам свои извинения за доставленные неудобства.", 'admin_path' => "sudba.php", 'extra_login' => "0", 'ip_control' => "0", 'log_hash' => "0", 'safe_xfield' => "0", 'news_number' => "10", 'smilies' => "wink,winked,smile,am,belay,feel,fellow,laughing,lol,love,no,recourse,request,sad,tongue,wassat,crying,what,bully,angry", 'timestamp_active' => "j F Y", 'news_sort' => "date", 'news_msort' => "DESC", 'image_align' => "left", 'mail_news' => "1", 'show_sub_cats' => "1", 'short_rating' => "1", 'hide_full_link' => "no", 'allow_site_wysiwyg' => "no", 'news_captcha' => "0", 'allow_comments' => "yes", 'allow_url_instead_mail' => "yes", 'comments_maxlen' => "3000", 'comm_nummers' => "30", 'comm_msort' => "ASC", 'flood_time' => "30", 'auto_wrap' => "80", 'timestamp_comment' => "j F Y H:i", 'mail_comments' => "1", 'allow_comments_wysiwyg' => "no", 'full_search' => "0", 'allow_registration' => "yes", 'allow_cache' => "yes", 'allow_multi_category' => "1", 'related_news' => "0", 'no_date' => "1", 'speedbar' => "1", 'allow_banner' => "1", 'allow_cmod' => "0", 'allow_votes' => "yes", 'allow_topnews' => "yes", 'allow_read_count' => "yes", 'cache_count' => "0", 'allow_calendar' => "yes", 'allow_archives' => "yes", 'rss_informer' => "1", 'ajax' => "0", 'files_allow' => "yes", 'files_type' => "zip,rar,exe,doc,pdf,jpg,gif,bmp", 'files_force' => "1", 'files_max_speed' => "0", 'files_antileech' => "1", 'files_count' => "yes", 'admin_mail' => "dr.sudba@rambler.ru", 'mail_metod' => "php", 'smtp_host' => "localhost", 'smtp_port' => "25", 'smtp_user' => "", 'smtp_pass' => "", 'mail_bcc' => "0", 'reg_group' => "4", 'registration_type' => "0", 'allow_sec_code' => "yes", 'allow_skin_change' => "yes", 'max_users' => "0", 'max_users_day' => "0", 'allow_upload' => "yes", 'max_up_side' => "0", 'max_up_size' => "2000", 'max_image_days' => "2", 'allow_watermark' => "no", 'max_watermark' => "150", 'max_image' => "450", 'jpeg_quality' => "85", 'tag_img_width' => "237", 'allow_rss' => "1", 'rss_mtype' => "0", 'rss_number' => "10", 'rss_format' => "1", 'version_id' => "6.7", 'key' => "", ); ?>
так вот я скачал демо.... а мне это не помогло(((
что делать..??
<?php
/*
=====================================================
DataLife Engine - by SoftNews Media Group
-----------------------------------------------------
http://dle-news.ru/
-----------------------------------------------------
Copyright (c) 2004,2008 SoftNews Media Group
=====================================================
Данный код защищен авторскими правами
=====================================================
Файл: init.php
-----------------------------------------------------
Назначение: Инициализация
=====================================================
*/
extract($_REQUEST, EXTR_SKIP);
require_once (ENGINE_DIR.'/data/config.php');
require_once(ENGINE_DIR.'/classes/mysql.php');
require_once(ENGINE_DIR.'/data/dbconfig.php');
require_once(ROOT_DIR.'/language/'.$config['langs'].'/adminpanel.lng');
$lic_tr = false;
$config['charset'] = ($lang['charset'] != '') ? $lang['charset'] : $config['charset'];
require_once(ENGINE_DIR.'/inc/functions.inc.php');
check_xss ();
$Timer = new microTimer;
$Timer->start();
if ($_SESSION['dle_log'] > 5) die("Hacking attempt!");
$is_loged_in = FALSE;
$member_db = array ();
$result = "";
$username = "";
$cmd5_password = "";
$allow_login = false;
$PHP_SELF = $_SERVER['PHP_SELF'];
$_IP = $db->safesql($_SERVER['REMOTE_ADDR']);
require_once(ENGINE_DIR.'/skins/default.skin.php');
if (isset ($_POST['action'])) $action = $_POST['action']; else $action = $_GET['action'];
if (isset ($_POST['mod'])) $mod = $_POST['mod']; else $mod = $_GET['mod'];
if (isset ($_COOKIE['lastusername'])) $lastusername = $_COOKIE['lastusername']; else $lastusername = "";
if (($mod != "editnews" AND $mod != "main" AND $mod != "") AND $lic_tr) {
$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 > 100) msg("info","error", $lang['trial_limit']);
if ($count_comments > 200) msg("info","error", $lang['trial_limit']);
}
//################# Определение групп пользователей
$user_group = get_vars ("usergroup");
if (!$user_group) {
$user_group = array ();
$db->query("SELECT * FROM " . USERPREFIX . "_usergroups ORDER BY id ASC");
while($row = $db->get_row()){
$user_group[$row['id']] = array ();
foreach ($row as $key => $value)
{
$user_group[$row['id']][$key] = $value;
}
}
set_vars ("usergroup", $user_group);
$db->free();
}
//#################
//################# Определение категорий
$cat_info = get_vars ("category");
if (!is_array($cat_info)) {
$cat_info = array ();
$db->query("SELECT * FROM " . PREFIX . "_category ORDER BY posi ASC");
while($row = $db->get_row()){
$cat_info[$row['id']] = array ();
foreach ($row as $key => $value)
{
$cat_info[$row['id']][$key] = stripslashes($value);
}
}
set_vars ("category", $cat_info);
$db->free();
}
if (count($cat_info)) {
foreach($cat_info as $key) {
$cat[$key['id']] = $key['name'];
$cat_parentid[$key['id']]=$key['parentid'];
}
}
if ($_REQUEST['action'] == "logout") {
set_cookie("dle_name","", 0);
set_cookie("dle_password","", 0);
set_cookie("dle_skin","", 0);
set_cookie("dle_newpm", "", 0);
set_cookie("dle_hash", "", 0);
set_cookie(session_name(),"",0);
@session_unset();
@session_destroy();
if ($config['extra_login']) auth();
msg("info", $lang['index_msge'], $lang['index_exit']);
}
if ($check_referer) {
if ($_SERVER['HTTP_REFERER'] == '' AND $_REQUEST['subaction'] != 'dologin') $allow_login = true;
elseif (clean_url($_SERVER['HTTP_REFERER']) == clean_url($_SERVER['HTTP_HOST'])) $allow_login = true;
} else {
$allow_login = true;
}
if ($allow_login) {
if ($config['extra_login']) {
if (!isset($_SERVER['PHP_AUTH_USER']) || !isset($_SERVER['PHP_AUTH_PW'])) auth();
$username = $_SERVER['PHP_AUTH_USER'];
$cmd5_password = md5($_SERVER['PHP_AUTH_PW']);
} elseif ($_SESSION['dle_name'] != "") {
$username = $_SESSION['dle_name'];
$cmd5_password = $_SESSION['dle_password'];
} elseif ($_COOKIE['dle_name'] != "") {
$username = $_COOKIE['dle_name'];
$cmd5_password = $_COOKIE['dle_password'];
}
if($_REQUEST['subaction'] == 'dologin'){
$username = $_POST['username'];
$cmd5_password = md5($_POST['password']);
}
}
if(check_login($username, $cmd5_password))
{
$is_loged_in = true;
$_SESSION['dle_log'] = 0;
$dle_login_hash = md5($_SERVER['HTTP_HOST'].$username.$cmd5_password.$config['key']);
}else{
$_SESSION['dle_log'] = intval($_SESSION['dle_log'])+1;
$dle_login_hash = "";
if($_REQUEST['subaction'] == 'dologin') {
$result = "<font color=red>".$lang['index_errpass']."</font>";
} else $result = "";
if ($config['extra_login']) auth();
$is_loged_in = false;
}
if ($is_loged_in AND !$_SESSION['dle_xtra'] AND $config['extra_login']) {$_SESSION['dle_xtra'] = true; $_REQUEST['subaction'] = 'dologin';}
###########################
if($is_loged_in AND $_REQUEST['subaction'] == 'dologin'){
$_SESSION['dle_name'] = $username;
$_SESSION['dle_password'] = $cmd5_password;
set_cookie ("lastusername", $username, 365);
set_cookie ("dle_name", $username, 365);
set_cookie ("dle_password", $cmd5_password, 365);
$time_now = time()+ ($config['date_adjust']*60);
if ($config['log_hash']) {
$salt = "abchefghjkmnpqrstuvwxyz0123456789"; $hash = '';
srand((double)microtime()*1000000);
for($i=0;$i < 9; $i++) {
$hash .= $salt{rand(0,33)};
}
$hash = md5 ( $hash );
set_cookie ("dle_hash", $hash, 365);
$_COOKIE['dle_hash'] = $hash;
$member_db[14] = $hash;
$db->query("UPDATE " . USERPREFIX . "_users set hash='" . $hash . "', lastdate='{$time_now}', logged_ip='".$_IP."' WHERE user_id='$member_db[10]'");
} else $db->query("UPDATE " . USERPREFIX . "_users set lastdate='{$time_now}', logged_ip='".$_IP."' WHERE user_id='$member_db[10]'");
}
if ($is_loged_in AND $config['log_hash'] AND (($_COOKIE['dle_hash'] != $member_db[14]) OR ($member_db[14] == "") )) {
$is_loged_in = FALSE;
}
if ($is_loged_in AND $config['ip_control'] == '1' AND $member_db[15] != $_IP AND $_REQUEST['subaction'] != 'dologin') $is_loged_in = FALSE;
if (!$is_loged_in) {
set_cookie("dle_name","", 0);
set_cookie("dle_password","", 0);
set_cookie("dle_skin","", 0);
set_cookie("dle_hash","", 0);
$_SESSION['dle_name'] = '';
$_SESSION['dle_password'] = '';
if ($config['extra_login']) auth();
}
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>