Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $YASAL_UYARI = '
- Firmamız vergi levhasına sahip ve faturalı olarak satış yapan bir firmadır.
- Safir Rehber Wordpress Teması Niğde 3.Noterliği tarafından adımıza tescillenmiş olup, ilgili dijital ürünün
- kopyalanması, lisanssız kullanılması ve dağıtılması halinde hakkınızda yasal işlem başlatılacaktır.
- ';
- function get_domain($url) {
- $pieces = parse_url($url);
- $domain = isset($pieces['host']) ? $pieces['host'] : '';
- if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)) {
- return $regs['domain'];
- }
- }
- function __gc() {
- $site = $_SERVER['SERVER_NAME'];
- $site = 'http://' . $_SERVER['SERVER_NAME'];
- $site = get_domain($site);
- $key = 's+a+f+i+r+r+e+h+b+e+r';
- return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($key), $site, MCRYPT_MODE_CBC, md5(md5($key))));
- }
- include('settings.php');
- // category rel thing for w3c:
- add_filter( 'the_category', 'add_nofollow_cat' ); function add_nofollow_cat( $text ) { $text = str_replace('rel="category tag"', "", $text); return $text; }
- ajax_sl_init();
- // Adminbar menu
- function adminBarMenu() {
- global $wp_admin_bar;
- if ( !is_super_admin() || !is_admin_bar_showing() )
- return;
- $wp_admin_bar->add_menu( array(
- 'id' => 'safir_link',
- 'title' => __( 'Safir Panel - Tema Ayarları'),
- 'href' => __(get_bloginfo('url') . '/wp-admin/admin.php?page=safirpanel.php'),
- ) );
- }
- add_action('admin_bar_menu', 'adminBarMenu',400);
- // Stripslashes:
- function xoption($option){
- $options = unserialize(get_option("safirrehber_options"));
- if(is_string($options[get_option(substr('slcidingWidget',0,2) . substr('corelation',0,2) . substr('destination',0,2)) . $option])) {
- return stripslashes($options[get_option(substr('slcidingWidget',0,2) . substr('corelation',0,2) . substr('destination',0,2)) . $option]);
- } else {
- .....................................................................
- ........................................
- .................
Advertisement
Add Comment
Please, Sign In to add comment