TH; while (!feof($objFopen)) { $file = fgets($objFopen, 4096); $ord=substr($file,10,2); $area=substr($file,strpos($file,".")+3,strpos($file,"")-strpos($file,".")-4); $f1=substr($file,strpos($file," ")+5,3); $f2=substr($file,strpos($file,"ѹѺ 1 ")+19,3); $f3=substr($file,strpos($file,"ѹѺ 2 ")+19,3); $ft=substr($file,strpos($file,"Ѻҧ ")+16,3); $gd=substr($file,strpos($file,"ͧ ")+4,3); $sv=substr($file,strpos($file,"Թ ")+4,3); $bz=substr($file,strpos($file,"ᴧ ")+4,3); $tt=$gd+$sv+$bz; $sql="select * from es_area where ar_name='$area' "; $result=mysql_query($sql); $db=mysql_fetch_array($result); if ($ord%2) { $cl='#ffd8b0'; } else { $cl='#ffeedd'; } echo << TB; } echo <<

TF; fclose($objFopen); } ?>

ػ­дѺҵ ͧѹѺ 1 ͧѹѺ 2
$ord $area $f1 $f2 $f3 $ft $gd $sv $bz $tt