Advertisement
pixedelic

pix_admin.enfinity.php

Mar 8th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 62.65 KB | None | 0 0
  1. <?php
  2. $enfinity_theme = wp_get_theme();
  3. $version = $enfinity_theme->get( 'Version' );
  4. //enfinityInstall();
  5. if ( is_admin() && $version != get_option('pix_last_version') ){
  6.     update_option('pix_last_version',$version);
  7. }
  8. if (is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" ){
  9.    
  10.     enfinityInstall();
  11.     pix_add_default_content();
  12.    
  13.     wp_redirect(admin_url("admin.php?page=admin_interface&activated=true"));
  14.     $fonts = array(
  15.         'Open Sans',
  16.         'Droid Sans',
  17.         'Oswald',
  18.         'Droid Serif',
  19.         'Lobster',
  20.         'Yanone Kaffeesatz',
  21.         'PT Sans',
  22.         'Lora',
  23.         'Ubuntu',
  24.         'Crushed',
  25.         'Lato',
  26.         'Arvo',
  27.         'PT Sans Narrow',
  28.         'Nunito',
  29.         'Open Sans Condensed',
  30.         'Crafty Girls',
  31.         'Just Me Again Down Here',
  32.         'Bitter',
  33.         'Marck Script',
  34.         'Cabin',
  35.         'Dancing Script',
  36.         'Francois One',
  37.         'Arimo',
  38.         'Josefin Sans',
  39.         'PT Serif',
  40.         'Coming Soon',
  41.         'Play',
  42.         'Gochi Hand',
  43.         'Raleway',
  44.         'Anton',
  45.         'Calligraffitti',
  46.         'Nobile',
  47.         'Shadows Into Light',
  48.         'Cantarell',
  49.         'Tangerine',
  50.         'Cuprum',
  51.         'Cherry Cream Soda',
  52.         'Maven Pro'
  53.     );
  54.     if ( pix_get_option('pix_font_families') == '' ) {
  55.         pix_google_arrays( $fonts );
  56.     }
  57. }
  58.  
  59. function enfinityInstall() {
  60.     global $wpdb, $options;
  61.     $table_name = $wpdb->prefix . "enfinity";
  62.     $charset_collate = '';
  63.     if ( empty( $wpdb->use_mysqli ) ) {
  64.         $ver = mysql_get_server_info();
  65.     } else {
  66.         $ver = mysqli_get_server_info( $wpdb->dbh );
  67.     }
  68.     if ( version_compare($ver, '4.1.0', '>=') ) {
  69.         if ( ! empty($wpdb->charset) )
  70.             $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
  71.         if ( ! empty($wpdb->collate) )
  72.             $charset_collate .= " COLLATE $wpdb->collate";
  73.     }
  74.  
  75.     if( !$wpdb->get_var( "SHOW TABLES LIKE '$table_name'" ) ) {
  76.  
  77.         $sql = "CREATE TABLE $table_name (
  78.             id int(10) NOT NULL AUTO_INCREMENT,
  79.             name VARCHAR(255) NOT NULL,
  80.             value LONGTEXT DEFAULT '' NOT NULL,
  81.             icl VARCHAR(255),
  82.             UNIQUE KEY id (id)
  83.         ) $charset_collate;";
  84.  
  85.        require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
  86.        dbDelta($sql);
  87.     } else {
  88.         $wpml_col = $wpdb->get_col("SELECT icl FROM $table_name");
  89.         if( !$wpml_col || empty($wpml_col) ) {
  90.             $wpdb->query($wpdb->prepare("ALTER TABLE %s ADD %s VARCHAR(255)", $table_name, 'icl'));
  91.             add_options();
  92.             foreach ($options as $value) :
  93.                 if(isset($value['icl']) && $value['icl']=='true'){
  94.                     $wpdb_enfinity = $wpdb->prefix . 'enfinity';          
  95.                     $wpdb->update( $wpdb_enfinity, array( 'icl' => 'true' ), array( 'name' => $value['id'] ) );
  96.                 }
  97.             endforeach;
  98.         }
  99.         $col_id = $wpdb->get_col("SELECT id FROM $table_name");  
  100.         if ( !$col_id || empty($col_id) ) {
  101.             $wpdb->query($wpdb->prepare("ALTER TABLE %s ADD %s int(10) unsigned primary KEY AUTO_INCREMENT", $table_name, 'id'));
  102.         }
  103.         pix_add_general();
  104.     }
  105.    
  106. }
  107.  
  108. function pix_add_general() {
  109.     global $options;
  110.     add_options();
  111.     foreach ($options as $value) :
  112.         if(isset($value['icl']) && $value['icl']=='true'){
  113.             if(!pix_get_option($value['id'])){
  114.                 pix_add_option($value['id'], $value['std'], $value['icl']);
  115.             }
  116.             if (function_exists('icl_register_string') && $value['id']!='' && $value['id']!='page' ) {
  117.                 icl_register_string('Enfinity', $value['id'], $value['std']);
  118.             }
  119.         } else {
  120.             if(!pix_get_option($value['id'])){
  121.                 pix_add_option($value['id'], $value['std'], 'NULL');
  122.             }
  123.         }
  124.     endforeach;
  125. }
  126.  
  127. function pix_add_default_content() {
  128.     global $current_user, $wpdb;
  129.     get_currentuserinfo();
  130.    
  131.     $post_content = '
  132.         [pix_md_text align="text_center" max_width="780"]Thank you for your purchase, you just activated Enfinity,
  133. an elegant and flexible WordPress e-commerce theme with an adaptive layout[/pix_md_text]
  134. <p class="air_above textaligncenter"><a href="http://wordpress.org/extend/plugins/camera-slideshow/" target="_blank"><img class="aligncenter" title="Camera slideshow free plugin" src="http://plugins.svn.wordpress.org/camera-slideshow/assets/banner-772x250.jpg" alt="Camera slideshow free plugin" width="772" height="250" /></a></p>
  135. <p class="air_above">[pix_sm_text align="text_center" max_width="780"]If you want you can download <strong>Camera slideshow plugin </strong>(<a title="Camera slideshow free plugin" href="http://wordpress.org/extend/plugins/camera-slideshow/" target="_blank">click here</a> or on the image above), but since <strong>Enfinity 2.0</strong> the theme comes with a powerful slideshow generator, try it[/pix_sm_text]</p>
  136. <p class="air_above">[pix_divider decoration="floral_divid_10" opacity="opacity_0_5"]</p>
  137. [pix_column type="1/4" first="true"]
  138. <h3>The slideshows</h3>
  139. [pix_dropcap]1[/pix_dropcap]You can decide to use Camera slideshow (a free WP plugin developed by me) or, since <strong>Enfinity 2.0</strong> the slideshow generator to create responsive slideshows.
  140. [/pix_column]
  141.  
  142. [pix_column type="1/4"]
  143. <h3>WooCommerce</h3>
  144. [pix_dropcap]2[/pix_dropcap]<strong>Enfinity</strong> is developed to support <strong>WooCommerce</strong> (<a href="http://wordpress.org/extend/plugins/woocommerce/" target="_blank">click here</a>) to transform your WordPress website into a thorough-bred online eCommerce store.
  145. [/pix_column]
  146.  
  147. [pix_column type="1/4"]
  148. <h3>BBPress</h3>
  149. [pix_dropcap]3[/pix_dropcap]For the support forum, <strong>Enfinity</strong> uses <strong>BBPress plugin </strong>(<a title="BBPress plugin" href="http://wordpress.org/extend/plugins/bbpress/" target="_blank">click here</a>), so the theme is BBPress ready too... the demo version is exactly the same of yours.
  150. [/pix_column]
  151.  
  152. [pix_column type="1/4" last="true"]
  153. <h3>Admin panel</h3>
  154. [pix_dropcap]4[/pix_dropcap]<strong>Enfinity</strong> provides a very extended admin panel. You can have fun with it or, if you prefer, you can import a preset skin.
  155. <strong>N.B.:</strong> read the documentation.
  156. [/pix_column]
  157.     ';
  158.    
  159.     $post = array(
  160.       'comment_status' => 'closed',
  161.       'post_author' => $current_user->ID,
  162.       'post_name' => 'enfinity-temporary-home',
  163.       'post_status' => 'publish',
  164.       'post_title' => 'Enfinity temporary home',
  165.       'post_type' => 'page',
  166.       'post_content' => $post_content
  167.     );
  168.    
  169.     $post2 = array(
  170.       'comment_status' => 'closed',
  171.       'post_author' => $current_user->ID,
  172.       'post_name' => 'enfinity-temporary-blog',
  173.       'post_status' => 'publish',
  174.       'post_title' => 'Enfinity temporary blog',
  175.       'post_type' => 'page'
  176.     );
  177.    
  178.     if(!get_page_by_title('Enfinity temporary home') && !get_page_by_title('Enfinity temporary blog') && !pix_get_option('pix_admin_page_title') ) {
  179.         wp_insert_post($post);
  180.         $page = get_page_by_title( 'Enfinity temporary home' );
  181.         update_post_meta($page->ID, 'pix_pag_opts_hidetitle', 'on');
  182.         update_post_meta($page->ID, '_wp_page_template', 'widepage.php');
  183.         update_post_meta($page->ID, 'pix_pag_opts_share', 'hide');
  184.        
  185.         wp_insert_post($post2);
  186.         $page2 = get_page_by_title( 'Enfinity temporary blog' );
  187.        
  188.         update_option('show_on_front','page');
  189.         update_option('page_on_front',$page->ID);
  190.         update_option('page_for_posts',$page2->ID);
  191.         pix_add_general();
  192.     } else {
  193.         pix_add_general();
  194.     }
  195. }
  196.  
  197. function add_options()
  198. {
  199.     $enfinity_theme = wp_get_theme();
  200.     $version = $enfinity_theme->get( 'Version' );
  201.     global $options, $woocommerce_en;
  202.    
  203.     if ( $woocommerce_en == 'active' ) {
  204.         $stand_cart = 'true';
  205.     } else {
  206.         $stand_cart = '0';
  207.     }
  208.  
  209.     $options = array (
  210.         array( "id" => "pix_last_version",
  211.             "std" => $version,
  212.             "icl" => "NULL"),
  213.         array( "id" => "pix_tweets_message",
  214.             "std" => "false",
  215.             "icl" => "NULL"),
  216.         array( "id" => "pix_chmod_message",
  217.             "std" => "true",
  218.             "icl" => "NULL"),
  219.         array( "id" => "pix_documentation_message",
  220.             "std" => "true",
  221.             "icl" => "NULL"),
  222.         array( "id" => "pix_admin_page_title",
  223.             "std" => 'Enfinity',
  224.             "icl" => "true"),
  225.         array( "id" => "pix_login_logo",
  226.             "std" => get_template_directory_uri()."/functions/images/enfinity_logo_login.png",
  227.             "icl" => "NULL"),
  228.         array( "id" => "pix_admin_panel_logo",
  229.             "std" => get_template_directory_uri()."/functions/images/enfinity_sprite_admin.png",
  230.             "icl" => "NULL"),
  231.         array( "id" => "pix_admin_panel_logo_css",
  232.             "std" => "no-repeat 0 -819px",
  233.             "icl" => "NULL"),
  234.         array( "id" => "pix_allow_changelog",
  235.             "std" => "true",
  236.             "icl" => "NULL"),
  237.         array( "id" => "pix_select_fonts",
  238.             "std" => array(
  239.                 'Open Sans',
  240.                 'Droid Sans',
  241.                 'Oswald',
  242.                 'Droid Serif',
  243.                 'Lobster',
  244.                 'Yanone Kaffeesatz',
  245.                 'PT Sans',
  246.                 'Lora',
  247.                 'Ubuntu',
  248.                 'Crushed',
  249.                 'Lato',
  250.                 'Arvo',
  251.                 'PT Sans Narrow',
  252.                 'Nunito',
  253.                 'Open Sans Condensed',
  254.                 'Crafty Girls',
  255.                 'Just Me Again Down Here',
  256.                 'Bitter',
  257.                 'Marck Script',
  258.                 'Cabin',
  259.                 'Dancing Script',
  260.                 'Francois One',
  261.                 'Arimo',
  262.                 'Josefin Sans',
  263.                 'PT Serif',
  264.                 'Coming Soon',
  265.                 'Play',
  266.                 'Gochi Hand',
  267.                 'Raleway',
  268.                 'Anton',
  269.                 'Calligraffitti',
  270.                 'Nobile',
  271.                 'Shadows Into Light',
  272.                 'Cantarell',
  273.                 'Tangerine',
  274.                 'Cuprum',
  275.                 'Cherry Cream Soda',
  276.                 'Maven Pro'
  277.             ),
  278.             "icl" => "NULL"),
  279.         array( "id" => "pix_font_families",
  280.             "std" => '',
  281.             "icl" => "NULL"),
  282.         array( "id" => "pix_font_variants",
  283.             "std" => '',
  284.             "icl" => "NULL"),
  285.         array( "id" => "pix_font_subsets",
  286.             "std" => '',
  287.             "icl" => "NULL"),
  288.         array( "id" => "pix_allow_ajax",
  289.             "std" => "true",
  290.             "icl" => "NULL"),
  291.         array( "id" => "pix_topbar",
  292.             "std" => "fixed",
  293.             "icl" => "NULL"),
  294.         array( "id" => "pix_topbar_bgcolor",
  295.             "std" => "#313437",
  296.             "icl" => "NULL"),
  297.         array( "id" => "pix_topbar_bgcolor_opacity",
  298.             "std" => "0.95",
  299.             "icl" => "NULL"),
  300.         array( "id" => "pix_topicons_bgcolor",
  301.             "std" => "#000000",
  302.             "icl" => "NULL"),
  303.         array( "id" => "pix_topicons_textcolor",
  304.             "std" => "#d7d7d7",
  305.             "icl" => "NULL"),
  306.         array( "id" => "pix_topicons_color",
  307.             "std" => "",
  308.             "icl" => "NULL"),
  309.         array( "id" => "pix_header_bgcolor",
  310.             "std" => "#f7f7f7",
  311.             "icl" => "NULL"),
  312.         array( "id" => "pix_header_color",
  313.             "std" => "#4f4f4f",
  314.             "icl" => "NULL"),
  315.         array( "id" => "pix_header_bgcolor_opacity",
  316.             "std" => "0.99",
  317.             "icl" => "NULL"),
  318.         array( "id" => "pix_header_bgimage",
  319.             "std" => "",
  320.             "icl" => "NULL"),
  321.         array( "id" => "pix_header_bgimage_css",
  322.             "std" => "repeat",
  323.             "icl" => "NULL"),
  324.         array( "id" => "pix_logoimage",
  325.             "std" => "",
  326.             "icl" => "NULL"),
  327.         array( "id" => "pix_logostyle",
  328.             "std" => "",
  329.             "icl" => "NULL"),
  330.         array( "id" => "pix_sitetitle_fontfamily",
  331.             "std" => "Yanone+Kaffeesatz",
  332.             "icl" => "NULL"),
  333.         array( "id" => "pix_sitetitle_fontvariants",
  334.             "std" => "300",
  335.             "icl" => "NULL"),
  336.         array( "id" => "pix_sitetitle_fontsubsets",
  337.             "std" => "latin",
  338.             "icl" => "NULL"),
  339.         array( "id" => "pix_sitetitle_fontsize",
  340.             "std" => "70",
  341.             "icl" => "NULL"),
  342.         array( "id" => "pix_sitedescription_fontfamily",
  343.             "std" => "PT+Sans",
  344.             "icl" => "NULL"),
  345.         array( "id" => "pix_sitedescription_fontvariants",
  346.             "std" => "400",
  347.             "icl" => "NULL"),
  348.         array( "id" => "pix_sitedescription_fontsubsets",
  349.             "std" => "latin",
  350.             "icl" => "NULL"),
  351.         array( "id" => "pix_sitedescription_fontsize",
  352.             "std" => "15",
  353.             "icl" => "NULL"),
  354.         array( "id" => "pix_loginheader",
  355.             "std" => "true",
  356.             "icl" => "NULL"),
  357.         array( "id" => "pix_cartheader",
  358.             "std" => $stand_cart,
  359.             "icl" => "NULL"),
  360.         array( "id" => "pix_cartheader_bgcolor",
  361.             "std" => '#74787b',
  362.             "icl" => "NULL"),
  363.         array( "id" => "pix_cartheader_textcolor",
  364.             "std" => 'cartheader_textcolor_white',
  365.             "icl" => "NULL"),
  366.         array( "id" => "pix_searchform",
  367.             "std" => "true",
  368.             "icl" => "NULL"),
  369.         array( "id" => "pix_headertab_textcolor",
  370.             "std" => "",
  371.             "icl" => "NULL"),
  372.         array( "id" => "pix_headertab_fontfamily",
  373.             "std" => "Droid+Serif",
  374.             "icl" => "NULL"),
  375.         array( "id" => "pix_headertab_fontvariants",
  376.             "std" => "400italic",
  377.             "icl" => "NULL"),
  378.         array( "id" => "pix_headertab_fontsubsets",
  379.             "std" => "latin",
  380.             "icl" => "NULL"),
  381.         array( "id" => "pix_headertab_fontsize",
  382.             "std" => "11",
  383.             "icl" => "NULL"),
  384.         array( "id" => "pix_dropdown_bgcolor",
  385.             "std" => "#313437",
  386.             "icl" => "NULL"),
  387.         array( "id" => "pix_dropdown_bgopacity",
  388.             "std" => "0.99",
  389.             "icl" => "NULL"),
  390.         array( "id" => "pix_dropdown_2ndbgcolor",
  391.             "std" => "#161819",
  392.             "icl" => "NULL"),
  393.         array( "id" => "pix_dropdown_color",
  394.             "std" => "#d8d8d8",
  395.             "icl" => "NULL"),
  396.         array( "id" => "pix_dropdown_linkcolor",
  397.             "std" => "#e5ba65",
  398.             "icl" => "NULL"),
  399.         array( "id" => "pix_dropdown_separator",
  400.             "std" => get_template_directory_uri()."/images/assets/dots_hor_white.png",
  401.             "icl" => "NULL"),
  402.         array( "id" => "pix_dropdown_separator_color",
  403.             "std" => "transparent",
  404.             "icl" => "NULL"),
  405.         array( "id" => "pix_dropdown_separator_opacity",
  406.             "std" => "0.4",
  407.             "icl" => "NULL"),
  408.         array( "id" => "pix_headertab_checkbox",
  409.             "std" => "headertab_cb_black",
  410.             "icl" => "NULL"),
  411.         array( "id" => "pix_dropdown_buttons_startcolor",
  412.             "std" => "#585d61",
  413.             "icl" => "NULL"),
  414.         array( "id" => "pix_dropdown_buttons_endcolor",
  415.             "std" => "#303234",
  416.             "icl" => "NULL"),
  417.         array( "id" => "pix_dropdown_buttons_textcolor",
  418.             "std" => "#d7d7d7",
  419.             "icl" => "NULL"),
  420.         array( "id" => "pix_dropdown_buttons_border",
  421.             "std" => "#18191b",
  422.             "icl" => "NULL"),
  423.         array( "id" => "pix_dropdown_buttons_textshadowcolor",
  424.             "std" => "#000000",
  425.             "icl" => "NULL"),
  426.         array( "id" => "pix_dropdown_buttons_textshadow_x",
  427.             "std" => "0",
  428.             "icl" => "NULL"),
  429.         array( "id" => "pix_dropdown_buttons_textshadow_y",
  430.             "std" => "-1",
  431.             "icl" => "NULL"),
  432.         array( "id" => "pix_dropdown_buttons_textshadow_size",
  433.             "std" => "0",
  434.             "icl" => "NULL"),
  435.         array( "id" => "pix_dropdown_buttons_boxshadowcolor",
  436.             "std" => "#ffffff",
  437.             "icl" => "NULL"),
  438.         array( "id" => "pix_dropdown_buttons_boxshadow_x",
  439.             "std" => "0",
  440.             "icl" => "NULL"),
  441.         array( "id" => "pix_dropdown_buttons_boxshadow_y",
  442.             "std" => "1",
  443.             "icl" => "NULL"),
  444.         array( "id" => "pix_dropdown_buttons_boxshadow_size",
  445.             "std" => "1",
  446.             "icl" => "NULL"),
  447.         array( "id" => "pix_dropdown_buttons_boxshadow_opacity",
  448.             "std" => "0.2",
  449.             "icl" => "NULL"),
  450.         array( "id" => "pix_nav_bgcolor",
  451.             "std" => "#f0f0f0",
  452.             "icl" => "NULL"),
  453.         array( "id" => "pix_nav_bgcolor_opacity",
  454.             "std" => "0.99",
  455.             "icl" => "NULL"),
  456.         array( "id" => "pix_nav_bgimage",
  457.             "std" => get_template_directory_uri()."/images/assets/bg_pattern_1.png",
  458.             "icl" => "NULL"),
  459.         array( "id" => "pix_nav_bgimage_css",
  460.             "std" => "repeat",
  461.             "icl" => "NULL"),
  462.         array( "id" => "pix_nav_separator",
  463.             "std" => get_template_directory_uri()."/images/assets/dots_hor.png",
  464.             "icl" => "NULL"),
  465.         array( "id" => "pix_nav_separator_color",
  466.             "std" => "transparent",
  467.             "icl" => "NULL"),
  468.         array( "id" => "pix_nav_separator_opacity",
  469.             "std" => "0.4",
  470.             "icl" => "NULL"),
  471.         array( "id" => "pix_nav_1stlevel_fontfamily",
  472.             "std" => "Droid+Serif",
  473.             "icl" => "NULL"),
  474.         array( "id" => "pix_nav_1stlevel_fontvariants",
  475.             "std" => "400italic",
  476.             "icl" => "NULL"),
  477.         array( "id" => "pix_nav_1stlevel_fontsubsets",
  478.             "std" => "latin",
  479.             "icl" => "NULL"),
  480.         array( "id" => "pix_nav_1stlevel_fontsize",
  481.             "std" => "13",
  482.             "icl" => "NULL"),
  483.         array( "id" => "pix_nav_1stcolor",
  484.             "std" => "#4c4e50",
  485.             "icl" => "NULL"),
  486.         array( "id" => "pix_nav_1sthover",
  487.             "std" => "#878a8d",
  488.             "icl" => "NULL"),
  489.         array( "id" => "pix_nav_1scurrent",
  490.             "std" => "#e5ba65",
  491.             "icl" => "NULL"),
  492.         array( "id" => "pix_nav_1st_textshadowcolor",
  493.             "std" => "#ffffff",
  494.             "icl" => "NULL"),
  495.         array( "id" => "pix_nav_1st_textshadow_x",
  496.             "std" => "0",
  497.             "icl" => "NULL"),
  498.         array( "id" => "pix_nav_1st_textshadow_y",
  499.             "std" => "1",
  500.             "icl" => "NULL"),
  501.         array( "id" => "pix_nav_1st_textshadow_size",
  502.             "std" => "0",
  503.             "icl" => "NULL"),
  504.         array( "id" => "pix_nav_button_startcolor",
  505.             "std" => "#585d61",
  506.             "icl" => "NULL"),
  507.         array( "id" => "pix_nav_button_endcolor",
  508.             "std" => "#303234",
  509.             "icl" => "NULL"),
  510.         array( "id" => "pix_nav_button_textcolor",
  511.             "std" => "#ffffff",
  512.             "icl" => "NULL"),
  513.         array( "id" => "pix_nav_button_border",
  514.             "std" => "#18191b",
  515.             "icl" => "NULL"),
  516.         array( "id" => "pix_nav_button_textshadowcolor",
  517.             "std" => "#000000",
  518.             "icl" => "NULL"),
  519.         array( "id" => "pix_nav_button_textshadow_x",
  520.             "std" => "0",
  521.             "icl" => "NULL"),
  522.         array( "id" => "pix_nav_button_textshadow_y",
  523.             "std" => "-1",
  524.             "icl" => "NULL"),
  525.         array( "id" => "pix_nav_button_textshadow_size",
  526.             "std" => "0",
  527.             "icl" => "NULL"),
  528.         array( "id" => "pix_nav_button_boxshadowcolor",
  529.             "std" => "#ffffff",
  530.             "icl" => "NULL"),
  531.         array( "id" => "pix_nav_button_boxshadow_x",
  532.             "std" => "0",
  533.             "icl" => "NULL"),
  534.         array( "id" => "pix_nav_button_boxshadow_y",
  535.             "std" => "1",
  536.             "icl" => "NULL"),
  537.         array( "id" => "pix_nav_button_boxshadow_size",
  538.             "std" => "1",
  539.             "icl" => "NULL"),
  540.         array( "id" => "pix_nav_button_boxshadow_opacity",
  541.             "std" => "0.2",
  542.             "icl" => "NULL"),
  543.         array( "id" => "pix_nav_2ndlevel_fontfamily",
  544.             "std" => "PT+Sans",
  545.             "icl" => "NULL"),
  546.         array( "id" => "pix_nav_2ndlevel_fontvariants",
  547.             "std" => "400",
  548.             "icl" => "NULL"),
  549.         array( "id" => "pix_nav_2ndlevel_fontsubsets",
  550.             "std" => "latin",
  551.             "icl" => "NULL"),
  552.         array( "id" => "pix_nav_2ndlevel_fontsize",
  553.             "std" => "12",
  554.             "icl" => "NULL"),
  555.         array( "id" => "pix_nav_2ndcolor",
  556.             "std" => "#ffffff",
  557.             "icl" => "NULL"),
  558.         array( "id" => "pix_nav_megatitles",
  559.             "std" => "#ebb146",
  560.             "icl" => "NULL"),
  561.         array( "id" => "pix_nav_2ndbg",
  562.             "std" => "#313437",
  563.             "icl" => "NULL"),
  564.         array( "id" => "pix_nav_2ndhover",
  565.             "std" => "#161819",
  566.             "icl" => "NULL"),
  567.         array( "id" => "pix_dropdown_2ndbgopacity",
  568.             "std" => "0.97",
  569.             "icl" => "NULL"),
  570.         array( "id" => "pix_mega_separator",
  571.             "std" => get_template_directory_uri()."/images/assets/dots_hor_white.png",
  572.             "icl" => "NULL"),
  573.         array( "id" => "pix_mega_separator_color",
  574.             "std" => "transparent",
  575.             "icl" => "NULL"),
  576.         array( "id" => "pix_mega_separator_opacity",
  577.             "std" => "0.4",
  578.             "icl" => "NULL"),
  579.         array( "id" => "pix_section_bgcolor",
  580.             "std" => "#f7f7f7",
  581.             "icl" => "NULL"),
  582.         array( "id" => "pix_section_bgcolor_opacity",
  583.             "std" => "0.99",
  584.             "icl" => "NULL"),
  585.         array( "id" => "pix_section_bgimage",
  586.             "std" => "",
  587.             "icl" => "NULL"),
  588.         array( "id" => "pix_section_bgimage_css",
  589.             "std" => "",
  590.             "icl" => "NULL"),
  591.         array( "id" => "pix_enable_breadcrumbs",
  592.             "std" => "true",
  593.             "icl" => "NULL"),
  594.         array( "id" => "pix_breadcrumbs_color",
  595.             "std" => "",
  596.             "icl" => "NULL"),
  597.         array( "id" => "pix_footer_bgcolor",
  598.             "std" => "#f7f7f7",
  599.             "icl" => "NULL"),
  600.         array( "id" => "pix_footer_bgcolor_opacity",
  601.             "std" => "0.99",
  602.             "icl" => "NULL"),
  603.         array( "id" => "pix_footer_bgimage",
  604.             "std" => "",
  605.             "icl" => "NULL"),
  606.         array( "id" => "pix_footer_bgimage_css",
  607.             "std" => "",
  608.             "icl" => "NULL"),
  609.         array( "id" => "pix_footer_separator",
  610.             "std" => get_template_directory_uri()."/images/assets/dots_hor.png",
  611.             "icl" => "NULL"),
  612.         array( "id" => "pix_footer_separator_color",
  613.             "std" => "transparent",
  614.             "icl" => "NULL"),
  615.         array( "id" => "pix_footer_separator_opacity",
  616.             "std" => "0.4",
  617.             "icl" => "NULL"),
  618.         array( "id" => "pix_footer_color",
  619.             "std" => "#808487",
  620.             "icl" => "NULL"),
  621.         array( "id" => "pix_footer_title",
  622.             "std" => "#222222",
  623.             "icl" => "NULL"),
  624.         array( "id" => "pix_footer_link",
  625.             "std" => "#b8821f",
  626.             "icl" => "NULL"),
  627.         array( "id" => "pix_footer_widgets",
  628.             "std" => "true",
  629.             "icl" => "NULL"),
  630.         array( "id" => "pix_first_footer",
  631.             "std" => "",
  632.             "icl" => "NULL"),
  633.         array( "id" => "pix_second_footer",
  634.             "std" => "",
  635.             "icl" => "NULL"),
  636.         array( "id" => "pix_third_footer",
  637.             "std" => "",
  638.             "icl" => "NULL"),
  639.         array( "id" => "pix_fourth_footer",
  640.             "std" => "",
  641.             "icl" => "NULL"),
  642.         array( "id" => "pix_footer_credits",
  643.             "std" => "true",
  644.             "icl" => "NULL"),
  645.         array( "id" => "pix_credits_left",
  646.             "std" => get_bloginfo('name')." | ".get_bloginfo('description'),
  647.             "icl" => "true"),
  648.         array( "id" => "pix_credits_right",
  649.             "std" => "&copy;".date("Y"),
  650.             "icl" => "true"),
  651.         array( "id" => "pix_credits_color",
  652.             "std" => "#878787",
  653.             "icl" => "NULL"),
  654.         array( "id" => "pix_credits_bgcolor",
  655.             "std" => "#f0f0f0",
  656.             "icl" => "NULL"),
  657.         array( "id" => "pix_credits_bgimage",
  658.             "std" => get_template_directory_uri()."/images/assets/bg_pattern_1.png",
  659.             "icl" => "NULL"),
  660.         array( "id" => "pix_credits_bgimage_css",
  661.             "std" => "repeat",
  662.             "icl" => "NULL"),
  663.         array( "id" => "pix_credits_separator",
  664.             "std" => get_template_directory_uri()."/images/assets/dots_hor.png",
  665.             "icl" => "NULL"),
  666.         array( "id" => "pix_credits_separator_color",
  667.             "std" => "transparent",
  668.             "icl" => "NULL"),
  669.         array( "id" => "pix_credits_separator_opacity",
  670.             "std" => "0.4",
  671.             "icl" => "NULL"),
  672.         array( "id" => "pix_append_footer",
  673.             "std" => "",
  674.             "icl" => "NULL"),
  675.         array( "id" => "pix_aside_position",
  676.             "std" => "right",
  677.             "icl" => "NULL"),
  678.         array( "id" => "pix_aside_separator",
  679.             "std" => get_template_directory_uri()."/images/assets/dots_vert.png",
  680.             "icl" => "NULL"),
  681.         array( "id" => "pix_aside_separator_color",
  682.             "std" => "transparent",
  683.             "icl" => "NULL"),
  684.         array( "id" => "pix_aside_separator_opacity",
  685.             "std" => "0.4",
  686.             "icl" => "NULL"),
  687.         array( "id" => "pix_aside_separators",
  688.             "std" => get_template_directory_uri()."/images/assets/dots_hor.png",
  689.             "icl" => "NULL"),
  690.         array( "id" => "pix_aside_separators_color",
  691.             "std" => "transparent",
  692.             "icl" => "NULL"),
  693.         array( "id" => "pix_aside_separators_opacity",
  694.             "std" => "0.4",
  695.             "icl" => "NULL"),
  696.         array( "id" => "pix_css_inline",
  697.             "std" => "0",
  698.             "icl" => "NULL"),
  699.         array( "id" => "pix_allow_seo",
  700.             "std" => "true",
  701.             "icl" => "NULL"),
  702.         array( "id" => "pix_generalmetatitle",
  703.             "std" => get_bloginfo('name'),
  704.             "icl" => "true"),
  705.         array( "id" => "pix_generalmetadescription",
  706.             "std" => get_bloginfo('description'),
  707.             "icl" => "true"),
  708.         array( "id" => "pix_generalmetakeys",
  709.             "std" => "",
  710.             "icl" => "true"),
  711.         array( "id" => "pix_favicon",
  712.             "std" => "",
  713.             "icl" => "NULL"),
  714.         array( "id" => "pix_body_bgcolor",
  715.             "std" => "#e7e7e7",
  716.             "icl" => "NULL"),
  717.         array( "id" => "pix_body_bgimage",
  718.             "std" => "",
  719.             "icl" => "NULL"),
  720.         array( "id" => "pix_body_bgimage_css",
  721.             "std" => "",
  722.             "icl" => "NULL"),
  723.         array( "id" => "pix_body_widebg",
  724.             "std" => "",
  725.             "icl" => "NULL"),
  726.         array( "id" => "pix_body_portrait",
  727.             "std" => "0",
  728.             "icl" => "NULL"),
  729.         array( "id" => "pix_body_full_alignment",
  730.             "std" => "center",
  731.             "icl" => "NULL"),
  732.         array( "id" => "pix_layout_border_size",
  733.             "std" => "1",
  734.             "icl" => "NULL"),
  735.         array( "id" => "pix_layout_border_color",
  736.             "std" => "#ffffff",
  737.             "icl" => "NULL"),
  738.         array( "id" => "pix_layout_shadow_color",
  739.             "std" => "#000000",
  740.             "icl" => "NULL"),
  741.         array( "id" => "pix_layout_shadow_x",
  742.             "std" => "0",
  743.             "icl" => "NULL"),
  744.         array( "id" => "pix_layout_shadow_y",
  745.             "std" => "0",
  746.             "icl" => "NULL"),
  747.         array( "id" => "pix_layout_shadow_blur",
  748.             "std" => "50",
  749.             "icl" => "NULL"),
  750.         array( "id" => "pix_layout_shadow_spread",
  751.             "std" => "3",
  752.             "icl" => "NULL"),
  753.         array( "id" => "pix_layout_shadow_opacity",
  754.             "std" => "0.2",
  755.             "icl" => "NULL"),
  756.         array( "id" => "pix_layout_border_radius",
  757.             "std" => "2",
  758.             "icl" => "NULL"),
  759.         array( "id" => "pix_general_fontfamily",
  760.             "std" => "PT+Sans",
  761.             "icl" => "NULL"),
  762.         array( "id" => "pix_general_fontsubsets",
  763.             "std" => "latin",
  764.             "icl" => "NULL"),
  765.         array( "id" => "pix_general_fontsize",
  766.             "std" => "13",
  767.             "icl" => "NULL"),
  768.         array( "id" => "pix_general_text_color",
  769.             "std" => "#222222",
  770.             "icl" => "NULL"),
  771.         array( "id" => "pix_general_link_color",
  772.             "std" => "#b8821f",
  773.             "icl" => "NULL"),
  774.         array( "id" => "pix_secondary_fontfamily",
  775.             "std" => "Droid+Serif",
  776.             "icl" => "NULL"),
  777.         array( "id" => "pix_secondary_fontsubsets",
  778.             "std" => "latin",
  779.             "icl" => "NULL"),
  780.         array( "id" => "pix_secondary_bg",
  781.             "std" => "#e7e7e7",
  782.             "icl" => "NULL"),
  783.         array( "id" => "pix_secondary_text_color",
  784.             "std" => "#96999b",
  785.             "icl" => "NULL"),
  786.         array( "id" => "pix_upper_hr",
  787.             "std" => "#cacaca",
  788.             "icl" => "NULL"),
  789.         array( "id" => "pix_lower_hr",
  790.             "std" => "#ffffff",
  791.             "icl" => "NULL"),
  792.         array( "id" => "pix_icons_color",
  793.             "std" => "",
  794.             "icl" => "NULL"),
  795.         array( "id" => "pix_image_bordercolor",
  796.             "std" => "#cacaca",
  797.             "icl" => "NULL"),
  798.         array( "id" => "pix_hover_icons_color",
  799.             "std" => "",
  800.             "icl" => "NULL"),
  801.         array( "id" => "pix_hover_icons_bg",
  802.             "std" => "#313437",
  803.             "icl" => "NULL"),
  804.         array( "id" => "pix_filter_bgcolor",
  805.             "std" => "#f0f0f0",
  806.             "icl" => "NULL"),
  807.         array( "id" => "pix_filter_bgcolor_opacity",
  808.             "std" => "0.99",
  809.             "icl" => "NULL"),
  810.         array( "id" => "pix_filter_bgimage",
  811.             "std" => get_template_directory_uri()."/images/assets/bg_pattern_1.png",
  812.             "icl" => "NULL"),
  813.         array( "id" => "pix_filter_bgimage_css",
  814.             "std" => "repeat",
  815.             "icl" => "NULL"),
  816.         array( "id" => "pix_filter_separator",
  817.             "std" => get_template_directory_uri()."/images/assets/dots_hor.png",
  818.             "icl" => "NULL"),
  819.         array( "id" => "pix_filter_separator_color",
  820.             "std" => "transparent",
  821.             "icl" => "NULL"),
  822.         array( "id" => "pix_filter_separator_opacity",
  823.             "std" => "0.4",
  824.             "icl" => "NULL"),
  825.         array( "id" => "pix_filter_text_color",
  826.             "std" => "#505050",
  827.             "icl" => "NULL"),
  828.         array( "id" => "pix_filter_icons_color",
  829.             "std" => "",
  830.             "icl" => "NULL"),
  831.         array( "id" => "pix_filter_slider",
  832.             "std" => "",
  833.             "icl" => "NULL"),
  834.         array( "id" => "pix_dropdown_filter_startcolor",
  835.             "std" => "#ffffff",
  836.             "icl" => "NULL"),
  837.         array( "id" => "pix_dropdown_filter_endcolor",
  838.             "std" => "#e5e5e5",
  839.             "icl" => "NULL"),
  840.         array( "id" => "pix_dropdown_filter_textcolor",
  841.             "std" => "#222222",
  842.             "icl" => "NULL"),
  843.         array( "id" => "pix_dropdown_filter_border",
  844.             "std" => "#c9c9c9",
  845.             "icl" => "NULL"),
  846.         array( "id" => "pix_sidebar_text_color",
  847.             "std" => "#808487",
  848.             "icl" => "NULL"),
  849.         array( "id" => "pix_firsttype_button_startcolor",
  850.             "std" => "#f7f7f7",
  851.             "icl" => "NULL"),
  852.         array( "id" => "pix_firsttype_button_endcolor",
  853.             "std" => "#d6d6d6",
  854.             "icl" => "NULL"),
  855.         array( "id" => "pix_firsttype_button_textcolor",
  856.             "std" => "#222222",
  857.             "icl" => "NULL"),
  858.         array( "id" => "pix_firsttype_button_border",
  859.             "std" => "#b6b6b6",
  860.             "icl" => "NULL"),
  861.         array( "id" => "pix_firsttype_button_textshadowcolor",
  862.             "std" => "#ffffff",
  863.             "icl" => "NULL"),
  864.         array( "id" => "pix_firsttype_button_textshadow_x",
  865.             "std" => "0",
  866.             "icl" => "NULL"),
  867.         array( "id" => "pix_firsttype_button_textshadow_y",
  868.             "std" => "1",
  869.             "icl" => "NULL"),
  870.         array( "id" => "pix_firsttype_button_textshadow_size",
  871.             "std" => "0",
  872.             "icl" => "NULL"),
  873.         array( "id" => "pix_firsttype_button_boxshadowcolor",
  874.             "std" => "#ffffff",
  875.             "icl" => "NULL"),
  876.         array( "id" => "pix_firsttype_button_boxshadow_x",
  877.             "std" => "0",
  878.             "icl" => "NULL"),
  879.         array( "id" => "pix_firsttype_button_boxshadow_y",
  880.             "std" => "1",
  881.             "icl" => "NULL"),
  882.         array( "id" => "pix_firsttype_button_boxshadow_size",
  883.             "std" => "0",
  884.             "icl" => "NULL"),
  885.         array( "id" => "pix_firsttype_button_boxshadow_opacity",
  886.             "std" => "1",
  887.             "icl" => "NULL"),
  888.         array( "id" => "pix_firsttype_button_fontfamily",
  889.             "std" => "PT+Sans",
  890.             "icl" => "NULL"),
  891.         array( "id" => "pix_firsttype_button_fontvariants",
  892.             "std" => "400",
  893.             "icl" => "NULL"),
  894.         array( "id" => "pix_firsttype_button_fontsubsets",
  895.             "std" => "latin",
  896.             "icl" => "NULL"),
  897.         array( "id" => "pix_firsttype_button_fontsize",
  898.             "std" => "13",
  899.             "icl" => "NULL"),
  900.         array( "id" => "pix_secondtype_button_startcolor",
  901.             "std" => "#f6d989",
  902.             "icl" => "NULL"),
  903.         array( "id" => "pix_secondtype_button_endcolor",
  904.             "std" => "#dca951",
  905.             "icl" => "NULL"),
  906.         array( "id" => "pix_secondtype_button_textcolor",
  907.             "std" => "#513402",
  908.             "icl" => "NULL"),
  909.         array( "id" => "pix_secondtype_button_border",
  910.             "std" => "#b6832b",
  911.             "icl" => "NULL"),
  912.         array( "id" => "pix_secondtype_button_textshadowcolor",
  913.             "std" => "#ffffff",
  914.             "icl" => "NULL"),
  915.         array( "id" => "pix_secondtype_button_textshadow_x",
  916.             "std" => "0",
  917.             "icl" => "NULL"),
  918.         array( "id" => "pix_secondtype_button_textshadow_y",
  919.             "std" => "1",
  920.             "icl" => "NULL"),
  921.         array( "id" => "pix_secondtype_button_textshadow_size",
  922.             "std" => "0",
  923.             "icl" => "NULL"),
  924.         array( "id" => "pix_secondtype_button_boxshadowcolor",
  925.             "std" => "#ffffff",
  926.             "icl" => "NULL"),
  927.         array( "id" => "pix_secondtype_button_boxshadow_x",
  928.             "std" => "0",
  929.             "icl" => "NULL"),
  930.         array( "id" => "pix_secondtype_button_boxshadow_y",
  931.             "std" => "1",
  932.             "icl" => "NULL"),
  933.         array( "id" => "pix_secondtype_button_boxshadow_size",
  934.             "std" => "0",
  935.             "icl" => "NULL"),
  936.         array( "id" => "pix_secondtype_button_boxshadow_opacity",
  937.             "std" => "0.8",
  938.             "icl" => "NULL"),
  939.         array( "id" => "pix_secondtype_button_fontfamily",
  940.             "std" => "PT+Sans",
  941.             "icl" => "NULL"),
  942.         array( "id" => "pix_secondtype_button_fontvariants",
  943.             "std" => "600",
  944.             "icl" => "NULL"),
  945.         array( "id" => "pix_secondtype_button_fontsubsets",
  946.             "std" => "latin",
  947.             "icl" => "NULL"),
  948.         array( "id" => "pix_secondtype_button_fontsize",
  949.             "std" => "13",
  950.             "icl" => "NULL"),
  951.         array( "id" => "pix_thirdtype_button_startcolor",
  952.             "std" => "#585d61",
  953.             "icl" => "NULL"),
  954.         array( "id" => "pix_thirdtype_button_endcolor",
  955.             "std" => "#303234",
  956.             "icl" => "NULL"),
  957.         array( "id" => "pix_thirdtype_button_textcolor",
  958.             "std" => "#eeeeee",
  959.             "icl" => "NULL"),
  960.         array( "id" => "pix_thirdtype_button_border",
  961.             "std" => "#27292b",
  962.             "icl" => "NULL"),
  963.         array( "id" => "pix_thirdtype_button_textshadowcolor",
  964.             "std" => "#000000",
  965.             "icl" => "NULL"),
  966.         array( "id" => "pix_thirdtype_button_textshadow_x",
  967.             "std" => "0",
  968.             "icl" => "NULL"),
  969.         array( "id" => "pix_thirdtype_button_textshadow_y",
  970.             "std" => "-1",
  971.             "icl" => "NULL"),
  972.         array( "id" => "pix_thirdtype_button_textshadow_size",
  973.             "std" => "0",
  974.             "icl" => "NULL"),
  975.         array( "id" => "pix_thirdtype_button_boxshadowcolor",
  976.             "std" => "#ffffff",
  977.             "icl" => "NULL"),
  978.         array( "id" => "pix_thirdtype_button_boxshadow_x",
  979.             "std" => "0",
  980.             "icl" => "NULL"),
  981.         array( "id" => "pix_thirdtype_button_boxshadow_y",
  982.             "std" => "0",
  983.             "icl" => "NULL"),
  984.         array( "id" => "pix_thirdtype_button_boxshadow_size",
  985.             "std" => "1",
  986.             "icl" => "NULL"),
  987.         array( "id" => "pix_thirdtype_button_boxshadow_opacity",
  988.             "std" => "0.2",
  989.             "icl" => "NULL"),
  990.         array( "id" => "pix_thirdtype_button_fontfamily",
  991.             "std" => "PT+Sans",
  992.             "icl" => "NULL"),
  993.         array( "id" => "pix_thirdtype_button_fontvariants",
  994.             "std" => "400",
  995.             "icl" => "NULL"),
  996.         array( "id" => "pix_thirdtype_button_fontsubsets",
  997.             "std" => "latin",
  998.             "icl" => "NULL"),
  999.         array( "id" => "pix_thirdtype_button_fontsize",
  1000.             "std" => "13",
  1001.             "icl" => "NULL"),
  1002.         array( "id" => "pix_h1_fontfamily",
  1003.             "std" => "Yanone+Kaffeesatz",
  1004.             "icl" => "NULL"),
  1005.         array( "id" => "pix_h1_fontvariants",
  1006.             "std" => "300",
  1007.             "icl" => "NULL"),
  1008.         array( "id" => "pix_h1_fontsubsets",
  1009.             "std" => "latin",
  1010.             "icl" => "NULL"),
  1011.         array( "id" => "pix_h1_fontsize",
  1012.             "std" => "41",
  1013.             "icl" => "NULL"),
  1014.         array( "id" => "pix_h1_color",
  1015.             "std" => "#96999b",
  1016.             "icl" => "NULL"),
  1017.         array( "id" => "pix_h2_fontfamily",
  1018.             "std" => "Yanone+Kaffeesatz",
  1019.             "icl" => "NULL"),
  1020.         array( "id" => "pix_h2_fontvariants",
  1021.             "std" => "300",
  1022.             "icl" => "NULL"),
  1023.         array( "id" => "pix_h2_fontsubsets",
  1024.             "std" => "latin",
  1025.             "icl" => "NULL"),
  1026.         array( "id" => "pix_h2_fontsize",
  1027.             "std" => "33",
  1028.             "icl" => "NULL"),
  1029.         array( "id" => "pix_h2_color",
  1030.             "std" => "#67686a",
  1031.             "icl" => "NULL"),
  1032.         array( "id" => "pix_h3_fontfamily",
  1033.             "std" => "Yanone+Kaffeesatz",
  1034.             "icl" => "NULL"),
  1035.         array( "id" => "pix_h3_fontvariants",
  1036.             "std" => "300",
  1037.             "icl" => "NULL"),
  1038.         array( "id" => "pix_h3_fontsubsets",
  1039.             "std" => "latin",
  1040.             "icl" => "NULL"),
  1041.         array( "id" => "pix_h3_fontsize",
  1042.             "std" => "26",
  1043.             "icl" => "NULL"),
  1044.         array( "id" => "pix_h3_color",
  1045.             "std" => "#222222",
  1046.             "icl" => "NULL"),
  1047.         array( "id" => "pix_h4_fontfamily",
  1048.             "std" => "Yanone+Kaffeesatz",
  1049.             "icl" => "NULL"),
  1050.         array( "id" => "pix_h4_fontvariants",
  1051.             "std" => "300",
  1052.             "icl" => "NULL"),
  1053.         array( "id" => "pix_h4_fontsubsets",
  1054.             "std" => "latin",
  1055.             "icl" => "NULL"),
  1056.         array( "id" => "pix_h4_fontsize",
  1057.             "std" => "22",
  1058.             "icl" => "NULL"),
  1059.         array( "id" => "pix_h4_color",
  1060.             "std" => "#67686a",
  1061.             "icl" => "NULL"),
  1062.         array( "id" => "pix_h5_fontfamily",
  1063.             "std" => "Yanone+Kaffeesatz",
  1064.             "icl" => "NULL"),
  1065.         array( "id" => "pix_h5_fontvariants",
  1066.             "std" => "300",
  1067.             "icl" => "NULL"),
  1068.         array( "id" => "pix_h5_fontsubsets",
  1069.             "std" => "latin",
  1070.             "icl" => "NULL"),
  1071.         array( "id" => "pix_h5_fontsize",
  1072.             "std" => "18",
  1073.             "icl" => "NULL"),
  1074.         array( "id" => "pix_h5_color",
  1075.             "std" => "#222222",
  1076.             "icl" => "NULL"),
  1077.         array( "id" => "pix_h6_fontfamily",
  1078.             "std" => "PT+Sans",
  1079.             "icl" => "NULL"),
  1080.         array( "id" => "pix_h6_fontvariants",
  1081.             "std" => "600",
  1082.             "icl" => "NULL"),
  1083.         array( "id" => "pix_h6_fontsubsets",
  1084.             "std" => "latin",
  1085.             "icl" => "NULL"),
  1086.         array( "id" => "pix_h6_fontsize",
  1087.             "std" => "13",
  1088.             "icl" => "NULL"),
  1089.         array( "id" => "pix_h6_color",
  1090.             "std" => "#222222",
  1091.             "icl" => "NULL"),
  1092.         array( "id" => "pix_headinghover_bg",
  1093.             "std" => "#dddddd",
  1094.             "icl" => "NULL"),
  1095.         array( "id" => "pix_headingflag_fontfamily",
  1096.             "std" => "Yanone+Kaffeesatz",
  1097.             "icl" => "NULL"),
  1098.         array( "id" => "pix_headingflag_fontvariants",
  1099.             "std" => "300",
  1100.             "icl" => "NULL"),
  1101.         array( "id" => "pix_headingflag_fontsubsets",
  1102.             "std" => "latin",
  1103.             "icl" => "NULL"),
  1104.         array( "id" => "pix_headingflag_fontsize",
  1105.             "std" => "26",
  1106.             "icl" => "NULL"),
  1107.         array( "id" => "pix_headingflag_color",
  1108.             "std" => "#ffffff",
  1109.             "icl" => "NULL"),
  1110.         array( "id" => "pix_headingflag_bg",
  1111.             "std" => "#74787b",
  1112.             "icl" => "NULL"),
  1113.         array( "id" => "pix_smallflags_fontfamily",
  1114.             "std" => "Yanone+Kaffeesatz",
  1115.             "icl" => "NULL"),
  1116.         array( "id" => "pix_smallflags_fontvariants",
  1117.             "std" => "300",
  1118.             "icl" => "NULL"),
  1119.         array( "id" => "pix_smallflags_fontsubsets",
  1120.             "std" => "latin",
  1121.             "icl" => "NULL"),
  1122.         array( "id" => "pix_smallflags_fontsize",
  1123.             "std" => "16",
  1124.             "icl" => "NULL"),
  1125.         array( "id" => "pix_redlabel_color",
  1126.             "std" => "#ffffff",
  1127.             "icl" => "NULL"),
  1128.         array( "id" => "pix_redlabel_bg",
  1129.             "std" => "#e57465",
  1130.             "icl" => "NULL"),
  1131.         array( "id" => "pix_greenlabel_color",
  1132.             "std" => "#ffffff",
  1133.             "icl" => "NULL"),
  1134.         array( "id" => "pix_greenlabel_bg",
  1135.             "std" => "#95af1c",
  1136.             "icl" => "NULL"),
  1137.         array( "id" => "pix_h1sub_fontfamily",
  1138.             "std" => "Droid+Serif",
  1139.             "icl" => "NULL"),
  1140.         array( "id" => "pix_h1sub_fontvariants",
  1141.             "std" => "400italic",
  1142.             "icl" => "NULL"),
  1143.         array( "id" => "pix_h1sub_fontsubsets",
  1144.             "std" => "latin",
  1145.             "icl" => "NULL"),
  1146.         array( "id" => "pix_h1sub_fontsize",
  1147.             "std" => "15",
  1148.             "icl" => "NULL"),
  1149.         array( "id" => "pix_h1sub_color",
  1150.             "std" => "#222222",
  1151.             "icl" => "NULL"),
  1152.         array( "id" => "pix_h3sub_fontfamily",
  1153.             "std" => "Droid+Serif",
  1154.             "icl" => "NULL"),
  1155.         array( "id" => "pix_h3sub_fontvariants",
  1156.             "std" => "400italic",
  1157.             "icl" => "NULL"),
  1158.         array( "id" => "pix_h3sub_fontsubsets",
  1159.             "std" => "latin",
  1160.             "icl" => "NULL"),
  1161.         array( "id" => "pix_h3sub_fontsize",
  1162.             "std" => "13",
  1163.             "icl" => "NULL"),
  1164.         array( "id" => "pix_h3sub_color",
  1165.             "std" => "#96999b",
  1166.             "icl" => "NULL"),
  1167.         array( "id" => "pix_payoff_lg_fontfamily",
  1168.             "std" => "Droid+Serif",
  1169.             "icl" => "NULL"),
  1170.         array( "id" => "pix_payoff_lg_fontvariants",
  1171.             "std" => "400italic",
  1172.             "icl" => "NULL"),
  1173.         array( "id" => "pix_payoff_lg_fontsubsets",
  1174.             "std" => "latin",
  1175.             "icl" => "NULL"),
  1176.         array( "id" => "pix_payoff_lg_fontsize",
  1177.             "std" => "27",
  1178.             "icl" => "NULL"),
  1179.         array( "id" => "pix_payoff_lg_color",
  1180.             "std" => "#53585d",
  1181.             "icl" => "NULL"),
  1182.         array( "id" => "pix_payoff_md_fontfamily",
  1183.             "std" => "Droid+Serif",
  1184.             "icl" => "NULL"),
  1185.         array( "id" => "pix_payoff_md_fontvariants",
  1186.             "std" => "400italic",
  1187.             "icl" => "NULL"),
  1188.         array( "id" => "pix_payoff_md_fontsubsets",
  1189.             "std" => "latin",
  1190.             "icl" => "NULL"),
  1191.         array( "id" => "pix_payoff_md_fontsize",
  1192.             "std" => "19",
  1193.             "icl" => "NULL"),
  1194.         array( "id" => "pix_payoff_md_color",
  1195.             "std" => "#53585d",
  1196.             "icl" => "NULL"),
  1197.         array( "id" => "pix_payoff_sm_fontfamily",
  1198.             "std" => "Droid+Serif",
  1199.             "icl" => "NULL"),
  1200.         array( "id" => "pix_payoff_sm_fontvariants",
  1201.             "std" => "400italic",
  1202.             "icl" => "NULL"),
  1203.         array( "id" => "pix_payoff_sm_fontsubsets",
  1204.             "std" => "latin",
  1205.             "icl" => "NULL"),
  1206.         array( "id" => "pix_payoff_sm_fontsize",
  1207.             "std" => "15",
  1208.             "icl" => "NULL"),
  1209.         array( "id" => "pix_payoff_sm_color",
  1210.             "std" => "#53585d",
  1211.             "icl" => "NULL"),
  1212.         array( "id" => "pix_masonry_fontfamily",
  1213.             "std" => "Yanone+Kaffeesatz",
  1214.             "icl" => "NULL"),
  1215.         array( "id" => "pix_masonry_fontvariants",
  1216.             "std" => "300",
  1217.             "icl" => "NULL"),
  1218.         array( "id" => "pix_masonry_fontsubsets",
  1219.             "std" => "latin",
  1220.             "icl" => "NULL"),
  1221.         array( "id" => "pix_masonry_fontsize",
  1222.             "std" => "22",
  1223.             "icl" => "NULL"),
  1224.         array( "id" => "pix_masonry_color",
  1225.             "std" => "#67686a",
  1226.             "icl" => "NULL"),
  1227.         array( "id" => "pix_form_bg",
  1228.             "std" => "#ffffff",
  1229.             "icl" => "NULL"),
  1230.         array( "id" => "pix_form_border",
  1231.             "std" => "#c9c9c9",
  1232.             "icl" => "NULL"),
  1233.         array( "id" => "pix_form_color",
  1234.             "std" => "#222222",
  1235.             "icl" => "NULL"),
  1236.         array( "id" => "pix_form_checkboxes",
  1237.             "std" => "true",
  1238.             "icl" => "NULL"),
  1239.         array( "id" => "pix_form_checkboxes_color",
  1240.             "std" => "",
  1241.             "icl" => "NULL"),
  1242.         array( "id" => "pix_form_selects_startcolor",
  1243.             "std" => "#ffffff",
  1244.             "icl" => "NULL"),
  1245.         array( "id" => "pix_form_selects_endcolor",
  1246.             "std" => "#e5e5e5",
  1247.             "icl" => "NULL"),
  1248.         array( "id" => "pix_form_selects_textcolor",
  1249.             "std" => "#222222",
  1250.             "icl" => "NULL"),
  1251.         array( "id" => "pix_form_selects_border",
  1252.             "std" => "#c9c9c9",
  1253.             "icl" => "NULL"),
  1254.         array( "id" => "pix_form_selects",
  1255.             "std" => "true",
  1256.             "icl" => "NULL"),
  1257.         array( "id" => "pix_captcha_color",
  1258.             "std" => "#eeeeee",
  1259.             "icl" => "NULL"),
  1260.         array( "id" => "pix_simple_error_color",
  1261.             "std" => "#e50000",
  1262.             "icl" => "NULL"),
  1263.         array( "id" => "pix_success_bg",
  1264.             "std" => "#dcf0d1",
  1265.             "icl" => "NULL"),
  1266.         array( "id" => "pix_success_border",
  1267.             "std" => "#acdf8a",
  1268.             "icl" => "NULL"),
  1269.         array( "id" => "pix_success_color",
  1270.             "std" => "#35591c",
  1271.             "icl" => "NULL"),
  1272.         array( "id" => "pix_error_bg",
  1273.             "std" => "#f0d1d1",
  1274.             "icl" => "NULL"),
  1275.         array( "id" => "pix_error_border",
  1276.             "std" => "#df8a8a",
  1277.             "icl" => "NULL"),
  1278.         array( "id" => "pix_error_color",
  1279.             "std" => "#591c1c",
  1280.             "icl" => "NULL"),
  1281.         array( "id" => "pix_info_bg",
  1282.             "std" => "#f7f4e9",
  1283.             "icl" => "NULL"),
  1284.         array( "id" => "pix_info_border",
  1285.             "std" => "#e6daa9",
  1286.             "icl" => "NULL"),
  1287.         array( "id" => "pix_info_color",
  1288.             "std" => "#594c1c",
  1289.             "icl" => "NULL"),
  1290.         array( "id" => "pix_captcha_bg",
  1291.             "std" => "#74787b",
  1292.             "icl" => "NULL"),
  1293.         array( "id" => "pix_tooltips_bg",
  1294.             "std" => "#313437",
  1295.             "icl" => "NULL"),
  1296.         array( "id" => "pix_tooltips_bg_opacity",
  1297.             "std" => "0.95",
  1298.             "icl" => "NULL"),
  1299.         array( "id" => "pix_tooltips_color",
  1300.             "std" => "#d7d7d7",
  1301.             "icl" => "NULL"),
  1302.         array( "id" => "pix_tooltips_color_links",
  1303.             "std" => "#e5ba65",
  1304.             "icl" => "NULL"),
  1305.         array( "id" => "pix_tooltips_fontfamily",
  1306.             "std" => "PT+Sans",
  1307.             "icl" => "NULL"),
  1308.         array( "id" => "pix_tooltips_fontsubsets",
  1309.             "std" => "latin",
  1310.             "icl" => "NULL"),
  1311.         array( "id" => "pix_tooltips_fontsize",
  1312.             "std" => "12",
  1313.             "icl" => "NULL"),
  1314.         array( "id" => "pix_colorbox",
  1315.             "std" => "cb_white",
  1316.             "icl" => "NULL"),
  1317.         array( "id" => "pix_pagenavi_current_color",
  1318.             "std" => "#f7f7f7",
  1319.             "icl" => "NULL"),
  1320.         array( "id" => "pix_pagenavi_current_bg",
  1321.             "std" => "#cccccc",
  1322.             "icl" => "NULL"),
  1323.         array( "id" => "pix_pagenavi_link_color",
  1324.             "std" => "#96999b",
  1325.             "icl" => "NULL"),
  1326.         array( "id" => "pix_pagenavi_fontfamily",
  1327.             "std" => "Droid+Serif",
  1328.             "icl" => "NULL"),
  1329.         array( "id" => "pix_pagenavi_fontvariants",
  1330.             "std" => "400italic",
  1331.             "icl" => "NULL"),
  1332.         array( "id" => "pix_pagenavi_fontsubsets",
  1333.             "std" => "latin",
  1334.             "icl" => "NULL"),
  1335.         array( "id" => "pix_pagenavi_fontsize",
  1336.             "std" => "13",
  1337.             "icl" => "NULL"),
  1338.         array( "id" => "pix_slideshow_commands_color",
  1339.             "std" => "",
  1340.             "icl" => "NULL"),
  1341.         array( "id" => "pix_slideshow_pie_bg",
  1342.             "std" => "#a3a3a3",
  1343.             "icl" => "NULL"),
  1344.         array( "id" => "pix_slideshow_pie_stroke",
  1345.             "std" => "#ffffff",
  1346.             "icl" => "NULL"),
  1347.         array( "id" => "pix_slideshow_caption_bg",
  1348.             "std" => "#000000",
  1349.             "icl" => "NULL"),
  1350.         array( "id" => "pix_slideshow_caption_bg_opacity",
  1351.             "std" => "0.8",
  1352.             "icl" => "NULL"),
  1353.         array( "id" => "pix_slideshow_caption_color",
  1354.             "std" => "#ffffff",
  1355.             "icl" => "NULL"),
  1356.         array( "id" => "pix_slideshow_caption_fontsize",
  1357.             "std" => "16",
  1358.             "icl" => "NULL"),
  1359.         array( "id" => "pix_slideshow_caption_fontfamily",
  1360.             "std" => "Droid+Serif",
  1361.             "icl" => "NULL"),
  1362.         array( "id" => "pix_slideshow_caption_fontsubsets",
  1363.             "std" => "latin",
  1364.             "icl" => "NULL"),
  1365.         array( "id" => "pix_header_table_bg",
  1366.             "std" => "#313437",
  1367.             "icl" => "NULL"),
  1368.         array( "id" => "pix_header_text_color",
  1369.             "std" => "#ffffff",
  1370.             "icl" => "NULL"),
  1371.         array( "id" => "pix_table_title_header_color",
  1372.             "std" => "#e5ba65",
  1373.             "icl" => "NULL"),
  1374.         array( "id" => "pix_table_title_color",
  1375.             "std" => "#96999b",
  1376.             "icl" => "NULL"),
  1377.         array( "id" => "pix_table_separator",
  1378.             "std" => "#1e1f21",
  1379.             "icl" => "NULL"),
  1380.         array( "id" => "pix_table_button",
  1381.             "std" => "night",
  1382.             "icl" => "NULL"),
  1383.         array( "id" => "pix_table_shadow_color",
  1384.             "std" => "#000000",
  1385.             "icl" => "NULL"),
  1386.         array( "id" => "pix_table_shadow_x",
  1387.             "std" => "0",
  1388.             "icl" => "NULL"),
  1389.         array( "id" => "pix_table_shadow_y",
  1390.             "std" => "0",
  1391.             "icl" => "NULL"),
  1392.         array( "id" => "pix_table_shadow_blur",
  1393.             "std" => "20",
  1394.             "icl" => "NULL"),
  1395.         array( "id" => "pix_table_shadow_spread",
  1396.             "std" => "0",
  1397.             "icl" => "NULL"),
  1398.         array( "id" => "pix_table_shadow_opacity",
  1399.             "std" => "0.5",
  1400.             "icl" => "NULL"),
  1401.         array( "id" => "pix_blog_captcha",
  1402.             "std" => "true",
  1403.             "icl" => "NULL"),
  1404.         array( "id" => "pix_share_pages",
  1405.             "std" => "true",
  1406.             "icl" => "NULL"),
  1407.         array( "id" => "pix_comments_on_page",
  1408.             "std" => "false",
  1409.             "icl" => "NULL"),
  1410.         array( "id" => "pix_pages_sidebar",
  1411.             "std" => "enfinity_default_sidebar",
  1412.             "icl" => "NULL"),
  1413.         array( "id" => "pix_date_posts",
  1414.             "std" => "true",
  1415.             "icl" => "NULL"),
  1416.         array( "id" => "pix_comment_posts",
  1417.             "std" => "true",
  1418.             "icl" => "NULL"),
  1419.         array( "id" => "pix_like_posts",
  1420.             "std" => "true",
  1421.             "icl" => "NULL"),
  1422.         array( "id" => "pix_endmeta_posts",
  1423.             "std" => "true",
  1424.             "icl" => "NULL"),
  1425.         array( "id" => "pix_author_posts",
  1426.             "std" => "true",
  1427.             "icl" => "NULL"),
  1428.         array( "id" => "pix_share_posts",
  1429.             "std" => "true",
  1430.             "icl" => "NULL"),
  1431.         array( "id" => "pix_prevnext_posts",
  1432.             "std" => "true",
  1433.             "icl" => "NULL"),
  1434.         array( "id" => "pix_related_posts",
  1435.             "std" => "3",
  1436.             "icl" => "NULL"),
  1437.         array( "id" => "pix_posts_excerpt_length",
  1438.             "std" => "30",
  1439.             "icl" => "NULL"),
  1440.         array( "id" => "pix_posts_sidebar",
  1441.             "std" => "enfinity_default_sidebar",
  1442.             "icl" => "NULL"),
  1443.         array( "id" => "pix_posts_page_title",
  1444.             "std" => "Blog",
  1445.             "icl" => "true"),
  1446.         array( "id" => "pix_posts_page_subtitle",
  1447.             "std" => "Latest posts",
  1448.             "icl" => "true"),
  1449.         array( "id" => "pix_posts_page_template",
  1450.             "std" => "default",
  1451.             "icl" => "NULL"),
  1452.         array( "id" => "pix_posts_page_sidebar",
  1453.             "std" => "enfinity_default_sidebar",
  1454.             "icl" => "NULL"),
  1455.         array( "id" => "pix_posts_page_content",
  1456.             "std" => "excerpt",
  1457.             "icl" => "NULL"),
  1458.         array( "id" => "pix_posts_page_excerpt_length",
  1459.             "std" => "30",
  1460.             "icl" => "NULL"),
  1461.         array( "id" => "pix_posts_page_bg",
  1462.             "std" => "",
  1463.             "icl" => "NULL"),
  1464.         array( "id" => "pix_posts_page_widebg",
  1465.             "std" => "",
  1466.             "icl" => "NULL"),
  1467.         array( "id" => "pix_posts_page_portrait",
  1468.             "std" => "0",
  1469.             "icl" => "NULL"),
  1470.         array( "id" => "pix_posts_page_full_alignment",
  1471.             "std" => "center",
  1472.             "icl" => "NULL"),
  1473.         array( "id" => "pix_posts_page_metatitle",
  1474.             "std" => '',
  1475.             "icl" => "true"),
  1476.         array( "id" => "pix_posts_page_metadescription",
  1477.             "std" => '',
  1478.             "icl" => "true"),
  1479.         array( "id" => "pix_posts_page_metakeys",
  1480.             "std" => "",
  1481.             "icl" => "true"),
  1482.         array( "id" => "pix_404_title",
  1483.             "std" => "This is somewhat embarrassing, isn't it?",
  1484.             "icl" => "true"),
  1485.         array( "id" => "pix_404_subtitle",
  1486.             "std" => "It seems we can't find what you're looking for. Perhaps searching can help.",
  1487.             "icl" => "true"),
  1488.         array( "id" => "pix_404_content",
  1489.             "std" => "It seems we can't find what you're looking for. Perhaps searching can help.",
  1490.             "icl" => "true"),
  1491.         array( "id" => "pix_404_template",
  1492.             "std" => "default",
  1493.             "icl" => "NULL"),
  1494.         array( "id" => "pix_404_sidebar",
  1495.             "std" => "enfinity_default_sidebar",
  1496.             "icl" => "NULL"),
  1497.         array( "id" => "pix_404_bg",
  1498.             "std" => "",
  1499.             "icl" => "NULL"),
  1500.         array( "id" => "pix_404_widebg",
  1501.             "std" => "",
  1502.             "icl" => "NULL"),
  1503.         array( "id" => "pix_404_portrait",
  1504.             "std" => "0",
  1505.             "icl" => "NULL"),
  1506.         array( "id" => "pix_404_full_alignment",
  1507.             "std" => "center",
  1508.             "icl" => "NULL"),
  1509.         array( "id" => "pix_404_metatitle",
  1510.             "std" => '',
  1511.             "icl" => "true"),
  1512.         array( "id" => "pix_404_metadescription",
  1513.             "std" => '',
  1514.             "icl" => "true"),
  1515.         array( "id" => "pix_404_metakeys",
  1516.             "std" => "",
  1517.             "icl" => "true"),
  1518.         array( "id" => "pix_archive_template",
  1519.             "std" => "default",
  1520.             "icl" => "NULL"),
  1521.         array( "id" => "pix_archive_sidebar",
  1522.             "std" => "enfinity_default_sidebar",
  1523.             "icl" => "NULL"),
  1524.         array( "id" => "pix_archive_content",
  1525.             "std" => "excerpt",
  1526.             "icl" => "NULL"),
  1527.         array( "id" => "pix_archive_excerpt_length",
  1528.             "std" => "30",
  1529.             "icl" => "NULL"),
  1530.         array( "id" => "pix_archive_bg",
  1531.             "std" => "",
  1532.             "icl" => "NULL"),
  1533.         array( "id" => "pix_archive_widebg",
  1534.             "std" => "",
  1535.             "icl" => "NULL"),
  1536.         array( "id" => "pix_archive_portrait",
  1537.             "std" => "0",
  1538.             "icl" => "NULL"),
  1539.         array( "id" => "pix_archive_full_alignment",
  1540.             "std" => "center",
  1541.             "icl" => "NULL"),
  1542.         array( "id" => "pix_archive_metatitle",
  1543.             "std" => '',
  1544.             "icl" => "true"),
  1545.         array( "id" => "pix_archive_metadescription",
  1546.             "std" => '',
  1547.             "icl" => "true"),
  1548.         array( "id" => "pix_archive_metakeys",
  1549.             "std" => "",
  1550.             "icl" => "true"),
  1551.         array( "id" => "pix_image_template",
  1552.             "std" => "default",
  1553.             "icl" => "NULL"),
  1554.         array( "id" => "pix_image_sidebar",
  1555.             "std" => "enfinity_default_sidebar",
  1556.             "icl" => "NULL"),
  1557.         array( "id" => "pix_image_bg",
  1558.             "std" => "attachment",
  1559.             "icl" => "NULL"),
  1560.         array( "id" => "pix_image_widebg",
  1561.             "std" => "",
  1562.             "icl" => "NULL"),
  1563.         array( "id" => "pix_image_portrait",
  1564.             "std" => "0",
  1565.             "icl" => "NULL"),
  1566.         array( "id" => "pix_image_full_alignment",
  1567.             "std" => "center",
  1568.             "icl" => "NULL"),
  1569.         array( "id" => "pix_image_metatitle",
  1570.             "std" => '',
  1571.             "icl" => "true"),
  1572.         array( "id" => "pix_image_metadescription",
  1573.             "std" => '',
  1574.             "icl" => "true"),
  1575.         array( "id" => "pix_image_metakeys",
  1576.             "std" => "",
  1577.             "icl" => "true"),
  1578.         array( "id" => "pix_search_template",
  1579.             "std" => "default",
  1580.             "icl" => "NULL"),
  1581.         array( "id" => "pix_search_sidebar",
  1582.             "std" => "enfinity_default_sidebar",
  1583.             "icl" => "NULL"),
  1584.         array( "id" => "pix_search_excerpt_length",
  1585.             "std" => "30",
  1586.             "icl" => "NULL"),
  1587.         array( "id" => "pix_search_bg",
  1588.             "std" => "",
  1589.             "icl" => "NULL"),
  1590.         array( "id" => "pix_search_widebg",
  1591.             "std" => "",
  1592.             "icl" => "NULL"),
  1593.         array( "id" => "pix_search_portrait",
  1594.             "std" => "0",
  1595.             "icl" => "NULL"),
  1596.         array( "id" => "pix_search_full_alignment",
  1597.             "std" => "center",
  1598.             "icl" => "NULL"),
  1599.         array( "id" => "pix_search_metatitle",
  1600.             "std" => '',
  1601.             "icl" => "true"),
  1602.         array( "id" => "pix_search_metadescription",
  1603.             "std" => '',
  1604.             "icl" => "true"),
  1605.         array( "id" => "pix_search_metakeys",
  1606.             "std" => "",
  1607.             "icl" => "true"),
  1608.         array( "id" => "pix_date_portfolio",
  1609.             "std" => "true",
  1610.             "icl" => "NULL"),
  1611.         array( "id" => "pix_comment_portfolio",
  1612.             "std" => "true",
  1613.             "icl" => "NULL"),
  1614.         array( "id" => "pix_like_portfolio",
  1615.             "std" => "true",
  1616.             "icl" => "NULL"),
  1617.         array( "id" => "pix_endmeta_portfolio",
  1618.             "std" => "true",
  1619.             "icl" => "NULL"),
  1620.         array( "id" => "pix_share_portfolio",
  1621.             "std" => "true",
  1622.             "icl" => "NULL"),
  1623.         array( "id" => "pix_prevnext_portfolio",
  1624.             "std" => "true",
  1625.             "icl" => "NULL"),
  1626.         array( "id" => "pix_related_portfolio",
  1627.             "std" => "4",
  1628.             "icl" => "NULL"),
  1629.         array( "id" => "pix_related_title_portfolio",
  1630.             "std" => "true",
  1631.             "icl" => "NULL"),
  1632.         array( "id" => "pix_related_excerpt_length_portfolio",
  1633.             "std" => "30",
  1634.             "icl" => "NULL"),
  1635.         array( "id" => "pix_related_more_portfolio",
  1636.             "std" => "true",
  1637.             "icl" => "NULL"),
  1638.         array( "id" => "pix_related_topage_portfolio",
  1639.             "std" => "true",
  1640.             "icl" => "NULL"),
  1641.         array( "id" => "pix_related_box_portfolio",
  1642.             "std" => "true",
  1643.             "icl" => "NULL"),
  1644.         array( "id" => "pix_portfolio_sidebar",
  1645.             "std" => "enfinity_default_sidebar",
  1646.             "icl" => "NULL"),
  1647.         array( "id" => "pix_bbp_sidebar",
  1648.             "std" => "bbpress_forum_sidebar",
  1649.             "icl" => "NULL"),
  1650.         array( "id" => "pix_bbp_template",
  1651.             "std" => "default",
  1652.             "icl" => "NULL"),
  1653.         array( "id" => "pix_bbp_bg",
  1654.             "std" => "",
  1655.             "icl" => "NULL"),
  1656.         array( "id" => "pix_bbp_bgcolor",
  1657.             "std" => "",
  1658.             "icl" => "NULL"),
  1659.         array( "id" => "pix_bbp_bgimage",
  1660.             "std" => "",
  1661.             "icl" => "NULL"),
  1662.         array( "id" => "pix_bbp_bgimage_css",
  1663.             "std" => "",
  1664.             "icl" => "NULL"),
  1665.         array( "id" => "pix_bbp_widebg",
  1666.             "std" => "",
  1667.             "icl" => "NULL"),
  1668.         array( "id" => "pix_bbp_portrait",
  1669.             "std" => "0",
  1670.             "icl" => "NULL"),
  1671.         array( "id" => "pix_bbp_full_alignment",
  1672.             "std" => "center",
  1673.             "icl" => "NULL"),
  1674.         array( "id" => "pix_bbp_metatitle",
  1675.             "std" => '',
  1676.             "icl" => "true"),
  1677.         array( "id" => "pix_bbp_metadescription",
  1678.             "std" => '',
  1679.             "icl" => "true"),
  1680.         array( "id" => "pix_bbp_metakeys",
  1681.             "std" => "",
  1682.             "icl" => "true"),
  1683.         array( "id" => "pix_woocommerce_login",
  1684.             "std" => "0",
  1685.             "icl" => "NULL"),
  1686.         array( "id" => "pix_woocommerce_ppp",
  1687.             "std" => "10",
  1688.             "icl" => "NULL"),
  1689.         array( "id" => "pix_woo_length",
  1690.             "std" => "30",
  1691.             "icl" => "NULL"),
  1692.         array( "id" => "pix_shop_pagenavi",
  1693.             "std" => "infinitescroll",
  1694.             "icl" => "NULL"),
  1695.         array( "id" => "pix_woo_template",
  1696.             "std" => "widepage",
  1697.             "icl" => "NULL"),
  1698.         array( "id" => "pix_woo_sidebar",
  1699.             "std" => "woocommerce_default_sidebar",
  1700.             "icl" => "NULL"),
  1701.         array( "id" => "pix_zoom_woo",
  1702.             "std" => "0",
  1703.             "icl" => "NULL"),
  1704.         array( "id" => "pix_share_woo",
  1705.             "std" => "true",
  1706.             "icl" => "NULL"),
  1707.         array( "id" => "pix_woo_bg",
  1708.             "std" => "",
  1709.             "icl" => "NULL"),
  1710.         array( "id" => "pix_woo_bgcolor",
  1711.             "std" => "",
  1712.             "icl" => "NULL"),
  1713.         array( "id" => "pix_woo_bgimage",
  1714.             "std" => "",
  1715.             "icl" => "NULL"),
  1716.         array( "id" => "pix_woo_bgimage_css",
  1717.             "std" => "",
  1718.             "icl" => "NULL"),
  1719.         array( "id" => "pix_woo_widebg",
  1720.             "std" => "",
  1721.             "icl" => "NULL"),
  1722.         array( "id" => "pix_woo_portrait",
  1723.             "std" => "0",
  1724.             "icl" => "NULL"),
  1725.         array( "id" => "pix_woo_full_alignment",
  1726.             "std" => "center",
  1727.             "icl" => "NULL"),
  1728.         array( "id" => "pix_woo_metatitle",
  1729.             "std" => '',
  1730.             "icl" => "true"),
  1731.         array( "id" => "pix_woo_metadescription",
  1732.             "std" => '',
  1733.             "icl" => "true"),
  1734.         array( "id" => "pix_woo_metakeys",
  1735.             "std" => "",
  1736.             "icl" => "true"),
  1737.         array( "id" => "pix_customstyles",
  1738.             "std" => "/*Enfinity additional styles*/",
  1739.             "icl" => "NULL"),
  1740.         array( "id" => "pix_perm_panel",
  1741.             "std" => "activate_plugins",
  1742.             "icl" => "NULL"),
  1743.         array( "id" => "pix_perm_permissions",
  1744.             "std" => "activate_plugins",
  1745.             "icl" => "NULL"),
  1746.         array( "id" => "pix_perm_general",
  1747.             "std" => "activate_plugins",
  1748.             "icl" => "NULL"),
  1749.         array( "id" => "pix_perm_admin_panel",
  1750.             "std" => "activate_plugins",
  1751.             "icl" => "NULL"),
  1752.         array( "id" => "pix_perm_import_panel",
  1753.             "std" => "activate_plugins",
  1754.             "icl" => "NULL"),
  1755.         array( "id" => "pix_perm_topbar_panel",
  1756.             "std" => "activate_plugins",
  1757.             "icl" => "NULL"),
  1758.         array( "id" => "pix_perm_header_panel",
  1759.             "std" => "activate_plugins",
  1760.             "icl" => "NULL"),
  1761.         array( "id" => "pix_perm_headertabs_panel",
  1762.             "std" => "activate_plugins",
  1763.             "icl" => "NULL"),
  1764.         array( "id" => "pix_perm_nav_panel",
  1765.             "std" => "activate_plugins",
  1766.             "icl" => "NULL"),
  1767.         array( "id" => "pix_perm_section_panel",
  1768.             "std" => "activate_plugins",
  1769.             "icl" => "NULL"),
  1770.         array( "id" => "pix_perm_footer_panel",
  1771.             "std" => "activate_plugins",
  1772.             "icl" => "NULL"),
  1773.         array( "id" => "pix_perm_sidebar_panel",
  1774.             "std" => "activate_plugins",
  1775.             "icl" => "NULL"),
  1776.         array( "id" => "pix_perm_scripts_panel",
  1777.             "std" => "activate_plugins",
  1778.             "icl" => "NULL"),
  1779.         array( "id" => "pix_perm_seo_panel",
  1780.             "std" => "activate_plugins",
  1781.             "icl" => "NULL"),
  1782.         array( "id" => "pix_perm_twitter_panel",
  1783.             "std" => "activate_plugins",
  1784.             "icl" => "NULL"),
  1785.         array( "id" => "pix_perm_typo_panel",
  1786.             "std" => "activate_plugins",
  1787.             "icl" => "NULL"),
  1788.         array( "id" => "pix_perm_google_panel",
  1789.             "std" => "activate_plugins",
  1790.             "icl" => "NULL"),
  1791.         array( "id" => "pix_perm_general_typo_panel",
  1792.             "std" => "activate_plugins",
  1793.             "icl" => "NULL"),
  1794.         array( "id" => "pix_perm_headings_panel",
  1795.             "std" => "activate_plugins",
  1796.             "icl" => "NULL"),
  1797.         array( "id" => "pix_perm_subs_panel",
  1798.             "std" => "activate_plugins",
  1799.             "icl" => "NULL"),
  1800.         array( "id" => "pix_perm_colors_panel",
  1801.             "std" => "activate_plugins",
  1802.             "icl" => "NULL"),
  1803.         array( "id" => "pix_perm_layout_colors_panel",
  1804.             "std" => "activate_plugins",
  1805.             "icl" => "NULL"),
  1806.         array( "id" => "pix_perm_section_colors_panel",
  1807.             "std" => "activate_plugins",
  1808.             "icl" => "NULL"),
  1809.         array( "id" => "pix_perm_buttons_panel",
  1810.             "std" => "activate_plugins",
  1811.             "icl" => "NULL"),
  1812.         array( "id" => "pix_perm_form_colors_panel",
  1813.             "std" => "activate_plugins",
  1814.             "icl" => "NULL"),
  1815.         array( "id" => "pix_perm_tooltips_panel",
  1816.             "std" => "activate_plugins",
  1817.             "icl" => "NULL"),
  1818.         array( "id" => "pix_perm_pagenavi_panel",
  1819.             "std" => "activate_plugins",
  1820.             "icl" => "NULL"),
  1821.         array( "id" => "pix_perm_sidebars_panel",
  1822.             "std" => "activate_plugins",
  1823.             "icl" => "NULL"),
  1824.         array( "id" => "pix_perm_slideshows_panel",
  1825.             "std" => "activate_plugins",
  1826.             "icl" => "NULL"),
  1827.         array( "id" => "pix_perm_slideshows_generator_panel",
  1828.             "std" => "activate_plugins",
  1829.             "icl" => "NULL"),
  1830.         array( "id" => "pix_perm_create_slideshows_panel",
  1831.             "std" => "activate_plugins",
  1832.             "icl" => "NULL"),
  1833.         array( "id" => "pix_perm_slideshow_colors_panel",
  1834.             "std" => "activate_plugins",
  1835.             "icl" => "NULL"),
  1836.         array( "id" => "pix_perm_slideshows_created_panel",
  1837.             "std" => "activate_plugins",
  1838.             "icl" => "NULL"),
  1839.         array( "id" => "pix_perm_contacts_panel",
  1840.             "std" => "activate_plugins",
  1841.             "icl" => "NULL"),
  1842.         array( "id" => "pix_perm_create_forms_panel",
  1843.             "std" => "activate_plugins",
  1844.             "icl" => "NULL"),
  1845.         array( "id" => "pix_perm_forms_created_panel",
  1846.             "std" => "activate_plugins",
  1847.             "icl" => "NULL"),
  1848.         array( "id" => "pix_perm_tables_panel",
  1849.             "std" => "activate_plugins",
  1850.             "icl" => "NULL"),
  1851.         array( "id" => "pix_perm_create_tables_panel",
  1852.             "std" => "activate_plugins",
  1853.             "icl" => "NULL"),
  1854.         array( "id" => "pix_perm_table_colors_panel",
  1855.             "std" => "activate_plugins",
  1856.             "icl" => "NULL"),
  1857.         array( "id" => "pix_perm_tables_created_panel",
  1858.             "std" => "activate_plugins",
  1859.             "icl" => "NULL"),
  1860.         array( "id" => "pix_perm_blog_panel",
  1861.             "std" => "activate_plugins",
  1862.             "icl" => "NULL"),
  1863.         array( "id" => "pix_perm_captcha_panel",
  1864.             "std" => "activate_plugins",
  1865.             "icl" => "NULL"),
  1866.         array( "id" => "pix_perm_posts_panel",
  1867.             "std" => "activate_plugins",
  1868.             "icl" => "NULL"),
  1869.         array( "id" => "pix_perm_pages_panel",
  1870.             "std" => "activate_plugins",
  1871.             "icl" => "NULL"),
  1872.         array( "id" => "pix_perm_posts_page_panel",
  1873.             "std" => "activate_plugins",
  1874.             "icl" => "NULL"),
  1875.         array( "id" => "pix_perm_404_panel",
  1876.             "std" => "activate_plugins",
  1877.             "icl" => "NULL"),
  1878.         array( "id" => "pix_perm_archive_panel",
  1879.             "std" => "activate_plugins",
  1880.             "icl" => "NULL"),
  1881.         array( "id" => "pix_perm_categories_panel",
  1882.             "std" => "activate_plugins",
  1883.             "icl" => "NULL"),
  1884.         array( "id" => "pix_perm_image_panel",
  1885.             "std" => "activate_plugins",
  1886.             "icl" => "NULL"),
  1887.         array( "id" => "pix_perm_search_panel",
  1888.             "std" => "activate_plugins",
  1889.             "icl" => "NULL"),
  1890.         array( "id" => "pix_perm_portfolio_panel",
  1891.             "std" => "activate_plugins",
  1892.             "icl" => "NULL"),
  1893.         array( "id" => "pix_perm_items_panel",
  1894.             "std" => "activate_plugins",
  1895.             "icl" => "NULL"),
  1896.         array( "id" => "pix_perm_galleries_panel",
  1897.             "std" => "activate_plugins",
  1898.             "icl" => "NULL"),
  1899.         array( "id" => "pix_perm_woo_panel",
  1900.             "std" => "activate_plugins",
  1901.             "icl" => "NULL"),
  1902.         array( "id" => "pix_perm_bbp_panel",
  1903.             "std" => "activate_plugins",
  1904.             "icl" => "NULL"),
  1905.         array( "id" => "pix_perm_styles_panel",
  1906.             "std" => "activate_plugins",
  1907.             "icl" => "NULL"),
  1908.         array( "id" => "pix_perm_hacks_panel",
  1909.             "std" => "activate_plugins",
  1910.             "icl" => "NULL"),
  1911.         array( "id" => "pix_perm_cathacks_panel",
  1912.             "std" => "activate_plugins",
  1913.             "icl" => "NULL"),
  1914.         array( "id" => "pix_perm_galhacks_panel",
  1915.             "std" => "activate_plugins",
  1916.             "icl" => "NULL"),
  1917.         array( "id" => "pix_category_hack",
  1918.             "std" => "all",
  1919.             "icl" => "NULL"),
  1920.         array( "id" => "pix_gallery_hack",
  1921.             "std" => "all",
  1922.             "icl" => "NULL"),
  1923.         array( "id" => "pix_consumer_key",
  1924.             "std" => "",
  1925.             "icl" => "NULL"),
  1926.         array( "id" => "pix_consumer_secret",
  1927.             "std" => "",
  1928.             "icl" => "NULL"),
  1929.         array( "id" => "pix_access_token",
  1930.             "std" => "",
  1931.             "icl" => "NULL"),
  1932.         array( "id" => "pix_access_token_secret",
  1933.             "std" => "",
  1934.             "icl" => "NULL")
  1935.     );
  1936.    
  1937.     if (function_exists('google_font_list')){
  1938.         google_font_list('add_options');
  1939.     }
  1940.     if (function_exists('admin_interface')){
  1941.         admin_interface('add_options');
  1942.     }
  1943.     if (function_exists('admin_panel')){
  1944.         admin_panel('add_options');
  1945.     }
  1946.     if (function_exists('front_header')){
  1947.         front_header('add_options');
  1948.     }
  1949.     if (function_exists('header_tabs')){
  1950.         header_tabs('add_options');
  1951.     }
  1952.     if (function_exists('nav_section')){
  1953.         nav_section('add_options');
  1954.     }
  1955.     if (function_exists('main_section')){
  1956.         main_section('add_options');
  1957.     }
  1958.     if (function_exists('footer_section')){
  1959.         footer_section('add_options');
  1960.     }
  1961.     if (function_exists('aside_section')){
  1962.         aside_section('add_options');
  1963.     }
  1964.     if (function_exists('front_topbar')){
  1965.         front_topbar('add_options');
  1966.     }
  1967.     if (function_exists('general_scripts')){
  1968.         general_scripts('add_options');
  1969.     }
  1970.     if (function_exists('general_seo')){
  1971.         general_seo('add_options');
  1972.     }
  1973.     if (function_exists('import_export')){
  1974.         import_export('add_options');
  1975.     }
  1976.     if (function_exists('general_typo')){
  1977.         general_typo('add_options');
  1978.     }
  1979.     if (function_exists('headings_typo')){
  1980.         headings_typo('add_options');
  1981.     }
  1982.     if (function_exists('other_typo')){
  1983.         other_typo('add_options');
  1984.     }
  1985.     if (function_exists('layout_colors')){
  1986.         layout_colors('add_options');
  1987.     }
  1988.     if (function_exists('section_colors')){
  1989.         section_colors('add_options');
  1990.     }
  1991.     if (function_exists('buttons_colors')){
  1992.         buttons_colors('add_options');
  1993.     }
  1994.     if (function_exists('other_colors')){
  1995.         other_colors('add_options');
  1996.     }
  1997.     if (function_exists('tooltips_colors')){
  1998.         tooltips_colors('add_options');
  1999.     }
  2000.     if (function_exists('pagenavi_colors')){
  2001.         pagenavi_colors('add_options');
  2002.     }
  2003.     if (function_exists('sidebar_generator')){
  2004.         sidebar_generator('add_options');
  2005.     }
  2006.     if (function_exists('slideshow_generator')){
  2007.         slideshow_generator('add_options');
  2008.     }
  2009.     if (function_exists('slideshow_colors')){
  2010.         slideshow_colors('add_options');
  2011.     }
  2012.     if (function_exists('slideshow_manage')){
  2013.         slideshow_manage('add_options');
  2014.     }
  2015.     if (function_exists('contact_form_generator')){
  2016.         contact_form_generator('add_options');
  2017.     }
  2018.     if (function_exists('contact_form_manage')){
  2019.         contact_form_manage('add_options');
  2020.     }
  2021.     if (function_exists('tables_generator')){
  2022.         tables_generator('add_options');
  2023.     }
  2024.     if (function_exists('table_colors')){
  2025.         table_colors('add_options');
  2026.     }
  2027.     if (function_exists('price_table_manage')){
  2028.         price_table_manage('add_options');
  2029.     }
  2030.     if (function_exists('select_fonts')){
  2031.         select_fonts('add_options');
  2032.     }
  2033.     if (function_exists('admin_tweets')){
  2034.         admin_tweets('add_options');
  2035.     }
  2036.     if (function_exists('blog_captcha')){
  2037.         blog_captcha('add_options');
  2038.     }
  2039.     if (function_exists('blog_posts')){
  2040.         blog_posts('add_options');
  2041.     }
  2042.     if (function_exists('blog_pages')){
  2043.         blog_pages('add_options');
  2044.     }
  2045.     if (function_exists('blog_posts_page')){
  2046.         blog_posts_page('add_options');
  2047.     }
  2048.     if (function_exists('blog_404')){
  2049.         blog_404('add_options');
  2050.     }
  2051.     if (function_exists('blog_archive')){
  2052.         blog_archive('add_options');
  2053.     }
  2054.     if (function_exists('blog_category')){
  2055.         blog_category('add_options');
  2056.     }
  2057.     if (function_exists('blog_image')){
  2058.         blog_image('add_options');
  2059.     }
  2060.     if (function_exists('blog_search')){
  2061.         blog_search('add_options');
  2062.     }
  2063.     if (function_exists('portfolio_items')){
  2064.         portfolio_items('add_options');
  2065.     }
  2066.     if (function_exists('portfolio_gallery')){
  2067.         portfolio_gallery('add_options');
  2068.     }
  2069.     if (function_exists('bbp_options')){
  2070.         bbp_options('add_options');
  2071.     }
  2072.     if (function_exists('woo_options')){
  2073.         woo_options('add_options');
  2074.     }
  2075.     if (function_exists('admin_permissions')){
  2076.         admin_permissions('add_options');
  2077.     }
  2078.     if (function_exists('custom_styles')){
  2079.         custom_styles('add_options');
  2080.     }
  2081.     if (function_exists('category_hack')){
  2082.         category_hack('add_options');
  2083.     }
  2084.     if (function_exists('gallery_hack')){
  2085.         gallery_hack('add_options');
  2086.     }
  2087.    
  2088.     return $options;
  2089. }
  2090.  
  2091. function enfinity_save_ajax() {
  2092.     global $options, $current_user;;
  2093.     check_ajax_referer('enfinity_data', 'enfinity_security');
  2094.  
  2095.     $data = $_POST;
  2096.     unset($data['enfinity_security'], $data['action']);
  2097.  
  2098.  
  2099.     if (isset($_GET['page']) && $_GET['page']=='pix_general' && $current_user->display_name == 'pixtest') {
  2100.            
  2101.         foreach ($_POST as $key => $value) {
  2102.             $_SESSION[$key] = $value;
  2103.         }
  2104.            
  2105.    
  2106.     } else {
  2107.            
  2108.         foreach ($_REQUEST as $key => $value) {
  2109.             if ( preg_match("/pix_array/", $key) ) {
  2110.                 pix_delete_option($key);
  2111.                 if(!pix_get_option($key)) {
  2112.                     pix_add_option($key, $value, 'true');
  2113.                 } else {
  2114.                     pix_update_option($key, $value);
  2115.                 }
  2116.             }
  2117.         }
  2118.        
  2119.         foreach ($_REQUEST as $key => $value) {
  2120.             if(isset($_REQUEST[$key])) {
  2121.                 pix_update_option($key, $value);
  2122.             }
  2123.         }
  2124.     }
  2125.            
  2126. }
  2127.  
  2128. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement