Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.68 KB
<table width="100%" border=1 cellspacing=0 cellpadding=1>
<tr>
<th colspan="7" bgcolor="#CCCCCC">Select Network</th></tr>
<tr>
<?php
$d = Array(
"ASOS" => Array("url" => "$rooturl/ASOS/current.phtml"),
"AWOS" => Array("url" => "$rooturl/AWOS/current.phtml"),
"CoCoRaHS" => Array("url" => "$rooturl/cocorahs/current.phtml"),
"COOP" => Array("url" => "$rooturl/COOP/current.phtml"),
"DCP" => Array("url" => "$rooturl/DCP/current.phtml"),
"SchoolNet" => Array("url" => "$rooturl/schoolnet/current.phtml"),
"Other" => Array("url" => "$rooturl/other/current.phtml"),
"SCAN" => Array("url" => "$rooturl/scan/current.phtml"),
"My Favorites" => Array("url" => "$rooturl/my/current.phtml"),
"Iowa" => Array("url" => "$rooturl/current/all.phtml") );
$rwis22 = Array(
"RWIS" => Array("url" => "$rooturl/RWIS/current.phtml"),
"RWIS Surface" => Array("url" => "$rooturl/RWIS/currentSF.phtml"),
"RWIS Traffic" => Array("url" => "$rooturl/RWIS/traffic.phtml"),
"RWIS Soil" => Array("url" => "$rooturl/RWIS/soil.phtml"),
"By NWS WFO" => Array("url" => "$rooturl/nws/obs.php"),
);
$i = 0;
while ( list($key, $value) = each($d) ){
echo "<th ";
if ($current_network == $key)
echo "bgcolor=\"#666666\"><font color=\"white\">$key</font></th>";
else
echo "><a href=\"". $value["url"] ."\">$key</a></th>";
if ($i == 4) echo "</tr><tr>";
$i++;
}
echo "</tr><tr>";
while ( list($key, $value) = each($rwis22) ){
echo "<th ";
if ($current_network == $key)
echo "bgcolor=\"#666666\"><font color=\"white\">$key</font></th>";
else
echo "><a href=\"". $value["url"] ."\">$key</a></th>";
}
?>
</tr></table>
Something went wrong with that request. Please try again.