Example #1
0
        $view = 50;
        $results = array_chunk($data, $view, true);
        $test = range(1, count($results));
        krsort($test);
        $last = array_slice($test, 0, 1);
        $get = $_GET;
        ?>
							
						</div>
						<?php 
        ?>
						<table>
							<?php 
        $day = '';
        foreach ((array) $results[$page - 1] as $stream) {
            $source_data = $activities->source($stream->name);
            $this_day = date("F jS", $stream->date);
            if ($day != $this_day) {
                ?>
							<tr>
								<th colspan="3"><?php 
                echo $this_day;
                ?>
</th>
							</tr>
							<?php 
            }
            ?>
							<tr>
								<td class="activity-time"><?php 
            echo date('g:i:a', $stream->date);
Example #2
0
        $view = 50;
        $results = array_chunk($data, $view, true);
        $test = range(1, count($results));
        krsort($test);
        $last = array_slice($test, 0, 1);
        $get = $_GET;
        ?>
							
						</div>
						<?php 
        ?>
						<table>
							<?php 
        $day = '';
        foreach ((array) $results[$page - 1] as $stream) {
            $source_data = SourceAdmin::source($stream->name);
            $this_day = date("F jS", $stream->date);
            if ($day != $this_day) {
                ?>
							<tr>
								<th colspan="3"><?php 
                echo $this_day;
                ?>
</th>
							</tr>
							<?php 
            }
            ?>
							<tr>
								<td class="activity-time"><?php 
            echo date('g:i:a', $stream->date);