Exemple #1
0
						<li><a href="about.php">About Us</a></li>						
                    </ul>
                </div>
            </div>
        </div>
	</header><!-- end header -->
	<section id="inner-headline">
	<div class="container">
		<div class="row">
			<div class="col-lg-12">
				<h2 class="pageTitle"></h2>
			</div>
		</div>
	</div>
	</section>
	
	<section id="content">
		<div class="container">
			<?php 
getAllPost();
?>
			
			<br>
        
		</div>
    </section>


	
	<?php 
include "resources/tamplates/front/footer.php";
Exemple #2
0
<?php

include_once 'include/config.php';
include_once 'include/functions.php';
if ($_GET['action'] == 'home') {
    $data = getAllPost();
    echo prepareJsonOutput(1, $data);
} elseif ($_GET['action'] == 'blog_details') {
    $data = getPostById($_GET['blogId']);
    echo prepareJsonOutput(1, $data);
}