decid($nid):''; include "pagination.php"; $rowsPerPage=$Prod_RecPerPage; $limit=limitation($Prod_RecPerPage); $sql="select trade_shows.*,company.name as cname,company.street as cstreet,company.city as ccity,company.country as ccode from trade_shows,company where trade_shows.user_id = company.user_id AND trade_shows.status='1' order by crcdt DESC"; $TR_all = $db->get_all_asso($sql.$limit); $newslist=$db->singlerec("select * from news where id='$nid'"); $page_name = $newslist['page_name']; $image = $newslist['image']; $group_id = $newslist['group_id']; $category_id = $newslist['category_id']; $description = $newslist['description']; $groupname = $db->Extract_Single("select group_name from allgroups where id='$group_id'"); $categoryname = $db->Extract_Single("select category_name from allcategory where id='$category_id'"); ?>