Actually, I "THINK" you can do it this way. Be sure to backup "index.php" then open it with a program like Notepad++ and do the following:Buford T. Justice wrote:Attach your indexT.htm or whatever template page you use and I will look at it.robynfali wrote:That looks awesome, do you know how you might install it into the templates that Jacques makes, such as mine?
CHANGE LINES 30-51:
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $location; ?> Weather Sunset template</title>
<meta name="keywords" content="Current, actually, last minute" />
<meta name="description" content="Current weather observations" />
<link type="text/css" rel="stylesheet" href="style.css" />
<link rel="stylesheet" type="text/css" href="lib/ajaxtabs/ajaxtabs.css" />
<script type="text/javascript" src="lib/ajaxtabs/ajaxtabs.js"></script>
<script type="text/javascript">
var dayname = new Array ('<?php echo $Tr_sun."','".$Tr_mon."','".$Tr_tue."','".$Tr_wed."','".$Tr_thu."','".$Tr_fri."','".$Tr_sat; ?>');
var monthname = new Array ('<?php echo $Tr_jan."','".$Tr_feb."','".$Tr_mar."','".$Tr_apr."','".$Tr_may."','".$Tr_jun."','".$Tr_jul."','".$Tr_aug."','".$Tr_sep."','".$Tr_oct."','".$Tr_nov."','".$Tr_dec; ?>');
</script>
<script type="text/javascript">
function changeImage(im) {
document.images["graphs"].src = im + "?" + new Date().getTime();
}
</script>
</head>
<body>
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $location; ?> Weather Sunset template</title>
<meta name="keywords" content="Current, actually, last minute" />
<meta name="description" content="Current weather observations" />
<link type="text/css" rel="stylesheet" href="style.css" />
<link rel="stylesheet" type="text/css" href="lib/ajaxtabs/ajaxtabs.css" />
<script type="text/javascript" src="lib/ajaxtabs/ajaxtabs.js"></script>
<script type="text/javascript">
var dayname = new Array ('<?php echo $Tr_sun."','".$Tr_mon."','".$Tr_tue."','".$Tr_wed."','".$Tr_thu."','".$Tr_fri."','".$Tr_sat; ?>');
var monthname = new Array ('<?php echo $Tr_jan."','".$Tr_feb."','".$Tr_mar."','".$Tr_apr."','".$Tr_may."','".$Tr_jun."','".$Tr_jul."','".$Tr_aug."','".$Tr_sep."','".$Tr_oct."','".$Tr_nov."','".$Tr_dec; ?>');
</script>
<script type="text/javascript">
function changeImage(im) {
document.images["graphs"].src = im + "?" + new Date().getTime();
}
</script>
<script type="text/javascript" src="bt-sager-cu.js"></script>
<script type="text/javascript" src="bt-sager.js"></script>
</head>
<body onload="forecast();">
Code: Select all
<p><img src="style/forecast/forecast_<?php echo $isdaylight.'_'.$forecastnumber; ?>.png" alt="<?php echo $Tr_forecast.': '.$forecast; ?>" title="<?php echo $Tr_forecast.': '.$forecast; ?>" /></p>
Code: Select all
<p><b>12-24 Hour Forecast:</b><a href="http://www.freewebs.com/btjustice/bt-forecasters.html" style="text-decoration:none;" target="_blank"><span id="Forecast" style="font-family:Tahoma;color:red;font-size:16px;">...Forecast Offline...</span></a></p>