"; if( ereg( "^([0-9]{5})", trim($zip), $regs ) || ereg( "^([0-9]{5})", trim($remotezip), $regs ) ) { $zip = substr($regs[1],0,5); setcookie("remotezip", $zip, time()+30000000); } else $zip = 0; $leftpanel = '
'; $div1 = ceil($nofcategories/2); for( $i = 1; $i < $nofcategories; $i++ ) { $title = $links[$i]['title']; $leftpanel .= "$title
"; if( $i == $div1 ) $leftpanel .= '
'; } $leftpanel .= '
'; $rightpanel = ''; if( $link > 0 && $link < $nofcategories ) { $noflinks = sizeof( $links[$link] ); $div1 = $noflinks >= 14 ? 8 : ceil($noflinks/2); $div2 = $noflinks >= 14 ? 15 : $noflinks; $div3 = $noflinks >= 14 ? 15 + ceil(($noflinks-15)/2) : 0; $i = 1; foreach( $links[$link] as $key => $links[$key] ) { if( $key == 'title' ) { $righttitle = $links[$link][$key]; } else { $url = $links[$link][$key]; $rightpanel .= "· $key
\n"; if( $i == $div1 || $i == $div3 ) { $rightpanel .= "\n\n"; } if( $i == $div2 ) { $rightpanel .= "\n"; $rightpanel .= ' ClubMac Instant Rebates'; $rightpanel .= "\n"; } } $i++; } } elseif( $link == 'forecast' ) { $rightpanel .= "
\n"; $rightpanel .= "Zipcode:\n"; $rightpanel .= "\n"; $rightpanel .= "\n"; $rightpanel .= ""; $rightpanel .= "
\n"; if( $zip ) { $rightpanel .= "
"; # include "snoopyclass.php"; # $snoopy = new Snoopy; # $fetch_url = "http://www.express56.com/weather/get.php?zip=$zip"; # $fetch_url = "http://omega.spinnet.net/cgi-bin/weather.cgi?zip=$zip"; # $result = $snoopy->fetch($fetch_url); # if( $result ) { # if( $snoopy->status != 200 ) { # $rightpanel .= "Sorry, the forecast system is unavailable now.\n"; # $rightpanel .= "Please try again later.\n"; # } # else { # if( ereg('Forecast_for (.*) _location', $snoopy->results, $rtext ) ) # $righttitle = "Weather forecast for $rtext[1]"; # if( eregi('', $snoopy->results, $rtext ) && # !ereg('ILLEGAL ZIP CODE', $rtext[1] ) ) { # $rightpanel .= ""; # } else $rightpanel .= $weatherusage; # } # } } else $rightpanel .= $weatherusage; } else { $rightpanel = join ('', file ('headline/headline.html')); $righttitle = "Breaking news"; $rightpanel .= '

Subscribe to Forbes & Save $64

www.trendtrader.com GoToMyPC - Access Your PC From Anywhere SAVE 50-75%
'; } ?> Express 56 - Nationwide Internet Service Provider
Click here to make this your homepage.
Inkjets & Toner, lowest prices.  
Google
   Links & Resources
   Express Links