".$contents[$i]["name"]."",$contents[$i]["version"],$contents[$i]["short_description"]); } //echo $contents[$i]["platform"]; } } } function BOINC_download_network_print_download_links() { $mirror_file_header_size=512000; $mirror_file="../inc/download_network.fil"; $master_server="http://www.boinc.dk/download.php?command=get_header_file"; $download_temp_file="../inc/download_network.tmp"; $platforms[1]["nr"]=1;//Windows $platforms[1]["name"]="Windows"; $platforms[2]["nr"]=2;//UNix $platforms[2]["name"]="Linux/Unix"; $platforms[3]["nr"]=3;//Mac $platforms[3]["name"]="Mac"; $platforms[4]["nr"]=8;//Web $platforms[4]["name"]="Web application"; if (!$fhandle=fopen($mirror_file,"r")){ echo "Could not find the file with BOINC Download Network information. Please refresh the page and see if this error disappears."; } $header=fread($fhandle,$mirror_file_header_size); $contents=getContentArray($header); // print_r($contents); fclose($fhandle); $i=0; do { $i++; echo "

".$platforms[$i]["name"]."

"; start_table(); echo "Application
click to download VersionDescription\n "; BOINC_download_network_platform_downloads($platforms[$i]["nr"],$contents); echo "\n"; } while ($i<4); flush(); if (filemtime($mirror_file)Error: Refreshing the application list failed. Please note that links and information here is currently not fully up to date.
"; } } } ?>