<html> <head> <? startblock('head') ?> <link rel='stylesheet' type='text/css' href='main.css' /> <script type='text/javascript' src='main.js'></script> <? endblock() ?> </head> <body> <div id='header'> <h1> <? emptyblock('title') ?> </h1> </div> <div id='content'> <? emptyblock('content') ?> </div> <div id='footer'> <? startblock('footer') ?> this is the default footer <? endblock() ?> </div> </body> </html>
?> <meta name="Keywords" content="" /> <meta name="Description" content="" /> <title> Welcome to Dog and Rooster Admin Control Panel </title> <!--[if IE]> <script src="_assets/js/html5.js"></script> <![endif]--> <link rel="stylesheet" type="text/css" media="screen" href="_assets/css/core1.css" /> <?php emptyblock('headercodes'); ?> <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico" /> </head> <body> <div id="wrapper"> <?php emptyblock('section'); ?> </div> <!--#extracodes#--> <?php emptyblock('extracodes'); ?> <!--#extracodes#--> <?php include '_manager/box_header/ie6update.php'; ?> </body> </html>
<!DOCTYPE html> <html> <head> <title>GYM</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <?php emptyblock('head'); ?> </head> <body> <div class="row" style="margin-left: auto; margin-right: auto;"> <div class="navbar navbar-inverse col-md-12"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="/admin/main.php">ADMIN PAGE</a> </div> </div> </div> </div> <?php emptyblock('content'); emptyblock('extra'); ?> </body> </html>
</form> <button id="saveBtn" type="button" class="btn btn-default">Save</button> <button id="editBtn" type="button" class="btn btn-default">Edit</button> <button id="backBtn" type="button" class="btn btn-default">Back</button> <?php endblock('admin_content_body'); ?> </div> </div> <!-- /.box-body --> <div id="admin_content_footer" class="box-footer"> <?php emptyblock('admin_content_footer'); ?> </div> <!-- /.box-footer--> <!-- /.box --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php ob_start(); include $_SERVER['DOCUMENT_ROOT'] . '/src/App/Views/admin/footer.php'; flushblocks(); ?>
<li> <div id="manage"> <i class="fa fa-edit"></i> Manage Posts </div> </li> <li> <div id="log-in-out"> <a href="./index.php"><i class="fa fa-home"></i> Home </a> </div> </li> </ul> </div> </div> </div> </div> --> <!-- include a header that shows up on every page except for the main page --> <?php emptyblock('head'); ?> <!-- includes main body content --> <?php emptyblock('body'); ?> </body> </html>
<div><a href="index.php">HOME</a></div> <div><a href="problem.php">PROBLEM</a></div> <div><a href="">RANKING</a></div> <div><a href="contents.php">COMMUNITY</a></div> <div><a href="feedback.php">FEEDBACK</a></div> <div><a href="admin.php">MANAGE(업데이트중)</a></div> <div> <?php if (!isset($_SESSION['user_id'])) { ?> <div><div><a href="login.php">LOGIN</a></div></div> <?php } else { ?> <div><a href="myinfo.php"><?php echo $_SESSION['user_id']; ?> </a></div> <div><a href='logout.php'><div>LOGOUT</div></a></div> <?php } ?> </div> </div> </nav> <?php emptyblock('content'); ?> </body> </html>