decid(addslashes($cid)):''; if($cid=="") { $crnturlstr = $_SERVER['REQUEST_URI']; $cid=$com_obj->view_int($crnturlstr); $cid= isset($cid)?$com_obj->decid($cid):''; if($cid=="") { echo ""; exit; } } $key=$db->singlerec("select * from company where id='$cid'"); ?> singlerec("select company.*,register.lname,register.fname,register.img,register.country as ucon,register.email from company,register where company.user_id = register.id AND company.id = '$cid'"); $fcat=$db->singlerec("select category_name from category where id='".$cinfo['category']."'"); $cat=ucwords($fcat['category_name']); if(empty($cinfo)){ //echo ""; //exit; } $cat_name = $db->singlerec("select category_name from category where id='".$cinfo['category']."'"); $userid = $cinfo['user_id']; //include "include/hideCompany.php"; $country = $db->singlerec("select nicename,iso from countries where id = '".$cinfo['country']."'"); $buyque="select a.id,a.offer_name,b.start_date,b.phone,a.businesstype,a.pay_method,a.quan_unit,a.photo1,a.price,a.currency,a.keyword1,a.keyword2,a.keyword3,a.keyword4,a.det_desc,a.delivery_time,a.valid_until,a.maxbuy_capacity,a.exquantity,a.contact_desc,a.post_date,b.name,c.category_name,d.country,d.email,d.fname,d.mem_pack from buying_leads as a inner join company as b on a.user_id=b.user_id inner join category as c on a.prod_category=c.id inner join register as d on a.user_id=d.id where a.active_status='1' and a.user_id and a.user_id='$userid'"; include("companyheader.php"); include "pagination.php"; $rowsPerPage=$Prod_RecPerPage; $limit=limitation($Prod_RecPerPage); ?>

:

:

:

:

:

:

:

( : )

:

: :

: (getCountry($cinfo['country']));?> )

get_all_asso($buyque . $limit); if(!empty($BL_all)){ foreach($BL_all as $BL){ $BL_img = !empty($BL['photo1'])?$BL['photo1']:'noimage.jpg'; if(file_exists("uploads/BL_images/banner1/$BL_img")){ $logourl = "$siteurl/uploads/BL_images/banner1/$BL_img"; }else{ $logourl = "$siteurl/uploads/BL_images/banner1/noimage.jpg"; } $ccode = $db->singlerec("select currencycode from currency_code where id ='".$BL['currency']."'"); $price=$BL['price']; $perm=str_replace(" ", "-", $BL['offer_name']); $perm=strtolower($perm); $cat=$BL['category_name']; $mem_pack_name = $db->singlerec("select name,logo_package from membership where id = '".$BL['mem_pack']."'");; $country_name = $db->singlerec("select nicename from countries where id='".$BL['country']."'"); $cemail = $db->singlerec("select email,fname from register where id = '".$BL['user']."'"); $vcount=$db->singlerec("select count(id) from votes where product_id='".$BL['id']."' AND type='2' AND action = 'vote'"); ?>

15)?ucfirst(substr($BL['offer_name'],0,16).'...'):$BL['offer_name'];?>

:

: 24)?substr($BL['maxbuy_capacity'],0,25).' ...':$BL['maxbuy_capacity'];?>

:

: 24)?substr($BL['exquantity'],0,25).' ...':$BL['exquantity'];?>

: singlerec("select name from payment_methods where id=$payid"); echo $payt['name']; } } else{ echo "Not Specified"; } ?>

:

:

:

:


..!!!