-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
50 lines (43 loc) · 1.25 KB
/
index.php
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
require_once 'inc/standard.php';
// if($_GET['b'])
// {
// header("Location:".'instructions.php');
// }
//$page = new Page($name, $css);
/*
if(!DBUSERNAME)
{
die('Read the <a href="README.md">README.md</a> file to learn how to install this application');
}
*/
$page = new Page('index', ALL);
$page->setTitle('Home');
$page->setDescription(PRODUCT.'-'.DESCRIPTION);
$splash = '
<div id="splash_left">
<div id="splash_left_inside">
<h1>'.PRODUCT.'</h1>
<h4>'.DESCRIPTION.'</h4>
<br>
<h5>Inspiration for this project is credited to the <a href="http://esc.calpoly.edu">California Polytechnic State University Engineering Student Council</a>.</h5>
</div>
</div>
';
$bottom = '<form action="register.php" method="GET">
<div class="row">
<label class="fieldname" for="ucinetid">
UCInetID
</label>
<input class="textarea" autocapitalize="off" type="search" name="ucinetid" value="'.$person->ucinetid.'">
</div>
<div class="row">
<input type="submit" value="Register" name="submit_search">
</div>
</form>';
$box = new Box('Register',$bottom, 290, 200);
$signup = ' <div id="splash_right">'.$box->display('full').'</div>';
$content = $splash.$signup;
$page->setContent($content);
$page->buildPage();
?>