/[projects]/misc/horsensspejder-web/index.php
ViewVC logotype

Contents of /misc/horsensspejder-web/index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2130 - (show annotations) (download)
Thu Mar 20 07:53:08 2014 UTC (10 years, 2 months ago) by torben
File size: 922 byte(s)
add option for skipping mobile view
1 <?php
2 require("checkmobile.php");
3 header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
4 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
5
6 if ( !isset($_GET["nomobile"]) ) {
7
8 if ( checkmobile() == true ) {
9 header('Location: http://horsensspejder.t-hoerup.dk/mobile/');
10 exit();
11 }
12 }
13
14
15 session_start();
16 if (isset($_SESSION["login"]) && $_SESSION["login"] == 1) {
17 header("Location: start.php");
18 exit();
19 }
20
21 ?>
22 <html>
23 <head>
24 <title>De gr&oslash;nne spejdere i Horsens - kommunikation</title>
25 </head>
26 <body bgcolor="white">
27
28 <img src="gfx/DGS-TOP" >
29
30 <!-- <div style="margin-top: 50px; margin-left:auto; margin-right:auto; width: 200px;"> -->
31 <table align=center><tr><td>
32 <br><br><br>
33 <form action="login.php" method="post">
34 <input type="password" id="password" name="password">
35 <input type="submit" name="Login" value="Login">
36
37 <!-- </div> -->
38 </td></tr></table>
39
40
41
42
43 </body>
44 </html>

  ViewVC Help
Powered by ViewVC 1.1.20