Example #1
0
        the_post();
        ?>
						
					<h1><?php 
        the_title();
        ?>
</h1>
					<?php 
        the_content();
        ?>
					
					<!-- activity -->
					<div id="activity">
						<div>
							<?php 
        $data = $activities->show_streams();
        $page = isset($_GET['page']) && $_GET['page'] > 0 ? intval($_GET['page']) : 1;
        $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 = '';
Example #2
0
        the_post();
        ?>
						
					<h1><?php 
        the_title();
        ?>
</h1>
					<?php 
        the_content();
        ?>
					
					<!-- activity -->
					<div id="activity">
						<div>
							<?php 
        $data = SourceAdmin::show_streams();
        $page = isset($_GET['page']) && $_GET['page'] > 0 ? intval($_GET['page']) : 1;
        $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 = '';