Advertisement
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 ionCube Encoder)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- class Admin {
- var $script = null;
- var $session = null;
- var $title = 'Associate-O-Matic v5.4.0 Control Panel';
- var $title_lite = 'Associate-O-Matic LITE v5.4.0 Control Panel';
- var $title_trial = 'Associate-O-Matic 30-Day Trial v5.4.0 Control Panel';
- var $version = '5.4.0';
- var $cfg_version = null;
- var $lang_version = null;
- var $cfg_backups = 10;
- var $path = 'aom';
- var $cfg_file_categories = 'cfg.default.php';
- var $cfg_file_saved = 'cfg.saved.php';
- var $cfg_file_saved_admin = 'cfg.admin.php';
- var $cfg = array( );
- var $saved = array( );
- var $setting = array( );
- var $nodes = array( );
- var $form = array( );
- var $err = array( );
- var $err_xml = '';
- var $msg = null;
- var $colorpicker = 0;
- var $cache = null;
- var $ed = 'cfg.aomhelper.php';
- var $app = array( );
- var $gs = array( 0 => 'AmazonStoreType', 1 => 'AmazonAssociateId', 2 => 'AmazonAccessKeyId', 3 => 'AmazonSecretAccessKey', 4 => 'SiteName' );
- var $lite = array( 0 => 'AmazonCommissionSplitter', 1 => 'BuyButtonDigitalGoods', 2 => 'BuyButtonViewCart', 3 => 'CacheHeader', 4 => 'CacheFooter', 5 => 'CartAddTrackingCode', 6 => 'CartBgColorEven', 7 => 'CartBgColorOdd', 8 => 'CartCheckoutTrackingCode', 9 => 'CheckoutNewWindow', 10 => 'DisplayCartSimilarItems', 11 => 'DisplayCartSimilarViewedItems', 12 => 'DisplayCartBestsellers', 13 => 'DisplayCartNewReleases', 14 => 'DisplayCategoryColumn', 15 => 'DisplayImageColumn', 16 => 'DisplaySellerColumn', 17 => 'ErrorCart', 18 => 'ModRewrite', 19 => 'MiniCartBox', 20 => 'PoweredBy', 21 => 'Reports', 22 => 'SmtpHost', 23 => 'SmtpPort', 24 => 'SmtpAuth', 25 => 'SmtpUsername', 26 => 'SmtpPass', 27 => 'ReportsEmailFrom', 28 => 'ReportsEmailHeader', 29 => 'ReportsEmailTo', 30 => 'ReportsTitle', 31 => 'RssCustomBoxes', 32 => 'RssCustomPages', 33 => 'ShoppingCart', 34 => 'ShoppingCartInstructions', 35 => 'ShoppingCartInstructions2', 36 => 'UrlHomeFile', 37 => 'UrlEndsWith', 38 => 'UrlSeparator' );
- var $flag = array( 'Amazon.com' => 'flag_us', 'Amazon.co.uk' => 'flag_uk', 'Amazon.ca' => 'flag_ca', 'Amazon.de' => 'flag_de', 'Amazon.fr' => 'flag_fr', 'Amazon.co.jp' => 'flag_jp', 'Amazon.it' => 'flag_it', 'Amazon.cn' => 'flag_cn', 'Amazon.es' => 'flag_es' );
- var $locale_array = array( 'Amazon.com' => 'us', 'Amazon.co.uk' => 'uk', 'Amazon.ca' => 'ca', 'Amazon.de' => 'de', 'Amazon.fr' => 'fr', 'Amazon.co.jp' => 'jp', 'Amazon.it' => 'it', 'Amazon.cn' => 'cn', 'Amazon.es' => 'es' );
- var $lang = array( 'Amazon.com' => 'en.lang.php', 'Amazon.co.uk' => 'en.lang.php', 'Amazon.ca' => 'en.lang.php', 'Amazon.de' => 'de.lang.php', 'Amazon.fr' => 'fr.lang.php', 'Amazon.co.jp' => 'jp.lang.php', 'Amazon.it' => 'it.lang.php', 'Amazon.cn' => 'cn.lang.php', 'Amazon.es' => 'es.lang.php' );
- var $branded = array( 0 => 'PoweredBy' );
- var $amazon = array( 0 => 'EcsVersion', 1 => 'UrlRest', 2 => 'UrlSoap' );
- var $section = array( 99 => 'Getting Started', 0 => 'Amazon', 4 => 'Categories', 15 => 'Home Page', 24 => 'Merchant', 7 => 'Shopping Cart', 1 => 'Site', 29 => 'Subcategories', 31 => 'Built-In Boxes', 6 => 'Custom Boxes', 25 => 'Custom Pages', 23 => 'Currency', 14 => 'Display', 22 => 'Meta Descriptions', 21 => 'Meta Keywords', 32 => 'Reviews', 30 => 'RSS', 13 => 'Search', 11 => 'Titles', 35 => 'Background', 34 => 'Buttons', 10 => 'Colors', 28 => 'CSS', 9 => 'Images', 27 => 'Layout', 17 => 'Tabs', 2 => 'Text', 33 => 'Themes', 98 => 'Advanced', 19 => 'Cache', 16 => 'Errors', 26 => 'Filters', 12 => 'Reports', 18 => 'SEO' );
- var $section_descr = array( 99 => 'the place to start', 0 => 'amazon settings', 4 => 'store categories', 15 => 'home page settings', 24 => 'merchant settings', 7 => 'customize cart', 1 => 'general settings', 29 => 'store sub categories', 23 => 'foreign currency settings', 31 => 'configure built-in boxes', 6 => 'setup custom boxes', 36 => 'configure built-in pages', 25 => 'setup custom pages', 14 => 'general display settings', 22 => 'configure page meta descriptions', 21 => 'configure page meta keywords', 32 => 'amazon item reviews', 30 => 'really simple syndication', 13 => 'fine-tune search settings', 11 => 'configure page titles', 35 => 'store background settings', 34 => 'shopping button settings', 10 => 'customize your colors', 28 => 'cascading style sheets', 9 => 'store image settings', 27 => 'customize store layout', 17 => 'store category tabs', 2 => 'customize text settings', 33 => 'choose store theme', 98 => 'be careful', 19 => 'page cache settings', 16 => 'customize error messages', 26 => 'item and category filtering', 12 => 'get email reports', 18 => 'search engine optimzation' );
- var $group = array( 'STORE' => array( 0 => 99, 1 => 0, 2 => 4, 3 => 15, 4 => 24, 5 => 7, 6 => 1, 7 => 29 ), 'CONTENT' => array( 0 => 31, 1 => 6, 2 => 25, 3 => 23, 4 => 14, 5 => 22, 6 => 21, 7 => 32, 8 => 30, 9 => 13, 10 => 11 ), 'APPEARANCE' => array( 0 => 35, 1 => 34, 2 => 10, 3 => 28, 4 => 9, 5 => 27, 6 => 17, 7 => 2, 8 => 33 ), 'OPTIMIZE' => array( 0 => 98, 1 => 19, 2 => 16, 3 => 26, 4 => 12, 5 => 18 ) );
- var $group_descr = array( 'STORE' => 'Customize your homepage, categories, subcategories, general store settings and more.', 'CONTENT' => 'Customize the content that appears in your store including custom boxes, custom pages, title, meta tags and more.', 'APPEARANCE' => 'Customize the theme, colors and layout of your store.', 'OPTIMIZE' => 'Customize reporting, filters, SEO, page caching and more.' );
- var $location = array( 'L' => 'Left', 'R' => 'Right', 'PT' => 'Page Top', 'PT2' => 'Page Top 2', 'PB' => 'Page Bottom', 'PB2' => 'Page Bottom 2', 'BT' => 'Body Top', 'BB' => 'Body Bottom', 'I1' => 'Item Location 1', 'I2' => 'Item Location 2', 'I3' => 'Item Location 3', 'I4' => 'Item Location 4', 'I5' => 'Item Location 5', 'I6' => 'Item Location 6', 'I7' => 'Item Location 7', 'C1' => 'Category Location 1', 'C2' => 'Category Location 2', 'C3' => 'Category Location 3' );
- var $dpages = array( '1st' => '', 404 => '404 Pages', 'C' => 'Shopping Cart', 'CP' => 'Custom Pages', 'H' => 'Home', 'I' => 'Items', 'L' => 'Categories', 'S' => 'Subcategories', 'SA' => 'Search All' );
- var $types = array( '' => '', 'Actor' => 'Actor', 'Artist' => 'Artist', 'Author' => 'Author', 'Brand' => 'Brand', 'Creator' => 'Creator', 'Director' => 'Director', 'Manufacturer' => 'Manufacturer', 'MusicLabel' => 'Music Label', 'Publisher' => 'Publisher', 'Title' => 'Title' );
- function Admin() {
- if (isset( $GLOBALS['_REQUEST']['form'] )) {
- $this->form = $GLOBALS['_REQUEST']['form'];
- if (isset( $GLOBALS['_REQUEST']['form_admin'] )) {
- $this->form_admin = $GLOBALS['_REQUEST']['form_admin'];
- }
- }
- if (defined( 'LITE' )) {
- $this->section['12'] = '';
- $this->section['30'] = '';
- unset( $this->section[bddaifhbgf] );
- unset( $this->section[cehdcibdhj] );
- }
- }
- function Load() {
- $this->clearSession( );
- $this->getScript( );
- $this->getSession( );
- if (( isset( $GLOBALS['_GET']['popup'] ) && $GLOBALS['_GET']['popup'] == 'backup' )) {
- $this->manageBackups( );
- return null;
- }
- if (( isset( $GLOBALS['_GET']['popup'] ) && $GLOBALS['_GET']['popup'] == 'new' )) {
- $this->whatsNew( );
- return null;
- }
- if (( isset( $GLOBALS['_GET']['popup'] ) && $GLOBALS['_GET']['popup'] == 'install_scheme' )) {
- $this->installScheme( );
- return null;
- }
- if (( isset( $GLOBALS['_GET']['popup'] ) && $GLOBALS['_GET']['popup'] == 'install_theme' )) {
- $this->installTheme( );
- return null;
- }
- $this->displayErr( );
- $this->loadCfg( );
- $this->deprecateNodeFile( );
- $this->validateCfg( );
- $this->loadCfgAdmin( );
- $this->plugParams( );
- $this->saveCfg( );
- $this->loadCfg( 'final' );
- $this->loadCfgAdmin( );
- $this->getResult( );
- $this->getBoxCount( );
- if (isset( $this->branding['name'] )) {
- $this->title = str_replace( 'Associate-O-Matic', $this->branding['name'], $this->title );
- }
- $this->_displayHeader( );
- $this->Javascript( );
- $this->_displayBody( );
- $this->_displayFooter( );
- }
- function getSession() {
- $this->session = md5( microtime( ) );
- }
- function clearSession() {
- }
- .........................................................
- .......................
- ......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement