All pastes #466704 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-01 03:48 UTC
rendered paste body
<?php
$pagetitle .= 'Retroactiv Weather Center';

require_once('header.php');

$now = time();
$now -= 720; // 12 minutes

$file = '/webroot/r/e/retro004/www/weather/images/br1_0.png';
$filetime = filemtime($file);

if ($now < $filetime) {$active = '';} else {$active = 'Radar Upload is not active';}

echo'<div align="center">
  <table width="100%" border="0">
    <tr>
      <td><div align="left"><img src="http://www.retroactiv.net/weather/radarcenter.jpg" width="300" height="61" /><br>
      </div>
    </div>
		  
        </class>
    </div>
      </tr>
</table>
<form method="post" action="http://www.crh.noaa.gov/zipcity.php">
  <p><font size="1" color="black"><b>Enter &quot;City, ST.&quot; or &quot;Zipcode&quot;</b></font>
    <input type="text" id="zipcity" name="inputstring" size="9" value="City, St" />
    <input type="submit" value="GetWx" name="GetWx">
  </p>
</form>
  <p align="left"><a href="'.getlink('&amp;file=index').'"><font face="Arial, Helvetica, sans-serif">Go back to the Retroactiv, Weather Center Home Page </font></a></p>
  <p align="left"><img src="http://www.retroactiv.net/weather/logo2.png" width="300" height="61" /></p>
  <p align="left"><font face="Arial, Helvetica, sans-serif">Live Retroactiv Weather Center Radar Loop </font></p>
  <p align="center">
    <iframe 
src ="http://www.retroactiv.net/weather/loop.html"
width="530" height="530" scrolling="no"></iframe>
  </p>
  <p align="left"><font face="Arial, Helvetica, sans-serif">Live Retroactiv Weather Center Radar </font></p>
  <p align="center">
  <img src="http://retroactiv.net/weather/images/br1_0.png" alt="Live Radar" width="512" height="512" />'.$active.'</p>
  <p align="left"><font face="Arial, Helvetica, sans-serif">Live <a href="http://www.alabamaweather.org">AlabamaWeather.org</a> Radar </font></p>
  <p align="center"><img src="http://beta.alabamaweather.org/miniradar4.php" alt="Alabama Radar" width="512" height="512" /></p>
  <p align="left"><font face="Arial, Helvetica, sans-serif"><a href="http://www.alabamaweather.org">AlabamaWeather.org</a> Storm Floater Radar (follows severe weather around the country when live) </font></p>
  <p align="center"><img src="http://beta.alabamaweather.org/miniradar7.php" width="512" height="512" /></p>
  <p align="left">KAPX Michigan Radar (Only Live During Severe Storms in Michigan) from <a href="http://weathermichigan.net/kapx_latest.php">WeatherMichigan.net</a></p>
  <p align="center"><img src="http://weathermichigan.net/images/radar/kapx_br1_0.png" width="640" height="590" /></p>
  <p align="center">&nbsp;</p>
  ';