Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="banner_middle_content">
- <div class="countdown-timer">
- <ul class="countdown-list" data-countdown="<?php echo gmdate('Y/m/d',get_post_meta( $post->ID, 'evcal_erow', true )); ?>"></ul>
- </div>
- <div class="banner_event_date">
- <?php
- $start_date = gmdate('M d Y',get_post_meta( $post->ID, 'evcal_srow', true ));
- $end_date = gmdate('M d Y', get_post_meta( $post->ID, 'evcal_erow', true ));
- echo '<div class="event_date"><div class="event_date_top"><div class="slider_day">'.
- gmdate('D', get_post_meta($post->ID, 'evcal_srow', true)).
- '</div><div class="slider_month">'.
- gmdate('<\s\p\a\n\ \c\l\a\s\s\=\"\d\a\t\e\">j</\s\p\a\n>
- <\s\u\p>S</\s\u\p>
- <\s\p\a\n\ \c\l\a\s\s\=\"\m\o\n\t\h">F</\s\p\a\n>', get_post_meta($post->ID, 'evcal_srow', true)).
- '</div></div><div class="event_date_bottom"><div class="event_time"><i class="fa fa-clock-o" aria-hidden="true"></i>'.
- gmdate('h:i A', get_post_meta($post->ID, 'evcal_srow', true)).
- '<span>-</span>'.
- gmdate('h:i A', get_post_meta($post->ID, 'evcal_erow', true)).
- '</div></div></div>';
- ?>
- </div>
- <div class="slider-overlay_right">
- <ul>
- <li class="slider-overlay_right-info" aria-label="<?php
- $the_content = get_excerpt(200);
- if ( !empty($the_content) ) { ?>
- <?php echo $the_content;?><?php }?>"><span>…</span><i class="fas fa-info-circle"></i><span>…</span>
- </li>
- <li><i class="fas fa-chart-area"></i>
- <?php
- $postviews = get_post_meta($post->ID, 'tie_views', true);
- if($postviews > 0 && $postviews<=999){
- echo $postviews;
- }
- elseif($postviews>1000){
- $result = number_format(($postviews/1000),1) .'k';
- echo $result;
- }
- else {
- echo "0";
- }
- ?>
- </li><span>/</span>
- <li><i class="fas fa-comment-dots"></i><?php echo get_comments_number_text( '0', '1', '%' );?></li><span>/</span>
- <li><i class="fas fa-heart"></i>0</li>
- </ul>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement