PDA

View Full Version : دیکد کردن فایل php



sms118
دوشنبه 04 شهریور 1398, 12:18 عصر
سلام بچه ها کسی هیت این فایل را دیکد کنه یا بهم بگه چطور میتونم دیکد کنم

peymang
دوشنبه 04 شهریور 1398, 13:55 عصر
............

peymang
دوشنبه 04 شهریور 1398, 13:56 عصر
<?php
add_action('template_redirect', function()
{
if (is_singular('vip')) {
global $wp_query;
$page = ( int ) $wp_query->get('page');
if ($page > 1) {
$query->set('page', 1);
$query->set('paged', $page);
}
remove_action('template_redirect', 'redirect_canonical');
}
}, 0);
function theme_queue_js()
{
if (!is_admin()) {
if (!is_page() AND is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) {
wp_enqueue_script('comment-reply');
}
}
}
add_action('wp_print_scripts', 'theme_queue_js');
function custom_admin_style()
{
wp_register_style('webim_admin_css', get_bloginfo('template_url') . '/options/options-style.css', false, '1.0.0');
wp_enqueue_style('webim_admin_css');
}
add_action('admin_enqueue_scripts', 'custom_admin_style');
function register_my_menus()
{
register_nav_menus(array(
'top-menu' => __('منوی نوار بالایی'),
'main-menu' => __('منوی اصلی'),
'gallery-menu' => __('منوی اصلی صفحه گالری'),
'video-menu' => __('منوی اصلی صفحه فیلم'),
'footer-menu' => __('منوی فوتر'),
'404-menu' => __('منوی 404')
));
}
add_action('init', 'register_my_menus');
if (function_exists('add_theme_support')) {
add_theme_support('post-thumbnails');
add_image_size('important-titles', 70, 70, true, array(
'center',
'center'
));
add_image_size('header-slider', 635, 240, true, array(
'center',
'center'
));
add_image_size('header-slider2', 910, 480, true, array(
'center',
'center'
));
add_image_size('w4-thumb', 405, 210, true, array(
'center',
'center'
));
add_image_size('post-1', 264, 172, true, array(
'center',
'center'
));
add_image_size('post-2', 375, 315, true, array(
'center',
'center'
));
add_image_size('post-3', 460, 260, true, array(
'center',
'center'
));
add_image_size('fg-thumb', 80, 50, true, array(
'center',
'center'
));
add_image_size('fg-thumb-lg', 525, 347, true, array(
'center',
'center'
));
add_image_size('newspaper-thumb', 562, 410, true, array(
'center',
'center'
));
add_image_size('fvideo-thumb', 268, 140, true, array(
'center',
'center'
));
add_image_size('tc-thumb', 411, 300, true, array(
'center',
'center'
));
add_image_size('map-thumb', 90, 60, true, array(
'center',
'center'
));
add_image_size('header-slider-fix', 317, 240, true, array(
'center',
'center'
));
add_image_size('post-single', 500, 300, true, array(
'center',
'center'
));
add_image_size('media-slider', 1000, 460, true, array(
'center',
'center'
));
add_image_size('media-posts', 634, 420, true, array(
'center',
'center'
));
add_image_size('gallery-single', 640, 420, true, array(
'center',
'center'
));
add_image_size('video-list', 270, 160, true, array(
'center',
'center'
));
add_image_size('video-play', 875, 510, true, array(
'center',
'center'
));
add_image_size('video-post', 606, 420, true, array(
'center',
'center'
));
add_image_size('video-news-post', 135, 80, true, array(
'center',
'center'
));
add_image_size('1-1', 400, 300, true, array(
'center',
'center'
));
add_image_size('cat-1', 235, 240, true, array(
'center',
'center'
));
add_image_size('cat-2', 360, 240, true, array(
'center',
'center'
));
add_image_size('cat-1-1', 150, 100, true, array(
'center',
'center'
));
add_image_size('cat-2-2', 203, 130, true, array(
'center',
'center'
));
add_image_size('vip-posts', 225, 130, true, array(
'center',
'center'
));
}
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'ابزارک کناری اول',
'before_widget' => '<aside class="sidebar">',
'after_widget' => '</aside>',
'before_title' => ' <div class="sidebar-header"><h6>',
'after_title' => '</h6></div>'
));
register_sidebar(array(
'name' => 'ابزارک کناری دوم',
'before_widget' => '<aside class="sidebar">',
'after_widget' => '</aside>',
'before_title' => ' <div class="sidebar-header"><h6>',
'after_title' => '</h6></div>'
));
register_sidebar(array(
'name' => 'ابزارک فوتر',
'before_widget' => '<ul class="footer-widgets">',
'after_widget' => '</ul>',
'before_title' => ' <h6>',
'after_title' => '</h6>'
));
register_sidebar(array(
'name' => 'ابزارک بالای صفحه نخست',
'before_widget' => '<aside class="sidebar">',
'after_widget' => '</aside>',
'before_title' => ' <div class="sidebar-header"><h6>',
'after_title' => '</h6></div>'
));
register_sidebar(array(
'name' => 'ابزارک سمت چپ صفحه فیلم',
'before_widget' => '<aside class="sidebar">',
'after_widget' => '</aside>',
'before_title' => ' <div class="sidebar-header"><h6>',
'after_title' => '</h6></div>'
));
register_sidebar(array(
'name' => 'پیشخوان خبر',
'before_widget' => '<aside class="sidebar">',
'after_widget' => '</aside>',
'before_title' => ' <div class="sidebar-header"><h6>',
'after_title' => '</h6></div>'
));
}
if (is_admin()) {
wp_enqueue_script('custom-options-script', get_template_directory_uri() . '/options/options-script.js', array(
'jquery'
));
}
add_filter('pre_option_link_manager_enabled', '__return_true');
require_once(dirname(__FILE__) . '/inc/functions/farsnews_functions.php');
$whitelist = array(
'127.0.0.1',
'::1'
);
require_once(dirname(__FILE__) . '/inc/functions/notic.php');
require_once(dirname(__FILE__) . '/options/options.php');
require_once(dirname(__FILE__) . '/inc/functions/page_number.php');
require_once(dirname(__FILE__) . '/inc/functions/post_types.php');
require_once(dirname(__FILE__) . '/inc/functions/metabox.php');
require_once(dirname(__FILE__) . '/inc/functions/select_menu.php');
require_once(dirname(__FILE__) . '/inc/functions/tab_carousel.php');
require_once(dirname(__FILE__) . '/inc/functions/iranmap.php');
require_once(dirname(__FILE__) . '/inc/functions/views.php');
require_once(dirname(__FILE__) . '/inc/functions/comments.php');
require_once(dirname(__FILE__) . '/inc/functions/multi-image-upload.php');
require_once(dirname(__FILE__) . '/inc/functions/auto-installer.php');
require_once(dirname(__FILE__) . '/lib/plugins/plugin-activation.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-3.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-4.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-5.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-6.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-7.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-8.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-9.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-10.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-3.php');
if (in_array($_SERVER['REMOTE_ADDR'], $whitelist)) {
require_once(dirname(__FILE__) . '/inc/functions/notic.php');
require_once(dirname(__FILE__) . '/options/options.php');
require_once(dirname(__FILE__) . '/inc/functions/page_number.php');
require_once(dirname(__FILE__) . '/inc/functions/post_types.php');
require_once(dirname(__FILE__) . '/inc/functions/metabox.php');
require_once(dirname(__FILE__) . '/inc/functions/select_menu.php');
require_once(dirname(__FILE__) . '/inc/functions/tab_carousel.php');
require_once(dirname(__FILE__) . '/inc/functions/iranmap.php');
require_once(dirname(__FILE__) . '/inc/functions/views.php');
require_once(dirname(__FILE__) . '/inc/functions/comments.php');
require_once(dirname(__FILE__) . '/inc/functions/multi-image-upload.php');
require_once(dirname(__FILE__) . '/inc/functions/auto-installer.php');
require_once(dirname(__FILE__) . '/lib/plugins/plugin-activation.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-3.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-4.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-5.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-6.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-7.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-8.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-9.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-10.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-3.php');
} else {
if ($active_key && !empty($active_key) && $key_ok == 'LemonAccessKey1440') {
require_once(dirname(__FILE__) . '/options/options.php');
require_once(dirname(__FILE__) . '/inc/functions/page_number.php');
require_once(dirname(__FILE__) . '/inc/functions/post_types.php');
require_once(dirname(__FILE__) . '/inc/functions/metabox.php');
require_once(dirname(__FILE__) . '/inc/functions/select_menu.php');
require_once(dirname(__FILE__) . '/inc/functions/tab_carousel.php');
require_once(dirname(__FILE__) . '/inc/functions/iranmap.php');
require_once(dirname(__FILE__) . '/inc/functions/views.php');
require_once(dirname(__FILE__) . '/inc/functions/comments.php');
require_once(dirname(__FILE__) . '/inc/functions/multi-image-upload.php');
require_once(dirname(__FILE__) . '/inc/functions/auto-installer.php');
require_once(dirname(__FILE__) . '/lib/plugins/plugin-activation.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-3.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-4.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-5.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-6.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-7.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-8.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-9.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-10.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-1.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-2.php');
require_once(dirname(__FILE__) . '/inc/functions/widget-post-3.php');
}
global $active_key;
}







http://decode.tools/decode-general