[Scummvm-cvs-logs] scummvm-web old-design -> caac28959d3b0fba66d1051b9182fac8cddca70c

sev- sev at scummvm.org
Sat Apr 9 15:12:50 CEST 2016


This automated email contains information about 12 new commits which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
ad16412a6b OLDWEB: Fix images after SVN->git conversion
b4db2045fc OLDWEB: Clarify language tag
e388aee8d1 OLDWEB: More fixes
dc829daaa5 OLDWEB: Fix another old picture
d6c20b443f OLDWEB: Avoid external image links
411e65b0ad OLDWEB: Avoid querying non-existent files
3fb736c9dd OLDWEB: Fix PHP incompatibilities
d0dbd4ec6c OLDWEB: Fix error
a39204e545 OLDWEB: Fix zero index screenshots
b4e8cf633c OLDWEB: Remove debug output
eacac37a57 OLDWEB: Fix one more obsolete variable reference
caac28959d OLDWEB: Fix undefined value warning


Commit: ad16412a6baae0e0bd166a62b70cfbe08046b03c
    https://github.com/scummvm/scummvm-web/commit/ad16412a6baae0e0bd166a62b70cfbe08046b03c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:09+02:00

Commit Message:
OLDWEB: Fix images after SVN->git conversion

Changed paths:
    images/scummvm-link.png
    images/scummvm_chars.png
    images/scummvm_logo.png
    images/scummvm_top_tile.png
    images/sfnet.gif
    images/sidebar_bg.png
    images/topmenu_bg.png



diff --git a/images/scummvm-link.png b/images/scummvm-link.png
index 1536394..83bba9c 100644
Binary files a/images/scummvm-link.png and b/images/scummvm-link.png differ
diff --git a/images/scummvm_chars.png b/images/scummvm_chars.png
index f818e53..21ab696 100644
Binary files a/images/scummvm_chars.png and b/images/scummvm_chars.png differ
diff --git a/images/scummvm_logo.png b/images/scummvm_logo.png
index 69bbc9f..a7be2c9 100644
Binary files a/images/scummvm_logo.png and b/images/scummvm_logo.png differ
diff --git a/images/scummvm_top_tile.png b/images/scummvm_top_tile.png
index 31ff573..82384f1 100644
Binary files a/images/scummvm_top_tile.png and b/images/scummvm_top_tile.png differ
diff --git a/images/sfnet.gif b/images/sfnet.gif
index f5c0a25..cc44594 100644
Binary files a/images/sfnet.gif and b/images/sfnet.gif differ
diff --git a/images/sidebar_bg.png b/images/sidebar_bg.png
index 945de88..02e4fde 100644
Binary files a/images/sidebar_bg.png and b/images/sidebar_bg.png differ
diff --git a/images/topmenu_bg.png b/images/topmenu_bg.png
index 0fe42ca..65bb113 100644
Binary files a/images/topmenu_bg.png and b/images/topmenu_bg.png differ


Commit: b4db2045fcd89acffeb0e0dd34530795de91f22e
    https://github.com/scummvm/scummvm-web/commit/b4db2045fcd89acffeb0e0dd34530795de91f22e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:14+02:00

Commit Message:
OLDWEB: Clarify language tag

Changed paths:
    compatibility.php
    compatibility_stable.php
    contact.php
    credits.php
    demos.php
    downloads.php
    faq.php
    include/config.php
    include/incl.php
    include/menu.php
    include/sidebar.php
    index.php
    poll/index.php
    press.php
    screenshots.php
    status.php



diff --git a/compatibility.php b/compatibility.php
index 057a0ad..f7787ed 100644
--- a/compatibility.php
+++ b/compatibility.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * ScummVM Compatibility Page
@@ -41,7 +41,7 @@ else
 	  0.8.0 stable release</B> (Please see the  <a href="compatibility_stable.php">Stable Compatibility</A> chart for this version).
 	  <br><br>
 	  As this is the status of the Work In Progress version, occasional temporary bugs
-	  may be introduced with new changes, thus this list refects the 'best case' scenario. 
+	  may be introduced with new changes, thus this list refects the 'best case' scenario.
 	  It is highly recommended to use the latest stable release, where possible.
 	  <br><br>
 	  <small>Last Updated: <? echo date("F d, Y",getlastmod()); ?></small>
@@ -313,7 +313,7 @@ $notes = array(
                    "<br>- F10 key animation is different in Amiga & Macintosh versions",
 "simon2dos"     => "No known issues, game is completable."
 );
-		
+
 // render the compatibility chart
 
 if ($details) {
@@ -324,12 +324,12 @@ if ($details) {
 			   html_frame_td("Game Short Name").
 			   html_frame_td("% Completed"),
 			   "color4"
-	
+
 			  );
 
 	$arrayt = array_merge($gamesLucas, $gamesHE, $gamesOther);
 	while (list($name,$array) = each($arrayt))
-	{	
+	{
 
 		if ($array[0] == $details) {
 			$color = "color0";
@@ -359,7 +359,7 @@ if ($details) {
 			  );
 		$c = 0;
 		while (list($name,$array) = each($games))
-		{	
+		{
 			if ($c % 2 == 0) { $color = "color2"; } else { $color = "color0"; }
 			echo html_frame_tr(
 						html_frame_td(html_ahref($name, $PHP_SELF."?details=".$array[0])).
@@ -368,9 +368,9 @@ if ($details) {
 						$color
 			);
 			$c++;
-		}		  
+		}
 	}
-	
+
 	displayGameList("LucasArts", $gamesLucas);
 
 	echo html_frame_end(" ");
@@ -385,7 +385,7 @@ if ($details) {
 }
 
 echo html_frame_end(" ");
-  
+
 if ($details)
     echo html_p(),html_back_link(1,$PHP_SELF);
 
diff --git a/compatibility_stable.php b/compatibility_stable.php
index 29c1502..2ccf1a0 100644
--- a/compatibility_stable.php
+++ b/compatibility_stable.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * ScummVM Compatibility Page
@@ -313,7 +313,7 @@ $notes = array(
                    "<br>- F10 key animation is different in Amiga & Macintosh versions",
 "simon2dos"     => "No known issues, game is completable."
 );
-		
+
 // render the compatibility chart
 
 if ($details) {
@@ -324,12 +324,12 @@ if ($details) {
 			   html_frame_td("Game Short Name").
 			   html_frame_td("% Completed"),
 			   "color4"
-	
+
 			  );
 
 	$arrayt = array_merge($gamesLucas, $gamesHE, $gamesOther);
 	while (list($name,$array) = each($arrayt))
-	{	
+	{
 
 		if ($array[0] == $details) {
 			$color = "color0";
@@ -359,7 +359,7 @@ if ($details) {
 			  );
 		$c = 0;
 		while (list($name,$array) = each($games))
-		{	
+		{
 			if ($c % 2 == 0) { $color = "color2"; } else { $color = "color0"; }
 			echo html_frame_tr(
 						html_frame_td(html_ahref($name, $PHP_SELF."?details=".$array[0])).
@@ -368,9 +368,9 @@ if ($details) {
 						$color
 			);
 			$c++;
-		}		  
+		}
 	}
-	
+
 	displayGameList("LucasArts", $gamesLucas);
 
 	echo html_frame_end(" ");
@@ -385,7 +385,7 @@ if ($details) {
 }
 
 echo html_frame_end(" ");
-  
+
 if ($details)
     echo html_p(),html_back_link(1,$PHP_SELF);
 
diff --git a/contact.php b/contact.php
index 40bceda..fee0e8f 100644
--- a/contact.php
+++ b/contact.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Contact Page for ScummVM
@@ -34,7 +34,7 @@ echo html_round_frame_start("Contact","");
 		place to ask questions. Many ScummVM developers hang out there regularly, as well as many ScummVM users.
 	</p>
 	<br>
-	
+
 	<h2>Forums</h2>
 	<p>
 	We offer two <a href="http://sourceforge.net/forum/?group_id=37116">forums</a> hosted by SourceForge.net.
@@ -43,7 +43,7 @@ echo html_round_frame_start("Contact","");
 	meant for open discussion of any topics somehow related to ScummVM.
 	</p>
 	<br>
-	
+
 	<h2>Bug reports, feature requests, patches</h2>
 	<p>
 	If you think you found a bug, take a look at our <a href="http://sourceforge.net/tracker/?group_id=37116äatid=418820">bug tracker</a>.
@@ -56,10 +56,10 @@ echo html_round_frame_start("Contact","");
 	</p>
 	<p>
 	Finally, if you have made a modification to the ScummVM source code and want to see it merged back into the ScummVM main line,
-	you can use our <a href="http://sourceforge.net/tracker/?group_id=37116äatid=418822">patch tracker</a> for that. 
+	you can use our <a href="http://sourceforge.net/tracker/?group_id=37116äatid=418822">patch tracker</a> for that.
 	</p>
 	<br>
-    
+
 	<h2>Mailing list</h2>
 	<p>
 	There are three ScummVM related  <a href="http://sourceforge.net/mail/?group_id=37116">mailing lists</a>.
diff --git a/credits.php b/credits.php
index 8b2e8c2..8dc8fbd 100644
--- a/credits.php
+++ b/credits.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Credits Page for ScummVM
diff --git a/demos.php b/demos.php
index 7721a34..8c8c8b3 100644
--- a/demos.php
+++ b/demos.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Links to Demo downloads
@@ -35,11 +35,11 @@ $LEC_demos = array(
 		=> array('http://quick.mixnmojo.com/demos/mmdemo2.zip', 'maniac'),
 	'Zak McKracken and the Alien Mindbenders (Atari ST - Non interactive)'
 		=> array('http://www.cowlark.com/scumm.dat/zakstdemo.zip', 'zak'),
-	'The Secret of Monkey Island (16 colour demo)'	
+	'The Secret of Monkey Island (16 colour demo)'
 		=> array('http://www.cowlark.com/scumm.dat/mi_demo2.zip', 'monkey'),
-	'The Secret of Monkey Island (Amiga demo)'	
+	'The Secret of Monkey Island (Amiga demo)'
 		=> array('http://quick.mixnmojo.com/demos/mi1amigademo.zip', 'monkey'),
-	'Indiana Jones and the Last Crusade (16 colour - Non interactive)'	
+	'Indiana Jones and the Last Crusade (16 colour - Non interactive)'
 		=> array('http://www.cowlark.com/scumm.dat/indy3ega-demo.zip', 'indy3'),
 	'Loom (16 colour - Non interactive)'
 		=> array('ftp://ftp.lucasarts.com/demos/pc/Loomdemo.zip', 'loom'),
@@ -162,7 +162,7 @@ echo html_frame_tr(
 		  );
 	$c = 0;
 	while (list($name,$array) = each($demos))
-	{	
+	{
 		if ($c % 2 == 0) { $color = "color2"; } else { $color = "color0"; }
 		echo html_frame_tr(
 			html_frame_td("<a href=\"$array[0]\">$name</a>").
diff --git a/downloads.php b/downloads.php
index a481475..a3a9629 100644
--- a/downloads.php
+++ b/downloads.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Downloads Page for ScummVM
@@ -37,7 +37,7 @@ echo html_round_frame_start("Download ScummVM","");
 	under '<A HREF="#stable">Release Binaries</A>'. If you run Windows and are confused,
 	download the 'Windows Installer'</LI>
 
-		<LI>For UNSTABLE experimental versions of ScummVM (for people who know what they 
+		<LI>For UNSTABLE experimental versions of ScummVM (for people who know what they
 	are doing), please see the <a href="#CVS">CVS Builds</a> section, near the end of this page.</LI>
 
 		<LI>Also below are the <a href="#extras">Extras</a>. These currently include two
@@ -84,7 +84,7 @@ echo html_round_frame_start("Download ScummVM","");
 	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-palmos.zip?download">PalmOS binary</a> <small>(1.9M zipfile)</small></li>
 -->
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-WindowsMobile_ARM.zip?download">Windows Mobile 5 ARM package</a> for Pocket PC 2002, Pocket PC 2003, Pocket PC 2003 SE, 
+	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-WindowsMobile_ARM.zip?download">Windows Mobile 5 ARM package</a> for Pocket PC 2002, Pocket PC 2003, Pocket PC 2003 SE,
 Smartphone 2002, Smartphone 2003, and Windows Mobile 5 <small>(1.4M zipfile)</small></li>
 
 	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-amigaos4.lha?download">AmigaOS 4 package</a> <small>(3.3M .lha)</small></li>
@@ -167,8 +167,8 @@ Smartphone 2002, Smartphone 2003, and Windows Mobile 5 <small>(1.4M zipfile)</sm
 	</ul>
 	<p>
 	<i>Having trouble downloading Flight of the Amazon Queen?</i>
-	Sourceforge has been experiencing some downloading problems with certain mirrors 
-lately. So, if you are having problems, try the following non-SourceForge mirror - kindly 
+	Sourceforge has been experiencing some downloading problems with certain mirrors
+lately. So, if you are having problems, try the following non-SourceForge mirror - kindly
 hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 	</p>
 	<ul>
@@ -212,7 +212,7 @@ hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 	<ul>
 	  <li><a href="http://www.libsdl.org/download-1.2.php">SDL 1.2.x</a></li>
 	</ul>
-		
+
 	<h3>Optional Libraries:</h3>
 	<ul>
 	  <li><a href="http://www.underbit.com/products/mad/">MAD</a>: MPEG Audio Decoder</li>
diff --git a/faq.php b/faq.php
index 18177ad..825abf9 100644
--- a/faq.php
+++ b/faq.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * FAQ Page
diff --git a/include/config.php b/include/config.php
index 22ad478..7f65ec0 100644
--- a/include/config.php
+++ b/include/config.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * config lib for ScummVM
@@ -9,7 +9,7 @@
 /*
  * global params
  */
-$debug = 1;   //turns debugging on/off
+$debug = 0;   //turns debugging on/off
 
 
 ?>
diff --git a/include/incl.php b/include/incl.php
index 572ae39..30b751e 100644
--- a/include/incl.php
+++ b/include/incl.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Main lib for ScummVM
diff --git a/include/menu.php b/include/menu.php
index b4b9871..e85d77d 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -1,11 +1,11 @@
-<?
+<?php
 
 /*
  * Menu class for ScummVM
  * by Jeremy Newman <jnewman at dracowulf.com>
  *
  */
- 
+
 class htmlmenu {
 
     function htmlmenu($name)
diff --git a/include/sidebar.php b/include/sidebar.php
index 7f45f48..3457a64 100644
--- a/include/sidebar.php
+++ b/include/sidebar.php
@@ -1,17 +1,17 @@
-<?
+<?php
 
 /*
  * SideBar lib for ScummVM
  * by Jeremy Newman <jnewman at dracowulf.com>
  *
  */
-  
+
 function sidebar_start ($specs_mode = false)
 {
-  
+
     global $file_root;
 
-// It would be nice to use a plain simple <div> here, for maximum layout 
+// It would be nice to use a plain simple <div> here, for maximum layout
 // flexibility. Sadly, due to a bug in Internet Explorer 6, we can't do this
 // (at least not as long as we want the page to render correctly in IE 6).
 // So we resort to using a table with two columns and one row.
@@ -31,7 +31,7 @@ function sidebar_start ($specs_mode = false)
 		$g->add("V5 opcode list", $file_root."/docs/specs/"."scrp-v5.php");
 		$g->add("V6 opcode list", $file_root."/docs/specs/"."scrp-v6.php");
 		$g->add("Glossary", $file_root."/docs/specs/"."glossary.php");
-	
+
 		$g->done();
 	}
 
@@ -61,7 +61,7 @@ function sidebar_start ($specs_mode = false)
 	$g->add("Daily Snapshots", "/daily/");
 	$g->add("CVS Tree", "http://cvs.sourceforge.net/viewcvs.py/scummvm/scummvm/");
 
-	$g->done();      
+	$g->done();
 
 	$g = new htmlmenu("Misc. Menu");
 
@@ -72,7 +72,7 @@ function sidebar_start ($specs_mode = false)
 	$g->add("Links", $file_root."/links.php");
 
 	$g->done('<img src="'.$file_root.'/images/hangmonk.gif" alt="monkey">');
- 
+
 ?>
 
 	<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div>
@@ -80,15 +80,15 @@ function sidebar_start ($specs_mode = false)
 	<input type="hidden" name="business" value="paypal at enderboi.com">
 	<input type="hidden" name="item_name" value="ScummVM donation">
 	<input type="image" src="<?=$file_root?>/images/ppdonate.gif" name="submit" alt="Donate to ScummVM with PayPal!">
-	</div></form>	
-	
+	</div></form>
+
 	<p>
 		<a href="http://sourceforge.net/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=37116" width="88" height="31" alt="SourceForge"></a>
 	</p>
 
 	<p>
 		<a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-html401" width="88" height="31" alt="Valid HTML 4.01!"></a>
-	</p> 
+	</p>
 
 	<p>
 		<a href="http://jigsaw.w3.org/css-validator/"><img src="http://jigsaw.w3.org/css-validator/images/vcss" width="88" height="31" alt="Valid CSS!" ></a>
diff --git a/index.php b/index.php
index 4e4fdae..0f0e8f2 100644
--- a/index.php
+++ b/index.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Index Page for ScummVM
@@ -121,11 +121,11 @@ $c = 0;
 while (list($key,$item) = each($news))
 {
 	$c++;
-	
+
 	// Load news item (it's in a pseudo XML format).
 	$file = $file_root."/news/".$item;
 	if (file_exists($file))
-	{ 
+	{
 		$fp = @fopen($file, "r");
 		$data = fread($fp, filesize($file));
 		@fclose($fp);
@@ -160,7 +160,7 @@ while (list($key,$item) = each($news))
 			$news_body = $out[1];
 		}
 	}
-	
+
 	// Display news item
 	echo html_frame_tr(
 			    html_frame_td(
@@ -175,8 +175,8 @@ while (list($key,$item) = each($news))
 								'</div>'
 			                 )
 	                  );
-	
-	
+
+
 	// Only show first five records, unless we are in "news" mode
 	if ($c == 4 && !$shownews)
 	{
diff --git a/poll/index.php b/poll/index.php
index f5f3ed4..ecd06fb 100644
--- a/poll/index.php
+++ b/poll/index.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Downloads Page for ScummVM
@@ -21,9 +21,9 @@ echo html_round_frame_start("Website Revamp contest poll","");
 
 ?>
 	<h1>Website Revamp contest poll -- closed, draven declared winner</h1>
-	
+
 	<p>The three finalists of the website revamp contest can be seen here. The contest was won by draven, you can see the final standings below</p>
-	
+
 	<center>
 	<table cellpadding="10" cellspacing="10">
 	<tr>
@@ -31,7 +31,7 @@ echo html_round_frame_start("Website Revamp contest poll","");
 	<td align="center"><a href="draven.jpg" target="_blank"><img src="draven-thumb.jpg" height="120" width="120" alt="draven"><br>draven</a></td>
 	<td align="center"><a href="jeanm.png" target="_blank"><img src="jeanm-thumb.png" height="120" width="120" alt="jeanm"><br>jeanm</a></td>
 	</tr>
-	
+
 <tr><td colspan="3" align="center">
 
 <table border="0" bgcolor="#EEEEEE" cellspacing="0" cellpadding="3">
diff --git a/press.php b/press.php
index 44236a6..178912d 100644
--- a/press.php
+++ b/press.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Press Page
@@ -20,7 +20,7 @@ echo html_round_frame_start("Press Coverage","");
 
 ?>
 <h1>ScummVM press coverage</h1>
-<small>(If you wish to contact us in regards to media articles, please e-mail press 
+<small>(If you wish to contact us in regards to media articles, please e-mail press
 (@) scummvm.org)</small>
 	<p><a href="http://www.micromart.co.uk/content/features/default.asp?Category=Article&Type=&ID=1746">
 	  <b>Retro-Mart</b></a>, www.micromart.co.uk
@@ -56,9 +56,9 @@ echo html_round_frame_start("Press Coverage","");
 	<p><a href="http://www.totalamiga.org/issue16.html"
 	  ><b>ScummVM review</b></a>, Total Amiga Magazine 16, October 6, 2003
 	</p>
-	   
+
 	<p><a href="http://www.aventurepc.com/dossiers/scummvm1.html"
-	   ><b>Dossier ScummVM - première partie</b></a> (French), Aventure PC, October 1, 2003
+	   ><b>Dossier ScummVM - premi�re partie</b></a> (French), Aventure PC, October 1, 2003
 	</p>
 
 	<p><a href="http://obligement.free.fr/articles/scummvm.php"
@@ -78,7 +78,7 @@ echo html_round_frame_start("Press Coverage","");
 	</p>
 
 	<p><a href="http://www.pcwelt.de/news/spiele/32970/"
-	   ><b>Gratis: Amüsanter Adventure-Klassiker zum Download</b></a> (German), PC WELT, August 4, 2003
+	   ><b>Gratis: Am�santer Adventure-Klassiker zum Download</b></a> (German), PC WELT, August 4, 2003
 	</p>
 
 	<p><a href="http://games.slashdot.org/article.pl?sid=03/08/02/1235259"
@@ -112,13 +112,13 @@ echo html_round_frame_start("Press Coverage","");
 	<p><a href="http://slashdot.org/article.pl?sid=02/06/26/1312251"
 	   ><b>Lucas Confuses ScummVM With Abandonware</b></a>, Slashdot, June 26, 2002
 	</p>
-	
+
 	<p><a href="http://www.amigafuture.de/interactive/interview/scummvm.php"
-	  ><b>Interview mit Rüdiger Hanke</b></a> (German), Amiga Future #36, May 2002
+	  ><b>Interview mit R�diger Hanke</b></a> (German), Amiga Future #36, May 2002
 	</p>
 
 	<p><a href="http://www.pcdemano.com/sections.php?op=viewarticle&artid=151"
-	   ><b>Revisión de PocketScumm Build 0.2.0</b></a> (Spanish), PC demano, March 2002
+	   ><b>Revisi�n de PocketScumm Build 0.2.0</b></a> (Spanish), PC demano, March 2002
 	</p>
 
 	<p><a href="http://slashdot.org/article.pl?sid=01/11/03/1429247"
diff --git a/screenshots.php b/screenshots.php
index d5d838a..a142a92 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Screenshots Page
diff --git a/status.php b/status.php
index 3b74561..0ff6cf3 100644
--- a/status.php
+++ b/status.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * Contact Page for ScummVM


Commit: e388aee8d101e828198c19486fb015baaa4ae6cf
    https://github.com/scummvm/scummvm-web/commit/e388aee8d101e828198c19486fb015baaa4ae6cf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:23+02:00

Commit Message:
OLDWEB: More fixes

Changed paths:
    compatibility.php
    compatibility_stable.php
    contact.php
    demos.php
    docs/specs/aary.php
    docs/specs/char.php
    docs/specs/glossary.php
    docs/specs/index.php
    docs/specs/introduction.php
    docs/specs/scrp-v5.php
    docs/specs/scrp-v6.php
    docs/specs/scrp.php
    donations.php
    downloads.php
    faq.php
    include/html.php
    include/sidebar.php
    index.php
    links.php
    poll/index.php
    press.php
    screenshots.php
    status.php
    subprojects.php



diff --git a/compatibility.php b/compatibility.php
index f7787ed..9985021 100644
--- a/compatibility.php
+++ b/compatibility.php
@@ -24,7 +24,7 @@ if (isset($_GET['details'])) {
 
 ?>
 	<h1>Compatibility</h1>
-<?
+<?php
 if ($details)
 {
 
@@ -44,10 +44,10 @@ else
 	  may be introduced with new changes, thus this list refects the 'best case' scenario.
 	  It is highly recommended to use the latest stable release, where possible.
 	  <br><br>
-	  <small>Last Updated: <? echo date("F d, Y",getlastmod()); ?></small>
+	  <small>Last Updated: <?php echo date("F d, Y",getlastmod()); ?></small>
 	</p>
 
-<?
+<?php
 	// Display the Color Key Table
 	echo html_frame_start("Color Key","50%",1,1,"color4");
 	$pcts = array(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100);
diff --git a/compatibility_stable.php b/compatibility_stable.php
index 2ccf1a0..1611c91 100644
--- a/compatibility_stable.php
+++ b/compatibility_stable.php
@@ -24,7 +24,7 @@ if (isset($_GET['details'])) {
 
 ?>
 	<h1>Compatibility</h1>
-<?
+<?php
 if ($details)
 {
 
@@ -41,10 +41,10 @@ else
 	  snapshots/daily builds</B>. The status of these can be found on the <a
 	  href="compatibility.php">CVS Compatibility</A> chart.
 	  <br><br>
-	  <small>Last Updated: <? echo date("F d, Y",getlastmod()); ?></small>
+	  <small>Last Updated: <?php echo date("F d, Y",getlastmod()); ?></small>
 	</p>
 
-<?
+<?php
 	// Display the Color Key Table
 	echo html_frame_start("Color Key","50%",1,1,"color4");
 	$pcts = array(0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100);
diff --git a/contact.php b/contact.php
index fee0e8f..87fafce 100644
--- a/contact.php
+++ b/contact.php
@@ -66,7 +66,7 @@ echo html_round_frame_start("Contact","");
 	Two of them are for automated content only. The one where you can send emails to yourself is scummvm-devel.
 	</p>
 
-<?
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/demos.php b/demos.php
index 8c8c8b3..26fec15 100644
--- a/demos.php
+++ b/demos.php
@@ -26,7 +26,7 @@ echo html_round_frame_start("Game Demos","");
 	  Beneath A Steel Sky demos aren't going to be supported for technical reasons.<br><br>
 	</p>
 
-<?
+<?php
 
 $LEC_demos = array(
 	'Maniac Mansion (v1 DOS demo - Non interactive)'
diff --git a/docs/specs/aary.php b/docs/specs/aary.php
index b47d912..6cc437f 100644
--- a/docs/specs/aary.php
+++ b/docs/specs/aary.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -7,14 +7,14 @@ require($file_root."/include/"."incl.php");
 // start of html
 html_header("SCUMM Reference Guide :: AARY Arrays and Strings", '<link href="specs.css" rel="stylesheet" type="text/css">');
 sidebar_start(true);
-    
+
 //display welcome table
 echo html_round_frame_start("AARY: Arrays and Strings","");
 ?>
 
         <p>
           <big><b>AARY: Arrays and Strings</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
 <H2>Introduction</H2>
@@ -83,11 +83,10 @@ special case, where one dimension has size 1.</p>
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/char.php b/docs/specs/char.php
index 25b3fdd..4caaa1c 100644
--- a/docs/specs/char.php
+++ b/docs/specs/char.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -14,7 +14,7 @@ echo html_round_frame_start("CHAR: Character Sets","");
 
         <p>
           <big><b>CHAR: Character Sets</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
 
@@ -96,11 +96,10 @@ Words of data: 00001111 22223333
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/glossary.php b/docs/specs/glossary.php
index b9d58a4..3c338b7 100644
--- a/docs/specs/glossary.php
+++ b/docs/specs/glossary.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -11,11 +11,11 @@ sidebar_start(true);
 //display welcome table
 echo html_round_frame_start("Glossary","");
 ?>
-  
+
         <p>
           <big><b>Glossary</b></big><br>
-          <? echo html_line(); ?>
-        </p>  
+          <?php echo html_line(); ?>
+        </p>
 
 <dl>
 <DT>
@@ -49,7 +49,7 @@ resource only refers to SCUMM data blocks.)
 <DT>named resource
 <DD>A resource that appears in the SCUMM file's index.  Named resources are
 identified by a tuple of (class, number). The numbers are small integers
-counting up from zero. 
+counting up from zero.
 Named resources are sometimes referred to as objects, but as
 these can be easily confused with SCUMM objects it is not recommended.
 
@@ -66,11 +66,10 @@ BEs (big endian).
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/index.php b/docs/specs/index.php
index 9c1a734..0fc9647 100644
--- a/docs/specs/index.php
+++ b/docs/specs/index.php
@@ -8,7 +8,7 @@ require($file_root."/include/"."incl.php");
 html_header("The inComplete SCUMM Reference Guide", '<link href="specs.css" rel="stylesheet" type="text/css">');
 sidebar_start(true);
 
-// add 
+// add
 
 //display welcome table
 echo html_round_frame_start("The inComplete SCUMM Reference Guide","");
@@ -16,7 +16,7 @@ echo html_round_frame_start("The inComplete SCUMM Reference Guide","");
 ?>
         <p>
           <big><b>The inComplete SCUMM Reference Guide</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
         <p>
@@ -37,7 +37,7 @@ echo html_round_frame_start("The inComplete SCUMM Reference Guide","");
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
diff --git a/docs/specs/introduction.php b/docs/specs/introduction.php
index 53ae766..cf3fc7a 100644
--- a/docs/specs/introduction.php
+++ b/docs/specs/introduction.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -15,7 +15,7 @@ echo html_round_frame_start("Introduction","");
 
         <p>
           <big><b>Introduction</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
 <H2>Changes</h2>
@@ -93,11 +93,11 @@ or to create your own SCUMM games from scratch.
 
 <p>The information obtained here was almost all obtained by other people.  All
 I have done is to collate it into one place. Among the many who have been
-working on the SCUMM file format, Ludvig Strigeus, Jimmi Thøgerson and Peter
+working on the SCUMM file format, Ludvig Strigeus, Jimmi Th�gerson and Peter
 Kelly have performed incredible tasks of reverse-engineering, and I am indebted
 to them.
 
-<P class=footnote>Jimmi Thøgerson and Peter Kelly have developed their own
+<P class=footnote>Jimmi Th�gerson and Peter Kelly have developed their own
 SCUMM file browsing and analysis tool called <a href="http://scummrev.mixnmojo.com">SCUMM
 Revisited</a>. If you are at all interested in SCUMM files, this is an
 essential tool.
@@ -126,7 +126,7 @@ Fandango</EM>.
 
 <p>The full list of games and versions follows.
 
-<?
+<?php
 
 $games = array(
 		'Maniac Mansion (c64)'                                  => array('1'),
@@ -159,7 +159,7 @@ echo html_frame_tr(
                    html_frame_td("Version").
                    html_frame_td("Game", 'align="center"'),
                    "color4"
-  
+
                   );
 	$c = 0;
         while (list($name,$array) = each($games))
@@ -208,11 +208,10 @@ echo html_frame_end(" ");
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
-          
+
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/scrp-v5.php b/docs/specs/scrp-v5.php
index e67da96..86f5e2b 100644
--- a/docs/specs/scrp-v5.php
+++ b/docs/specs/scrp-v5.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -8,13 +8,13 @@ require($file_root."/include/"."incl.php");
 html_header("SCUMM Reference Guide :: V5 opcode list", '<link href="specs.css" rel="stylesheet" type="text/css">');
 sidebar_start(true);
 
-//display welcome table 
+//display welcome table
 echo html_round_frame_start("V5 opcode list","");
 ?>
 
         <p>
           <big><b>V5 opcode list</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
 <p>The following conventions are used in the encoding descriptions.
@@ -930,11 +930,10 @@ bit is the parameter bit for <i>script</i>, as usual.
 All material © 2000-2002 David Given, unless where stated otherwise.
 </p>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/scrp-v6.php b/docs/specs/scrp-v6.php
index 6b981d1..1e03cd6 100644
--- a/docs/specs/scrp-v6.php
+++ b/docs/specs/scrp-v6.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -11,11 +11,11 @@ sidebar_start(true);
 //display welcome table
 echo html_round_frame_start("V6 opcode list","");
 ?>
-  
+
         <p>
           <big><b>V6 opcode list</b></big><br>
-          <? echo html_line(); ?>
-        </p>  
+          <?php echo html_line(); ?>
+        </p>
 
 <p>The following conventions are used in the encoding descriptions:
 
@@ -101,11 +101,11 @@ This instruction varies considerably according to the form.<br>
 
 <h4>Encoding</h4><dl compact=compact>
 <dt>
-load array:<dd>A4 CD  <i>arrayp</i><sup><font size=2>16</font></sup> 
+load array:<dd>A4 CD  <i>arrayp</i><sup><font size=2>16</font></sup>
 
-<dt>define array:<dd>A4 D0  <i>arrayp</i><sup><font size=2>16</font></sup>   <i>data</i>... 
+<dt>define array:<dd>A4 D0  <i>arrayp</i><sup><font size=2>16</font></sup>   <i>data</i>...
 
-<dt>set array:<dd>A4 D4  <i>arrayp</i><sup><font size=2>16</font></sup> 
+<dt>set array:<dd>A4 D4  <i>arrayp</i><sup><font size=2>16</font></sup>
 </dl>
 <h4>Stack</h4><dl compact=compact>
 <dt>
@@ -201,7 +201,7 @@ for a more general form.<br>
 Writes  <i>value</i>  to the array whose resource number is pointed
 to by  <i>arrayp</i>  at offset ( <i>index</i><sub><font size=2><i>x</i></font></sub> ,  <i>index</i><sub><font size=2><i>y</i></font></sub> ).
 The array can be a byte or word array; byte when writing to a byte
-array,  <i>value</i>  is truncated. Note that because  <i>arrayp</i> 
+array,  <i>value</i>  is truncated. Note that because  <i>arrayp</i>
 is encoded as a byte, it can only point to a word variable in the
 range 0000 to 00FF. Use <font color=purple>wordArrayIndexedWrite</font> for a more
 general form.<br>
@@ -321,7 +321,7 @@ for a more general form.<br>
 <h4>Stack</h4>( <i>delay</i>  : -)<br>
 <br>
 
-<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i> 
+<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i>
 ticks have passed. Deschedules immediately.<br>
 <br>
 
@@ -343,7 +343,7 @@ ticks have passed. Deschedules immediately.<br>
 <h4>Stack</h4>( <i>delay</i>  : -)<br>
 <br>
 
-<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i>× 60 
+<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i>� 60
 ticks have passed ( <i>delay</i>  seconds). Deschedules immediately.<br>
 <br>
 
@@ -365,7 +365,7 @@ ticks have passed ( <i>delay</i>  seconds). Deschedules immediately.<br>
 <h4>Stack</h4>( <i>delay</i>  : -)<br>
 <br>
 
-<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i>× 3600 
+<h4>Operation</h4>Prevents the current thread from being rescheduled until  <i>delay</i>� 3600
 ticks have passed ( <i>delay</i>  minutes). Deschedules immediately.<br>
 <br>
 
@@ -422,7 +422,7 @@ What are they?]<br>
 <br>
 A new two-dimensional array is allocated and the resource number is
 written to  <i>arrayp</i> . The new array will have a maximum X index
-of  <i>maxx</i>  and a maximum Y index of  <i>maxy</i>  (i.e.,  <i>maxy</i> 
+of  <i>maxx</i>  and a maximum Y index of  <i>maxy</i>  (i.e.,  <i>maxy</i>
 is one less than the size).<br>
 <br>
 When allocating an array, if  <i>type</i>  is C7 then the array will
@@ -504,7 +504,7 @@ cause the interpreter to crash.<br>
 <h4>Encoding</h4>A6<br>
 <br>
 
-<h4>Stack</h4>( <i>left</i> ,  <i>top</i> ,  <i>right</i> ,  <i>bottom</i> ,  <i>colour</i> 
+<h4>Stack</h4>( <i>left</i> ,  <i>top</i> ,  <i>right</i> ,  <i>bottom</i> ,  <i>colour</i>
 : -)<br>
 <br>
 
@@ -621,7 +621,7 @@ Tests the top two values on the stack to see if they are equal.<br>
 
 <dt> 0<<i>bool</i><$80 :<dd>Freeze all threads that are not marked as unfreezable.
 
-<dt> <i>bool</i><font face=symbol>³</font> $80 :<dd>Freeze all threads, even those that are marked
+<dt> <i>bool</i><font face=symbol>�</font> $80 :<dd>Freeze all threads, even those that are marked
 as unfreezable.
 </dl>
 Freezing is a nestable operation; a thread which is frozen twice must
@@ -646,7 +646,7 @@ be thawed twice before it becomes runnable again.<br>
 <h4>Stack</h4> ( <i>value</i><sub><font size=2>1</font></sub>  <i>value</i><sub><font size=2>2</font></sub>  :  <i>bool</i>) <br>
 <br>
 
-<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub><font face=symbol>³</font> <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i>  to 1, otherwise
+<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub><font face=symbol>�</font> <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i>  to 1, otherwise
 set it to 0<br>
 <br>
 Compares the top two values on the stack. Note the order.<br>
@@ -900,7 +900,7 @@ Compares the top two values on the stack. Note the order.<br>
 <h4>Stack</h4>( <i>arg</i><sub><font size=2>1</font></sub> ,  <i>arg</i><sub><font size=2>2</font></sub> ,  <i>arg</i><sub><font size=2>3</font></sub> , ...,  <i>arg</i><sub><font size=2><i>n</i></font></sub> ,  <i>n</i> ,  <i>value</i>  :  <i>bool</i> )<br>
 <br>
 
-<h4> Operation</h4>If  <i>value</i>  is any of  <i>arg</i><sub><font size=2>1</font></sub> .. <i>arg</i><sub><font size=2><i>n</i></font></sub> ,  <i>bool</i> 
+<h4> Operation</h4>If  <i>value</i>  is any of  <i>arg</i><sub><font size=2>1</font></sub> .. <i>arg</i><sub><font size=2><i>n</i></font></sub> ,  <i>bool</i>
 := 1, otherwise  <i>bool</i>  := 0<br>
 <br>
 Tests to see if  <i>value</i>  is equal to any of the passed in arguments.
@@ -982,9 +982,9 @@ to the current program counter after the instruction has been decoded.<br>
 <h4>Stack</h4>( <i>bool</i>  : -)<br>
 <br>
 
-<h4> Operation</h4>if  <i>bool</i>  <font face=symbol>¹</font> 0, pc := pc +  <i>offset</i> <br>
+<h4> Operation</h4>if  <i>bool</i>  <font face=symbol>�</font> 0, pc := pc +  <i>offset</i> <br>
 <br>
-Pops the top value off the stack. If non-zero, then  <i>offset</i> 
+Pops the top value off the stack. If non-zero, then  <i>offset</i>
 is added to the current program counter after the instruction has
 been decoded.<br>
 <br>
@@ -1055,7 +1055,7 @@ for <font color=purple>true</font>.<br>
 <h4>Stack</h4> ( <i>value</i><sub><font size=2>1</font></sub>  <i>value</i><sub><font size=2>2</font></sub>  :  <i>bool</i>) <br>
 <br>
 
-<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub><font face=symbol>£</font> <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i>  to 1, otherwise
+<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub><font face=symbol>�</font> <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i>  to 1, otherwise
 set it to 0<br>
 <br>
 Compares the top two values on the stack. Note the order.<br>
@@ -1154,7 +1154,7 @@ Compares the top two values on the stack. Note the order.<br>
 <h4>Stack</h4> ( <i>in</i><sub><font size=2>1</font></sub>  <i>in</i><sub><font size=2>2</font></sub>  :  <i>out</i>) <br>
 <br>
 
-<h4> Operation</h4> <i>out</i>:=<i>in</i><sub><font size=2>1</font></sub>× <i>in</i><sub><font size=2>2</font></sub> <br>
+<h4> Operation</h4> <i>out</i>:=<i>in</i><sub><font size=2>1</font></sub>� <i>in</i><sub><font size=2>2</font></sub> <br>
 <br>
 Performs a multiplication operation on the stack. Note the order.<br>
 <br>
@@ -1177,7 +1177,7 @@ Performs a multiplication operation on the stack. Note the order.<br>
 <h4>Stack</h4>( <i>value</i><sub><font size=2>1</font></sub> ,  <i>value</i><sub><font size=2>2</font></sub>  :  <i>bool</i> )<br>
 <br>
 
-<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub>   <font face=symbol>¹</font>   <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i> 
+<h4> Operation</h4>If  <i>value</i><sub><font size=2>1</font></sub>   <font face=symbol>�</font>   <i>value</i><sub><font size=2>2</font></sub> , set  <i>bool</i>
 to 1, otherwise set it to 0<br>
 <br>
 Tests the top two values on the stack to see if they are not equal.<br>
@@ -1238,7 +1238,7 @@ shutting down.<br>
 <h4> Operation</h4>If  <i>index</i>  is in the range 0.. <i>n</i> ,  <i>value</i>  :=  <i>arg</i><sub><font size=2>[<i>index</i>]</font></sub> ;
 otherwise  <i>value</i>  :=  <i>default</i> .<br>
 <br>
-Returns the  <i>index</i> th argument on the stack. If  <i>index</i> 
+Returns the  <i>index</i> th argument on the stack. If  <i>index</i>
 is out of range,  <i>default</i>  is returned instead. If  <i>n</i>  is
 less than the number of entries on the stack, undefined behaviour
 will result, usually involving the interpreter shutting down.<br>
@@ -2008,11 +2008,10 @@ Tests the value on the stack to see if it compares to zero.
 All material © 2000-2002 David Given, unless where stated otherwise.
 </p>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/docs/specs/scrp.php b/docs/specs/scrp.php
index 0211dc5..362678d 100644
--- a/docs/specs/scrp.php
+++ b/docs/specs/scrp.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $file_root = "../..";
 // load libs
@@ -14,7 +14,7 @@ echo html_round_frame_start("SCRP: Scripts","");
 
         <p>
           <big><b>SCRP: Scripts</b></big><br>
-          <? echo html_line(); ?>
+          <?php echo html_line(); ?>
         </p>
 
 <H2>Introduction</H2>
@@ -90,7 +90,7 @@ depending on what is being pointed at.
 
 <table class=bitfield>
 <tr><th>15</th><th>14</th><th>13</th>	<th>12</th><th>…</th><th>0</th></tr>
-<tr><td>0</td><td>0</td><td>1</td> 
+<tr><td>0</td><td>0</td><td>1</td>
 			<td colspan=3><i>address</i></td></tr>
 <tr><td>0</td><td>0</td><td><i>I</i></td>
 			<td colspan=3><i>offset</i></td></tr>
@@ -175,7 +175,7 @@ the <tt>freezeScripts</tt> and <tt>freezeUnfreeze</tt> opcodes).
 instructions take a fixed number of parameters and return an optional value.
 The format is:
 
-<p><I>opcode</I> [<I>result</I>] [<I>parameter1</I>] [<I>parameter2</I>]... 
+<p><I>opcode</I> [<I>result</I>] [<I>parameter1</I>] [<I>parameter2</I>]...
 
 <p>The result is a word pointer as usual. The parameters are word LE
 or byte values depending on the opcode. The meaning of the parameters
@@ -230,11 +230,10 @@ and how it is to be initialised.
 All material © 2000-2002 David Given, unless where stated otherwise.
 </P>
 
-<?
+<?php
 echo html_round_frame_end(" ");
 
 // end of html
 sidebar_end();
 html_footer();
 ?>
-
diff --git a/donations.php b/donations.php
index dd628cc..f99e813 100644
--- a/donations.php
+++ b/donations.php
@@ -21,7 +21,7 @@ echo html_round_frame_start("ScummVM Donations","");
 
 ?>
 <h1>Donations</h1>
-<small>Donation status last updated: <? echo date("F d, Y",getlastmod());?></small><br>
+<small>Donation status last updated: <?php echo date("F d, Y",getlastmod());?></small><br>
 <p>ScummVM gladly accepts donations to help us with various expenses.
 In the interest of public disclosure, this page keeps a running tally of donations and
 expenses incurred by the project. For privacy and logistic reasons, individual contributors
@@ -49,7 +49,7 @@ org). All amounts are expressed in USD.
  </table>
  <BR>
  <U>Current Balance:</U> <B>$65.70</B>
- <?
+ <?php
 echo html_round_frame_end(" ");
 //end of donations display
 
diff --git a/downloads.php b/downloads.php
index a3a9629..85ddc85 100644
--- a/downloads.php
+++ b/downloads.php
@@ -193,16 +193,16 @@ hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 
 	<ul>
 <!--
-	  <li><a href="/downloads/scummvm-daily.tar.bz2">Source Code Daily Snapshot Bzipped</a> <small> (<? echo intval(filesize("downloads/scummvm-daily.tar.bz2")/1024) ?>K file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.bz2")); ?>)</small></li>
-	  <li><a href="/downloads/scummvm-daily.tar.gz">Source Code Daily Snapshot Gzipped</a> <small> (<? echo intval(filesize("downloads/scummvm-daily.tar.gz")/1024) ?>K file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.gz")); ?>)</small></li>
-	  <li><a href="/downloads/scummvm-daily.zip">Source Code Daily Snapshot Zipped</a> <small> (<? echo intval(filesize("downloads/scummvm-daily.zip")/1024) ?>K file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.zip")); ?>)</small></li>
+	  <li><a href="/downloads/scummvm-daily.tar.bz2">Source Code Daily Snapshot Bzipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.tar.bz2")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.bz2")); ?>)</small></li>
+	  <li><a href="/downloads/scummvm-daily.tar.gz">Source Code Daily Snapshot Gzipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.tar.gz")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.gz")); ?>)</small></li>
+	  <li><a href="/downloads/scummvm-daily.zip">Source Code Daily Snapshot Zipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.zip")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.zip")); ?>)</small></li>
 -->
-	  <li><a href="/downloads/scummvmwin32.exe">Win32 Daily Snapshot</a> <small> (<? echo intval(filesize("downloads/scummvmwin32.exe")/1024) ?>K exe file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummvmwin32.exe")); ?>)</small></li>
+	  <li><a href="/downloads/scummvmwin32.exe">Win32 Daily Snapshot</a> <small> (<?php echo intval(filesize("downloads/scummvmwin32.exe")/1024) ?>K exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvmwin32.exe")); ?>)</small></li>
 <!--
-	  <li><a href="/downloads/ScummVM-snapshot.dmg">Mac OS X Snapshot</a> <small> (<? echo intval(filesize("downloads/ScummVM-snapshot.dmg")/1024) ?>K dmg file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/ScummVM-snapshot.dmg")); ?>)</small></li>
+	  <li><a href="/downloads/ScummVM-snapshot.dmg">Mac OS X Snapshot</a> <small> (<?php echo intval(filesize("downloads/ScummVM-snapshot.dmg")/1024) ?>K dmg file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/ScummVM-snapshot.dmg")); ?>)</small></li>
 -->
 	  <li><a href="http://arisme.free.fr/PocketScumm/daily/">PocketPC Builds</a> <small> (infrequent snapshots of the PocketPC binaries)</small></li>
-	  <li><a href="/downloads/PocketPC2003.zip">Alternative PocketPC 2003 build</a> <small> (infrequently from CVS HEAD, <? echo intval(filesize("downloads/PocketPC2003.zip")/1024) ?>K zip file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/PocketPC2003.zip")); ?>)</small></li>
+	  <li><a href="/downloads/PocketPC2003.zip">Alternative PocketPC 2003 build</a> <small> (infrequently from CVS HEAD, <?php echo intval(filesize("downloads/PocketPC2003.zip")/1024) ?>K zip file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/PocketPC2003.zip")); ?>)</small></li>
 <!--  <li><a href="http://paras.rasmatazz.bei.t-online.de/">Dreamcast Daily Builds</a></li> -->
 	  <li><a href="http://sourceforge.net/cvs/?group_id=37116">CVS Instructions</a> <small> (for if you wish to retrieve the latest code to compile yourself)</small></li>
 	</ul>
@@ -220,7 +220,7 @@ hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 	  <li><a href="http://flac.sourceforge.net/">FLAC</a></li>
 	  <li><a href="http://libmpeg2.sourceforge.net/">libmpeg2</a>: a free MPEG-2 video stream decoder</li>
 	</ul>
-<?
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/faq.php b/faq.php
index 825abf9..d557fd7 100644
--- a/faq.php
+++ b/faq.php
@@ -21,9 +21,9 @@ echo html_round_frame_start("FAQ :: Frequently Asked Questions","");
 ?>
 <h1>
 	FAQ<br>
-	<span class="caption">last updated: <? echo date("F d, Y",getlastmod()); ?></span>
+	<span class="caption">last updated: <?php echo date("F d, Y",getlastmod()); ?></span>
 </h1>
-<?
+<?php
 include $file_root."/faq.inc";
 
 echo html_round_frame_end(" ");
diff --git a/include/html.php b/include/html.php
index 5fc3f5f..1cba830 100644
--- a/include/html.php
+++ b/include/html.php
@@ -5,7 +5,7 @@
  * by Jeremy Newman <jnewman at dracowulf.com>
  *
  */
- 
+
 $_trcolor = 0;
 
 // Set the current Indent Level
@@ -25,7 +25,7 @@ function html_ahref ($label, $url, $extra = "")
 {
 	$label = stripslashes($label);
 	if (!$label and $url)
-	{	
+	{
 		if (ereg("@",$url))
 		{
 			return do_indent(" <a href=\"mailto:$url\" $extra>$url</a> ");
@@ -117,13 +117,13 @@ function html_round_frame_start ($title = "", $extra = "")
 	global $file_root;
 
 	$str = "<div class='frame'>\n";
-	
+
 	if ($title) {
 		$str .= '<div class="frameTop"><div class="cornerLeft"><div class="cornerRight">';
 		$str .= '<span class="frameTitle">'.$title.'</span>';
 		$str .= '</div></div></div>'."\n";
 	}
-	
+
 	$str .= "<div class='frameBody' style='background-color: #ffffff'>\n";
 //	$str .= '<table width="100%" border="0" cellpadding='.$innerPad.' cellspacing=1 '.$extra.'><tr><td class="color2">'."\n";
 
@@ -219,12 +219,12 @@ function html_form_input_select ($name, $options, $selected = "")
 {
 	$str = '<select name="'.$name.'">'."\n";
 	while(list($key, $val) = each($options))
-	{	
+	{
 		if ($key == $selected)
 		{
 			$str .= '<option value="'.$key.'" selected>'.$val.'</option>'."\n";
 		} else {
-			$str .= '<option value="'.$key.'">'.$val.'</option>'."\n";		
+			$str .= '<option value="'.$key.'">'.$val.'</option>'."\n";
 		}
 	}
 	$str .= '</select>'."\n";
@@ -237,7 +237,7 @@ function html_form_input_checkbox ($name, $checked = null)
 		$str = '<input type="checkbox" name="'.$name.'" checked>'."\n";
 	else
 		$str = '<input type="checkbox" name="'.$name.'">'."\n";
-	return $str;	
+	return $str;
 }
 
 function html_form_submit ($value = "")
@@ -270,7 +270,7 @@ function html_urlify ($text)
 	{
 		$text = ereg_replace($urlreg, "<a href=\"\\1\"> \\2 </a>", $text);
 	}
-	
+
 	$emailreg = "([a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+)";
 	if (ereg($emailreg,$text))
 	{
@@ -280,7 +280,7 @@ function html_urlify ($text)
 	return $text;
 }
 
-// simple httpd header redirect 
+// simple httpd header redirect
 function redirect ($url = ".")
 {
 	header("Location: ".$url);
@@ -308,7 +308,7 @@ function html_header ($title, $extra = "")
 	<img src="<?=$file_root?>/images/scummvm_logo.png"  width="407" height="111" alt="ScummVM" style="float: left">
 	<img src="<?=$file_root?>/images/scummvm_chars.png" width="193" height="111" alt="-" style="float: right">
 </div>
-<?
+<?php
 }
 
 function html_footer ()
@@ -326,7 +326,7 @@ ScummVM is not affiliated in any way with LucasArts, Inc.
 
 </body>
 </html>
-<?
+<?php
 
 }
 
diff --git a/include/sidebar.php b/include/sidebar.php
index 3457a64..3944968 100644
--- a/include/sidebar.php
+++ b/include/sidebar.php
@@ -20,7 +20,7 @@ function sidebar_start ($specs_mode = false)
 
 <table border=0 cellpadding=0 cellspacing=0><tr><td id=sideBar>
 
-<?
+<?php
 
 	if ($specs_mode) {
 		$g = new htmlmenu("Contents");
@@ -94,7 +94,7 @@ function sidebar_start ($specs_mode = false)
 		<a href="http://jigsaw.w3.org/css-validator/"><img src="http://jigsaw.w3.org/css-validator/images/vcss" width="88" height="31" alt="Valid CSS!" ></a>
 	</p>
 </td><td id="main">
-<?
+<?php
 }
 
 function sidebar_end ()
@@ -103,7 +103,7 @@ function sidebar_end ()
 
 </td></tr></table>
 
-<?
+<?php
 }
 
 ?>
diff --git a/index.php b/index.php
index 0f0e8f2..e8afc36 100644
--- a/index.php
+++ b/index.php
@@ -103,7 +103,7 @@ echo html_round_frame_start("About ScummVM","");
 	  </td>
 	</tr>
 	</table>
-<?
+<?php
 echo html_round_frame_end(" "),html_br();
 }
 // end of welcome table
diff --git a/links.php b/links.php
index 0c478a8..44fbfde 100644
--- a/links.php
+++ b/links.php
@@ -32,7 +32,7 @@ function addLinkEntry($name, $url, $desc) {
 
 ?>
 	<h1>Links</h1>
-	
+
 	<p>
 	  <img src="images/scummvm-link.png" width="88" height="31" alt="ScummVM" style="vertical-align: middle; text-align: left; margin: 5px;">
 	  <b>Link to us: </b>
@@ -50,7 +50,7 @@ function addLinkEntry($name, $url, $desc) {
 			addLinkEntry('GP32 port', 'http://www.distant-earth.co.uk/', 'Information about the GP32 port.');
 		?>
 	</div>
-	
+
 	<!-- -->
 
 	<h2>Unofficial ports</h2>
@@ -60,7 +60,7 @@ function addLinkEntry($name, $url, $desc) {
 
 	<div class="linklist">
 		<?php
-			addLinkEntry('Amiga Port', 'http://people.freenet.de/uweryssel/scumm_en.html', 
+			addLinkEntry('Amiga Port', 'http://people.freenet.de/uweryssel/scumm_en.html',
 				     'Homepage of the 68k/WarpOS port of ScummVM for the Amiga. Requires 020+ and AGA chipset or RTG Zorro card');
 			addLinkEntry('Amiga Archives', 'http://www.mountmonkey.com/eng_index.html',
 				'An archive of older Amiga ports of ScummVM');
@@ -152,11 +152,11 @@ function addLinkEntry($name, $url, $desc) {
 				graphics cards, so you can even play on a television set.');
 		?>
 	</div>
-	
+
 	<!-- -->
 
 	<h2>Other classic game engine open source projects</h2>
-	<p>The following are links to other classic game engine open source projects similar to ScummVM. 
+	<p>The following are links to other classic game engine open source projects similar to ScummVM.
       Know any other classic game projects that should be linked here?
       <a href="http://sourceforge.net/sendmessage.php?touser=339357">Let me know!</a>
     </p>
@@ -186,7 +186,7 @@ function addLinkEntry($name, $url, $desc) {
 				"Pentagram is a project aiming to create an Ultima 8 engine for use on modern operating systems.");
 		?>
 	</div>
-    
+
 	<!-- -->
 
 	<h2>Technical information about SCUMM</h2>
@@ -221,8 +221,8 @@ GUI frontends for ScummVM.
 			addLinkEntry("ScummAqua", "http://www.d.kth.se/~d00-ogo/ogosoft/scummaqua/", "For Mac OS X.");
 		?>
 	</div>
-		
-<?
+
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/poll/index.php b/poll/index.php
index ecd06fb..809b017 100644
--- a/poll/index.php
+++ b/poll/index.php
@@ -92,7 +92,7 @@ echo html_round_frame_start("Website Revamp contest poll","");
 </center>
 
 
-<?
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/press.php b/press.php
index 178912d..63a8e4e 100644
--- a/press.php
+++ b/press.php
@@ -124,7 +124,7 @@ echo html_round_frame_start("Press Coverage","");
 	<p><a href="http://slashdot.org/article.pl?sid=01/11/03/1429247"
 	   ><b>Linux SCUMM Interpreter</b></a>, Slashdot, November 3, 2001
 	</p>
-<?
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/screenshots.php b/screenshots.php
index a142a92..32d8073 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -22,7 +22,7 @@ echo html_round_frame_start("Screenshots","");
 ?>
 	<h1>Screenshots</h1>
 
-<?
+<?php
 
 $view = $HTTP_GET_VARS['view'];
 $offset = $HTTP_GET_VARS['offset'];
diff --git a/status.php b/status.php
index 0ff6cf3..7640024 100644
--- a/status.php
+++ b/status.php
@@ -42,7 +42,7 @@ beginning with the most specific and important issues... I'd like to hear
 feedback on any of this, as well as any volunteers who want to help work
 on the 'rough spots'</p>
 
-<br><? echo html_headline("PORTS"); ?>
+<br><?php echo html_headline("PORTS"); ?>
 <p>Currently we have official in-cvs ports for:</p>
 <table cellspacing="3" cellpadding="3">
 	<tr><td align="right">SDL: </td><td>We might as well say 'Me'</td></tr>
@@ -67,7 +67,7 @@ a week or so, I'll assume you have abandoned that port.</p>
 <p>Of course, new ports are welcome, if you have ported ScummVM to some new
 exotic bit of hardware :)</p>
 
-<br><? echo html_headline("LEGAL"); ?>
+<br><?php echo html_headline("LEGAL"); ?>
 
 <p> We are still in negotiations with LucasArts over this, although both of
 us are hoping to reach some kind of closure very very soon. Obviously,
@@ -125,7 +125,7 @@ latest CVS versions and replay older games, to ensure there are no
 regression bugs.</p>
 
 
-<br><? echo html_headline("PROGRESS"); ?>
+<br><?php echo html_headline("PROGRESS"); ?>
 
 <p>Now on to the good news for progress in the last few weeks/months:</p>
 
@@ -153,7 +153,7 @@ people won't have to commit all our obscure command-line parameters to
 memory. The Launcher in particular is going to be a key point of our next
 release, along with hopefully support for at least The Dig.</p>
 
-<br><? echo html_headline("TO DO"); ?>
+<br><?php echo html_headline("TO DO"); ?>
 
 <p>So, what needs work?</p>
 
@@ -216,7 +216,7 @@ particular) access to the SMUSH display.</p>
    ScummVM
 </pre>
 
-<?
+<?php
 
 echo html_round_frame_end(" ");
 
diff --git a/subprojects.php b/subprojects.php
index e09d17d..c576539 100644
--- a/subprojects.php
+++ b/subprojects.php
@@ -12,49 +12,49 @@ sidebar_start();
 echo html_round_frame_start("ScummVM Subprojects","");
 ?>
 <P>
-The ScummVM team occasionally works on various subprojects, separate from the main 
-ScummVM program. These projects are generally reasonably stagnant and not given a high 
-priority. Regardless, this page is here to inform you of them, in the vague hope of 
+The ScummVM team occasionally works on various subprojects, separate from the main
+ScummVM program. These projects are generally reasonably stagnant and not given a high
+priority. Regardless, this page is here to inform you of them, in the vague hope of
 attracting more developers to help maintain these side-programs.
 </P>
 <P>
-Please do not ask where you can obtain binaries of these programs. Currently both 
-subprojects are still in a state only suitable for developers... so if you can't compile 
+Please do not ask where you can obtain binaries of these programs. Currently both
+subprojects are still in a state only suitable for developers... so if you can't compile
 the code yourself, then these are not really ready for you.
 </P>
 <H1>ScummEx (cvs module 'scummex')</H1>
 <P>
-ScummEx is a multi-platform SCUMM resource browser, viewer and extractor using the 
+ScummEx is a multi-platform SCUMM resource browser, viewer and extractor using the
 wxWindows toolkit.
 </P>
 <P>
-Development on this project is currently stalled. The code-base needs quite some cleanup, 
+Development on this project is currently stalled. The code-base needs quite some cleanup,
 and viewers for many resource types still need adding to the code. Patches and volunteers
 a very welcome...
 </P>
 <P>
 You can try compiled engine for Windows:
 </P>
-<a href="downloads/scummexwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <? echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummexwin32.exe")); ?>)</small></li>
+<a href="downloads/scummexwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <?php echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummexwin32.exe")); ?>)</small></li>
 
 <BR>
 
 <H1>Residual (cvs module 'residual')</H1>
 <P>
-Residual is a LUA-powered 3D GRIME clone, designed to run the game Grim Fandango. Why 
-'Residual'? Because this engine covers games that the main ScummVM application will not 
-support due to their 3D nature. Also, GRIME is a residue. Yes, we know, it's a bad word 
+Residual is a LUA-powered 3D GRIME clone, designed to run the game Grim Fandango. Why
+'Residual'? Because this engine covers games that the main ScummVM application will not
+support due to their 3D nature. Also, GRIME is a residue. Yes, we know, it's a bad word
 pun.
 </P>
 <P>
-Residual's core is in a fairly decent state, however it is not in full-time development and 
+Residual's core is in a fairly decent state, however it is not in full-time development and
 as such is progressing slowly.
 </P>
 <P>
 You can try compiled engine for Windows:
 </P>
-<a href="downloads/residualwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <? echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/residualwin32.exe")); ?>)</small></li>
-<?
+<a href="downloads/residualwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <?php echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/residualwin32.exe")); ?>)</small></li>
+<?php
 echo html_round_frame_end(" ");
 
 // end of html


Commit: dc829daaa5e2c7a718be1f958866ebc08955b8ca
    https://github.com/scummvm/scummvm-web/commit/dc829daaa5e2c7a718be1f958866ebc08955b8ca
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:31+02:00

Commit Message:
OLDWEB: Fix another old picture

Changed paths:
    images/ppdonate.gif



diff --git a/images/ppdonate.gif b/images/ppdonate.gif
index 421944f..d7c347d 100644
Binary files a/images/ppdonate.gif and b/images/ppdonate.gif differ


Commit: d6c20b443f7881e5be0ad3e910f19195edbaf7a6
    https://github.com/scummvm/scummvm-web/commit/d6c20b443f7881e5be0ad3e910f19195edbaf7a6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:36+02:00

Commit Message:
OLDWEB: Avoid external image links

Changed paths:
  A images/sflogo.png
  A images/valid-html401.png
  A images/vcss.gif
    include/sidebar.php



diff --git a/images/sflogo.png b/images/sflogo.png
new file mode 100644
index 0000000..142a6f9
Binary files /dev/null and b/images/sflogo.png differ
diff --git a/images/valid-html401.png b/images/valid-html401.png
new file mode 100644
index 0000000..c010842
Binary files /dev/null and b/images/valid-html401.png differ
diff --git a/images/vcss.gif b/images/vcss.gif
new file mode 100644
index 0000000..020c75a
Binary files /dev/null and b/images/vcss.gif differ
diff --git a/include/sidebar.php b/include/sidebar.php
index 3944968..a1e622c 100644
--- a/include/sidebar.php
+++ b/include/sidebar.php
@@ -83,15 +83,15 @@ function sidebar_start ($specs_mode = false)
 	</div></form>
 
 	<p>
-		<a href="http://sourceforge.net/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=37116" width="88" height="31" alt="SourceForge"></a>
+		<a href="http://sourceforge.net/"><img src="<?=$file_root?>/images/sflogo.png" width="88" height="31" alt="SourceForge"></a>
 	</p>
 
 	<p>
-		<a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-html401" width="88" height="31" alt="Valid HTML 4.01!"></a>
+		<a href="http://validator.w3.org/check/referer"><img src="<?=$file_root?>/images/valid-html401.png" width="88" height="31" alt="Valid HTML 4.01!"></a>
 	</p>
 
 	<p>
-		<a href="http://jigsaw.w3.org/css-validator/"><img src="http://jigsaw.w3.org/css-validator/images/vcss" width="88" height="31" alt="Valid CSS!" ></a>
+		<a href="http://jigsaw.w3.org/css-validator/"><img src="<?=$file_root?>/images/vcss.gif" width="88" height="31" alt="Valid CSS!" ></a>
 	</p>
 </td><td id="main">
 <?php


Commit: 411e65b0ad0e7b8cf47e5a9d7a254fb9f2ec4b9c
    https://github.com/scummvm/scummvm-web/commit/411e65b0ad0e7b8cf47e5a9d7a254fb9f2ec4b9c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:44+02:00

Commit Message:
OLDWEB: Avoid querying non-existent files

Changed paths:
    documentation.php
    downloads.php
    index.php
    screenshots.php
    subprojects.php



diff --git a/documentation.php b/documentation.php
index f25b78a..212f4af 100644
--- a/documentation.php
+++ b/documentation.php
@@ -20,7 +20,7 @@ sidebar_start();
 echo html_round_frame_start("ScummVM Documentation","");
 echo html_frame_start("","100%",1,1);
 
-$view = $HTTP_GET_VARS['view'];
+$view = $_GET['view'];
 
 if ($view and file_exists($file_root."/docs/".$view.".xml"))
 {
@@ -52,7 +52,7 @@ else
     // get list of documentation items
     $docs = get_files($file_root."/docs","xml");
     sort($docs);
-    
+
     // loop and display docs
     $c = 0;
     while (list($key,$item) = each($docs))
@@ -75,16 +75,16 @@ else
 							  "This page is the current TODO list for ScummVM.".html_br(2)."\n"
 							 )
 					  );
-    
+
 	// Hard code link to doxygen for now...
 	echo html_frame_tr(
 				html_frame_td(
-							  html_ahref("Source code documentation",$file_root."/docs/doxygen/html/index.php").html_br().
+							  html_ahref("Source code documentation",$file_root."/").html_br().
 							  "Cross referenced source code documentation for ScummVM, generated using".
 							  html_ahref("Doxygen","http://www.doxygen.org").html_br(2)."\n"
 							 )
 					  );
-    
+
 	// Hard code link to specs for now...
 	echo html_frame_tr(
 				html_frame_td(
@@ -93,14 +93,14 @@ else
 							   for Versions Five and Six (and above)".html_br(2)."\n"
 							 )
 					  );
-    
+
     // outro
     echo html_frame_tr(
                 html_frame_td(
                               html_line().html_p("Click the title of the section of the documentation you want to read.")
                              )
-                      );    
-    
+                      );
+
 }
 
 echo html_frame_end();
diff --git a/downloads.php b/downloads.php
index 85ddc85..fddc082 100644
--- a/downloads.php
+++ b/downloads.php
@@ -193,16 +193,16 @@ hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 
 	<ul>
 <!--
-	  <li><a href="/downloads/scummvm-daily.tar.bz2">Source Code Daily Snapshot Bzipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.tar.bz2")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.bz2")); ?>)</small></li>
-	  <li><a href="/downloads/scummvm-daily.tar.gz">Source Code Daily Snapshot Gzipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.tar.gz")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.tar.gz")); ?>)</small></li>
-	  <li><a href="/downloads/scummvm-daily.zip">Source Code Daily Snapshot Zipped</a> <small> (<?php echo intval(filesize("downloads/scummvm-daily.zip")/1024) ?>K file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvm-daily.zip")); ?>)</small></li>
+	  <li><a href="/downloads/scummvm-daily.tar.bz2">Source Code Daily Snapshot Bzipped</a> <small> (0K file, last update: None)</small></li>
+	  <li><a href="/downloads/scummvm-daily.tar.gz">Source Code Daily Snapshot Gzipped</a> <small> (0K file, last update: None)</small></li>
+	  <li><a href="/downloads/scummvm-daily.zip">Source Code Daily Snapshot Zipped</a> <small> (0K file, last update: None)</small></li>
 -->
-	  <li><a href="/downloads/scummvmwin32.exe">Win32 Daily Snapshot</a> <small> (<?php echo intval(filesize("downloads/scummvmwin32.exe")/1024) ?>K exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummvmwin32.exe")); ?>)</small></li>
+	  <li><a href="/downloads/scummvmwin32.exe">Win32 Daily Snapshot</a> <small> (0K exe file, last update: None)</small></li>
 <!--
-	  <li><a href="/downloads/ScummVM-snapshot.dmg">Mac OS X Snapshot</a> <small> (<?php echo intval(filesize("downloads/ScummVM-snapshot.dmg")/1024) ?>K dmg file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/ScummVM-snapshot.dmg")); ?>)</small></li>
+	  <li><a href="/downloads/ScummVM-snapshot.dmg">Mac OS X Snapshot</a> <small> (0K dmg file, last update: None)</small></li>
 -->
 	  <li><a href="http://arisme.free.fr/PocketScumm/daily/">PocketPC Builds</a> <small> (infrequent snapshots of the PocketPC binaries)</small></li>
-	  <li><a href="/downloads/PocketPC2003.zip">Alternative PocketPC 2003 build</a> <small> (infrequently from CVS HEAD, <?php echo intval(filesize("downloads/PocketPC2003.zip")/1024) ?>K zip file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/PocketPC2003.zip")); ?>)</small></li>
+	  <li><a href="/downloads/PocketPC2003.zip">Alternative PocketPC 2003 build</a> <small> (infrequently from CVS HEAD, 0K zip file, last update: None)</small></li>
 <!--  <li><a href="http://paras.rasmatazz.bei.t-online.de/">Dreamcast Daily Builds</a></li> -->
 	  <li><a href="http://sourceforge.net/cvs/?group_id=37116">CVS Instructions</a> <small> (for if you wish to retrieve the latest code to compile yourself)</small></li>
 	</ul>
diff --git a/index.php b/index.php
index e8afc36..1d284ad 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ require($file_root."/include/"."screenshots.php");
 html_header("ScummVM", '<script src="'.$file_root.'/screenshots.js" type="text/javascript"></script>');
 sidebar_start();
 
-$shownews = $HTTP_GET_VARS['shownews'];
+$shownews = $_GET['shownews'];
 
 // display welcome table
 // don't show this if we are in news mode
diff --git a/screenshots.php b/screenshots.php
index 32d8073..b24c8fe 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -24,8 +24,8 @@ echo html_round_frame_start("Screenshots","");
 
 <?php
 
-$view = $HTTP_GET_VARS['view'];
-$offset = $HTTP_GET_VARS['offset'];
+$view = $_GET['view'];
+$offset = $_GET['offset'];
 
 // if in single view
 if ($view != "")
diff --git a/subprojects.php b/subprojects.php
index c576539..5ac61c6 100644
--- a/subprojects.php
+++ b/subprojects.php
@@ -35,7 +35,7 @@ a very welcome...
 <P>
 You can try compiled engine for Windows:
 </P>
-<a href="downloads/scummexwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <?php echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/scummexwin32.exe")); ?>)</small></li>
+<a href="downloads/scummexwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, 0K Win32 .exe file, last update: None)</small></li>
 
 <BR>
 
@@ -53,7 +53,7 @@ as such is progressing slowly.
 <P>
 You can try compiled engine for Windows:
 </P>
-<a href="downloads/residualwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, <?php echo intval(filesize("downloads/residualwin32.exe")/1024) ?>K Win32 .exe file, last update: <?php echo date("F j, Y, g:i a",filemtime("downloads/residualwin32.exe")); ?>)</small></li>
+<a href="downloads/residualwin32.exe">Windows Daily Snapshot</a> <small> (build from CVS HEAD, 0K Win32 .exe file, last update: None)</small></li>
 <?php
 echo html_round_frame_end(" ");
 


Commit: 3fb736c9dd91afa6b96b30c5f6294ac3b246f1cf
    https://github.com/scummvm/scummvm-web/commit/3fb736c9dd91afa6b96b30c5f6294ac3b246f1cf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:11:55+02:00

Commit Message:
OLDWEB: Fix PHP incompatibilities

Changed paths:
    compatibility.php
    compatibility_stable.php
    documentation.php
    include/html.php
    index.php
    screenshots.php



diff --git a/compatibility.php b/compatibility.php
index 9985021..abbc057 100644
--- a/compatibility.php
+++ b/compatibility.php
@@ -362,7 +362,7 @@ if ($details) {
 		{
 			if ($c % 2 == 0) { $color = "color2"; } else { $color = "color0"; }
 			echo html_frame_tr(
-						html_frame_td(html_ahref($name, $PHP_SELF."?details=".$array[0])).
+						html_frame_td(html_ahref($name, $_SERVER["PHP_SELF"]."?details=".$array[0])).
 						html_frame_td($array[0]).
 						html_frame_td($array[1]."%", 'align="center" class="pct'.($array[1] - ($array[1]%5)).'"'),
 						$color
@@ -387,7 +387,7 @@ if ($details) {
 echo html_frame_end(" ");
 
 if ($details)
-    echo html_p(),html_back_link(1,$PHP_SELF);
+    echo html_p(),html_back_link(1,$_SERVER["PHP_SELF"]);
 
 echo html_p();
 echo html_round_frame_end(" ");
diff --git a/compatibility_stable.php b/compatibility_stable.php
index 1611c91..d071bcd 100644
--- a/compatibility_stable.php
+++ b/compatibility_stable.php
@@ -362,7 +362,7 @@ if ($details) {
 		{
 			if ($c % 2 == 0) { $color = "color2"; } else { $color = "color0"; }
 			echo html_frame_tr(
-						html_frame_td(html_ahref($name, $PHP_SELF."?details=".$array[0])).
+						html_frame_td(html_ahref($name, $_SERVER["PHP_SELF"]."?details=".$array[0])).
 						html_frame_td($array[0]).
 						html_frame_td($array[1]."%", 'align="center" class="pct'.($array[1] - ($array[1]%5)).'"'),
 						$color
@@ -387,7 +387,7 @@ if ($details) {
 echo html_frame_end(" ");
 
 if ($details)
-    echo html_p(),html_back_link(1,$PHP_SELF);
+    echo html_p(),html_back_link(1,$_SERVER["PHP_SELF"]);
 
 echo html_p();
 echo html_round_frame_end(" ");
diff --git a/documentation.php b/documentation.php
index 212f4af..94d4a5f 100644
--- a/documentation.php
+++ b/documentation.php
@@ -61,7 +61,7 @@ else
         list($file,$ext) = split("\.",$item,2);
         echo html_frame_tr(
                     html_frame_td(
-                                  html_ahref(display_xml($file_root."/docs/".$item,'NAME'),"$PHP_SELF?view=$file").html_br().
+                                  html_ahref(display_xml($file_root."/docs/".$item,'NAME'),$_SERVER["PHP_SELF"]."?view=$file").html_br().
                                   display_xml($file_root."/docs/".$item,'DESC').html_br(2)."\n"
                                  )
                           );
diff --git a/include/html.php b/include/html.php
index 1cba830..e50ab7b 100644
--- a/include/html.php
+++ b/include/html.php
@@ -248,8 +248,7 @@ function html_form_submit ($value = "")
 
 function html_form_js_button ($url = null)
 {
-	global $PHP_SELF;
-	if (!$url) { $url = $PHP_SELF; }
+	if (!$url) { $url = $_SERVER["PHP_SELF"]; }
 	$str = '<input type=button value=" << Back " name="jsback" onClick="javascript:self.location=\''.$url.'\';">'."\n";
 	return $str;
 }
diff --git a/index.php b/index.php
index 1d284ad..891e77b 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ require($file_root."/include/"."screenshots.php");
 html_header("ScummVM", '<script src="'.$file_root.'/screenshots.js" type="text/javascript"></script>');
 sidebar_start();
 
-$shownews = $_GET['shownews'];
+$shownews = empty($_GET['shownews']) ? 0 : 1;
 
 // display welcome table
 // don't show this if we are in news mode
diff --git a/screenshots.php b/screenshots.php
index b24c8fe..28cc483 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -24,8 +24,8 @@ echo html_round_frame_start("Screenshots","");
 
 <?php
 
-$view = $_GET['view'];
-$offset = $_GET['offset'];
+$view = empty($_GET['view']) ? "" : $_GET['view'];
+$offset = empty($_GET['offset']) ? 0 : $_GET['offset'];
 
 // if in single view
 if ($view != "")
@@ -79,7 +79,7 @@ $where = 0;
 		// display image
 		echo html_frame_td(
 				   '<table cellpadding="0" cellspacing="0"><tr><td align="center">'.
-				   '<a href="'.$PHP_SELF."?view=".$c.'&offset='.$offset.'">'.
+				   '<a href="'.$_SERVER["PHP_SELF"]."?view=".$c.'&offset='.$offset.'">'.
 				   '<img src="'.screenshot_thumb_path($c).'" '.
 				   'width="'.$thumb_w.'" height="'.$thumb_h.'" alt="Screenshot '.$c.'"></a>'.
 				   '</td></tr><tr><td align="center">'.
@@ -114,7 +114,7 @@ $where = 0;
 	if ($offset)
 	{
 		$prev = $offset - 4;
-		$prevLink = html_ahref("<< Prev 4 Images",$PHP_SELF."?offset=".$prev,"style='color: white;'");
+		$prevLink = html_ahref("<< Prev 4 Images",$_SERVER["PHP_SELF"]."?offset=".$prev,"style='color: white;'");
 
 	}
 
@@ -122,7 +122,7 @@ $where = 0;
 	if (($offset + 4) < $screenshots_count)
 	{
 		$next = $where + 1;
-		$nextLink = html_ahref("Next 4 Images >>",$PHP_SELF."?offset=".$next,"style='color: white;'");
+		$nextLink = html_ahref("Next 4 Images >>",$_SERVER["PHP_SELF"]."?offset=".$next,"style='color: white;'");
 	}
 
 	echo html_frame_tr(


Commit: d0dbd4ec6ce602b0288219609b716e1a27f819c4
    https://github.com/scummvm/scummvm-web/commit/d0dbd4ec6ce602b0288219609b716e1a27f819c4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:12:04+02:00

Commit Message:
OLDWEB: Fix error

Changed paths:
    screenshots.php



diff --git a/screenshots.php b/screenshots.php
index 28cc483..3f0088f 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -107,7 +107,7 @@ $where = 0;
 
 	echo "</tr>";
 
-	$nextLink = " ";
+	$prevLink = " ";
 	$nextLink = " ";
 
 	// display prev link


Commit: a39204e545d84e969ca7602167fbf174d18a20b9
    https://github.com/scummvm/scummvm-web/commit/a39204e545d84e969ca7602167fbf174d18a20b9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:12:10+02:00

Commit Message:
OLDWEB: Fix zero index screenshots

Changed paths:
    index.php
    screenshots.php



diff --git a/index.php b/index.php
index 891e77b..fe9836a 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ require($file_root."/include/"."screenshots.php");
 html_header("ScummVM", '<script src="'.$file_root.'/screenshots.js" type="text/javascript"></script>');
 sidebar_start();
 
-$shownews = empty($_GET['shownews']) ? 0 : 1;
+$shownews = isset($_GET['shownews']) ? 1 : 0;
 
 // display welcome table
 // don't show this if we are in news mode
diff --git a/screenshots.php b/screenshots.php
index 3f0088f..945db11 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -24,11 +24,13 @@ echo html_round_frame_start("Screenshots","");
 
 <?php
 
-$view = empty($_GET['view']) ? "" : $_GET['view'];
-$offset = empty($_GET['offset']) ? 0 : $_GET['offset'];
+$view = isset($_GET['view']) ? $_GET['view'] : -1;
+$offset = isset($_GET['offset']) ? $_GET['offset'] : -1;
+
+print "view: $view\noffset: $offset\n";
 
 // if in single view
-if ($view != "")
+if ($view != -1)
 {
 	if (!is_numeric($view))
 	{


Commit: b4e8cf633c6a7f3a47914b3f74582f8b1aa8fbcd
    https://github.com/scummvm/scummvm-web/commit/b4e8cf633c6a7f3a47914b3f74582f8b1aa8fbcd
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:12:17+02:00

Commit Message:
OLDWEB: Remove debug output

Changed paths:
    screenshots.php



diff --git a/screenshots.php b/screenshots.php
index 945db11..da1ae39 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -27,8 +27,6 @@ echo html_round_frame_start("Screenshots","");
 $view = isset($_GET['view']) ? $_GET['view'] : -1;
 $offset = isset($_GET['offset']) ? $_GET['offset'] : -1;
 
-print "view: $view\noffset: $offset\n";
-
 // if in single view
 if ($view != -1)
 {


Commit: eacac37a57d49ce6f510ae85635e57802c4b00a9
    https://github.com/scummvm/scummvm-web/commit/eacac37a57d49ce6f510ae85635e57802c4b00a9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:12:21+02:00

Commit Message:
OLDWEB: Fix one more obsolete variable reference

Changed paths:
    screenshots.php



diff --git a/screenshots.php b/screenshots.php
index da1ae39..05380fb 100644
--- a/screenshots.php
+++ b/screenshots.php
@@ -53,7 +53,7 @@ if ($view != -1)
 			),
 	     html_frame_tr(
 				html_frame_td(
-			   		html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"style='color: white;'"),
+			   		html_ahref("  << Back",$_SERVER["PHP_SELF"]."?offset=".$offset,"style='color: white;'"),
 					'align=left class="color4"'
 				)
 			),


Commit: caac28959d3b0fba66d1051b9182fac8cddca70c
    https://github.com/scummvm/scummvm-web/commit/caac28959d3b0fba66d1051b9182fac8cddca70c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-04-09T15:12:37+02:00

Commit Message:
OLDWEB: Fix undefined value warning

Changed paths:
    documentation.php



diff --git a/documentation.php b/documentation.php
index 94d4a5f..de6f69b 100644
--- a/documentation.php
+++ b/documentation.php
@@ -20,7 +20,7 @@ sidebar_start();
 echo html_round_frame_start("ScummVM Documentation","");
 echo html_frame_start("","100%",1,1);
 
-$view = $_GET['view'];
+$view = isset($_GET['view']) ? $_GET['view'] : "";
 
 if ($view and file_exists($file_root."/docs/".$view.".xml"))
 {






More information about the Scummvm-git-logs mailing list