include"config.php"; require('_drawrating.php'); $action = $_GET['action']; $page = $_GET['page']; $limit = $_GET['limit']; $linkid = $_GET['linkid']; //$linkid = '2121'; $search_query = $_POST['search_query']; $sql_query = "SELECT * from items WHERE id ='$linkid'"; $result456 = @mysql_query($sql_query); if(mysql_num_rows($result456)) { while($row = mysql_fetch_array($result456)) { $mainid22 = $row['id']; $itemname = stripslashes($row['title']); $itemurl = $row['url']; $hits = $row['hits']; $itemstatus = $row['status']; $itemcategory = $row['category']; $itemipaddress = $row['ipaddress']; $description = stripslashes($row['descrip']); $editKeywords = $row['Keywords']; $linkstatus= $row['linkstatus']; $embedcode= $row['embed']; $editdate = $row['date']; $editTags = $row['Tags']; $linkstatus = $row['linkstatus']; $editimage_name=$row['image_name']; $editswffile = $row['swffile']; $editlinktype = $row['linktype']; $iconimages5345 = $row['iconimages']; $ratingvalue = $row['value']; $countervalue = $row['counter']; $itemtitlef=str_replace (" ","-", $row['title']); } } $editdate45 = date("M j, Y",$editdate); $sql_querycategory = "SELECT * from categories WHERE id ='$itemcategory'"; $result33 = @mysql_query($sql_querycategory); while($row = mysql_fetch_array($result33)) { $id33334 = stripslashes($row['id']); $titlecate = stripslashes($row['title']); $iconcate = stripslashes($row['icon']); $statuscate = $row['status']; $itemidm=$data['id']; //$itemtitle1233=str_replace (" ","-", $data['title']); $itemtitle12=stripslashes(str_replace (" ","-", $data['title'])); } $ratingshow=rating_bar($mainid22 ,'5'); ?>

echo $itemname;?>

>