decid(addslashes($cid)):''; $key=$db->singlerec("select * from company where id='$cid'"); ?> view_int($crnturlstr); $cid= isset($cid)?$com_obj->decid($cid):''; } if($cid==''){ echo ""; exit; } $cinfo = $db->singlerec("select company.*,register.lname,register.fname,date(register.crcdt) as memexp,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']."'"); //echo "select * from product where prod_status='1' and userid='$userid'";exit; $prodque = "select * from product where prod_status='0' and userid='$userid'"; include("companyheader.php"); include "pagination.php"; $rowsPerPage=$Prod_RecPerPage; $limit=limitation($Prod_RecPerPage); ?>

:

:

:

:

:

:

:

( : )

:

: :

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

get_all_asso($prodque. $limit); if(empty($prod_Lst)) { echo "

".$lang['nrecs']."..!!


"; } foreach($prod_Lst as $prd){ // check is the user is existe in db start $isThereC = $db->singlerec("select count(*) from company where user_id = '".$prd['userid']."'"); $isThereR = $db->singlerec("select count(*) from register where id = '".$prd['userid']."'"); if((int)$isThereC[0]===0 || (int)$isThereR[0]===0){continue;} //end $ccode = $db->singlerec("select currencycode from currency_code where id ='".$prd['prod_currency_loc']."' LIMIT 1"); $price=$prd['prod_minprice']; if($price) $price=$price.' '.$ccode[0]; else $price=" "; $exp_dt=date("d/m/Y", strtotime($prd['prod_expdate'])); $post_dt=date("d M Y", strtotime($prd['prod_crtdate'])); $bcap=explode('/', $prd['max_supply_quantity']); $b_cap=$bcap[0]; if($b_cap=="") $b_cap="None Specified"; $fcat=$db->singlerec("select category_name from category where id='".$prd['prod_category']."'"); $cat=ucwords($fcat['category_name']); $pname=ucwords($prd['prod_name']); if(41<(strlen($pname))) $pname=substr($pname,0,42)."..."; $encid=$com_obj->encid($prd['id']); $perma=strtolower(str_replace(" ", "-", $prd['prod_name'])); $keyword1=$prd['keyword1']; $keyword2=$prd['keyword2']; $keyword3=$prd['keyword3']; $keyword4=$prd['keyword4']; $mem_pack = $db->singlerec("select mem_pack from register where id='".$prd['userid']."'"); $mem_pack_name = $db->singlerec("select name,logo_package from membership where id = '".$mem_pack[0]."'"); $country = $db->singlerec("select country from register where id = '".$prd['userid']."'"); $prod_no=$prd['prod_no']; $prod_quantitytype=$prd['prod_quantitytype']; $supply_duration=$prd['supply_duration']; $briefdes=$prd['prod_briefdes']; $payment_type=$prd['payment_type']; $cemail = $db->singlerec("select email,fname from register where id = '".$prd['userid']."'"); $prodid = $prd['id']; $vcount=$db->singlerec("select count(id) from votes where product_id='$prodid' AND type='1' AND action = 'vote'"); $revcount=$db->singlerec("select count(id) from reviews where item_id='$prodid' AND active_status='1'"); ?>

:

:

: NIL');?>

:

: $paymethod){ $COM = $db->singlerec("select * from payment_methods where id ='$paymethod'"); if($ini==0){ } else { echo ","; } echo $COM['name'];$ini++;} ?>

:

|

: /