"; include('../db_config.php'); $sql0="SHOW TABLES LIKE 'em%'"; $result0=mysql_query($sql0); while ($db0=mysql_fetch_array($result0)) { $sql00="select * from ep_mnt where sl_my='$db0[0]' "; $result00=mysql_query($sql00); if (! $db00=mysql_fetch_array($result00)) { mysql_query("insert into ep_mnt set sl_my='$db0[0]' "); } } $sql="select * from ep_mnt group by substr(sl_my,2,2) desc"; $result=mysql_query($sql); echo "
ÊÅÔ»¤èҵͺ᷹·ÕèÁÕãËéºÃÔ¡ÒÃ
"; while ($db=mysql_fetch_array($result)) { $ty=substr($db[sl_my],2,2); echo ""; for ($i=1; $i<=12; $i++) { $tm=substr("00$i",-2); $sfile="em$ty$tm"; $sql1="select sum(nseek) as nsk from $sfile"; $result1=mysql_query($sql1); $db1=mysql_fetch_array($result1); $sql2="select sl_my from ep_mnt where sl_my='em$ty$tm' "; $result2=mysql_query($sql2); if ($db2=mysql_fetch_array($result2)) { echo ""; } else { echo ''; } } } echo "
»Õ ¾.È. Á.¤. ¡.¾. ÁÕ.¤. àÁ.Â. ¾.¤. ÁÔ.Â. ¡.¤. Ê.¤. ¡.Â. µ.¤. ¾.Â. ¸.¤.
25$ty
$db1[nsk]
 
"; ?>