تبلیغات در اینترنت

تبلیغات در اینترنتگیفت کارت گوگل پلی
نمایش نتایج: از 1 به 3 از 3

موضوع: در خواست دی کد کردن فایل php

  1. Top | #1
    کاربر سایت

    تاریخ عضویت
    Jan 2014
    نوشته ها
    2
    مورد پسند
    0 بار
    اطلاعات
    Windows 7/Server 2008 R2 Chrome 31.0.1650.63
    میزان امتیاز
    0

    پیش فرض در خواست دی کد کردن فایل php

    سلام
    در خواست دیکد کردن این فایل رو دارم .
    کد PHP:
    <?phpadd_action'admin_enqueue_scripts''import_epanel_javascript' );function import_epanel_javascript$hook_suffix ) {    if ( 'admin.php' == $hook_suffix && isset( $_GET['import'] ) && isset( $_GET['step'] ) && 'wordpress' == $_GET['import'] && '1' == $_GET['step'] )        add_action'admin_head''admin_headhook' );}
    function 
    admin_headhook(){ ?>    <script type="text/javascript">        jQuery(document).ready(function($){            $("p.submit").before("<p><input type='checkbox' id='importepanel' name='importepanel' value='1' style='margin-right: 5px;'><label for='importepanel'>Replace ePanel settings with sample data values</label></p>");        });    </script><?php }
    add_action('import_end','importend');function importend(){    global $wpdb$shortname;
        
    #make custom fields image paths point to sampledata/sample_images folder    $sample_images_postmeta = $wpdb->get_results(        $wpdb->prepare( "SELECT meta_id, meta_value FROM $wpdb->postmeta WHERE meta_value REGEXP %s", 'http://et_sample_images.com' )    );    if ( $sample_images_postmeta ) {        foreach ( $sample_images_postmeta as $postmeta ){            $template_dir = get_template_directory_uri();            if ( is_multisite() ){                switch_to_blog(1);                $main_siteurl = site_url();                restore_current_blog();
                    
    $template_dir $main_siteurl '/wp-content/themes/' get_template();            }            preg_match'/http:\/\/et_sample_images.com\/([^.]+).jpg/'$postmeta->meta_value$matches );            $image_path $matches[1];
                
    $local_image preg_replace'/http:\/\/et_sample_images.com\/([^.]+).jpg/'$template_dir '/sampledata/sample_images/$1.jpg'$postmeta->meta_value );
                
    $local_image preg_replace'/s:55:/''s:' strlen$template_dir '/sampledata/sample_images/' $image_path '.jpg' ) . ':'$local_image );
                
    $wpdb->update$wpdb->postmeta, array( 'meta_value' => esc_url_raw$local_image ) ), array( 'meta_id' => $postmeta->meta_id ), array( '%s' ) );        }    }
        if ( !isset(
    $_POST['importepanel']) )        return;
        
    $importOptions 'YTo4ODp7czowOiIiO047czoxMjoiMTNmbG9vcl9sb2dvIjtzOjA6IiI7czoxNToiMTNmbG9vcl9mYXZpY29uIjtzOjA6IiI7czoyMDoiMTNmbG9vcl9jb2xvcl9zY2hlbWUiO3M6NDoiQmx1ZSI7czoxODoiMTNmbG9vcl9ibG9nX3N0eWxlIjtOO3M6MTg6IjEzZmxvb3JfZ3JhYl9pbWFnZSI7TjtzOjIwOiIxM2Zsb29yX2NhdG51bV9wb3N0cyI7czoxOiI2IjtzOjI0OiIxM2Zsb29yX2FyY2hpdmVudW1fcG9zdHMiO3M6MToiNSI7czoyMzoiMTNmbG9vcl9zZWFyY2hudW1fcG9zdHMiO3M6MToiNSI7czoyMDoiMTNmbG9vcl90YWdudW1fcG9zdHMiO3M6MToiNSI7czoxOToiMTNmbG9vcl9kYXRlX2Zvcm1hdCI7czo2OiJNIGosIFkiO3M6MTk6IjEzZmxvb3JfdXNlX2V4Y2VycHQiO047czoyMjoiMTNmbG9vcl9ob21lcGFnZV9wb3N0cyI7czoxOiI3IjtzOjIyOiIxM2Zsb29yX2V4bGNhdHNfcmVjZW50IjtOO3M6MTY6IjEzZmxvb3JfZmVhdHVyZWQiO3M6Mjoib24iO3M6MTc6IjEzZmxvb3JfdXNlX3BhZ2VzIjtOO3M6MjQ6IjEzZmxvb3JfY3VzdG9tX2FuaW1hdGlvbiI7czoyOiJvbiI7czoxNjoiMTNmbG9vcl9mZWF0X2NhdCI7czo4OiJGZWF0dXJlZCI7czoyMDoiMTNmbG9vcl9mZWF0dXJlZF9udW0iO3M6MToiMyI7czoxODoiMTNmbG9vcl9mZWF0X3BhZ2VzIjtOO3M6MTk6IjEzZmxvb3Jfc2xpZGVyX2F1dG8iO047czoxOToiMTNmbG9vcl9wYXV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iJvbiI7czoyOToiMTNmbG9vcl9pbnRlZ3JhdGVfYm9keV9lbmFibGUiO3M6Mjoib24iO3M6MzQ6IjEzZmxvb3JfaW50ZWdyYXRlX3NpbmdsZXRvcF9lbmFibGUiO3M6Mjoib24iO3M6Mzc6IjEzZmxvb3JfaW50ZWdyYXRlX3NpbmdsZWJvdHRvbV9lbmFibGUiO3M6Mjoib24iO3M6MjQ6IjEzZmxvb3JfaW50ZWdyYXRpb25faGVhZCI7czowOiIiO3M6MjQ6IjEzZmxvb3JfaW50ZWdyYXRpb25fYm9keSI7czowOiIiO3M6MzA6IjEzZmxvb3JfaW50ZWdyYXRpb25fc2luZ2xlX3RvcCI7czowOiIiO3M6MzM6IjEzZmxvb3JfaW50ZWdyYXRpb25fc2luZ2xlX2JvdHRvbSI7czowOiIiO3M6MTg6IjEzZmxvb3JfNDY4X2VuYWJsZSI7TjtzOjE3OiIxM2Zsb29yXzQ2OF9pbWFnZSI7czowOiIiO3M6MTU6IjEzZmxvb3JfNDY4X3VybCI7czowOiIiO3M6MTk6IjEzZmxvb3JfNDY4X2Fkc2Vuc2UiO3M6MDoiIjt9';
        
    /*global $options;
        foreach ($options as $value) {        if( isset( $value['id'] ) ) {            update_option( $value['id'], $value['std'] );        }    }*/
        
    $importedOptions unserialize(base64_decode($importOptions));
        foreach (
    $importedOptions as $key=>$value) {        if ($value != ''update_option$key$value );    }    update_option$shortname '_use_pages''false' );} ?>




  2. گیفت کارت آیتونز

  3. Top | #2
    کاربر سایت

    تاریخ عضویت
    Jan 2014
    نوشته ها
    2
    مورد پسند
    0 بار
    اطلاعات
    Windows 7/Server 2008 R2 Chrome 31.0.1650.63
    میزان امتیاز
    0

    پیش فرض

    کسی می تونه دیکد کنه؟ ...

  4. Top | #3
    کاربر سایت

    تاریخ عضویت
    Sep 2012
    ورژن ویبولتین
    3.8.7
    نوشته ها
    135
    مورد پسند
    80 بار
    اطلاعات
    Windows NT 6.3 Firefox 26.0
    میزان امتیاز
    19

    پیش فرض

    کد:
    <?phpadd_action( 'admin_enqueue_scripts', 'import_epanel_javascript' );function import_epanel_javascript( $hook_suffix ) { if ( 'admin.php' == $hook_suffix && isset( $_GET['import'] ) && isset( $_GET['step'] ) && 'wordpress' == $_GET['import'] && '1' == $_GET['step'] ) add_action( 'admin_head', 'admin_headhook' );} function admin_headhook(){ ?> <script type="text/javascript"> jQuery(document).ready(function($){ $("p.submit").before("<p><input type='checkbox' id='importepanel' name='importepanel' value='1' style='margin-right: 5px;'><label for='importepanel'>Replace ePanel settings with sample data values</label></p>"); }); </script><?php } add_action('import_end','importend');function importend(){ global $wpdb, $shortname; #make custom fields image paths point to sampledata/sample_images folder $sample_images_postmeta = $wpdb->get_results( $wpdb->prepare( "SELECT meta_id, meta_value FROM $wpdb->postmeta WHERE meta_value REGEXP %s", 'http://et_sample_images.com' ) ); if ( $sample_images_postmeta ) { foreach ( $sample_images_postmeta as $postmeta ){ $template_dir = get_template_directory_uri(); if ( is_multisite() ){ switch_to_blog(1); $main_siteurl = site_url(); restore_current_blog(); $template_dir = $main_siteurl . '/wp-content/themes/' . get_template(); } preg_match( '/http:\/\/et_sample_images.com\/([^.]+).jpg/', $postmeta->meta_value, $matches ); $image_path = $matches[1]; $local_image = preg_replace( '/http:\/\/et_sample_images.com\/([^.]+).jpg/', $template_dir . '/sampledata/sample_images/$1.jpg', $postmeta->meta_value ); $local_image = preg_replace( '/s:55:/', 's:' . strlen( $template_dir . '/sampledata/sample_images/' . $image_path . '.jpg' ) . ':', $local_image ); $wpdb->update( $wpdb->postmeta, array( 'meta_value' => esc_url_raw( $local_image ) ), array( 'meta_id' => $postmeta->meta_id ), array( '%s' ) ); } } if ( !isset($_POST['importepanel']) ) return; $importOptions = 'a:88:{s:0:"";N;s:12:"13floor_logo";s:0:"";s:15:"13floor_favicon";s:0:"";s:20:"13floor_color_scheme";s:4:"Blue";s:18:"13floor_blog_style";N;s:18:"13floor_grab_image";N;s:20:"13floor_catnum_posts";s:1:"6";s:24:"13floor_archivenum_posts";s:1:"5";s:23:"13floor_searchnum_posts";s:1:"5";s:20:"13floor_tagnum_posts";s:1:"5";s:19:"13floor_date_format";s:6:"M j, Y";s:19:"13floor_use_excerpt";N;s:22:"13floor_homepage_posts";s:1:"7";s:22:"13floor_exlcats_recent";N;s:16:"13floor_featured";s:2:"on";s:17:"13floor_use_pages";N;s:24:"13floor_custom_animation";s:2:"on";s:16:"13floor_feat_cat";s:8:"Featured";s:20:"13floor_featured_num";s:1:"3";s:18:"13floor_feat_pages";N;s:19:"13floor_slider_auto";N;s:19:"13floor_pause_hover";N;s:24:"13floor_slider_autospeed";s:4:"5000";s:17:"13floor_menupages";N;s:24:"13floor_enable_dropdowns";s:2:"on";s:17:"13floor_home_link";s:2:"on";s:18:"13floor_sort_pages";s:10:"post_title";s:18:"13floor_order_page";s:3:"asc";s:25:"13floor_tiers_shown_pages";s:1:"3";s:16:"13floor_menucats";N;s:35:"13floor_enable_dropdowns_categories";s:2:"on";s:24:"13floor_categories_empty";s:2:"on";s:30:"13floor_tiers_shown_categories";s:1:"3";s:16:"13floor_sort_cat";s:4:"name";s:17:"13floor_order_cat";s:3:"asc";s:23:"13floor_disable_toptier";N;s:17:"13floor_postinfo2";a:4:{i:0;s:6:"author";i:1;s:4:"date";i:2;s:10:"categories";i:3;s:8:"comments";}s:18:"13floor_thumbnails";s:2:"on";s:25:"13floor_show_postcomments";s:2:"on";s:23:"13floor_page_thumbnails";N;s:26:"13floor_show_pagescomments";N;s:17:"13floor_postinfo1";a:4:{i:0;s:6:"author";i:1;s:4:"date";i:2;s:10:"categories";i:3;s:8:"comments";}s:24:"13floor_thumbnails_index";s:2:"on";s:21:"13floor_custom_colors";N;s:17:"13floor_child_css";N;s:20:"13floor_child_cssurl";s:0:"";s:22:"13floor_color_mainfont";s:0:"";s:22:"13floor_color_mainlink";s:0:"";s:22:"13floor_color_pagelink";s:0:"";s:29:"13floor_color_pagelink_active";s:0:"";s:22:"13floor_color_headings";s:0:"";s:27:"13floor_color_sidebar_links";s:0:"";s:23:"13floor_footer_headings";s:0:"";s:25:"13floor_color_footerlinks";s:0:"";s:22:"13floor_seo_home_title";N;s:28:"13floor_seo_home_description";N;s:25:"13floor_seo_home_keywords";N;s:26:"13floor_seo_home_canonical";N;s:26:"13floor_seo_home_titletext";s:0:"";s:32:"13floor_seo_home_descriptiontext";s:0:"";s:29:"13floor_seo_home_keywordstext";s:0:"";s:21:"13floor_seo_home_type";s:27:"BlogName | Blog description";s:25:"13floor_seo_home_separate";s:3:" | ";s:24:"13floor_seo_single_title";N;s:30:"13floor_seo_single_description";N;s:27:"13floor_seo_single_keywords";N;s:28:"13floor_seo_single_canonical";N;s:30:"13floor_seo_single_field_title";s:9:"seo_title";s:36:"13floor_seo_single_field_description";s:15:"seo_description";s:33:"13floor_seo_single_field_keywords";s:12:"seo_keywords";s:23:"13floor_seo_single_type";s:21:"Post title | BlogName";s:27:"13floor_seo_single_separate";s:3:" | ";s:27:"13floor_seo_index_canonical";N;s:29:"13floor_seo_index_description";N;s:22:"13floor_seo_index_type";s:24:"Category name | BlogName";s:26:"13floor_seo_index_separate";s:3:" | ";s:31:"13floor_integrate_header_enable";s:2:"on";s:29:"13floor_integrate_body_enable";s:2:"on";s:34:"13floor_integrate_singletop_enable";s:2:"on";s:37:"13floor_integrate_singlebottom_enable";s:2:"on";s:24:"13floor_integration_head";s:0:"";s:24:"13floor_integration_body";s:0:"";s:30:"13floor_integration_single_top";s:0:"";s:33:"13floor_integration_single_bottom";s:0:"";s:18:"13floor_468_enable";N;s:17:"13floor_468_image";s:0:"";s:15:"13floor_468_url";s:0:"";s:19:"13floor_468_adsense";s:0:"";}'; /*global $options; foreach ($options as $value) { if( isset( $value['id'] ) ) { update_option( $value['id'], $value['std'] ); } }*/ $importedOptions = unserialize(base64_decode($importOptions)); foreach ($importedOptions as $key=>$value) { if ($value != '') update_option( $key, $value ); } update_option( $shortname . '_use_pages', 'false' );} ?>
    ویرایش توسط einstein2010 : 2014/01/03 در ساعت 03:26 PM

    کاربر مقابل از einstein2010 بابت این پست مفید تشکر کرده است:


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

علاقه مندی ها (Bookmarks)

علاقه مندی ها (Bookmarks)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •