diff -r e2ac834162fb -r 3ad193634e5d details.php_old --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/details.php_old Tue Jul 07 19:14:12 2009 +0100 @@ -0,0 +1,260 @@ + + + + + + +N4C - Welcome. <?php print $search_info; ?> + + + + +
+ + You have successfully deleted the selected search.
"; + } else if ($status == "add") + { + print "
You have successfully added a new search.
"; + } else if ($status == "urlerror") + { + print "
You have entered an malformed url. Please use this format: http://www.yourwebsite.com
"; + } + ?> + +
+

+
"; + + if ($currID != 1) + { + print " "; + } + + print " "; + print "
"; + ?> + " . $search_count . " "; + print "Search:" . $db_field['req_val'] . " "; + } else { + print "
" . $search_count . " "; + print "Search:" . $db_field['req_val'] . " "; + } + + print "Status:"; + + if ($db_field['req_response'] == 0) + { + print "Result pending"; + print ""; + } else { +//header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . dirname($db_fieldcache["req_ID"])); +//strip_tags($text, '

') + print "View website"; +// print "View website"; + print ""; + } + print "

"; + + $search_count++; + } + + // if no requests, display message + if (mysql_num_rows($query) < 1) + { + print '

You have no previous searches please use the search form to create a new search.

'; + } + + mysql_close(); + ?> + + + +