-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.php
More file actions
27 lines (27 loc) · 701 Bytes
/
index.php
File metadata and controls
27 lines (27 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
@session_start();
$cache_age = 1; // Seconds
header('Cache-control: must-revalidate', false);
header('Cache-control: max-age='.$cache_age, false);
header( 'Expires: '.date( 'r', time() + $cache_age ) );
$ribbons = include('ribbons.php');
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>KSP Ribbon Generator</title>
<link rel="stylesheet" type="text/css" href="ribbons.css"/>
<script type="text/javascript" src="jquery-2.1.1.js"></script>
<script type="text/javascript" src="ribbons.js"></script>
</head>
<body>
<div style="
width:840px;
margin:auto;
text-align:center;
">
<?php echo $ribbons; ?>
</div>
</body>
</html>