Jacques, may I suggest, when you design and test templates, that you fully activate the PHP error detection...
I have just installed the Weather Sky templates on my home/office server (XAMPP) running under Apache and PHP v5.3.8.
Upon loading the 'index.php' template, PHP returns the following error message: 'Parse error: syntax error, unexpected '<' in O:\htdocs\weather-sky\wt_data.inc.php on line 498'. Not a very good start!
Looking at the 'wt_data.inc.php' template, I noticed that from line 498 on, the single quotes are missing around the webtags - you have, for example,
$RCdew = <#RCdew>;
when/where it should be
$RCdew = '<#RCdew>';
It would also be a better PHP template design if similar code appearing in each templates be moved to external individual templates - the code design of the Weather Sky templates is not really acceptable under PHP as PHP offers a lot more flexibilities than the basic HTML - the Weather Sky templates are designed as basic HTML templates.
The code for each pages should be moved as follow:
- a
top template containing only the required W3C code;
- a
header template containing the code needed for the display of the top and the right column of each pages;
- a
footer template containing the code for the display of the bottom of each pages.
Then, each specific template would load (require) the top, header and footer templates as required.
This is how I modified (converted to PHP) both the Sunny Weather and Weather Blues...
Jacques, if you would like to keep me as a member of this forum, may I ask that you remove this very
annoying verification process when sending messages (CAPTCHAT and question)...