/www
/newtheastrologercom_455
/public
/wp-content
/plugins
/global-content-blocks-bk
/global-content-blocks.php
if(is_numeric($id)) {
$entry = gcb::get_entry_by_id(intval($id));
} else {
$entry = gcb::get_entry_by_custom_id($id);
}
if(is_array($entry)) {
$content = htmlspecialchars_decode(stripslashes($entry['value']));
//process the attributes
if(is_array($attributes)&& count($attributes)){
foreach($attributes as $attribute_key=>$attribute_value){
$content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
}
}
if($entry['type'] == "php") {
//execute the php code
ob_start();
$result = eval(" ".$content);
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
}
elseif($entry['type'] == "html") { // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
ob_start();
eval("?>$content<?php ");
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
}
else {
return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
}
}
else
{ return ""; }
}
Arguments
"file_get_contents(https://theastrologer.com/ical/day.php?cal=&getdate=20220528): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error\r\n"
/www
/newtheastrologercom_455
/public
/wp-content
/plugins
/global-content-blocks-bk
/global-content-blocks.php
if(is_numeric($id)) {
$entry = gcb::get_entry_by_id(intval($id));
} else {
$entry = gcb::get_entry_by_custom_id($id);
}
if(is_array($entry)) {
$content = htmlspecialchars_decode(stripslashes($entry['value']));
//process the attributes
if(is_array($attributes)&& count($attributes)){
foreach($attributes as $attribute_key=>$attribute_value){
$content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
}
}
if($entry['type'] == "php") {
//execute the php code
ob_start();
$result = eval(" ".$content);
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
}
elseif($entry['type'] == "html") { // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
ob_start();
eval("?>$content<?php ");
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
}
else {
return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
}
}
else
{ return ""; }
}
Arguments
"https://theastrologer.com/ical/day.php?cal=&getdate=20220528"
false
stream-context resource @916
options: array:1 [
"http" => array:1 [
"header" => "Cookie: phpicalendar_=a%3A20%3A%7Bs%3A15%3A%5C%22cookie_language%5C%22%3Bs%3A7%3A%5C%22English%5C%22%3Bs%3A15%3A%5C%22cookie_calendar%5C%22%3Bs%3A25%3A%5C%22all_calendars_combined971%5C%22%3Bs%3A11%3A%5C%22cookie_view%5C%22%3Bs%3A3%3A%5C%22day%5C%22%3Bs%3A15%3A%5C%22cookie_startday%5C%22%3Bs%3A6%3A%5C%22Monday%5C%22%3Bs%3A12%3A%5C%22cookie_style%5C%22%3Bs%3A6%3A%5C%22purple%5C%22%3Bs%3A11%3A%5C%22cookie_time%5C%22%3Bs%3A4%3A%5C%220700%5C%22%3Bs%3A14%3A%5C%22cookie_endtime%5C%22%3Bs%3A0%3A%5C%22%5C%22%3Bs%3A17%3A%5C%22cookie_timeformat%5C%22%3Bs%3A0%3A%5C%22%5C%22%3Bs%3A12%3A%5C%22cookie_cpath%5C%22%3Bs%3A0%3A%5C%22%5C%22%3Bs%3A15%3A%5C%22cookie_timezone%5C%22%3Bs%3A40%3A%5C%22%28GMT-12%3A00%29+International+Date+Line+West%5C%22%3Bs%3A15%3A%5C%22cookie_username%5C%22%3Bs%3A8%3A%5C%22John+Doe%5C%22%3Bs%3A10%3A%5C%22cookie_day%5C%22%3Bs%3A2%3A%5C%2215%5C%22%3Bs%3A12%3A%5C%22cookie_month%5C%22%3Bs%3A1%3A%5C%228%5C%22%3Bs%3A11%3A%5C%22cookie_year%5C%22%3Bs%3A4%3A%5C%221967%5C%22%3Bs%3A16%3A%5C%22cookie_startdate%5C%22%3Bs%3A0%3A%5C%22%5C%22%3Bs%3A13%3A%5C%22cookie_length%5C%22%3Bs%3A0%3A%5C%22%5C%22%3Bs%3A11%3A%5C%22cookie_mode%5C%22%3Bs%3A4%3A%5C%22high%5C%22%3Bs%3A13%3A%5C%22cookie_glyphs%5C%22%3Bs%3A4%3A%5C%22text%5C%22%3Bs%3A11%3A%5C%22cookie_icon%5C%22%3Bs%3A2%3A%5C%22on%5C%22%3Bs%3A19%3A%5C%22cookie_created_date%5C%22%3Bs%3A19%3A%5C%222022-05-28+17%3A48%3A21%5C%22%3B%7D"
]
]
}
/www
/newtheastrologercom_455
/public
/wp-content
/plugins
/global-content-blocks-bk
/global-content-blocks.php
if(is_numeric($id)) {
$entry = gcb::get_entry_by_id(intval($id));
} else {
$entry = gcb::get_entry_by_custom_id($id);
}
if(is_array($entry)) {
$content = htmlspecialchars_decode(stripslashes($entry['value']));
//process the attributes
if(is_array($attributes)&& count($attributes)){
foreach($attributes as $attribute_key=>$attribute_value){
$content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
}
}
if($entry['type'] == "php") {
//execute the php code
ob_start();
$result = eval(" ".$content);
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output . $result));//run the shortcodes as well
}
elseif($entry['type'] == "html") { // alloyphoto: enable PHP code in < ?php ... ? > tags inside blocks
ob_start();
eval("?>$content<?php ");
$output = ob_get_contents();
ob_end_clean();
return apply_filters('gcb_block_output', do_shortcode($output));//run the shortcodes as well
}
else {
return apply_filters('gcb_block_output', do_shortcode($content));//make sure we also run the shortcodes in here
}
}
else
{ return ""; }
}
/www
/newtheastrologercom_455
/public
/wp-content
/plugins
/global-content-blocks-bk
/global-content-blocks.php
$entries[count($entries)-1]["custom_id"] = (sanitize_title_with_dashes(base64_decode($row[4])));
} else {
$entries[count($entries)-1]["custom_id"] = "";
}
}
foreach($entries as $e) {
gcb::add_entry($e);
}
return "Imported ".count($entries)." blocks.";
} else {
return "Please Make sure you have a file uploaded.";
}
}
function gcb_shortcode_replacer($atts, $content=null, $code="") {
$a = shortcode_atts( array('id' => 0), $atts );
if((is_numeric($a["id"]) && $a["id"]==0) || (!strlen($a["id"]))) return "";
return gcb($a["id"],$atts);
}
/*
* The processing function can also receive a number of arbitrary parameters, that we'll pass along and replace into the content
*/
function gcb($id,$attributes=array()) {
//determine condition, since we can fetch blocks by 2 types of ids
if(is_numeric($id)) {
$entry = gcb::get_entry_by_id(intval($id));
} else {
$entry = gcb::get_entry_by_custom_id($id);
}
if(is_array($entry)) {
$content = htmlspecialchars_decode(stripslashes($entry['value']));
//process the attributes
if(is_array($attributes)&& count($attributes)){
foreach($attributes as $attribute_key=>$attribute_value){
$content = str_replace("%%".$attribute_key."%%",$attribute_value,$content);
Arguments
"forecast-calendar-influences"
array:1 [
"id" => "forecast-calendar-influences"
]
/www
/newtheastrologercom_455
/public
/wp-includes
/shortcodes.php
* Filters whether to call a shortcode callback.
*
* Passing a truthy value to the filter will effectively short-circuit the
* shortcode generation process, returning that value instead.
*
* @since 4.7.0
*
* @param bool|string $return Short-circuit return value. Either false or the value to replace the shortcode with.
* @param string $tag Shortcode name.
* @param array|string $attr Shortcode attributes array or empty string.
* @param array $m Regular expression match array.
*/
$return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
if ( false !== $return ) {
return $return;
}
$content = isset( $m[5] ) ? $m[5] : null;
$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
/**
* Filters the output created by a shortcode callback.
*
* @since 4.7.0
*
* @param string $output Shortcode output.
* @param string $tag Shortcode name.
* @param array|string $attr Shortcode attributes array or empty string.
* @param array $m Regular expression match array.
*/
return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
/**
* Search only inside HTML elements for shortcodes and process them.
*
* Any [ or ] characters remaining inside elements will be HTML encoded
* to prevent interference with shortcodes that are outside the elements.
* Assumes $content processed by KSES already. Users with unfiltered_html
Arguments
array:1 [
"id" => "forecast-calendar-influences"
]
""
"contentblock"
Arguments
array:7 [
0 => "[contentblock id=forecast-calendar-influences]"
1 => ""
2 => "contentblock"
3 => " id=forecast-calendar-influences"
4 => ""
5 => ""
6 => ""
]
/www
/newtheastrologercom_455
/public
/wp-includes
/shortcodes.php
if ( false === strpos( $content, '[' ) ) {
return $content;
}
if (empty($shortcode_tags) || !is_array($shortcode_tags))
return $content;
// Find all registered tag names in $content.
preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
$tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
if ( empty( $tagnames ) ) {
return $content;
}
$content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
$pattern = get_shortcode_regex( $tagnames );
$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
// Always restore square braces so we don't break things like <!--[if IE ]>
$content = unescape_invalid_shortcodes( $content );
return $content;
}
/**
* Retrieve the shortcode regular expression for searching.
*
* The regular expression combines the shortcode tags in the regular expression
* in a regex class.
*
* The regular expression contains 6 different sub matches to help with parsing.
*
* 1 - An extra [ to allow for escaping shortcodes with double [[]]
* 2 - The shortcode name
* 3 - The shortcode argument list
* 4 - The self closing /
* 5 - The content of a shortcode when it wraps some content.
Arguments
"/\[(\[?)(contentblock)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
"do_shortcode_tag"
"[contentblock id=forecast-calendar-influences]\n"
/www
/newtheastrologercom_455
/public
/wp-includes
/class-wp-hook.php
}
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if( ! $this->doing_action ) {
$args[ 0 ] = $value;
}
// Avoid the array_slice if possible.
if ( $the_['accepted_args'] == 0 ) {
$value = call_user_func_array( $the_['function'], array() );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
$this->nesting_level--;
return $value;
}
/**
* Executes the callback functions hooked on a specific action hook.
*
* @since 4.7.0
*
* @param mixed $args Arguments to pass to the hook callbacks.
Arguments
"[contentblock id=forecast-calendar-influences]\n"
/www
/newtheastrologercom_455
/public
/wp-includes
/plugin.php
$args = func_get_args();
_wp_call_all_hook($args);
}
if ( !isset($wp_filter[$tag]) ) {
if ( isset($wp_filter['all']) )
array_pop($wp_current_filter);
return $value;
}
if ( !isset($wp_filter['all']) )
$wp_current_filter[] = $tag;
if ( empty($args) )
$args = func_get_args();
// don't pass the tag name to WP_Hook
array_shift( $args );
$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
/**
* Execute functions hooked on a specific filter hook, specifying arguments in an array.
*
* @since 3.0.0
*
* @see apply_filters() This function is identical, but the arguments passed to the
* functions hooked to `$tag` are supplied using an array.
*
* @global array $wp_filter Stores all of the filters
* @global array $wp_current_filter Stores the list of current filters with the current one last
*
* @param string $tag The name of the filter hook.
* @param array $args The arguments supplied to the functions hooked to $tag.
* @return mixed The filtered value after all hooked functions are applied to it.
Arguments
"[contentblock id=forecast-calendar-influences]\n"
array:1 [
0 => "[contentblock id=forecast-calendar-influences]\n"
]
/www
/newtheastrologercom_455
/public
/wp-includes
/post-template.php
/**
* Display the post content.
*
* @since 0.71
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false.
*/
function the_content( $more_link_text = null, $strip_teaser = false) {
$content = get_the_content( $more_link_text, $strip_teaser );
/**
* Filters the post content.
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
echo $content;
}
/**
* Retrieve the post content.
*
* @since 0.71
*
* @global int $page Page number of a single post/page.
* @global int $more Boolean indicator for whether single post/page is being viewed.
* @global bool $preview Whether post/page is in preview mode.
* @global array $pages Array of all pages in post/page. Each array element contains part of the content separated by the <!--nextpage--> tag.
* @global int $multipage Boolean indicator for whether multiple pages are in play.
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false.
* @return string
*/
function get_the_content( $more_link_text = null, $strip_teaser = false ) {
Arguments
"the_content"
"[contentblock id=forecast-calendar-influences]"
/www
/newtheastrologercom_455
/public
/wp-content
/themes
/bb-theme-child
/content-page.php
<?php if (is_front_page()) : ?>
<h1 class="fl-post-title" itemprop="headline"><?php the_title(); ?></h1>
<?php edit_post_link(__('Edit', 'fl-automator')); ?>
<?php endif; ?>
<?php if ( ! is_page( array( 55088, 62301, 62302, 62303, 62304, 62313, 62314 ) ) ) : ?>
<?php
global $mobile_smart;
if ($mobile_smart->switcher_isMobile()) : ?>
<?php echo gcb(110); ?>
<?php endif; ?>
<?php endif; ?>
<?php if (!is_front_page()) : ?>
<h1 class="fl-post-title" itemprop="headline"><?php the_title(); ?></h1>
<?php edit_post_link(__('Edit', 'fl-automator')); ?>
<?php endif; ?>
</header><!-- .fl-post-header -->
<div class="fl-post-content clearfix" itemprop="text">
<?php
the_content();
wp_link_pages(array(
'before' => '<div class="fl-post-page-nav">' . __('Pages:', 'fl-automator'),
'after' => '</div>',
'next_or_number' => 'number'
));
?>
</div><!-- .fl-post-content -->
<div class="row">
<div class="col-md-8">
<?php comments_template(); ?>
</div>
<div class="col-md-4">
</div>
</div>
</article>
<!-- .fl-post -->
/www
/newtheastrologercom_455
/public
/wp-includes
/template.php
* @global int $user_ID
*
* @param string $_template_file Path to template file.
* @param bool $require_once Whether to require_once or require. Default true.
*/
function load_template( $_template_file, $require_once = true ) {
global $posts, $post, $wp_did_header, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID;
if ( is_array( $wp_query->query_vars ) ) {
extract( $wp_query->query_vars, EXTR_SKIP );
}
if ( isset( $s ) ) {
$s = esc_attr( $s );
}
if ( $require_once ) {
require_once( $_template_file );
} else {
require( $_template_file );
}
}
Arguments
"/www/newtheastrologercom_455/public/wp-content/themes/bb-theme-child/content-page.php"
/www
/newtheastrologercom_455
/public
/wp-includes
/template.php
*/
function locate_template($template_names, $load = false, $require_once = true ) {
$located = '';
foreach ( (array) $template_names as $template_name ) {
if ( !$template_name )
continue;
if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
$located = STYLESHEETPATH . '/' . $template_name;
break;
} elseif ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
$located = TEMPLATEPATH . '/' . $template_name;
break;
} elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
$located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
break;
}
}
if ( $load && '' != $located )
load_template( $located, $require_once );
return $located;
}
/**
* Require the template file with WordPress environment.
*
* The globals are set up for the template file to ensure that the WordPress
* environment is available from within the function. The query variables are
* also available.
*
* @since 1.5.0
*
* @global array $posts
* @global WP_Post $post
* @global bool $wp_did_header
* @global WP_Query $wp_query
* @global WP_Rewrite $wp_rewrite
* @global wpdb $wpdb
* @global string $wp_version
Arguments
"/www/newtheastrologercom_455/public/wp-content/themes/bb-theme-child/content-page.php"
false
/www
/newtheastrologercom_455
/public
/wp-includes
/general-template.php
* Fires before the specified template part file is loaded.
*
* The dynamic portion of the hook name, `$slug`, refers to the slug name
* for the generic template part.
*
* @since 3.0.0
*
* @param string $slug The slug name for the generic template.
* @param string|null $name The name of the specialized template.
*/
do_action( "get_template_part_{$slug}", $slug, $name );
$templates = array();
$name = (string) $name;
if ( '' !== $name )
$templates[] = "{$slug}-{$name}.php";
$templates[] = "{$slug}.php";
locate_template($templates, true, false);
}
/**
* Display search form.
*
* Will first attempt to locate the searchform.php file in either the child or
* the parent, then load it. If it doesn't exist, then the default search form
* will be displayed. The default search form is HTML, which will be displayed.
* There is a filter applied to the search form HTML in order to edit or replace
* it. The filter is {@see 'get_search_form'}.
*
* This function is primarily used by themes which want to hardcode the search
* form into the sidebar and also by the search widget in WordPress.
*
* There is also an action that is called whenever the function is run called,
* {@see 'pre_get_search_form'}. This can be useful for outputting JavaScript that the
* search relies on or various formatting that applies to the beginning of the
* search. To give a few examples of what it can be used for.
*
* @since 2.7.0
Arguments
array:2 [
0 => "content-page.php"
1 => "content.php"
]
true
false
/www
/newtheastrologercom_455
/public
/wp-content
/themes
/bb-theme
/tpl-no-header-footer.php
<?php
/*
Template Name: No Header/Footer
Template Post Type: post, page
*/
add_filter( 'fl_topbar_enabled', '__return_false' );
add_filter( 'fl_fixed_header_enabled', '__return_false' );
add_filter( 'fl_header_enabled', '__return_false' );
add_filter( 'fl_footer_enabled', '__return_false' );
get_header();
?>
<div class="fl-content-full container">
<div class="row">
<div class="fl-content col-md-12">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile;
endif; ?>
</div>
</div>
</div>
<?php get_footer(); ?>
Arguments
/www
/newtheastrologercom_455
/public
/wp-includes
/template-loader.php
elseif ( is_single() && $template = get_single_template() ) :
elseif ( is_page() && $template = get_page_template() ) :
elseif ( is_singular() && $template = get_singular_template() ) :
elseif ( is_category() && $template = get_category_template() ) :
elseif ( is_tag() && $template = get_tag_template() ) :
elseif ( is_author() && $template = get_author_template() ) :
elseif ( is_date() && $template = get_date_template() ) :
elseif ( is_archive() && $template = get_archive_template() ) :
else :
$template = get_index_template();
endif;
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
if ( $template = apply_filters( 'template_include', $template ) ) {
include( $template );
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
endif;
Arguments
"/www/newtheastrologercom_455/public/wp-content/themes/bb-theme/tpl-no-header-footer.php"
/www
/newtheastrologercom_455
/public
/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once( dirname(__FILE__) . '/wp-load.php' );
// Set up the WordPress query.
wp();
// Load the theme template.
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
Arguments
"/www/newtheastrologercom_455/public/wp-includes/template-loader.php"
/www
/newtheastrologercom_455
/public
/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Arguments
"/www/newtheastrologercom_455/public/wp-blog-header.php"