| 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
global $cs_theme_option;
if(is_home() || is_front_page()){
if($cs_theme_option['show_partners'] == "on"){ ?>
<!-- Span12 Start -->
<div class="span12 lightbox">
<!-- Logo Slide Start -->
<div class="logo_slide">
<?php if($cs_theme_option['partners_title'] <> ''){ ?>
<header class="heading"><h2 class="heading-color section-title cs-heading-color"><?php echo $cs_theme_option['partners_title'];?></h2></header>
<?php } ?>
<div id="mycarouselthree" class="jcarousel-skin-tango">
<?php
cs_enqueue_jcarousel_style_script();
cs_enqueue_gallery_style_script();
?>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#mycarouselthree').jcarousel({
easing: 'easeOutCubic',
animation: 1000
});
});
</script>
<ul>
<?php
$gal_album_db =$cs_theme_option['partners_gallery'];
if($gal_album_db <> "0"){
// galery slug to id start
$args=array(
'name' => $gal_album_db,
'post_type' => 'cs_gallery',
'post_status' => 'publish',
'showposts' => 1,
);
$get_posts = get_posts($args);
if($get_posts){
$gal_album_db = $get_posts[0]->ID;
}
// galery slug to id end
$cs_meta_gallery_options = get_post_meta($gal_album_db, "cs_meta_gallery_options", true);
// pagination start
if ( $cs_meta_gallery_options <> "" ) {
$xmlObject = new SimpleXMLElement($cs_meta_gallery_options);
$limit_start = 0;
$limit_end = count($xmlObject);
//foreach ( $xmlObject->children() as $node ) {
for ( $i = $limit_start; $i < $limit_end; $i++ ) {
$path = $xmlObject->gallery[$i]->path;
$title = $xmlObject->gallery[$i]->title;
$description = $xmlObject->gallery[$i]->description;
$use_image_as = $xmlObject->gallery[$i]->use_image_as;
$video_code = $xmlObject->gallery[$i]->video_code;
$link_url = $xmlObject->gallery[$i]->link_url;
//$image_url = wp_get_attachment_image_src($path, array(438,288),false);
$image_url = cs_attachment_image_src($path, 186, 104);
//$image_url_full = wp_get_attachment_image_src($path, 'full',false);
$image_url_full = cs_attachment_image_src($path, 0, 0);
?>
<li>
<figure>
<a href="<?php if($use_image_as==1)echo $video_code; elseif($use_image_as==2) echo $link_url; else echo $image_url_full;?>" target="<?php if($use_image_as==2) { echo '_blank'; }else{ echo '_self';}?>" data-rel="<?php if($use_image_as==1)echo "prettyPhoto1"; elseif($use_image_as==2) echo ""; else echo "prettyPhoto[gallery2]"?>"><?php echo "<img src='".$image_url."' alt='".$title."' />"; ?></a>
</figure>
</li>
<?php
}
}
}else{
echo '<h4 class="heading-color">'.__( 'No results found.', 'Perspective' ).'</h4></li>';
}
?>
</ul>
</div>
</div>
<!-- Logo Slide End -->
</div>
<!-- Span12 End -->
<?php
}
}
?>
</div>
<!-- Row End -->
</div>
<!-- Container End -->
</div>
<!-- Content Section End -->
<div class="clear"></div>
<?php
wp_reset_query();
$post_type = '';
$switch_footer_widgets = '';
if(is_page() or is_single()){
$post_type = cs_post_type($post->ID);
$xml = get_post_meta($post->ID, $post_type, true);
if($xml <> ''){
$xmlObject = new SimpleXMLElement($xml);
$switch_footer_widgets = $xmlObject->switch_footer_widgets;
}else{
$switch_footer_widgets = '';
}
}else{
$switch_footer_widgets = "on";
}
if($switch_footer_widgets == "on"){?>
<!-- Footer Widgets Start -->
<a name="Contactar" id="Contactar"></a>
<div id="footer-widgets">
<!-- Container Start -->
<div class="container">
<!-- Footer Widgets Start -->
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-widget')) : ?><?php endif; ?>
<!-- Footer Widgets End -->
</div>
<!-- Container End -->
</div>
<!-- Footer Start -->
<?php } ?>
<footer>
<!-- Container Start -->
<div class="container">
<a id="back-top" class="gotop" href="#"><i class="icon-chevron-up icon-2x"></i></a>
<p><?php echo htmlspecialchars_decode($cs_theme_option['copyright']); ?> <a href="#" class="colrhover"><?php echo htmlspecialchars_decode($cs_theme_option['powered_by']); ?></a></p>
</div>
<!-- Container End -->
</footer>
<!-- Footer End -->
<div class="clear"></div>
<!-- Span12 Start -->
<div class="span12 login">
<!-- Login Inn Start -->
<div class="modal hide fade login_inn webkit " id="loginbox" role="dialog">
<button type="button" class="close backcolorhover" data-dismiss="modal" aria-hidden="true"><i class="icon-remove"></i></button>
<div class="header webkit">
<header>
<h3 class="heading-color"><?php _e('Log In','Perspective');?></h3>
</header>
<form class="webkit" action="<?php echo home_url(); ?>/wp-login.php" method="post">
<ul>
<li>
<span><i class="icon-user"></i></span>
<input name="log" id="user_login" value="<?php _e('Username','Perspective'); ?>" onfocus="if(this.value=='<?php _e('Username','Perspective'); ?>') {this.value='';}" onblur="if(this.value=='') {this.value='<?php _e('Username','Perspective'); ?>';}" type="text" />
</li>
<li>
<span class="password"><i class="icon-key"></i></span>
<input name="pwd" value="password" onfocus="if(this.value=='password') {this.value='';}" onblur="if(this.value=='') {this.value='password';}" type="password" class="bar" />
</li>
<li>
<input type="hidden" name="redirect_to" value="http://<?php echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']?>" />
<input name="rememberme" value="forever" id="rememberme" type="checkbox" class="left" />
<label><?php _e('Remember Me', 'Perspective'); ?></label>
</li>
<li>
<span class="log"><i class="icon-signin"></i></span>
<input class="backcolr" type="submit" value="<?php _e('Log In','Perspective');?>">
</li>
</ul>
</form>
</div>
<div class="footer webkit">
<a class="colrhover" href="<?php echo home_url() ; ?>/wp-login.php?action=lostpassword"> <i class="icon-question-sign"></i><?php _e('Lost Password','Perspective'); ?>?</a>
<div class="sign">
<?php
if ( get_option("users_can_register") == 1 and !is_user_logged_in() ) { ?>
<form action="<?php echo home_url() ; ?>/wp-login.php?action=register">
<label><?php _e('Register', 'Perspective')?></label>
<button class="texttransform backcolrhover transition"><?php echo _e('Signup','Perspective'); ?></button>
</form>
<?php }?>
</div>
</div>
</div>
<!-- Login Inn End -->
</div>
<!-- Span12 End -->
</div>
<!-- Wrapper End -->
<?php echo htmlspecialchars_decode($cs_theme_option['analytics']);?>
<?php wp_footer();?>
<!--[if lt IE 9]><script src="<?php echo get_template_directory_uri();?>/scripts/frontend/css3-mediaqueries.js"> </script><![endif]-->
</body>
</html>