 |
| |
$qryMSec=mysql_query("select * from tbl_mainsection where sshow ='y' and lngid='".$LngID."' order by rank") or die(mysql_error());
if(mysql_num_rows($qryMSec)>0){
$i=1;
while($rs=mysql_fetch_array($qryMSec)){
$txtLnk1="products.php?IDZ=0-0-0-0-".$rs["MSecID"]."&lng=".$LngID;
?>
if(isset($MSecID) && $MSecID==$rs["MSecID"]){
$disp="block";
}else{
$disp="none";
}
?>
$i=$i+1;
}
}
mysql_free_result($qryMSec);
?>
|
|
|
|
| |
|
 |
|
 |
Inquiry Basket |
|
|
$newstxt="";
$qry=mysql_query("select * from tbl_news where lngid='".$LngID."' order by rank") or die("Invalid SQL ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
for($i=1;$i<=$rows;$i++){
$data=mysql_fetch_row($qry);
$snews=str_replace(Array("\n","\r","\n\r")," ",$data[1]);
list($myyear,$mymonth,$myday)=split('[-]',$data[3]);
?>
}
}
else{
$newstxt="No News & Updates";
}
}
?> |
|
|
|