Esempio n. 1
0
</h3>
				</div>
				<div class="schedule-banner">
	            	<?php 
echo '<img src="' . $schedule_banner . '">';
?>
	            </div>

	            <div class="monthly-topics clearfix">
	            	<ul class="topic-head">
						<li>
						<div class="three-fourth">
						<?php 
//$next_month = date('F', strtotime('+1 month'));
//wpsp_month_string_translate( $next_month );
wpsp_month_string_translate(date('F'));
?>
						</div>
						<div class="one-fourth last"><?php 
echo __('Guest Speaker', 'klahan9');
?>
</div>
						</li>
					</ul>
					<?php 
$yearly_topic = date('Y');
$monthly_topic = date('m');
wpsp_monthly_topic($radio_topic_cat, $radio_topic_num, $yearly_topic, $monthly_topic, $radio_topic_order);
?>
	            </div> <!-- .monthly-topics -->
	            
Esempio n. 2
0
        $now = date('n', strtotime(date("Y-m-d")));
        $current_month = strtotime(date("Y-m-d"));
    }
    ?>

				<?php 
    $i = 1;
    while ($i <= $now) {
        $month_name = date('F', $current_month);
        ?>

						<ul class="topic-head">
							<li>
							<div class="three-fourth">
							<?php 
        wpsp_month_string_translate($month_name);
        ?>
							</div>
							<div class="one-fourth last"><?php 
        echo __('Guest Speaker', 'klahan9');
        ?>
</div>
							</li>
						</ul>

					<?php 
        wpsp_monthly_topic($cateogry_id, 5, $yearly_topic, date('m', $current_month));
        ?>

				<?php 
        $current_month = strtotime('-1 month', $current_month);