-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
80 lines (65 loc) · 2.32 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php include "inc/head.php" ?>
<!-- ! Buttons -->
<div id="buttons" class="corners">
<span id="btnShowLogin" class="button corners">Login</span>
<span id="btnFilters" class="button corners">Filters</span>
<span id="btnLogout" class="button corners">Logout</span>
<span id="btnPDX" class="button corners">PDX</span>
<span id="btnAUS" class="button corners">SXSW</span>
<span class="curparams">
<span id="status">
<?php
if (!empty($_SESSION['u'])) {
$u = $_SESSION['u'];
} ?>You are logged in as <?php echo $u; ?></span>
</span>
</div>
<!-- ! Login Form -->
<div id="login">
<form id="frmLogin" action="" method="post">
<div class="fieldset">
<fieldset>
<label for="username">Your Shizzow ID: </label><input type="text" name="username" id="username" />
<label for="password">Your Shizzow Password: </label><input type="password" name="password" id="password" />
<input type="submit" value="Login" name="btnLogin" id="btnLogin" />
<input type="hidden" name="f" id="f" value="shizzeeps" />
</fieldset>
</div>
</form>
</div><!-- // login -->
<!-- ! Filters Form -->
<div id="filters">
<form id="frmFilters" action="" method="post">
<div class="fieldset">
<fieldset>
<label for="city">City: </label><input type="text" name="city" id="city" size="12"
value="<?php if (!empty($_SESSION['city'])){echo $_SESSION['city'];} ?>" />
<label for="st">State: </label><select name="st" id="st"><?php include "inc/states-iso.inc" ?></select>
<input type="submit" value="Set Filters" name="btnSetFilters" id="btnSetFilters" />
<input type="button" value="Clear Filters" name="btnClearFilters" id="btnClearFilters" />
</fieldset>
</div>
</form>
</div><!-- // filters -->
<!--
<div id="qotd">
If you got a strong brain and your mind is broad <br />
You're gonna have more friends than a train can hold -
- <a href="http://www.hoffsten.com/texter/blues/weakbrain.html">Willie Dixon</a>
</div>
-->
<!-- ! Content -->
<h2 id="explanation"></h2>
(Refreshes every 15 minutes.)
<div id="dataout"></div>
<!-- ! Put Message Form -->
<div id="putmsg" class="popup corners">
<form id="frmPutMsg" action="" method="post">
<div class="fieldset">
<fieldset>
<label for="txtMsg">Message: </label><input type="text" id="txtMsg" maxlength="150" />
</fieldset>
</div>
</form>
</div><!-- // putmsg -->
<?php include 'inc/foot.php' ?>