summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2014-02-07 17:59:14 +0000
committerNathan Kinkade <nath@nkinka.de>2014-02-07 17:59:14 +0000
commit5f276a29ae0041b63ec84bef909fdb11cb3f8751 (patch)
treeedc0c6b66c700dc538c584540bed37d9efda5c00
parent679a95e4e08855b5b5d376a124b8ea6304edbce1 (diff)
Make court case number link back to main case information page.
-rw-r--r--akas.php2
-rw-r--r--charges.php2
-rw-r--r--dockets.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/akas.php b/akas.php
index 36e3542..f6e657b 100644
--- a/akas.php
+++ b/akas.php
@@ -26,7 +26,7 @@ echo <<<HTML
</tr>
HTML;
-echo "<h3>AKAs for case <em>{$_GET['case_no']}</h3>";
+echo "<h3>AKAs for case <a href='./search.php?case_id={$_REQUEST['case_id']}'><em>{$_GET['case_no']}</em></a></h3>";
$st = $dbh->prepare("SELECT * FROM akas WHERE case_id = '{$_GET['case_id']}'");
if ( $st->execute() ) {
diff --git a/charges.php b/charges.php
index ba76d0d..e0eb95d 100644
--- a/charges.php
+++ b/charges.php
@@ -25,7 +25,7 @@ echo <<<HTML
</tr>
HTML;
-echo "<h3>Charges for case <em>{$_GET['case_no']}</h3>";
+echo "<h3>Charges for case <a href='./search.php?case_id={$_REQUEST['case_id']}'><em>{$_GET['case_no']}</em></a></h3>";
$st = $dbh->prepare("SELECT * FROM charges WHERE case_id = '{$_GET['case_id']}'");
if ( $st->execute() ) {
diff --git a/dockets.php b/dockets.php
index 9edb3cc..6cba902 100644
--- a/dockets.php
+++ b/dockets.php
@@ -26,7 +26,7 @@ echo <<<HTML
HTML;
-echo "<h3>Dockets for case <em>{$_GET['case_no']}</h3>";
+echo "<h3>Dockets for case <a href='./search.php?case_id={$_REQUEST['case_id']}'><em>{$_GET['case_no']}</em></a></h3>";
$st = $dbh->prepare("SELECT * FROM dockets WHERE case_id = '{$_GET['case_id']}'");
if ( $st->execute() ) {