ob_start(); include("../lib/myclass.php"); if(!isSet($obj)) $obj = new kpgroup; $sql = "select * from banner where status='active' order by id desc"; $res = $obj->select($sql); if(count($res)) { if($res[0]['Picture'] != "") {?>
'>
} }?>
Back to:
Company Overview
$img=$_GET['imageid']; $descid = substr($img,-1); $prjid = $_GET['id']; include_once('../lib/myclass.php'); if(!isSet($obj)) $obj = new kpgroup; if($img == ""){ $sql = "select * from portfolio where eStatus='active'"; } else{ //$sql = "select $img,$descid from portfolio where eStatus='active' and iPrjId=".$prjid; $sql = "select * from portfolio where eStatus='active' and iPrjId=".$prjid; } $res = $obj->select($sql); if($img == ""){ for($i=0;$i
echo $res[$i]['Desc1']?>
} } if($img=="Img2" && $res[0]['Img2']!=""){ ?>
echo $res[0]['Desc2']?>
<< Go Back
} if($img=="Img3") { if($res[0]['Img3']!=""){ ?>
echo $res[0]['Desc3']?>
<< Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } if($img=="Img4"){ if($res[0]['Img4']!=""){ ?>
echo $res[0]['Desc4']?>
<< Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } if($img=="Img5"){ if($res[0]['Img5']!=""){ ?>
echo $res[0]['Desc5']?>
<< Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } if($img=="Img6"){ if($res[0]['Img6']!=""){ ?>
echo $res[0]['Desc6']?>
<< Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } if($img=="Img7"){ if($res[0]['Img7']!=""){ ?>
echo $res[0]['Desc7']?>
<< Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } if($img=="Img8"){ if($res[0]['Img8']!=""){ ?>
echo $res[0]['Desc8']?>
Go Back
} else{ echo "No Image Available
"; echo "
<< Go Back
"; } } ?>
|
Commercial
|
Residential
|
Restaurant
|
Air Quality
| Company Overview |
Contact Us