###################################################################################### ## ## Program : ## Description : ## Programmer : äªÂÃѵ¹ì Êع·ÃÇÔÀÒµ ## Email : webmaster@sixhead.net,sixheadz@hotmail.com ## Website : http://www.sixhead.net ## Date : ## Modify log : ## ###################################################################################### ##################################################################### #### start setup #### #### end of setup #### ##################################################################### ##################################################################### #### start program #### require "_config.php"; require "_module.php"; ob_start(); global $tp; $DOWNLOAD_ALL = 0; @$db = mysql_connect($db_host,$db_user,$db_pass); mysql_select_db($config_db_name); if (!$db) { echo "Error connect to Database: " . mysql_error(); ob_end_flush(); exit; } $sql = "SELECT DOWNLOAD_ALL FROM $config_table_program"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { $DOWNLOAD_ALL += $row[DOWNLOAD_ALL]; } mysql_free_result($result); mysql_close($db); ob_end_flush(); echo "