| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/perspective-theme/ |
Upload File : |
<?php
cs_enqueue_parallax_script();
?>
<script>
jQuery(document).ready(function(){
jQuery(".parallaxbg").each(function (index) {
jQuery(this).parallax("50%", .1)
});
});
</script>
<?php
global $node, $post, $element_size_class, $counter_node, $cs_theme_option;
$parallax_element_size = $node->parallax_element_size;
$parallax_element = $node->parallax_element;
$parallax_view = $node->parallax_view;
$parallax_height = $node->parallax_height;
$parallax_margin_top = $node->parallax_margin_top;
$parallax_margin_bottom = $node->parallax_margin_bottom;
echo '<div class="element_size_'.$node->parallax_element_size.'" >';
// $counter = $post->ID . $count_node;
if ($parallax_element == 'twitter') {
cs_enqueue_jcarousel_style_script();
if(isset($node->parallax_twitter_profile) && !empty($node->parallax_twitter_profile)){
$parallax_twitter_profile = $node->parallax_twitter_profile;
} else {
$parallax_twitter_profile = '';
}
if(isset($node->parallax_twitter_back_top) && !empty($node->parallax_twitter_back_top)){
$parallax_twitter_back_top = $node->parallax_twitter_back_top;
} else {
$parallax_twitter_back_top = '';
}
if(isset($node->parallax_twitter_bgcolor) && !empty($node->parallax_twitter_bgcolor)){
$parallax_twitter_bgcolor = $node->parallax_twitter_bgcolor;
} else {
$parallax_twitter_bgcolor = '';
}
if(isset($node->parallax_twitter_num_tweets) && !empty($node->parallax_twitter_num_tweets)){
$parallax_twitter_num_tweets = $node->parallax_twitter_num_tweets;
} else {
$parallax_twitter_num_tweets = '';
}
if(isset($node->parallax_twitter_bgimg) && !empty($node->parallax_twitter_bgimg)){
$parallax_twitter_bgimg = $node->parallax_twitter_bgimg;
} else {
$parallax_twitter_bgimg = '';
}
?>
<div class="qoute parallaxbg webkit <?php if(isset($parallax_view) && !empty($parallax_view)){ echo $parallax_view.'-width';} else { echo 'parallax-full-width';}?>" style="<?php if($parallax_twitter_bgimg <> '') { ?>background-image: url(<?php echo $parallax_twitter_bgimg; ?>);<?php } if(isset($parallax_height) && !empty($parallax_height)){ ?> height: <?php echo $parallax_height ?>px; <?php } if(isset($parallax_twitter_bgcolor) && !empty($parallax_twitter_bgcolor)){ ?>background-color:<?php echo $parallax_twitter_bgcolor; ?>; margin-bottom:<?php echo $parallax_margin_bottom?>px; margin-top:<?php echo $parallax_margin_top?>px; <?php }?>">
<div class='container'>
<span class="pattren twitter-pattren"></span>
<span class=" colorpatrn"></span>
<?php if($parallax_twitter_back_top=='Y'){ echo '<a href="#" class="go-to-top absolute bordercolr" id="back-top"></a>';}?>
<!-- Container Start -->
<script>
jQuery(document).ready(function($){
jQuery("#carousellist").jcarousel({
vertical: true,
scroll: 1,
auto: 8,
wrap: "circular",
buttonNextHTML: null,
buttonPrevHTML: null
});
});
</script>
<div id="carousellist">
<ul>
<?php
if (strlen($parallax_twitter_profile) > 1) {
$return = '';
$response = '';
$exclude_replies = '0';
$include_rts = '0';
$token = get_option('TWITTER_BEARER_TOKEN');
if ($token && $parallax_twitter_profile) {
$args = array(
'httpversion' => '1.1',
'blocking' => true,
'headers' => array(
'Authorization' => "Bearer $token"
)
);
add_filter('https_ssl_verify', '__return_false');
$api_url = "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=$parallax_twitter_profile&count=$parallax_twitter_num_tweets&exclude_replies=$exclude_replies&include_rts=$include_rts";
$response = wp_remote_get($api_url, $args);
if (!is_wp_error($response) and $response <> "") {
$tweets = json_decode($response['body']);
foreach ($tweets as $i => $tweet) {
$text = $tweet->{'text'};
foreach ($tweet->{'entities'} as $type => $entity) {
if ($type == 'urls') {
foreach ($entity as $j => $url) {
$update_with = '<a href="' . $url->{'url'} . '" target="_blank" title="' . $url->{'expanded_url'} . '">' . $url->{'display_url'} . '</a>';
$text = str_replace($url->{'url'}, $update_with, $text);
}
} else if ($type == 'hashtags') {
foreach ($entity as $j => $hashtag) {
$update_with = '<a href="https://twitter.com/search?q=%23' . $hashtag->{'text'} . '&src=hash" target="_blank" title="' . $hashtag->{'text'} . '">#' . $hashtag->{'text'} . '</a>';
$text = str_replace('#' . $hashtag->{'text'}, $update_with, $text);
}
} else if ($type == 'user_mentions') {
foreach ($entity as $j => $user) {
$update_with = '<a href="https://twitter.com/' . $user->{'screen_name'} . '" target="_blank" title="' . $user->{'name'} . '">@' . $user->{'screen_name'} . '</a>';
$text = str_replace('@' . $user->{'screen_name'}, $update_with, $text);
}
}
}
$large_ts = time();
$n = $large_ts - strtotime($tweet->{'created_at'});
if ($n < (60)) {
$posted = sprintf(__('%d seconds ago', 'rotatingtweets'), $n);
} elseif ($n < (60 * 60)) {
$minutes = round($n / 60);
$posted = sprintf(_n('About a Minute Ago', '%d Minutes Ago', $minutes, 'rotatingtweets'), $minutes);
} elseif ($n < (60 * 60 * 16)) {
$hours = round($n / (60 * 60));
$posted = sprintf(_n('About an Hour Ago', '%d Hours Ago', $hours, 'rotatingtweets'), $hours);
} elseif ($n < (60 * 60 * 24)) {
$hours = round($n / (60 * 60));
$posted = sprintf(_n('About an Hour Ago', '%d Hours Ago', $hours, 'rotatingtweets'), $hours);
} elseif ($n < (60 * 60 * 24 * 6.5)) {
$days = round($n / (60 * 60 * 24));
$posted = sprintf(_n('About a Day Ago', '%d Days Ago', $days, 'rotatingtweets'), $days);
} elseif ($n < (60 * 60 * 24 * 7 * 3.5)) {
$weeks = round($n / (60 * 60 * 24 * 7));
$posted = sprintf(_n('About a Week Ago', '%d Weeks Ago', $weeks, 'rotatingtweets'), $weeks);
} elseif ($n < (60 * 60 * 24 * 7 * 4 * 11.5)) {
$months = round($n / (60 * 60 * 24 * 7 * 4));
$posted = sprintf(_n('About a Month Ago', '%d Months Ago', $months, 'rotatingtweets'), $months);
} elseif ($n >= (60 * 60 * 24 * 7 * 4 * 12)) {
$years = round($n / (60 * 60 * 24 * 7 * 52));
$posted = sprintf(_n('About a year Ago', '%d years Ago', $years, 'rotatingtweets'), $years);
}
$user = $tweet->{'user'};
$return .= '<li><div class="twitter-inner"><i class="icon-twitter icon-3 relative"></i>';
$return .= "<h1 class='heading-color'>" . $text . "</h1>";
$return .= '<a href="http://www.twitter.com/' . $parallax_twitter_profile . '" class="twitter-anker">' . $parallax_twitter_profile . '</a>';
$return .= "<a class='twitter-anker'>" . $posted . "</a>";
$return .= "</li>";
}
echo $return;
}
} else {
if ($response <> "") {
echo $response->errors['http_failure'][0];
} else {
echo "'._e('No results found.', 'Love Pray').'";
}
}
?>
<?php
} else {
echo '<h4 class="heading-color">No User information given.</h4>';
}
?>
</ul>
</div>
</div>
</div>
</div>
<?php
} elseif ($parallax_element == 'blog') {
if ( !isset($node->parallax_blog_category) or $node->parallax_blog_category == "" ) { $node->parallax_blog_category = ''; }
if ( !isset($node->parallax_blog_num_post) or $node->parallax_blog_num_post == "" ) { $node->parallax_blog_num_post = ''; }
if ( !isset($node->parallax_blog_bgimg) or $node->parallax_blog_bgimg == "" ) { $node->parallax_blog_bgimg = ''; }
if ( !isset($node->parallax_blog_bgcolor) or $node->parallax_blog_bgcolor == "" ) { $node->parallax_blog_bgcolor = ''; }
if (empty($_GET['page_id_all']))
$_GET['page_id_all'] = 1;
$argss = array('posts_per_page' => "-1", 'paged' => $_GET['page_id_all'], 'cat' => "$node->parallax_blog_category", 'post_status' => 'publish');
$custom_query = new WP_Query($argss);
$post_count = $custom_query->post_count;
$args = array('posts_per_page' => "$node->parallax_blog_num_post", 'cat' => "$node->parallax_blog_category", 'post_status' => 'publish');
$custom_query = new WP_Query($args);
?>
<div class="parallax parallaxbg align-center bolg_column <?php if(isset($parallax_view) && !empty($parallax_view)){ echo $parallax_view.'-width';} else { echo 'parallax-full-width';}?>" style="background-position: 50% -5px; <?php if ($node->parallax_blog_bgimg <> '') { ?>background-image: url(<?php echo $node->parallax_blog_bgimg; ?>);<?php } if(isset($node->parallax_height) && !empty($node->parallax_height)){ ?> height: <?php echo $node->parallax_height ?>px; <?php } if(isset($node->parallax_blog_bgcolor) && !empty($node->parallax_blog_bgcolor)){ ?>background-color:<?php echo $node->parallax_blog_bgcolor; ?>; margin-bottom:<?php echo $parallax_margin_bottom?>px; margin-top:<?php echo $parallax_margin_top?>px; <?php }?>">
<span class="pattren blog-pattren"></span>
<!-- Blog Start -->
<div class='container'>
<?php
cs_enqueue_jcarousel_style_script();
?>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#mycarouselblog3').jcarousel({scroll:1 });
});
</script>
<?php
echo '<ul class="jcarousel-skin-tango" id="mycarouselblog3">';
if(have_posts()):
while ($custom_query->have_posts()) : $custom_query->the_post();
$post_xml = get_post_meta($post->ID, "post", true);
if ( $post_xml <> "" ) {
$xmlObject = new SimpleXMLElement($post_xml);
$post_view = $xmlObject->post_thumb_view;
$post_image = $xmlObject->post_thumb_image;
$post_video = $xmlObject->post_thumb_video;
$post_slider = $xmlObject->post_thumb_slider;
$post_slider_type = $xmlObject->post_thumb_slider_type;
$width = 585;
$height = 440;
$image_url = cs_get_post_img_src($post->ID, $width, $height);
}else{
$post_view ='';
}
?>
<!-- List Post Start -->
<li>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<!-- Blog Post Thumbnail Start -->
<figure>
<?php
if ($post_view == "Map" and $post_view <> ''){
$node->map_lat = $xmlObject->post_thumb_map_lat;
$node->map_lon = $xmlObject->post_thumb_map_lon;
$node->map_zoom = $xmlObject->post_thumb_map_zoom;
$node->map_address = $xmlObject->post_thumb_map_address;
$node->map_controls = $xmlObject->post_thumb_map_controls;
$node->map_height = $height;
echo cs_map_page();
}elseif( $post_view == "Slider" and $post_slider_type == "Flex Slider" and $post_view <> ''){
cs_flex_slider($width,$height,$post_slider);
}elseif ( $post_view == "Slider" and $post_slider_type == "Nivo Slider" and $post_view <> ''){
cs_nivo_slider($width,$height,$post_slider);
}elseif($post_view == "Single Image" and $post_view <> ''){
cs_enqueue_gallery_style_script();
echo "<a href='".get_permalink()."' ><img src='".$image_url."' alt=''><span class='icon-hover'><i class='icon-reorder'></i></span></a>";
}elseif($post_view == "Video" and $post_view <> ''){
$url = parse_url($post_video);
if($url['host'] == $_SERVER["SERVER_NAME"]){?>
<video width="585" class="mejs-wmp" height="440" src="<?php echo $post_video ?>" id="player1" poster="<?php echo $image_url; ?>" controls="controls" preload="none"></video>
<?php
}else{
echo wp_oembed_get($post_video,array('width'=>400,'height' => 224));
}
}elseif($post_view == "Audio" and $post_audio <> ''){
?>
<audio style="width:100%;" src="<?php echo $post_audio; ?>" controls="controls"></audio>
<?php
}
echo "<figcaption>
<header><h6><a href='".get_permalink()."'>".substr(get_the_title(),0,25)."</a></h6></header>
<div class='peragraph webkit'>"; ?>
<p><?php echo cs_get_the_excerpt(150,true) ?></p>
<?php
echo "</div>
</figcaption>";
?>
</figure>
<!-- Text Start -->
<div class="text webkit">
<ul class="post-options">
<li>
<?php
/* translators: used between list items, there is a space after the comma */
$before_cat = " ".__( '','Perspective' )."";
$categories_list = get_the_term_list ( get_the_id(), 'category', $before_cat, ', ', '' );
if ( $categories_list ){
printf( __( '%1$s', 'Perspective' ),$categories_list );
} // End if categories
?>
</li>
<li>
<p><?php echo get_the_date();?></p>
</li>
</ul>
</div>
<!-- Text End -->
</article>
<!-- Blog Post Thumbnail Start -->
</li>
<!-- Blog Post End -->
<?php endwhile; endif;
echo '</ul>';
?>
</div>
</div>
<!-- Blog End -->
<?php
} elseif ($parallax_element == 'portfolio') {
if ( !isset($node->parallax_portfolio_category) or $node->parallax_portfolio_category == "" ) { $node->parallax_portfolio_category = ''; }
if ( !isset($node->parallax_portfolio_num_post) or $node->parallax_portfolio_num_post == "" ) { $node->parallax_portfolio_num_post = ''; }
if ( !isset($node->parallax_portfolio_bgimg) or $node->parallax_portfolio_bgimg == "" ) { $node->parallax_portfolio_bgimg = ''; }
if ( !isset($node->parallax_portfolio_bgcolor) or $node->parallax_portfolio_bgcolor == "" ) { $node->parallax_portfolio_bgcolor = ''; }
if (empty($_GET['page_id_all']))
$_GET['page_id_all'] = 1;
$argms = array(
'posts_per_page' => "-1",
'post_type' => 'Portfolio',
'cat_id' => "$node->parallax_portfolio_category",
'post_status' => 'publish',
'order' => 'ASC',
);
$custom_query = new WP_Query($argms);
$post_count = $custom_query->post_count;
$args = array(
'posts_per_page' => "$node->parallax_portfolio_num_post",
'post_type' => 'Portfolio',
'cat_id' => "$node->parallax_portfolio_category",
'post_status' => 'publish',
'order' => 'DESC',
);
$custom_query = new WP_Query($args);
?>
<div class="qoute parallaxbg webkit <?php if(isset($parallax_view) && !empty($parallax_view)){ echo $parallax_view.'-width';} else { echo 'parallax-full-width';}?> " style="background-position: 50% -5px; <?php if ($node->parallax_portfolio_bgimg <> '') { ?>background-image: url(<?php echo $node->parallax_portfolio_bgimg; ?>);<?php } if(isset($node->parallax_height) && !empty($node->parallax_height)){ ?> height: <?php echo $node->parallax_height ?>px; <?php } if(isset($node->parallax_portfolio_bgcolor) && !empty($node->parallax_portfolio_bgcolor)){ ?>background-color:<?php echo $node->parallax_portfolio_bgcolor; ?>; margin-bottom:<?php echo $parallax_margin_bottom?>px; margin-top:<?php echo $parallax_margin_top?>px; <?php }?>">
<span class="pattren portfolio-pattren"></span>
<div class='container'>
<?php
cs_enqueue_jcarousel_style_script();
?>
<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery('#parallelax_portfolio_carousel').jcarousel({scroll:1 ,wrap:'circular'});
});
</script>
<div class="wrapper-slider">
<div class="portfolio jcarousel-skin-tango">
<ul id="parallelax_portfolio_carousel">
<?php
if(have_posts()):
while ($custom_query->have_posts()) : $custom_query->the_post();
$post_xml = get_post_meta($post->ID, "portfolio", true);
if($post_xml <> ''){
$xmlObject = new SimpleXMLElement($post_xml);
$post_view = $xmlObject->portfolio_thumb_view;
$post_video = $xmlObject->portfolio_thumb_video;
$post_audio = $xmlObject->portfolio_thumb_audio;
$post_slider = $xmlObject->portfolio_thumb_slider;
$post_slider_type = $xmlObject->portfolio_thumb_slider_type;
$width = 585;
$height = 440;
}
$image_url = cs_get_post_img_src($post->ID,585,440);
$categories_list = get_the_terms($post->ID,'portfolio-category');
$conter = 1;
foreach($categories_list as $cat){
$cats[0] = 'mix';
$cats[$conter] =$cat->slug;
$conter++;
}
?>
<li>
<!-- Article Start -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<figure class="audio">
<?php
if ($post_view == "Map" and $post_view <> ''){
$node->map_lat = $xmlObject->post_thumb_map_lat;
$node->map_lon = $xmlObject->post_thumb_map_lon;
$node->map_zoom = $xmlObject->post_thumb_map_zoom;
$node->map_address = $xmlObject->post_thumb_map_address;
$node->map_controls = $xmlObject->post_thumb_map_controls;
$node->map_height = $height;
echo cs_map_page();
}elseif( $post_view == "Slider" and $post_slider_type == "Flex Slider" and $post_view <> ''){
cs_flex_slider($width,$height,$post_slider);
}elseif ( $post_view == "Slider" and $post_slider_type == "Nivo Slider" and $post_view <> ''){
cs_nivo_slider($width,$height,$post_slider);
}elseif($post_view == "Single Image" and $post_view <> ''){
cs_enqueue_gallery_style_script();
echo "<a class='icon-hover' href='".get_permalink()."' ><img src='".$image_url."' alt=''></a>";
?>
<figcaption class="bordercolr webkit">
<div class="portfolio-effect">
<?php
$before_tag = " ";
$tags_list = get_the_term_list ( get_the_id(), 'portfolio-tag',$before_tag, '', '' );
if ( $tags_list){
?>
<a class="icon-style"> <i class="icon-link"></i></a>
<div class="hover-text">
<p>
<?php
printf( __( '%2$s', 'Perspective' ),$before_tag,$tags_list );
?>
</p>
</div>
<?php }?>
</div>
</figcaption>
<?php
}elseif($post_view == "Video" and $post_view <> ''){
$url = parse_url($post_video);
if($url['host'] == $_SERVER["SERVER_NAME"]){?>
<video width="100%" class="mejs-wmp" height="370" src="<?php echo $post_video ?>" id="player1" poster="<?php echo $image_url; ?>" controls="controls" preload="none"></video>
<?php
}else{
echo wp_oembed_get($post_video,array('width'=>360,'height' => 370));
}
}elseif($post_view == "Audio" and $post_audio <> ''){
?>
<audio style="width:100%;" src="<?php echo $post_audio; ?>" controls="controls"></audio>
<?php
}
?>
</figure>
<!-- Text Start -->
<div class="text">
<h6>
<?php echo "<a href='".get_permalink()."'>".substr(get_the_title(),0,30)."...</a>";?>
</h6>
<span class="cuting_border"></span>
<span class="border_arrow"></span>
</div>
<!-- Text End --> </article>
<!-- Article End -->
</li>
<?php endwhile; endif; ?>
</ul>
</div>
</div>
</div>
</div>
<?php
} elseif ($parallax_element == 'map') {
if ( !isset($node->parallax_map_lat) or $node->parallax_map_lat == "" ) { $node->parallax_map_lat = 0; }
if ( !isset($node->parallax_map_bgcolor) or $node->parallax_map_bgcolor == "" ) { $node->parallax_map_bgcolor = 0; }
if ( !isset($node->parallax_map_lon) or $node->parallax_map_lon == "" ) { $node->parallax_map_lon = 0; }
if ( !isset($node->parallax_map_zoom) or $node->parallax_map_zoom == "" ) { $node->parallax_map_zoom = 11; }
if ( !isset($node->parallax_map_info_width) or $node->parallax_map_info_width == "" ) { $node->parallax_map_info_width = 200; }
if ( !isset($node->parallax_map_info_height) or $node->parallax_map_info_height == "" ) { $node->parallax_map_info_height = 100; }
if ( !isset($node->parallax_map_show_marker) or $node->parallax_map_show_marker == "" ) { $node->parallax_map_show_marker = 'true'; }
if ( !isset($node->parallax_map_controls) or $node->parallax_map_controls == "" ) { $node->parallax_map_controls = 'false'; }
if ( !isset($node->parallax_map_scrollwheel) or $node->parallax_map_scrollwheel == "" ) { $node->parallax_map_scrollwheel = 'true'; }
if ( !isset($node->parallax_map_draggable) or $node->parallax_map_draggable == "" ) { $node->parallax_map_draggable = 'true'; }
if ( !isset($node->parallax_map_type) or $node->parallax_map_type == "" ) { $node->parallax_map_type = 'ROADMAP'; }
if ( !isset($node->parallax_map_info)) { $node->parallax_map_info = ''; }
if( !isset($node->parallax_map_marker_icon)){ $node->parallax_map_marker_icon = ''; }
if( !isset($node->parallax_map_title)){ $node->parallax_map_title ='';}
if( !isset($node->parallax_map_element_size)){ $node->parallax_map_element_size ='default';}
$map_show_marker = '';
?>
<div class="qoute parallaxbg webkit <?php if(isset($parallax_view) && !empty($parallax_view)){ echo $parallax_view.'-width';} else { echo 'parallax-full-width';}?>" style="<?php if(isset($node->parallax_height) && !empty($node->parallax_height)){ ?> height: <?php echo $node->parallax_height ?>px; <?php } if(isset($node->parallax_map_bgcolor) && !empty($node->parallax_map_bgcolor)){ ?>background-color:<?php echo $node->parallax_map_bgcolor; ?>; margin-bottom:<?php echo $parallax_margin_bottom?>px; margin-top:<?php echo $parallax_margin_top?>px; <?php }?>">
<?php if($parallax_view=='parallax-boxed'){?>
<div class='container'>
<?php }?>
<?php
if ( $node->parallax_map_show_marker == "true" ) {
$map_show_marker = " var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: '',
icon: '".$node->parallax_map_marker_icon."',
shadow:''
});
";
}
//wp_enqueue_script('googleapis', 'https://maps.googleapis.com/maps/api/js?sensor=true', '', '', true);
$html = '<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=true"></script>';
$html .= '<div class="webkit map_sec">';
$html .= '<h1 class="color heading-color">'.$node->map_title.'</h1>';
$html .= '<div class="mapcode iframe mapsection gmapwrapp" id="map_canvas'.$counter_node.'" style="height:'.$node->parallax_map_height.'px;"> </div>';
$html .= '</div>';
$html .= "<script type='text/javascript'>
function initialize() {
var myLatlng = new google.maps.LatLng(".$node->parallax_map_lat.", ".$node->parallax_map_lon.");
var mapOptions = {
zoom: ".$node->parallax_map_zoom.",
scrollwheel: ".$node->parallax_map_scrollwheel.",
draggable: ".$node->parallax_map_draggable.",
center: myLatlng,
mapTypeId: google.maps.MapTypeId.".$node->parallax_map_type." ,
disableDefaultUI: ".$node->parallax_map_controls.",
}
var map = new google.maps.Map(document.getElementById('map_canvas".$counter_node."'), mapOptions);
var infowindow = new google.maps.InfoWindow({
content: '".$node->parallax_map_info."',
maxWidth: ".$node->parallax_map_info_width.",
maxHeight:".$node->parallax_map_info_height.",
});
".$map_show_marker."
//google.maps.event.addListener(marker, 'click', function() {
if (infowindow.content != ''){
infowindow.open(map, marker);
map.panBy(1,-60);
google.maps.event.addListener(marker, 'click', function(event) {
infowindow.open(map, marker);
});
}
//});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>";
echo $html;
if($node->parallax_view=='Boxed View'){
echo '</div>';
}
echo '</div>';
} elseif ($parallax_element == 'custom') {
if ( !isset($node->parallax_custom_text) or $node->parallax_custom_text == "" ) { $node->parallax_custom_text = ''; }
if ( !isset($node->parallax_custom_img) or $node->parallax_custom_img == "" ) { $node->parallax_custom_img = ''; }
if ( !isset($node->parallax_custom_back_top) or $node->parallax_custom_back_top == "" ) { $node->parallax_custom_back_top = ''; }
if ( !isset($node->parallax_custom_bgcolor) or $node->parallax_custom_bgcolor == "" ) { $parallax_custom_bgcolor = ''; }
?>
<!-- Qoute Start -->
<div class="qoute parallaxbg webkit <?php if(isset($parallax_view) && !empty($parallax_view)){ echo $parallax_view.'-width';} else { echo 'parallax-full-width';}?>" style="<?php if ($node->parallax_custom_img <> '') { ?> background-image: url(<?php echo $node->parallax_custom_img; ?>);<?php } if(isset($node->parallax_height) && !empty($node->parallax_height)){ ?> height: <?php echo $node->parallax_custom_height ?>px; <?php } if(isset($node->parallax_custom_bgcolor) && !empty($node->parallax_custom_bgcolor)){ ?>background-color:<?php echo $node->parallax_custom_bgcolor; ?>; <?php }?> margin-bottom:<?php echo $parallax_margin_bottom?>px; margin-top:<?php echo $parallax_margin_top?>px; ">
<div class='container'>
<span class="pattren perralex-pattren"></span>
<?php if ($node->parallax_custom_back_top == 'Y'){ echo '<a id="back-top" class="go-to-top absolute bordercolr" href="#"></a>';} ?>
<div class="custom-text">
<?php if ($node->parallax_custom_text <> ''){ echo $node->parallax_custom_text;} ?>
</div>
</div>
<!-- Qoute End -->
</div>
<?php
}
echo '</div>';
?>