index.php now includes header.php
This commit is contained in:
parent
90d2421c03
commit
0be0427737
@ -1,30 +1,6 @@
|
|||||||
<?php // Schedule page
|
<?php // Schedule page
|
||||||
require "check.php";
|
include_once 'header.php';
|
||||||
$user=@$_SESSION['user'];
|
print('
|
||||||
if(empty($user)){
|
|
||||||
header('Location: login.php');
|
|
||||||
}
|
|
||||||
|
|
||||||
print('<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Stream Upload scheduling</title>
|
|
||||||
<link rel="icon" href="favicon.png">
|
|
||||||
<link rel="stylesheet" href="page.css">
|
|
||||||
<script>
|
|
||||||
function respond(){
|
|
||||||
const feedback = document.getElementById("response");
|
|
||||||
feedback.innerHTML = "<b>File is uploading</b>";
|
|
||||||
}
|
|
||||||
function filename(){
|
|
||||||
var name = document.getElementById("name");
|
|
||||||
name.innerHTML = document.getElementById("input").files[0].name;
|
|
||||||
name.style.fontWeight = "normal";
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<div class="user"><p class="user">User: <b>'.$user.'</b></p>
|
|
||||||
<form action="login.php" method="post">
|
|
||||||
<input id="logoff" type="submit" name="logoff" value="Logoff">
|
|
||||||
</form></div>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="incontainer">
|
<div class="incontainer">
|
||||||
<h1>Stream Upload</h1>
|
<h1>Stream Upload</h1>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user