| 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
get_header();
global $cs_theme_option;
isset($cs_theme_option['cs_layout']); $cs_layout = $cs_theme_option['cs_layout'];
?>
<div role="main" id="main">
<div class="container columns">
<div class="row">
<?php
if ( $cs_layout <> '' and $cs_layout <> "none" and $cs_layout == 'left' or $cs_layout == 'both') { ?>
<aside class="sidebar-left span3">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($cs_theme_option['cs_sidebar_left']) ) : endif; ?>
</aside>
<?php
}
?>
<div class="<?php cs_default_pages_meta_content_class( $cs_layout ); ?>">
<div class="postlist blog">
<!-- Blog Post Start -->
<?php if ( have_posts() ) : the_post(); ?>
<?php if ( (is_category() || is_tax('album-category') || is_tax('event-category') || is_tag() || is_tax('event-tag') || is_tax('album-tag')) and category_description() ) : // Show an optional category description ?>
<div class="rich_editor_text">
<?php echo category_description(); ?>
</div>
<?php endif; ?>
<?php
if (empty($_GET['page_id_all']))
$_GET['page_id_all'] = 1;
if (!isset($_GET["s"])) {
$_GET["s"] = '';
}
rewind_posts();
while ( have_posts() ) : the_post();
$event_from_date = get_post_meta($post->ID, "cs_event_from_date", true);
?>
<article <?php post_class(); ?>>
<!-- Thumbnail List Item Start -->
<div class="blog_text webkit">
<div class="text">
<h2 class="heading-color post-title"><a href="<?php the_permalink(); ?>" class="colrhover"><?php the_title(); ?></a></h2>
<p><?php echo cs_get_the_excerpt(255,true);?></p>
<ul class="post-options">
<li>
<time datetime="<?php date('Y-m-d',strtotime(get_the_date()));?>"><?php if($cs_theme_option['trans_switcher']== "on"){ _e('Posted on','Perspective');}else{ echo $cs_theme_option['trans_posted_on']; } ?> <?php echo get_the_date();?></time>
</li>
<li>
<?php printf( __('By: %s ','Perspective'), '<a href="'.get_author_posts_url(get_the_author_meta('ID')).'" class="colr">'.get_the_author().'</a>' );?>
</li>
<?php edit_post_link( __( 'Edit', 'Perspective'), ' <li><span class="edit-link colr">', '</span></li>' ); ?>
</ul>
</div>
</div>
</article>
<?php endwhile; ?>
<?php
$qrystr = '';
// pagination start
if ( $cs_theme_option['pagination'] == "Show Pagination" and $wp_query->found_posts > get_option('posts_per_page')) {
echo "<nav class='pagination'><ul>";
if ( isset($_GET['page_id']) ) $qrystr .= "&page_id=".$_GET['page_id'];
if ( isset($_GET['author']) ) $qrystr .= "&author=".$_GET['author'];
if ( isset($_GET['tag']) ) $qrystr .= "&tag=".$_GET['tag'];
if ( isset($_GET['cat']) ) $qrystr .= "&cat=".$_GET['cat'];
if ( isset($_GET['event-category']) ) $qrystr .= "&event-category=".$_GET['event-category'];
if ( isset($_GET['m']) ) $qrystr .= "&m=".$_GET['m'];
echo cs_pagination($wp_query->found_posts,get_option('posts_per_page'), $qrystr);
echo "</ul></nav>";
}
// pagination end
endif;
?>
</div>
</div>
<?php
if ( $cs_layout <> '' and $cs_layout <> "none" and $cs_layout == 'right' or $cs_layout == 'both') { ?>
<aside class="sidebar-right span3">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($cs_theme_option['cs_sidebar_right']) ) : endif; ?>
</aside>
<?php
}
if ( $cs_layout <> '' and $cs_layout <> "none" and $cs_layout == 'both_right') :
cs_default_pages_sidebar();
endif; ?>
<?php get_footer(); ?>