" /> \n"; echo "\n"; } ###################################################################### # Print a total count of currently available ports: function ports_count() { global $portsdb; $result = mysql_query("SELECT count(*) FROM $portsdb.portfiles") or die("Error: " . mysql_error()); if ($result) { $row = mysql_fetch_array($result); $count = $row[0]; } else { $count = 0; } return $count; } ###################################################################### # Warn against darwinports.com leach! function check_referer() { global $_SERVER; if (preg_match("/darwinports.com/", $_SERVER['HTTP_REFERER'])) { ?>

You have arrived at the Official MacPorts Web Site from darwinports.com.

darwinports.com is not the official MacPorts Web Site, nor is it a mirror of the Official MacPorts Web Site. There is no relationship between the MacPorts Project and darwinports.com.

The information you may have been presented with on darwinports.com may be incorrect or outdated and is not endorsed in any way by the MacPorts Project. For the most accurate information about MacPorts, please bookmark this site, http://www.macports.org.