id and appid=$core_app->id"); if (!$result) return; $found = false; $download_url = parse_config(""); echo "$platform->name\n"; while ($app_version = mysql_fetch_object($result)) { $filename = parse_element($app_version->xml_doc, ""); if (!$filename) { echo "CAN'T FIND FILENAMEn $app_version->xml_doc\n";} $version = sprintf( "BOINC core client, version %s.", $platform->name, $app_version->version_num ); echo "$version\n"; //$app_version->md5_cksum"; $found = true; } if (!$found) echo "No version found"; mysql_free_result($result); } db_init(); page_head("Download the BOINC client"); start_table(); $result = mysql_query("select * from app where name='core client'"); $core_app = mysql_fetch_object($result); mysql_free_result($result); $result = mysql_query("select * from platform"); while ($platform = mysql_fetch_object($result)) { platform_downloads($platform, $core_app); } mysql_free_result($result); echo "\n

\n"; page_tail(); ?>