projects
/
soho-sigint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed debug code i forgot existed
[soho-sigint.git]
/
server
/
index.soho
diff --git
a/server/index.soho
b/server/index.soho
index
ba003b5
..
e4c06ff
100644
(file)
--- a/
server/index.soho
+++ b/
server/index.soho
@@
-6,15
+6,15
@@
if (isset($_GET['mac']) && empty($_POST['submit'])) {
<form action="" method="post">
<table>
<tr><td>MAC Address :</td>
<form action="" method="post">
<table>
<tr><td>MAC Address :</td>
- <td><input id="mac" name="mac" type="text" class="rounded" value="<? echo $_GET['mac']; ?>"></td></tr>
+ <td><input id="mac" name="mac" type="text" class="rounded" value="<?
php
echo $_GET['mac']; ?>"></td></tr>
<tr><td><label>Client Name :</td>
<tr><td><label>Client Name :</td>
- <td><input id="user" name="user" type="text" class="rounded" value="<? echo mysql_result($query,0,"USER") ?>"></td></tr>
+ <td><input id="user" name="user" type="text" class="rounded" value="<?
php
echo mysql_result($query,0,"USER") ?>"></td></tr>
<tr><td colspan=2 align="right">
<input name="submit" type="submit" value=" Update MAC ">
</td>
</table>
</form>
<tr><td colspan=2 align="right">
<input name="submit" type="submit" value=" Update MAC ">
</td>
</table>
</form>
- <?
+ <?
php
} elseif (isset($_POST['submit'])) {
$mac=$_POST['mac'];
$user=$_POST['user'];
} elseif (isset($_POST['submit'])) {
$mac=$_POST['mac'];
$user=$_POST['user'];