Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- session_start( );
- include_once( 'config/remove_marks.php' );
- include_once( 'config/common.php' );
- include_once( 'config/include_path.php' );
- include_once( 'config/pear_quickform.php' );
- include_once( 'config/module.class.php' );
- include_once( 'config/adodb.php' );
- include_once( 'config/smarty.php' );
- require_once( 'lib/rss/rsslib.php' );
- include_once( 'lib/download_remote_file.php' );
- if (URL_FRIENDLY == true) {
- rewriteurl( );
- }
- $default_languages = $oDb->getrow( 'select * from languages where default_id=\'1\'' );
- if ($_GET['stheme'] != '') {
- $_SESSION['theme'] = $_GET['stheme'];
- } else {
- if ($_SESSION['theme'] == '') {
- $_SESSION['theme'] = DEFAULT_THEME;
- }
- }
- $_SESSION['theme'] = $_SESSION['theme'];
- if ($_GET['slang_id'] != '') {
- $languages = $oDb->getrow( 'select * from languages where id=\'' . $_GET['slang_id'] . '\'' );
- $_SESSION['lang_id'] = $_GET['slang_id'];
- $_SESSION['lang'] = $languages['name_file'];
- } else {
- if ($_SESSION['lang'] == '') {
- $_SESSION['lang_id'] = $default_languages['id'];
- $_SESSION['lang'] = $default_languages['name_file'];
- if (check_ip_vn( ) != 1) {
- $_SESSION['lang_id'] = $default_languages['id'];
- $_SESSION['lang'] = $default_languages['name_file'];
- }
- }
- }
- $_SESSION['lang_file'] = $_SESSION['lang'] . '.conf';
- $oSmarty->assign( 'article_category', $oDb->getall( 'select * from article_category where lang_id=\'' . $_SESSION['lang_id'] . '\'' ) );
- if ($_GET['ajax'] != true) {
- loadmodule( 'layout' );
- } else {
- loadmodule( $_GET['mod'], $_GET['task'] );
- }
- ....................................................................
- ......................
- .......
Advertisement
Add Comment
Please, Sign In to add comment