Skip to content
Snippets Groups Projects
Commit 1e986a46 authored by Robert Anderson's avatar Robert Anderson
Browse files

Added view log menu item

parent c84c9e18
No related branches found
No related tags found
No related merge requests found
...@@ -63,12 +63,6 @@ if (!isset($_POST['frmaction'])) { ...@@ -63,12 +63,6 @@ if (!isset($_POST['frmaction'])) {
<td>Email:</td> <td>Email:</td>
<td><input type="text" name="email" /></td> <td><input type="text" name="email" /></td>
</tr> </tr>
<tr>
<td>Pool Name:</td>
<td><input type="text" name="poolname" /></td>
<td>Group:</td>
<td><input type="text" name="group" /></td>
</tr>
<tr> <tr>
<td class="textcenter" colspan="5"><input type="submit" value="Submit" /></td> <td class="textcenter" colspan="5"><input type="submit" value="Submit" /></td>
</tr> </tr>
...@@ -96,6 +90,8 @@ if ($_POST['frmaction'] == "dofilter") { ...@@ -96,6 +90,8 @@ if ($_POST['frmaction'] == "dofilter") {
myform.action = 'wisp-user-edit.php'; myform.action = 'wisp-user-edit.php';
} else if (myobj.selectedIndex == 3) { } else if (myobj.selectedIndex == 3) {
myform.action = 'wisp-user-delete.php'; myform.action = 'wisp-user-delete.php';
} else if (myobj.selectedIndex == 5) {
myform.action = 'wisp-user-logs.php';
} }
myform.submit(); myform.submit();
...@@ -104,6 +100,8 @@ if ($_POST['frmaction'] == "dofilter") { ...@@ -104,6 +100,8 @@ if ($_POST['frmaction'] == "dofilter") {
<option disabled="disabled"> - - - - - - - - - - - </option> <option disabled="disabled"> - - - - - - - - - - - </option>
<option value="edit">Edit User</option> <option value="edit">Edit User</option>
<option value="delete">Remove User</option> <option value="delete">Remove User</option>
<option disabled="disabled"> - - - - - - - - - - - </option>
<option value="viewlogs">View User Logs</option>
</select> </select>
</div> </div>
...@@ -248,8 +246,8 @@ if ($_POST['frmaction'] == "dofilter") { ...@@ -248,8 +246,8 @@ if ($_POST['frmaction'] == "dofilter") {
<td><?php echo $row->email ?></td> <td><?php echo $row->email ?></td>
<td><?php echo $row->phone ?></td> <td><?php echo $row->phone ?></td>
<td><?php echo $row->location ?></td> <td><?php echo $row->location ?></td>
<td><?php echo $dataCap ?></td> <td><?php echo $dataCap ?> MB</td>
<td><?php echo $timeCap ?></td> <td><?php echo $timeCap ?> Min</td>
<td><?php echo $userIP ?></td> <td><?php echo $userIP ?></td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment