if($_GET['lang']=="th"){
$sql="select t_home_th from text ";
}else{
$sql="select t_home_en from text ";
}
$rs=mysql_query($sql);
$text=mysql_fetch_array($rs);
?>
echo $text['t_home_th'].$text['t_home_en']; ?>
$sql_news="select t_id,t_topic_th,t_topic_en,t_date,tech_cat.tc_id from technology,tech_cat where tech_cat.tc_id=technology.tc_id order by technology.t_date DESC limit 0,7";
$rs_news=mysql_query($sql_news);
$i=1;
while($row_news=mysql_fetch_array($rs_news)){
if($_GET['lang']=='th'){
echo "