prepare intranet for first Dokploy deployment
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php /* Name: template.php
|
||||
Beschreibung: Grundstruktur einer PHP-Seite für das Intranet */
|
||||
|
||||
// Initialisierung
|
||||
require_once $_SERVER['DOCUMENT_ROOT'].'/intranet_repo/general_files/initialise.php';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de" dir="ltr">
|
||||
<head>
|
||||
<?php require_once $_SERVER['DOCUMENT_ROOT'].'/intranet_repo/projects/_central/php/html_head.php'; ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php require_once $_SERVER['DOCUMENT_ROOT'].'/intranet_repo/projects/_central/php/header.php'; ?>
|
||||
|
||||
<div class="header_title" id="header_title">
|
||||
<span class="header_title_text">DUMMY-TITEL FÜR INTRANET-SEITE</span>
|
||||
</div>
|
||||
|
||||
<div class="content" id="base"> <!-- alternativ: id="fullwith" -->
|
||||
<div class="content_panel">
|
||||
|
||||
<?php
|
||||
if (isset($_SESSION["user_id"])):
|
||||
?>
|
||||
|
||||
<form class="display_within" style="border:none"method="post" action="">
|
||||
</form>
|
||||
|
||||
|
||||
<?php else:
|
||||
header("Location: $g_httpLoginPath");
|
||||
exit();
|
||||
endif; ?>
|
||||
|
||||
</div> <!-- EOD: content_panel -->
|
||||
</div> <!-- EOD: content -->
|
||||
|
||||
<?php require_once $_SERVER['DOCUMENT_ROOT'].'/intranet_repo/projects/_central/php/footer.php'; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user