details.php
changeset 28 18e8d88f9253
parent 26 e8da4f096fde
--- a/details.php	Mon Jul 05 15:31:29 2010 +0000
+++ b/details.php	Wed Jul 21 19:43:42 2010 +0000
@@ -1,4 +1,5 @@
 <?php 
+
 function remove_http($url = '')
 {
 	if ($url == 'http://' OR $url == 'https://')
@@ -49,17 +50,18 @@
                         $sid2 = '06D5VlLQTbM57LL7IBMW38yHkFpb1XVa';
 			$currSID2 = $sid2;
                         }
-#        $view_mode = "public"
-#        $view_order = "pend"
+//        $order_sql = "req_response ASC";
+//	$view_mode = "all";
 	$status = $_GET['alert'];
 	$view_mode = $_GET['view_mode'];
 	$view_order = $_GET['view_order'];
-	
+
+       
 	
 	// connect to the database
 	$conn = mysql_connect('localhost','www-data','www-data') or die(mysql_error());
 	mysql_select_db('members');
-	
+
 	// search server cache for received websites
 	// anonymous uid=1, sid1=06D5VlLQTbM57LL7IBMW38yHkFpb1XVa & sid2 =06D5VlLQTbM57LL7IBMW38yHkFpb1XVa
 //	if (($currID != 1) && ($currSID1 != "06D5VlLQTbM57LL7IBMW38yHkFpb1XVa"))
@@ -105,6 +107,7 @@
 			}
 	}
 */	
+
 	while ($db_fieldcache = mysql_fetch_assoc($query_cache)) 
 	{
 		$curr_reqID = $db_fieldcache["req_ID"];
@@ -121,7 +124,6 @@
 	
 	
 	// pick order to show (user specified)
-	
 	if ($view_order == "pend")
 	{
 		$order_sql = "req_response ASC";