34 lines
574 B
PHP
34 lines
574 B
PHP
<?php
|
|
// Main page
|
|
|
|
$IS_FRONTEND = true;
|
|
|
|
// Includes
|
|
require_once("api/_auth.php");
|
|
require_once("api/user/index.php");
|
|
require_once("api/post/index.php");
|
|
|
|
|
|
|
|
$PAGE_TITLE = "Index"; // TODO
|
|
|
|
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<?php require_once("front/head.php"); ?>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<?php
|
|
// TODO: different pages
|
|
require_once("front/pages/index/random_meme.php");
|
|
require_once("front/pages/index/searchbox.php");
|
|
require_once("front/pages/index/counter.php");
|
|
require_once("front/footer.php");
|
|
?>
|
|
</div>
|
|
</body>
|
|
</html>
|