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

Remove notifications for now

Show searched dates in date fields
parent b4411a28
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,7 @@ function displayDetails() {
}
}
/*
# Fetch user phone and email info
$sql = "
SELECT
......@@ -154,6 +155,7 @@ function displayDetails() {
$userPhone = $row->phone;
$userEmail = $row->email;
}
*/
$isDialup = 0;
$userService = "Not set";
......@@ -219,6 +221,7 @@ function displayDetails() {
?>
<td class="value"><?php echo $totalSessionTime; ?> Min</td>
</tr>
<!--
<tr>
<td colspan="2" class="section">Notifications</td>
</tr>
......@@ -226,16 +229,17 @@ function displayDetails() {
<tr>
<td class="title">Email Address</td>
<td class="value">
<input type="text" name="notifyMethodEmail"><?php echo $userEmail; ?></input>
<input type="text" name="notifyMethodEmail" value="php echo $userEmail; "></input>
</td>
</tr>
<tr>
<td class="title">Cell Number</td>
<td class="value">
<input type="text" name="notifyMethodCell"><?php echo $userPhone; ?></input>
<input type="text" name="notifyMethodCell" value="php echo $userPhone; "></input>
</td>
</tr>
</form>
--!>
<?php
......
......@@ -35,7 +35,7 @@ function displayLogs() {
global $db;
global $DB_TABLE_PREFIX;
$getuser = $_SESSION['username'];
$username = $_SESSION['username'];
?>
......@@ -45,9 +45,29 @@ function displayLogs() {
<form method="POST">
<p class="middle center">
Display logs between
<input type="text" name="searchFrom" size="11" />
<?php
if (isset($_POST['searchFrom'])) {
?>
<input type="text" name="searchFrom" size="11" value="<?php echo $_POST['searchFrom'] ?>"/>
<?php
} else {
?>
<input type="text" name="searchFrom" size="11"/>
<?php
}
?>
and
<input type="text" name="searchTo" size="11" />
<?php
if (isset($_POST['searchTo'])) {
?>
<input type="text" name="searchTo" size="11" value="<?php echo $_POST['searchTo'] ?>"/>
<?php
} else {
?>
<input type="text" name="searchTo" size="11"/>
<?php
}
?>
<input type="submit" value="search">
</p>
</form>
......@@ -94,7 +114,7 @@ function displayLogs() {
FROM
${DB_TABLE_PREFIX}accounting
WHERE
Username = '$getuser'
Username = '$username'
$extraSQL
ORDER BY
EventTimestamp
......
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