} ?> </div> </div> <nav id="navsecondaryheader" class="navbar navbar-main navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar2" aria-expanded="false" aria-controls="navbar2"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- <div class="data pull-left"> <p><?php echo current_time('d'); ?> </p> <p><?php echo the_russian_time(current_time('F')); ?> </p> <p><?php echo current_time('g:i A'); ?> </p> </div> --> <div id="navbar2" class="collapse navbar-collapse"> <?php wp_nav_menu(array('theme_location' => 'primary', 'menu_class' => 'nav navbar-nav')); ?> </div> <!--/.nav-collapse --> </div> </nav>
the_title(); ?> </h3> <p>Спектакль</p> </div> </div> </a> </div> <div class="event-block-content"> <?php $countrows = $wpdb->get_row("SELECT count(*) as countevent FROM {$wpdb->postmeta} WHERE 1 AND post_id = '{$eventId}' AND meta_key LIKE 'event_date_%'"); if (intval($countrows->countevent) > 0) { for ($counter = 0; $counter < intval($countrows->countevent); $counter++) { echo '<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 date">'; echo '<span><strong>' . get_post_meta($eventId, 'event_date_' . $counter, true) . '</strong> ' . the_russian_time(monthName(get_post_meta($eventId, 'event_month_' . $counter, true))) . ' ' . get_post_meta($eventId, 'evnt_time_start_hours_0', true) . ':' . get_post_meta($eventId, 'evnt_time_start_minutes_0', true) . ' ' . get_post_meta($eventId, 'event_start_time_0', true) . '</span>'; echo '</div>'; } } ?> <div class="clearfix"></div> <p><?php the_excerpt(); ?> </p> </div> <div class="bg-expire-3 text-center"> <?php if ($numbusinessDays > 0) { ?>
<!-- <p><?php //echo get_excerpt(); ?> </p> --> <p class="location text-left"><?php echo mb_strimwidth($evLocation['address'], 0, 60, '...'); ?> , OR</p> </div> <div class="bg-primary"> <?php $countrows = $wpdb->get_row("SELECT count(*) as countevent FROM {$wpdb->postmeta} WHERE 1 AND post_id = '{$eventId}' AND meta_key LIKE 'event_date_%'"); if (intval($countrows->countevent) > 0) { for ($counter = 0; $counter < intval($countrows->countevent); $counter++) { echo '<strong class="data">' . get_post_meta($eventId, 'event_date_' . $counter, true) . ' ' . the_russian_time(monthName(get_post_meta($eventId, 'event_month_' . $counter, true))) . ' ' . date("Y") . '</strong> '; } } ?> </div> <p class="bg-primary"> <span> <?php $terms = get_the_terms($eventId, 'event_cat'); if ($terms) { $out = array(); foreach ($terms as $term) { $out[] = $term->name; } echo join(', ', $out);