Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function dalgamenu()
- {
- register_nav_menus(['ust-menu' => __('Ust Menu')]);
- }
- function custom_excerpt_length($length)
- {
- return 18;
- }
- require_once 'content/menu.php';
- add_action('init', 'dalgamenu');
- include_once 'ek-functions.php';
- add_filter('img_caption_shortcode_width', '__return_false');
- add_filter('excerpt_length', 'custom_excerpt_length', 999);
- add_theme_support('post-thumbnails', ['post']);
- add_theme_support('post-thumbnails', ['page']);
- remove_action('wp_head', 'wp_print_scripts');
- remove_action('wp_head', 'wp_print_head_scripts', 9);
- remove_action('wp_head', 'wp_enqueue_scripts', 1);
- add_action('wp_footer', 'wp_print_scripts', 5);
- add_action('wp_footer', 'wp_enqueue_scripts', 5);
- add_action('wp_footer', 'wp_print_head_scripts', 5);
- if (function_exists('register_sidebar')) {
- register_sidebar(['name' => 'Kategori Sidebar', 'id' => 'kategori-sidebar', 'description' => 'Kategoriler için sidebar', 'before_widget' => '<div id="%1$s">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>']);
- }
- if (function_exists('register_sidebar')) {
- register_sidebar(['name' => 'Reklam Alanı 250x250', 'id' => 'reklam-sidebar', 'description' => 'Bu reklam alanına soldaki METİN yazan bileşenlerden koyup reklam kodunuzu içine koyabilirsiniz. (Sohbet girişi yanında gözükür.)', 'before_widget' => '<div id="%1$s">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>']);
- }
- if (file_exists(TEMPLATEPATH . '/lisans.php')) {
- require 'lisans.php';
- $lisans['site'] = getenv('HTTP_HOST');
- if (substr($lisans['site'], 0, 4) == 'www.') {
- $lisans['site'] = substr($lisans['site'], 4);
- }
- $lisans['hash'] = wordwrap(strtoupper(md5(crc32($lisans['site']))), 6, '2', true);
- if ($lisans['hash'] !== $sohbet_temalari) {
- exit('<h3 style="color:red;">Lisans anahtarı bu site için geçersizdir.</h3><br>Lisans anahtarı almak için <b style="color:blue;">sohbettemasi.com</b> sitesini ziyaret ediniz.');
- }
- else {
- unset($lisans);
- }
- function getPostViews($postID)
- {
- $count_key = 'post_views_count';
- $count = get_post_meta($postID, $count_key, true);
- if ($count == '') {
- delete_post_meta($postID, $count_key);
- add_post_meta($postID, $count_key, '0');
- ..................................................................................
- .................................................
- ....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement