default.php

<? session_start(); //require_once "connect.inc.php"; if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > 86400)) { session_unset(); session_destroy(); } $_SESSION['LAST_ACTIVITY'] = time(); date_default_timezone_set('Europe/Berlin'); setlocale(LC_TIME, "de_DE.utf8"); ?> <!doctype html> <html lang="de"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Title</title> <meta name="description" content=""/> <link rel="stylesheet" type="text/css" href="/css/style.css"/> </head> <body itemscope="" itemtype="http://schema.org/WebSite"> <!-- Content --> <article> <main></main> <aside></aside> <footer></footer> </article> <!-- Javascript --> <script src="/js/jquery.min.js"></script> <script src="/js/script.js"></script> </body> </html>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.