No news added yet "; } else { /////// while($row = mysql_fetch_array($view_all)){ extract($row); $title= stripslashes ($row['title']); $short= stripslashes ($row['short']); /////////////////////// ?>

 
1){ echo "
Select a Page
"; } // Build Previous Link if($page > 1){ $prev = ($page - 1); echo " << Previous "; } for($i = 1; $i <= $total_pages; $i++){ if(($page) == $i){ if ($total_pages > 1){ echo "$i "; } } else { echo " $i "; } } // Build Next Link if($page < $total_pages){ $next = ($page + 1); echo " Next >> "; } echo "
"; } // if no products ////////////////////////////////////////////////////////////////////////////////////// break; ////////////////////////////////////////////////////////////////////////////////////// case "view"; ////////////////////////////////////////////////////////////////////////////////////// if (!isset($_GET['newsid'])) { print"
You followed a broken link "; } else { $_GET['newsid'] = intval ($_GET['newsid']); include ('includes/config.php'); $view_all = mysql_query("SELECT * FROM newsflash WHERE newsid='{$_GET['newsid']}' ORDER BY newsid ASC LIMIT 1"); ///////////////////////////////////////////////////////////////////////////////////////////// $num=mysql_num_rows($view_all); if($num==0){ print"
The news you are looking for doesn't exist "; } else { /////// while($row = mysql_fetch_array($view_all)){ extract($row); $title= stripslashes ($row['title']); $text= stripslashes ($row['text']); /////////////////////// ?>


The news you are looking for doesn't exist "; } else { /////// while($row = mysql_fetch_array($view_all)){ extract($row); $title= stripslashes ($row['title']); $text= stripslashes ($row['text']); /////////////////////// ?>


The news you are looking for doesn't exist "; } else { /////// while($row = mysql_fetch_array($view_all)){ extract($row); $title= stripslashes ($row['title']); $text= stripslashes ($row['text']); /////////////////////// ?>


Copyright 2008 QUANTUM :: Powered by Explore Bahrain :: Mailbox :: CP :: Help Desk