[Scummvm-cvs-logs] CVS: web compatibility.php,1.462,1.463 compatibility_stable.php,1.20,1.21 contact.php,1.30,1.31 credits.inc,1.18,1.19 credits.php,1.19,1.20 demos.php,1.63,1.64 documentation.php,1.16,1.17 downloads.php,1.145,1.146 faq.php,1.48,1.49 favicon.ico,1.2,1.3 index.php,1.29,1.30 links.php,1.54,1.55 press.php,1.31,1.32 screenshots.php,1.16,1.17 subprojects.php,1.10,1.11 donations.php,1.7,NONE screenshots.js,1.2,NONE status.php,1.8,NONE styles.css,1.23,NONE

Eugene Sandulenko sev at users.sourceforge.net
Sat Nov 12 16:31:01 CET 2005


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14873

Modified Files:
	compatibility.php compatibility_stable.php contact.php 
	credits.inc credits.php demos.php documentation.php 
	downloads.php faq.php favicon.ico index.php links.php 
	press.php screenshots.php subprojects.php 
Removed Files:
	donations.php screenshots.js status.php styles.css 
Log Message:
New website design.


Index: compatibility.php
===================================================================
RCS file: /cvsroot/scummvm/web/compatibility.php,v
retrieving revision 1.462
retrieving revision 1.463
diff -u -d -r1.462 -r1.463
--- compatibility.php	5 Nov 2005 04:20:08 -0000	1.462
+++ compatibility.php	13 Nov 2005 00:29:57 -0000	1.463
@@ -12,27 +12,28 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Compatibility - CVS");
-sidebar_start();
+html_page_header('ScummVM :: Compatibility - CVS');
 
-//display welcome table
-echo html_round_frame_start("Compatibility","");
+html_content_begin('CVS Compatibility');
 
 if (isset($_GET['details'])) {
 	$details = $_GET['details'];
 }
 
 ?>
-	<h1>Compatibility</h1>
-<?
-if ($details)
-{
+  <div class="par-item">
+
+<?php
+
+if ($details) {
+
+  echo '<div class="par-content">';
 
 }
-else
-{
+else {
 ?>
-	<p>
+    <div class="par-intro">
+<br/>
 	  This page lists the progress of ScummVM as it relates to individual game compatibility.<br>
 	  Click on the game name to view the complete notes of a game.
 
@@ -45,11 +46,15 @@
 	  It is highly recommended to use the latest stable release, where possible.
 	  <br><br>
 	  <small>Last Updated: <? echo date("F d, Y",getlastmod()); ?></small>
-	</p>
+<br/>
+<br/>
+    </div>
+<br/>
+    <div class="par-content">
 
 <?
 	// Display the Color Key Table
-	echo html_frame_start("Color Key","50%",1,1,"color4");
+	echo html_frame_start("Color Key","85%",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);
 	while (list($key,$num) = each($pcts))
 	{
@@ -350,7 +355,7 @@
 } else {
 	// List mode -- show all games
 	function displayGameList($title, $games) {
-		echo html_frame_start("$title Game Compatibility Chart","90%",2,1,"color4");
+		echo html_frame_start("$title Game Compatibility Chart","95%",2,1,"color4");
 		echo html_frame_tr(
 			   html_frame_td("Game Full Name").
 			   html_frame_td("Game Short Name").
@@ -385,16 +390,15 @@
 }
 
 echo html_frame_end(" ");
-  
-if ($details)
-    echo html_p(),html_back_link(1,$PHP_SELF);
 
-echo html_p();
-echo html_round_frame_end(" ");
+if ($details)
+  echo '<p class="bottom-link"><a href="javascript:history.back(1)"><<Back</a></p>'."\n";
 
+echo " <br/>";
+echo "  </div>\n";
+echo "</div>\n";
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: compatibility_stable.php
===================================================================
RCS file: /cvsroot/scummvm/web/compatibility_stable.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- compatibility_stable.php	30 Oct 2005 16:05:49 -0000	1.20
+++ compatibility_stable.php	13 Nov 2005 00:29:57 -0000	1.21
@@ -12,27 +12,28 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Compatibility - 0.8.0");
-sidebar_start();
+html_page_header('ScummVM :: Compatibility - 0.8.0');
 
-//display welcome table
-echo html_round_frame_start("Compatibility","");
+html_content_begin('0.8.0 Compatibility');
 
 if (isset($_GET['details'])) {
 	$details = $_GET['details'];
 }
 
 ?>
-	<h1>Compatibility</h1>
-<?
-if ($details)
-{
+  <div class="par-item">
+
+<?php
+
+if ($details) {
+
+  echo '<div class="par-content">';
 
 }
-else
-{
+else {
 ?>
-	<p>
+    <div class="par-intro">
+<br/>
 	  This page lists the progress of ScummVM as it relates to individual game compatibility.<br>
 	  Click on the game name to view the complete notes of a game.
 
@@ -42,11 +43,15 @@
 	  href="compatibility.php">CVS Compatibility</A> chart.
 	  <br><br>
 	  <small>Last Updated: <? echo date("F d, Y",getlastmod()); ?></small>
-	</p>
+<br/>
+<br/>
+    </div>
+<br/>
+    <div class="par-content">
 
 <?
 	// Display the Color Key Table
-	echo html_frame_start("Color Key","50%",1,1,"color4");
+	echo html_frame_start("Color Key","85%",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);
 	while (list($key,$num) = each($pcts))
 	{
@@ -350,7 +355,7 @@
 } else {
 	// List mode -- show all games
 	function displayGameList($title, $games) {
-		echo html_frame_start("$title Game Compatibility Chart","90%",2,1,"color4");
+		echo html_frame_start("$title Game Compatibility Chart","95%",2,1,"color4");
 		echo html_frame_tr(
 			   html_frame_td("Game Full Name").
 			   html_frame_td("Game Short Name").
@@ -385,16 +390,15 @@
 }
 
 echo html_frame_end(" ");
-  
-if ($details)
-    echo html_p(),html_back_link(1,$PHP_SELF);
 
-echo html_p();
-echo html_round_frame_end(" ");
+if ($details)
+  echo '<p class="bottom-link"><a href="javascript:history.back(1)"><<Back</a></p>'."\n";
 
+echo " <br/>";
+echo "  </div>\n";
+echo "</div>\n";
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: contact.php
===================================================================
RCS file: /cvsroot/scummvm/web/contact.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- contact.php	14 Oct 2003 13:11:17 -0000	1.30
+++ contact.php	13 Nov 2005 00:29:57 -0000	1.31
@@ -1,11 +1,5 @@
 <?
 
-/*
- * Contact Page for ScummVM
- * by Jeremy Newman <jnewman at dracowulf.com>
- *
- */
-
 // set this for position of this file relative
 $file_root = ".";
 
@@ -13,38 +7,51 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Contact");
-sidebar_start();
+html_page_header('ScummVM :: Contact');
 
-//display welcome table
-echo html_round_frame_start("Contact","");
+html_content_begin('Contact');
 
 ?>
-	<h1>Contact</h1>
+  <div class="par-item">
+    <div class="par-intro">
 	<p>
+	<br/>
 		<b>Please do not contact the team for questions about using ScummVM. Instead use the
-		<a href="http://sourceforge.net/forum/?group_id=37116">forums</a> or the
-		<a href="http://sourceforge.net/tracker/?group_id=37116äatid=418820">bug reporting system</a>!</b><br>
+		<a href="http://forums.scummvm.org/">forums</a> or the
+		<a href="http://sourceforge.net/tracker/?group_id=37116äatid=418820">bug reporting system</a>!</b><br/><br/>
 	</p>
+    </div>
 	<br>
 
-	<h2>IRC channel</h2>
+<?php html_subhead_start("IRC channel"); ?>
+
+    <div class="par-subhead-content">
 	<p>
 		The #scummvm IRC channel on <a href="http://freenode.net/irc_servers.shtml">irc.freenode.net</a> is also a good
 		place to ask questions. Many ScummVM developers hang out there regularly, as well as many ScummVM users.
 	</p>
 	<br>
-	
-	<h2>Forums</h2>
+
+    </div>	
+
+    <?php html_subhead_start("Forums"); ?>
+
+    <div class="par-subhead-content">
 	<p>
-	We offer two <a href="http://sourceforge.net/forum/?group_id=37116">forums</a> hosted by SourceForge.net.
-	Use the <a href="http://sourceforge.net/forum/forum.php?forum_id=115757">help forum</a> if you encounter problems using ScummVM.
-	The <a href="http://sourceforge.net/forum/forum.php?forum_id=115756">open discussion forum</a> is, as the name suggests,
-	meant for open discussion of any topics somehow related to ScummVM.
+	We offer several <a href="http://forums.scummvm.org/">forums</a>.
+	Use the <a href="http://forums.scummvm.org/viewforum.php?f=2>Help and Support forum</a> if you encounter problems using ScummVM.
+	The <a href="http://forums.scummvm.org/viewforum.php?f=1">General discussion forum</a> is, as the name suggests,
+	meant for general discussion of any topics somehow related to ScummVM.
+  Also there are some platform-specific forums and <a href="http://forums.scummvm.org/viewforum.php?f=8">the Junkyard</a>.
 	</p>
+	<p><b>Don't forget to read <a href="http://forums.scummvm.org/viewtopic.php?t=17">Forum Rules</a> before your first post.</b></p>
 	<br>
 	
-	<h2>Bug reports, feature requests, patches</h2>
+    </div>	
+
+<?php html_subhead_start("Bug reports, feature requests, patches"); ?>
+
+    <div class="par-subhead-content">
 	<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>.
 	Maybe a similar bug has already been filed, in which case you can add a comment to that bug report. If not, you can submit a new
@@ -60,18 +67,21 @@
 	</p>
 	<br>
     
-	<h2>Mailing list</h2>
+    </div>	
+
+<?php html_subhead_start("Mailing lists"); ?>
+
+    <div class="par-subhead-content">
 	<p>
 	There are three ScummVM related  <a href="http://sourceforge.net/mail/?group_id=37116">mailing lists</a>.
 	Two of them are for automated content only. The one where you can send emails to yourself is scummvm-devel.
 	</p>
+    </div>
+  </div>
 
 <?
 
-echo html_round_frame_end(" ");
-
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: credits.inc
===================================================================
RCS file: /cvsroot/scummvm/web/credits.inc,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- credits.inc	9 Nov 2005 00:59:31 -0000	1.18
+++ credits.inc	13 Nov 2005 00:29:57 -0000	1.19
@@ -1,6 +1,5 @@
 <!-- This file was generated by credits.pl. Do not edit by hand! -->
-<h1>Credits</h1>
-<table border='0' cellpadding='5' cellspacing='0' style='margin-left: 3em;'>
+<table border='0' cellpadding='5' cellspacing='0'>
 <tr><td colspan=3><h2>The ScummVM team:</h2></td></tr>
 <tr><td>James Brown</td><td>[ endy ]</td><td>Lead developer</td>
 <tr><td>Max Horn</td><td>[ fingolfin ]</td><td>Lead developer</td>

Index: credits.php
===================================================================
RCS file: /cvsroot/scummvm/web/credits.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- credits.php	22 Dec 2004 01:46:53 -0000	1.19
+++ credits.php	13 Nov 2005 00:29:57 -0000	1.20
@@ -12,18 +12,27 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Credits");
-sidebar_start();
+html_page_header('ScummVM :: Credits');
 
-//display welcome table
-echo html_round_frame_start("Credits","");
+html_content_begin('Credits');
+
+?>
+<div class="par-item">
+  <div class="par-head">
+    Credits
+  </div>
+  <div class="par-content">
+
+  <div class="credits-table">
+<?php
 
 include $file_root."/credits.inc";
 
-echo html_round_frame_end(" ");
+echo "     </div>\n";
+echo "  </div>\n";
+echo "</div>\n";
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: demos.php
===================================================================
RCS file: /cvsroot/scummvm/web/demos.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- demos.php	31 Oct 2005 14:10:14 -0000	1.63
+++ demos.php	13 Nov 2005 00:29:57 -0000	1.64
@@ -12,19 +12,46 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Game Demos");
-sidebar_start();
-
-//display welcome table
-echo html_round_frame_start("Game Demos","");
+html_page_header('ScummVM :: Game Demos');
 
+html_content_begin('Game Demos');
 
 ?>
-	<h1>Game Demos</h1>
-	<p>
-	  This page lists links to demos of various games, please contact us if you have a copy of any demo not listed here,<br><br>
-	  Beneath A Steel Sky demos aren't going to be supported for technical reasons.<br><br>
-	</p>
+<div class="par-item">
+  <div class="par-intro">
+  <br />
+       <table border=0>
+	  <tr><td width="35%">
+
+    <div class="navigation">
+       Navigation
+
+       <div class="nav-dots">
+	   
+       </div>
+
+<table border=0>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#lec">LucasArts Demos</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#he">Humongous Entertainment Demos</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#other">Miscellaneous Demos</a></td></tr>
+
+</table>
+
+</td>
+<td>
+  This page lists links to demos of various games, please contact us if you have a copy of any demo not listed here,<br><br>
+  Beneath A Steel Sky demos aren't going to be supported for technical reasons.<br><br>
+</td></tr>
+</table>
+
+  <br />
+
+</div>
+
+  <br />
+  <br />
+
+  <div class="par-content">
 
 <?
 
@@ -173,17 +200,20 @@
 	}
 
 echo html_frame_end(" ");
-echo html_p();
+echo "<p> </p>";
 }
 
+echo "<a name='lec'></a>\n";
 render_demos("LucasArts Demos", $LEC_demos);
-render_demos("Humongous Demos", $HE_demos);
+echo "<a name='he'></a>\n";
+render_demos("Humongous Entertainment Demos", $HE_demos);
+echo "<a name='other'></a>\n";
 render_demos("Miscellaneous Demos", $MISC_demos);
 
-echo html_round_frame_end(" ");
+echo "  </div>\n";
+echo "</div>\n";
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: documentation.php
===================================================================
RCS file: /cvsroot/scummvm/web/documentation.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- documentation.php	30 Oct 2005 15:43:12 -0000	1.16
+++ documentation.php	13 Nov 2005 00:29:57 -0000	1.17
@@ -13,102 +13,76 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM");
-sidebar_start();
+html_page_header('ScummVM :: Documentation');
 
-//display News
-echo html_round_frame_start("ScummVM Documentation","");
-echo html_frame_start("","100%",1,1);
+html_content_begin('ScummVM Documentation');
+
+echo '<div class="par-item">';
 
 $view = $HTTP_GET_VARS['view'];
 
-if ($view and file_exists($file_root."/docs/".$view.".xml"))
-{
-	// First extract the body from the XML file
-	$html = display_xml($file_root."/docs/".$view.".xml",'BODY');
-	// Now evaluate any PHP code embedded into it, and output the result
-	echo '<tr valign="top" class="color2"><td>';
-	echo eval("?>" . $html . "<?php ");
-	echo "</td></tr>";
-}
-else
-{
-    // intro
-    echo html_frame_tr(
-                html_frame_td(
-                              "<h1>Documentation</h1>".html_br()
-                             )
-                      );
+if ($view and file_exists($file_root."/docs/".$view.".xml")) {
+  echo  '  <div class="par-head">';
+  echo display_xml($file_root."/docs/".$view.".xml",'NAME');
+  echo  '  </div>';
+  echo '  <div class="par-content">';
+  // extract the body from the XML file
+  $html = display_xml($file_root."/docs/".$view.".xml",'BODY');
+  // Now evaluate any PHP code embedded into it, and output the result
+  echo eval("?>" . $html . "<?php ");
+  echo "<br/>";
+} else {
+?>
+  <div class="par-intro">
+    <br />
+    Click the title of the section of the documentation you want to read.
+    <br />
+    <br />
+  </div>
 
-	// Hard code link to README for now...
-	echo html_frame_tr(
-				html_frame_td(
-							  html_ahref("README 0.8.0","http://cvs.sourceforge.net/viewcvs.py/scummvm/scummvm/README?rev=release-0-8-0").html_br().
-							  "The ScummVM README, for version 0.8.0.".html_br(2)."\n"
-							 )
-					  );
+  <div class="par-content">
+  <br/>
 
+  <a href='http://cvs.sourceforge.net/viewcvs.py/scummvm/scummvm/README?rev=release-0-8-0'>README 0.8.0</a><br />
+  The ScummVM README, for version 0.8.0<br /><br />
+<?php
 
-    // get list of documentation items
-    $docs = get_files($file_root."/docs","xml");
-    sort($docs);
+
+  // 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))
-    {
-        $c++;
-        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().
-                                  display_xml($file_root."/docs/".$item,'DESC').html_br(2)."\n"
-                                 )
-                          );
-    } // end of docs loop
+  // loop and display docs
+  $c = 0;
+  while (list($key,$item) = each($docs)) {
+    $c++;
+    list($file,$ext) = split("\.",$item,2);
 
+    echo "<a href='?view=$file'>".display_xml($file_root."/docs/".$item,'NAME')."</a><br />\n";
+    echo display_xml($file_root."/docs/".$item,'DESC')."<br /><br />\n";
+  } // end of docs loop
 
-	// Hard code link to TODO for now...
-	echo html_frame_tr(
-				html_frame_td(
-							  html_ahref("ScummVM current areas of focus","http://cvs.sourceforge.net/viewcvs.py/*checkout*/scummvm/scummvm/TODO?rev=HEAD").html_br().
-							  "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().
-							  "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(
-							  html_ahref("The inComplete SCUMM Reference Guide",$file_root."/docs/specs/index.php").html_br().
-							  "being a Partially Complete and Mostly Accurate guide to the SCUMM Engine data file Format
-							   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.")
-                             )
-                      );    
-    
+
+?>
+  <a href='http://cvs.sourceforge.net/viewcvs.py/*checkout*/scummvm/scummvm/TODO?rev=HEAD'>ScummVM current areas of focus</a><br />
+  This page is the current TODO list for ScummVM.<br /><br />
+
+  <a href='$file_root/docs/doxygen/html/index.php'>Source code documentation</a><br />
+  Cross referenced source code documentation for ScummVM, generated using
+  <a href='http://www.doxygen.org'>Doxygen</a>.<br /><br />
+
+<?php
+
+  // Hard code link to specs for now...
+  echo "<a href='$file_root/docs/specs/index.php'>The inComplete SCUMM Reference Guide</a><br />\n";
+  echo "being a Partially Complete and Mostly Accurate guide to the SCUMM Engine data file Format for Versions Five and Six (and above)<br /><br />\n";
+
+  echo "  </div>\n";
 }
 
-echo html_frame_end();
-echo html_round_frame_end(" ");
-//end of docs display
+echo "</div>\n";
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: downloads.php
===================================================================
RCS file: /cvsroot/scummvm/web/downloads.php,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- downloads.php	9 Nov 2005 23:32:03 -0000	1.145
+++ downloads.php	13 Nov 2005 00:29:57 -0000	1.146
@@ -13,23 +13,48 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Downloads");
-sidebar_start();
+html_page_header('ScummVM :: Downloads');
 
-//display welcome table
-echo html_round_frame_start("Download ScummVM","");
+html_content_begin('Download ScummVM');
 
 ?>
-	<h1>Downloads for ScummVM <span style="color: gray;">version 0.8.0</span></h1>
+  <div class="par-item">
+    <div class="par-head">
+       Downloads for ScummVM <span style="color: #aaaaaa;">version 0.8.0</span>
+    </div>
 
-	<p>
+    <div class="par-intro">
+	<br/>
+
+       <table border=0>
+	  <tr><td width="35%">
+
+    <div class="navigation">
+       Navigation
+
+       <div class="nav-dots">
+	   
+       </div>
+
+<table border=0>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#stable">0.8.0 Release binaries</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#source">0.8.0 Source Code</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#tools">0.8.0 Tools</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#older">Older versions</a></td></tr>
+       <tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#extras">Extras, game downloads</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#CVS">CVS Builds</a></td></tr>
+	<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href="#libs">Libraries</a></td></tr>
+
+</table>
+
+</td>
+<td>
 	  Downloads are hosted with SourceForge.net. If you have one of the supported systems, you can directly download
 	  the appropriate binary distribution. If you have another system, download the source and read the
 	  <a href="http://cvs.sourceforge.net/viewcvs.py/scummvm/scummvm/README?rev=release-0-8-0">README</a>
 	  file for directions on how to build ScummVM.
 	  If you have successfully ported ScummVM to a platform not listed, please drop us a note, telling which OS, etc.
 	  you used.
-	</p>
 
 	<p>
 	<UL>
@@ -44,142 +69,183 @@
 	freeware games 'Beneath a Steel Sky' and 'Flight of the Amazon Queen', along with
 	cutscene packs recommended for use when playing Broken Sword 1 or 2 under ScummVM</LI>
 	</UL>
+</td></tr>
+</table>
+
+	<br/>
+    </div>
 
-	<hr>
 	<a name="stable"></a>
-	<h3>0.8.0 Release binaries</h3>
+	<br/>
+    <?php html_subhead_start("0.8.0 Release binaries"); ?>
+
+    <div class="par-subhead-content">
+
 	<p>For a list of changes since the previous version, <a href="http://sourceforge.net/project/shownotes.php?release_id=366764">read the release notes</a>.
 	<BR>
 	0.8.0 should be directly apt-get'able from Debian unstable (etch), and more packages for other platforms will be available in the upcoming week
 	</p>
 
-	<ul>
-	  <li><B><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-win32.exe?download">Windows Installer</a></B> <small>(1.4M Win32 .exe)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-win32.zip?download">Windows zipfile</a> <small>(1.4M zipfile)</small></li>
+	<table>
+	  <tr><td class='cat-bullet'><img src='images/catpl-windows.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-win32.exe?download"><b>Windows Installer</b></a> <font class='cat-count'>(1.4M Win32 .exe)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-windows.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-win32.zip?download">Windows zipfile</a> <font class='cat-count'>(1.4M zipfile)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1_FC4.i386.rpm?download">Fedora Core 4 package</a> <small>(1.4M RPM)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1_FC2.i386.rpm?download">Fedora Core 2 package</a> <small>(1.6M RPM)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-fedora.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1_FC4.i386.rpm?download">Fedora Core 4 package</a> <font class='cat-count'>(1.4M RPM)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-fedora.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1_FC2.i386.rpm?download">Fedora Core 2 package</a> <font class='cat-count'>(1.6M RPM)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm_0.8.0-0.sarge.1_i386.deb?download">Debian Stable (sarge) package</a> <small>(1.4M .deb)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-debian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm_0.8.0-0.sarge.1_i386.deb?download">Debian Stable (sarge) package</a> <font class='cat-count'>(1.4M .deb)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0_slack-i486-1.tgz?download">SlackWare package</a> <small>(1.5M .tgz)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-slackware.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0_slack-i486-1.tgz?download">SlackWare package</a> <font class='cat-count'>(1.5M .tgz)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1mdk.i586.rpm?download">Mandriva 2006 package</a> <small>(1.3M RPM)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-mandriva.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1mdk.i586.rpm?download">Mandriva 2006 package</a> <font class='cat-count'>(1.3M RPM)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0a-macosx.dmg?download">Mac OS X Disk Image (0.8.0a)</a> <small>(2.2M disk image)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-macos.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0a-macosx.dmg?download">Mac OS X Disk Image (0.8.0a)</a> <font class='cat-count'>(2.2M disk image)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-os2r1.zip?download">OS/2 package</a> <small>(4.2M .zip)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-os2.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-os2r1.zip?download">OS/2 package</a> <font class='cat-count'>(4.2M .zip)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw1.00.zip?download">PSP package for FW 1.00</a> <small>(1.7M .zip)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw1.50.zip?download">PSP package for FW 1.50</a> <small>(1.7M .zip)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw2.00.zip?download">PSP package for FW 2.00</a> <small>(1.7M .zip)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-psp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw1.00.zip?download">PSP package for FW 1.00</a> <font class='cat-count'>(1.7M .zip)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-psp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw1.50.zip?download">PSP package for FW 1.50</a> <font class='cat-count'>(1.7M .zip)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-psp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-psp-fw2.00.zip?download">PSP package for FW 2.00</a> <font class='cat-count'>(1.7M .zip)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S60-v1.sis?download">Symbian S60 version 1 binary</a> <small>(1.0M .sis)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S60-v2.sis?download">Symbian S60 version 2 binary</a> <small>(1.0M .sis)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S80.sis?download">Symbian S80 binary</a> <small>(1.1M .sis)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S90.sis?download">Symbian S90 binary</a> <small>(1.1M .sis)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-UIQ.sis?download">Symbian UIQ binary</a> <small>(1.1M .sis)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S60-v1.sis?download">Symbian S60 version 1 binary</a> <font class='cat-count'>(1.0M .sis)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S60-v2.sis?download">Symbian S60 version 2 binary</a> <font class='cat-count'>(1.0M .sis)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S80.sis?download">Symbian S80 binary</a> <font class='cat-count'>(1.1M .sis)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-S90.sis?download">Symbian S90 binary</a> <font class='cat-count'>(1.1M .sis)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-UIQ.sis?download">Symbian UIQ binary</a> <font class='cat-count'>(1.1M .sis)</font></td></tr>
 
 <!--
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-palmos.zip?download">PalmOS binary</a> <small>(1.9M zipfile)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-palmos.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-palmos.zip?download">PalmOS binary</a> <font class='cat-count'>(1.9M zipfile)</font></td></tr>
 -->
 
-	  <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>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><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 <font class='cat-count'>(1.4M zipfile)</font></td></tr>
 
-	  <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>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-morphos.lha?download">0.8.0 MorphOS package</a> <small>(2.4M .lha)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-amiga.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-amigaos4.lha?download">AmigaOS 4 package</a> <font class='cat-count'>(3.3M .lha)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-morphos.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-morphos.lha?download">MorphOS package</a> <font class='cat-count'>(2.4M .lha)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-dreamcast-plainfiles.tar.bz2?download">Dreamcast plain files</a> <small>(2.6M .tar.bz2)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-dc.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-dreamcast-plainfiles.tar.bz2?download">Dreamcast plain files</a> <font class='cat-count'>(2.6M .tar.bz2)</font></td></tr>
 <!--
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-dreamcast-nero+demos.zip?download">Dreamcast Nero Image & Demos</a> <small>4.7M zipfile</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-dc.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-dreamcast-nero+demos.zip?download">Dreamcast Nero Image & Demos</a> <font class='cat-count'>4.7M zipfile</font></td></tr>
 -->
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-beos-x86.pkg?download">BeOS package</a> <small>(3.0M pkg)</small></li>
-	</ul>
+	  <tr><td class='cat-bullet'><img src='images/catpl-beos.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-beos-x86.pkg?download">BeOS package</a> <font class='cat-count'>(3.0M pkg)</font></td></tr>
+	</table>
+    </div>
 
-	<h3>0.8.0 Source Code</h3>
-	<ul>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.tar.bz2?download">ScummVM - Source .tar.bz2</a> <small>(2.5M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.tar.gz?download">ScummVM - Source .tar.gz</a> <small>(3.1M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.zip?download">ScummVM - Source .zip</a> <small>(3.8M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1.src.rpm?download">ScummVM - Source RPM</a> <small>(3.3M RPM)</small></li>
-	</ul>
+    <a name="source"></a>
+    <?php html_subhead_start("0.8.0 Source Code"); ?>
 
+    <div class="par-subhead-content">
+	<table>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.tar.bz2?download">ScummVM - Source .tar.bz2</a> <font class='cat-count'>(2.5M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.tar.gz?download">ScummVM - Source .tar.gz</a> <font class='cat-count'>(3.1M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0.zip?download">ScummVM - Source .zip</a> <font class='cat-count'>(3.8M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.8.0-1.src.rpm?download">ScummVM - Source RPM</a> <font class='cat-count'>(3.3M RPM)</font></td></tr>
+	</table>
 
-	<h3>0.8.0 Tools (mostly unsupported)</h3>
-	<ul>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-win32.exe?download">Tools - Windows Installer</a> <small>(384k Win32 .exe)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-win32.zip?download">Tools - Windows zipfile</a> <small>(183k Win32 .exe)</small></li>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-1.i386.rpm?download">Tools - Fedora Core 4 RPM</a> <small>(110k .rpm)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-macosx.tar.bz2?download">Tools - Mac OS X binary</a> <small>(212k .tar.bz2)</small></li>
+    </div>
+
+    <a name="tools"></a>
+    <?php html_subhead_start("0.8.0 Tools (mostly unsupported)"); ?>
+
+    <div class="par-subhead-content">
+
+	<table>
+	  <tr><td class='cat-bullet'><img src='images/catpl-windows.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-win32.exe?download">Tools - Windows Installer</a> <font class='cat-count'>(384k Win32 .exe)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-windows.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-win32.zip?download">Tools - Windows zipfile</a> <font class='cat-count'>(183k Win32 .exe)</font></td></tr>
+
+	  <tr><td class='cat-bullet'><img src='images/catpl-fedora.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-1.i386.rpm?download">Tools - Fedora Core 4 RPM</a> <font class='cat-count'>(110k .rpm)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-fedora.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-macosx.tar.bz2?download">Tools - Mac OS X binary</a> <font class='cat-count'>(212k .tar.bz2)</font></td></tr>
 <!--
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.7.0-solaris8-sparc.tar.bz2?download">Tools - Solaris 8 (Sparc)</a> <small>(119k .tar.bz2)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-solaris.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.7.0-solaris8-sparc.tar.bz2?download">Tools - Solaris 8 (Sparc)</a> <font class='cat-count'>(119k .tar.bz2)</font></td></tr>
 -->
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.tar.bz2?download">Tools - Source .tar.bz2</a> <small>(91k .tar.bz2)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.tar.gz?download">Tools - Source .tar.gz</a> <small>(107k .tar.bz2)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.zip?download">Tools - Source .zip</a> <small>(132k .zip)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-1.src.rpm?download">Tools - Source RPM</a> <small>(93k .rpm)</small></li>
-	</ul>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.tar.bz2?download">Tools - Source .tar.bz2</a> <font class='cat-count'>(91k .tar.bz2)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.tar.gz?download">Tools - Source .tar.gz</a> <font class='cat-count'>(107k .tar.bz2)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0.zip?download">Tools - Source .zip</a> <font class='cat-count'>(132k .zip)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-tools-0.8.0-1.src.rpm?download">Tools - Source RPM</a> <font class='cat-count'>(93k .rpm)</font></td></tr>
+	</table>
 
-	<h3>Older versions (unsupported)</h3>
+    </div>
+   </div>
+
+  <a name="older"></a>
+  <div class="par-item">
+    <div class="par-head">
+       Older versions (unsupported)
+    </div>
+
+    <div class="par-content">
 	<p>
 		In a few cases, we do not (yet) have new binaries of ScummVM
 		and/or the ScummVM tools for some platforms. In these cases, we still
 		have older versions around, for your convenience.
 	</p>
-	<ul>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-1.FC3.i386.rpm?download">0.7.1 Fedora Core 3 package</a> <small>(1.2M RPM)</small></li>
+	<table>
+	  <tr><td class='cat-bullet'><img src='images/catpl-fedora.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-1.FC3.i386.rpm?download">0.7.1 Fedora Core 3 package</a> <font class='cat-count'>(1.2M RPM)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-palmos.zip?download">0.7.1 PalmOS binary</a> <small>(1.9M zipfile)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-palmos.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-palmos.zip?download">0.7.1 PalmOS binary</a> <font class='cat-count'>(1.9M zipfile)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-PocketPC_MIPS.zip?download">0.7.1 PocketPC MIPS binary</a> <small>(1.5M zipfile)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-PocketPC_SH3.zip?download">0.7.1 PocketPC SH3 binary</a> <small>(1.4M zipfile)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_ARM.zip?download">0.7.1 HandheldPC ARM binary</a> <small>(1.3M zipfile)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_MIPS.zip?download">0.7.1 HandheldPC MIPS binary</a> <small>(1.5M zipfile)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_SH3.zip?download">0.7.1 HandheldPC SH3 binary</a> <small>(1.4M zipfile)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-PocketPC_MIPS.zip?download">0.7.1 PocketPC MIPS binary</a> <font class='cat-count'>(1.5M zipfile)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-PocketPC_SH3.zip?download">0.7.1 PocketPC SH3 binary</a> <font class='cat-count'>(1.4M zipfile)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_ARM.zip?download">0.7.1 HandheldPC ARM binary</a> <font class='cat-count'>(1.3M zipfile)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_MIPS.zip?download">0.7.1 HandheldPC MIPS binary</a> <font class='cat-count'>(1.5M zipfile)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.1-HandheldPC_SH3.zip?download">0.7.1 HandheldPC SH3 binary</a> <font class='cat-count'>(1.4M zipfile)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.0-solaris8-sparc.tar.bz2?download">0.7.0 Solaris 8 (Sparc) binary</a> <small>(1.1M .tar.bz2)</small></li>
+	  <tr><td class='cat-bullet'><img src='images/catpl-solaris.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.0-solaris8-sparc.tar.bz2?download">0.7.0 Solaris 8 (Sparc) binary</a> <font class='cat-count'>(1.1M .tar.bz2)</font></td></tr>
 
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.0-dreamcast-plainfiles.tar.bz2?download">0.7.0 Dreamcast plain files</a> <small>(2.2M zipfile)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.0-dreamcast-nero+demos.zip?download">0.7.0 Dreamcast Nero Image & Demos</a> <small>4.7M zipfile</small></li>
-	</ul>
+	  <tr><td class='cat-bullet'><img src='images/catpl-dc.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/scummvm-0.7.0-dreamcast-nero+demos.zip?download">0.7.0 Dreamcast Nero Image & Demos</a> <font class='cat-count'>4.7M zipfile</font></td></tr>
+	</table>
+
+     </div>
+  </div>
 
 	<a name="extras"></a>
-	<h3>Extras!</h3>
-	<ul>
-	  <li><a href="http://www.scummvm.org/SKY.CPT">Beneath a Steel Sky, SKY.CPT - required to run the game with a post-0.7.* ScummVM</a> <small>(416k)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/bass-cd-1.2.zip?download">Beneath a Steel Sky, Freeware CD Version</a> <small>(67M)</small></li>
-	  <li><a href="http://www.mixnmojo.com/bss/BASS-Floppy.zip">Beneath a Steel Sky, Freeware Floppy Version</a> <small>(7.3M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/FOTAQ_Talkie.zip?download">Flight of the Amazon Queen, Freeware CD Version (small - has mp3 compressed sfx/speech)</a> <small>(34.8M)</small></li>
-	  <li><a href="ftp://ftp.suse.com/pub/suse/i386/supplementary/X/FOTAQ/">Flight of the Amazon Queen, Freeware CD Version (small - has ogg compressed sfx/speech)</a> <small>(35.6M)</small></li>
-	  <li><a href="http://www.lysator.liu.se/~zino/scummvm/queen/">Flight of the Amazon Queen, Freeware CD Version (large - unmodified original)</a> <small>(87M) download this version if your ScummVM doesn't have mp3 support</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/FOTAQ_Floppy.zip?download">Flight of the Amazon Queen, Freeware Floppy Version</a> <small>(6.7M)</small></li>
-	  <li><a href="http://0x.7fc1.org/fotaq/queen.tbl">Flight of the Amazon Queen, queen.tbl - required to run original versions of FOTAQ</a> <small>(1.1M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes.zip?download">Broken Sword 1 Cutscene Pack (ENGLISH)</a> <small>(31.2M)</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_FRE_AddOn.zip?download">Broken Sword 1 Cutscene Pack (French AddOn)</a> <small>(1.6M) Override files in English Pack with this archive contents</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_GER_AddOn.zip?download">Broken Sword 1 Cutscene Pack (German AddOn)</a> <small>(1.8M) Override files in English Pack with this archive contents</small></li>
-	  <li><a href="http://www.unet.univie.ac.at/~a0200586/binary/mirrors/scummvm/Sword1_Cutscenes_GER_Complete.zip">Broken Sword 1 Cutscene Pack (German)</a> <small>(32M) This is alternative offsite package with both German videos and audio</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_ITA_AddOn.zip?download">Broken Sword 1 Cutscene Pack (Italian AddOn)</a> <small>(2.5M) Override files in English Pack with this archive contents</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_ESP_AddOn.zip?download">Broken Sword 1 Cutscene Pack (Spanish AddOn)</a> <small>(2.2M) Override files in English Pack with this archive contents</small></li>
-	  <li><a href="http://prdownloads.sourceforge.net/scummvm/Sword2_Cutscenes.zip?download">Broken Sword 2 Cutscene Pack (ALL LANGUAGES)</a> <small>(27.8M)</small></li>
-	</ul>
+  <div class="par-item">
+    <div class="par-head">
+       Extras
+    </div>
+
+    <div class="par-content">
+
+	<table>
+	  <tr><td class='cat-bullet'><img src='images/cat-sky.png' /></td><td class='cat-link'><a href="http://www.scummvm.org/SKY.CPT">Beneath a Steel Sky, SKY.CPT - required to run the game with a post-0.7.* ScummVM</a> <font class='cat-count'>(416k)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-sky.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/bass-cd-1.2.zip?download">Beneath a Steel Sky, Freeware CD Version</a> <font class='cat-count'>(67M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-sky.png' /></td><td class='cat-link'><a href="http://www.mixnmojo.com/bss/BASS-Floppy.zip">Beneath a Steel Sky, Freeware Floppy Version</a> <font class='cat-count'>(7.3M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/FOTAQ_Talkie.zip?download">Flight of the Amazon Queen, Freeware CD Version (small - has mp3 compressed sfx/speech)</a> <font class='cat-count'>(34.8M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="ftp://ftp.suse.com/pub/suse/i386/supplementary/X/FOTAQ/">Flight of the Amazon Queen, Freeware CD Version (small - has ogg compressed sfx/speech)</a> <font class='cat-count'>(35.6M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://www.lysator.liu.se/~zino/scummvm/queen/">Flight of the Amazon Queen, Freeware CD Version (large - unmodified original)</a> <font class='cat-count'>(87M) download this version if your ScummVM doesn't have mp3 support</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/FOTAQ_Floppy.zip?download">Flight of the Amazon Queen, Freeware Floppy Version</a> <font class='cat-count'>(6.7M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://0x.7fc1.org/fotaq/queen.tbl">Flight of the Amazon Queen, queen.tbl - required to run original versions of FOTAQ</a> <font class='cat-count'>(1.1M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes.zip?download">Broken Sword 1 Cutscene Pack (ENGLISH)</a> <font class='cat-count'>(31.2M)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_FRE_AddOn.zip?download">Broken Sword 1 Cutscene Pack (French AddOn)</a> <font class='cat-count'>(1.6M) Override files in English Pack with this archive contents</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_GER_AddOn.zip?download">Broken Sword 1 Cutscene Pack (German AddOn)</a> <font class='cat-count'>(1.8M) Override files in English Pack with this archive contents</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://www.unet.univie.ac.at/~a0200586/binary/mirrors/scummvm/Sword1_Cutscenes_GER_Complete.zip">Broken Sword 1 Cutscene Pack (German)</a> <font class='cat-count'>(32M) This is alternative offsite package with both German videos and audio</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_ITA_AddOn.zip?download">Broken Sword 1 Cutscene Pack (Italian AddOn)</a> <font class='cat-count'>(2.5M) Override files in English Pack with this archive contents</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs1.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword1_Cutscenes_ESP_AddOn.zip?download">Broken Sword 1 Cutscene Pack (Spanish AddOn)</a> <font class='cat-count'>(2.2M) Override files in English Pack with this archive contents</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/cat-bs2.png' /></td><td class='cat-link'><a href="http://prdownloads.sourceforge.net/scummvm/Sword2_Cutscenes.zip?download">Broken Sword 2 Cutscene Pack (ALL LANGUAGES)</a> <font class='cat-count'>(27.8M)</font></td></tr>
+	</table>
 	<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 
 hosted by <a href="http://www.mthN.de">Snoke Media and Tech Hosting Network</a>!
 	</p>
-	<ul>
-	 <li><a href="http://mikemth.de:1337/modules.php?name=Downloads&d_op=getit&lid=826">Flight of the Amazon Queen, Freeware CD Version</a> <small>(34.8M)</small></li>
-	 <li><a href="http://mikemth.de:1337/modules.php?name=Downloads&d_op=getit&lid=827">Flight of the Amazon Queen, Freeware Floppy Version</a> <small>(6.7M)</small></li>
-	</ul>
+	<table>
+	 <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://mikemth.de:1337/modules.php?name=Downloads&d_op=getit&lid=826">Flight of the Amazon Queen, Freeware CD Version</a> <font class='cat-count'>(34.8M)</font></td></tr>
+	 <tr><td class='cat-bullet'><img src='images/cat-queen.png' /></td><td class='cat-link'><a href="http://mikemth.de:1337/modules.php?name=Downloads&d_op=getit&lid=827">Flight of the Amazon Queen, Freeware Floppy Version</a> <font class='cat-count'>(6.7M)</font></td></tr>
+	</table>
 
-	<hr>
+     </div>
+  </div>
 
 	<a name="CVS"></a>
-	<h3>CVS Builds:</h3>
+  <div class="par-item">
+    <div class="par-head">
+       CVS Builds
+    </div>
+
+    <div class="par-content">
 	<p>
 	  View the <a href="/daily/ChangeLog">ChangeLog</a> to see the latest updates of ScummVM.
 	</p>
@@ -191,41 +257,58 @@
 	  Additional snapshot builds:
 	</p>
 
-	<ul>
+	<table>
 <!--
-	  <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>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="/downloads/scummvm-daily.tar.bz2">Source Code Daily Snapshot Bzipped</a> <font class='cat-count'> (<? 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")); ?>)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="/downloads/scummvm-daily.tar.gz">Source Code Daily Snapshot Gzipped</a> <font class='cat-count'> (<? 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")); ?>)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="/downloads/scummvm-daily.zip">Source Code Daily Snapshot Zipped</a> <font class='cat-count'> (<? 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")); ?>)</font></td></tr>
 -->
-	  <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>
+	  <tr><td class='cat-bullet'><img src='images/catpl-windows.png' /></td><td class='cat-link'><a href="/downloads/scummvmwin32.exe">Win32 Daily Snapshot</a> <font class='cat-count'> (<? echo intval(filesize("downloads/scummvmwin32.exe")/1024) ?>K exe file, last update: <? echo date("F j, Y, g:i a",filemtime("downloads/scummvmwin32.exe")); ?>)</font></td></tr>
 <!--
-	  <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>
+	  <tr><td class='cat-bullet'><img src='images/catpl-macos.png' /></td><td class='cat-link'><a href="/downloads/ScummVM-snapshot.dmg">Mac OS X Snapshot</a> <font class='cat-count'> (<? 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")); ?>)</font></td></tr>
 -->
-	  <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="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>
-	<hr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="http://arisme.free.fr/PocketScumm/daily/">PocketPC Builds</a> <font class='cat-count'> (infrequent snapshots of the PocketPC binaries)</font></td></tr>
+	  <tr><td class='cat-bullet'><img src='images/catpl-wince.png' /></td><td class='cat-link'><a href="/downloads/PocketPC2003.zip">Alternative PocketPC 2003 build</a> <font class='cat-count'> (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")); ?>)</font></td></tr>
+<!--  <tr><td class='cat-bullet'><img src='images/catpl-dc.png' /></td><td class='cat-link'><a href="http://paras.rasmatazz.bei.t-online.de/">Dreamcast Daily Builds</a></td></tr> -->
+	<tr><td class='cat-bullet'><img src='images/catpl-symbian.png' /></td><td class='cat-link'><a href="http://anotherguest.b0.se/cvsbuilds/">SymbianOS CVS Builds</a></td></tr>	
+	<tr><td class='cat-bullet'><img src='images/catpl-cpp.png' /></td><td class='cat-link'><a href="http://sourceforge.net/cvs/?group_id=37116">CVS Instructions</a> <font class='cat-count'> (for if you wish to retrieve the latest code to compile yourself)</font></td></tr>
+	</table>
 
-	<h3>Required Libraries:</h3>
+     </div>
+  </div>
+
+
+  <a name="libs"></a>
+  <div class="par-item">
+    <div class="par-head">
+       Libraries
+    </div>
+
+    <br/>
+
+    <?php html_subhead_start("Required Libraries"); ?>
+
+    <div class="par-subhead-content">
 	<ul>
 	  <li><a href="http://www.libsdl.org/download-1.2.php">SDL 1.2.x</a></li>
 	</ul>
-		
-	<h3>Optional Libraries:</h3>
+
+    </div>		
+
+    <?php html_subhead_start("Optional Libraries"); ?>
+
+    <div class="par-subhead-content">
 	<ul>
 	  <li><a href="http://www.underbit.com/products/mad/">MAD</a>: MPEG Audio Decoder</li>
 	  <li><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></li>
 	  <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>
+    </div>
+  </div>
 <?
 
-echo html_round_frame_end(" ");
-
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: faq.php
===================================================================
RCS file: /cvsroot/scummvm/web/faq.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- faq.php	10 May 2005 22:07:33 -0000	1.48
+++ faq.php	13 Nov 2005 00:29:57 -0000	1.49
@@ -1,4 +1,4 @@
-<?
+<?php
 
 /*
  * FAQ Page
@@ -12,24 +12,27 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: FAQ", '<link href="faq.css" rel="stylesheet" type="text/css">');
-sidebar_start();
+html_page_header("ScummVM :: FAQ", '<link href="faq.css" rel="stylesheet" type="text/css">');
 
-//display welcome table
-echo html_round_frame_start("FAQ :: Frequently Asked Questions","");
+html_content_begin('FAQ :: Frequently Asked Questions');
 
 ?>
-<h1>
-	FAQ<br>
-	<span class="caption">last updated: <? echo date("F d, Y",getlastmod()); ?></span>
-</h1>
-<?
+  <div class="par-item">
+    <div class="par-head">
+       FAQ
+    </div>
+    <div class="par-content">
+    <div class="news-author">last updated: <? echo date("F d, Y",filemtime("faq.inc")); ?></div>
+<?php
 include $file_root."/faq.inc";
 
-echo html_round_frame_end(" ");
+?>
+    </div>
+  </div>
 
-// end of html
-sidebar_end();
-html_footer();
+<?php
+
+html_content_end();
+html_page_footer();
 
 ?>

Index: favicon.ico
===================================================================
RCS file: /cvsroot/scummvm/web/favicon.ico,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
Binary files /tmp/cvs8Pvpnn and /tmp/cvssFEVKy differ

Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- index.php	30 Oct 2005 23:58:35 -0000	1.29
+++ index.php	13 Nov 2005 00:29:57 -0000	1.30
@@ -1,21 +1,11 @@
-<?
-
-/*
- * Index Page for ScummVM
- * by Jeremy Newman <jnewman at dracowulf.com>
- *
- */
-
-// set this for position of this file relative
+<?php
 $file_root = ".";
 
 // load libraries
 require($file_root."/include/"."incl.php");
-require($file_root."/include/"."screenshots.php");
+require($file_root."/include/"."scr-categories.php");
 
-// start of html
-html_header("ScummVM", '<script src="'.$file_root.'/screenshots.js" type="text/javascript"></script>');
-sidebar_start();
+html_page_header('ScummVM :: Home');
 
 $shownews = $HTTP_GET_VARS['shownews'];
 
@@ -37,80 +27,193 @@
   $randImg = $lastLECshot + rand(0, $screenshots_count - $lastLECshot - 1);
 }
 
-echo html_round_frame_start("About ScummVM","");
 ?>
-	<script type="text/javascript">
-	<!--
-	i_jn = <?=$randImg?>;
-	//-->
-	</script>
 
-	<table width="100%" border=0 cellpadding=10 cellspacing=0>
-	<tr valign="top">
-	  <td>
-		<h1>What is <span style="color: green">Scumm</span>VM?</h1>
+<script>
+function openWin(fileToOpen,nameOfWindow,width,height) {
+	myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=no,status=no,width="+width+",height="+height);
+	myWindow.document.open();
+	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\n')
+	myWindow.document.write('<html><head><title>ScreenShot Viewer</title><link rel="stylesheet" href="styles.css" type="text/css"></head>')
+	myWindow.document.write('<body><a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a></body></html>');
+	myWindow.document.close();
+}
 
-		<p>
-		ScummVM is a program which allows you to run certain classic graphical point-and-click adventure
-		games, provided you already have their data files. The clever part about this: ScummVM just replaces
-		the executables shipped with the game, allowing you to play them on systems for which they were never designed!
-		</p>
-		<p>
-		ScummVM lets you run these adventures: <a href="http://www.adventuresoft.com">Adventure Soft</a>'s
-		<i>Simon the Sorcerer</i> 1 and 2; <a href="http://www.revolution.co.uk">Revolution</a>'s
-		<i>Beneath A Steel Sky</i>, <i>Broken Sword 1</i> and <i>Broken Sword 2</i>;
-		<i>Flight of the Amazon Queen</i>;
-		<a href="http://www.wyrmkeep.com/ite/">Wyrmkeep</a>'s <i>Inherit the Earth</i>;
-		Coktel Vision's <i>Gobliiins</i>
-		and games based on <a href="http://www.lucasarts.com">LucasArts</a>'
-		<span style="color: green">SCUMM</span> <span style="color: #666666">(<i>Script Creation Utility for Maniac
-		Mansion</i>)</span> system. <span style="color: green">SCUMM</span> is used for many games,
-		including <i>Monkey Island</i>, <i>Day of the Tentacle</i>, <i>Sam and Max</i> and more.
-		Compatibility with supported games is continually improving, so check back often.
-		</p>
-		<p>
-		Among the systems on which you can play those games are Windows, Linux, Mac OS X, Dreamcast, PocketPC,
-		PalmOS, AmigaOS, BeOS, OS/2, PSP, PS2, SymbianOS/EPOC and many more...
-		</p>
-		<p>
-		Our forum and IRC channel, <a href="irc://irc.freenode.net/scummvm">#scummvm on
-		irc.freenode.net</a>, are open for comments and suggestions. Please read our <a href="faq.php">FAQ</a>
-		before posting, particularly regarding support for other adventure games.
-		</p>
-	  </td>
-	  <td>
-		<table border=0 cellpadding=0 cellspacing=0>
-		<tr><td colspan="3">
-			<!-- We use a height of 483 instead of 480 to workaround something which
-			  appears to be a bug in Mozilla? -->
-			<a href="javascript:openWin('./screenshots/big_scummvm_'+i_jn+'.png','scummvm',640,483);"
-			onMouseOver="window.status='Click to View Full Size Image';return true;"
-			onMouseOut="window.status='';return true;"><img
-			src="<?=screenshot_thumb_path($randImg)?>" width="<?=$thumb_w?>" height="<?=$thumb_h?>"
-			style="margin: 5px"
-			name="img_jn" alt="Click to view Full Size"></a>
-		</td></tr>
-		<tr>
-			<td align=left>
-			  <a href="javascript:scrshot_jn(<?=$screenshots_count?>,-1);"><< Previous</a>
-			</td>
-			<td></td>
-			<td align=right>
-			  <a href="javascript:scrshot_jn(<?=$screenshots_count?>,+1);">Next >></a>
-			</td>
-		</tr>
-		</table>
-	  </td>
-	</tr>
-	</table>
-<?
-echo html_round_frame_end(" "),html_br();
+<?php
+  echo "scr_cats = [\n";
+
+  foreach ($categories as $i) {
+    echo "// {$i->_name}\n";
+    echo "  ";
+    foreach ($i->_list as $j)
+      echo $scrcatnums[$i->_catnum][$j['catnum']]  . ", ";
+    echo "0,\n";
+  }
+
+  echo "-1];\n";
+
+  echo "var i_jn = $randImg;\n";
+
+  echo "scr_cats0 = [";
+  foreach ($categories as $i) {
+    echo '"'.$i->_catnum.'", ';
+  }
+  echo '""];'."\n";
+
+  echo "scr_cats1 = new Array();\n";
+
+  $c = 0;
+  foreach ($categories as $i) {
+    echo "scr_cats1[$c] = [";
+    foreach ($i->_list as $j)
+      echo '"'.$j['catnum']  . '", ';
+    echo '"-1"];'."\n";
+    $c++;
+  }
+
+?>
+
+function getScr(n) {
+  cat0 = 0;
+  cat1 = 0;
+  cat2 = 0;
+  curnum = 0;
+  idx = 0;
+
+  while (curnum < n) {
+    if (scr_cats[idx] == 0) {
+      idx++;
+    }
+
+    if (curnum + scr_cats[idx] <= n) {
+      curnum += scr_cats[idx];
+      cat1++;
+      idx++;
+    } else {
+      cat2 = n - curnum;
+      curnum = n;
+    }
+    if (scr_cats1[cat0][cat1] == "-1") {
+      cat1 = 0;
+      cat0++;
+    }
+  }
+
+  return "scummvm_" + scr_cats0[cat0] + "_" + scr_cats1[cat0][cat1] + "_" + cat2;
 }
-// end of welcome table
+
+
+function scrshot_jn(x,n) {
+  i_jn += n;
+  if (i_jn >= x) i_jn = 0;
+  if (i_jn < 0) i_jn = x-1;
+
+
+  document['img_jn'].src = "./screenshots/" + getScr(i_jn) + ".jpg";
+}
+</script>
+
+			<table class="intro" cellspacing="0" style="margin-bottom:8px;">
+			<tr>
+				<td class="sshots">
+<table width="100%" cellspacing="0"><tr><td>
+	<table width="100%;" cellspacing="0"><tr>
+	<td class="tlc"> </td>
+	<td class="heading"><h2><?php
+ if($isOpera)
+   shadowed_text("Game Shots", '#356a02', '#ffffff', 'shadow-text-em');
+ else
+   shadowed_text("Game Shots", '#356a02', '#ffffff');
+ ?></h2></td>
+	<td class="trc"> </td>
+	</tr></table>
+</td></tr>
+<tr><td class="content-wrap">
+<table border="0" cellpadding="0" cellspacing="0" align="center">
+<tr><td>
+<!-- We use a height of 483 instead of 480 to workaround something which
+  appears to be a bug in Mozilla? -->
+	<a href="javascript:openWin('./screenshots/big'+getScr(i_jn)+'.png','scummvm',640,483);"
+	onMouseOver="window.status='Click to View Full Size Image';return true;"
+	onMouseOut="window.status='';return true;"><img
+<?php
+
+        echo 'src="./screenshots/'.getScr($randImg) . '" width="128" height="96"\n';
+?>
+	style="margin: 5px"
+	name="img_jn" title="Click to view Full Size"></a>
+	</td></tr>
+</table>					
+</td></tr>
+<tr><td class="foot">
+<table width="100%" cellspacing="0" cellpadding="0"><tr>
+<td class="blc"></td>
+<td class="nav-prev">
+<?php
+  echo '<a href="javascript:scrshot_jn('.count($screenshots).',-1);"><< previous</a> </td>';
+?>
+<td class="nav-next"> 
+<?php
+  echo '<a href="javascript:scrshot_jn('.count($screenshots).',+1);">next >></a> </td>';
+?>
+</td>
+<td class="brc"></td>
+</tr></table></td></tr>
+</table>
+				</td>
+<td class="intro">
+<table width="100%" cellspacing="0" cellpadding="0" >
+<tr><td>
+	<table width="100%" cellspacing="0"><tr>
+	<td class="tlc"> </td>
+	<td style="background:url('images/header-background.gif')"><h2><?php
+shadowed_text("What Is ScummVM", '#356a02', '#ffffff');
+shadowed_text("?", '#66c409', '#ffffff');
+?></h2>
+	<td class="trc"> </td>
+	</td></tr></table>
+</td></tr>
+<tr><td class="content">
+
+<p>ScummVM is a program which allows you to run certain classic graphical
+point-and-click adventure games, provided you already have their data
+files. The clever part about this: ScummVM just replaces the executables
+shipped with the game, allowing you to play them on systems for which
+they were never designed!
+</p><p>
+ScummVM lets you run these adventures: Adventure Soft's Simon the
+Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1 and
+Broken Sword 2; Flight of the Amazon Queen; and games based on
+LucasArts' SCUMM (Script Creation Utility for Maniac Mansion) system.
+SCUMM is used for many games, including Monkey Island, Day of the
+Tentacle, Sam and Max and more. Compatibility with supported games is
+continually improving, so check back often.
+</p><p>
+Among the systems on which you can play those games are Windows, Linux,
+Mac OS X, Dreamcast, PocketPC, PalmOS, AmigaOS, BeOS, and many more...
+</p><p>
+Our forum and IRC channel, #scummvm on irc.freenode.net, are open for
+comments and suggestions. Please read our FAQ before posting,
+particularly regarding support for other adventure games. 			
+</td></tr>
+<tr>
+	<td><table width="100%" cellspacing="0" cellpadding="0"><tr>
+	<td class="blc"> </td>
+	<td class="bm"> </td>
+	<td class="brc"> </td>
+	</tr></table></td>
+</tr>
+</table>
+</td></tr>
+</table>
+
+<?php
+
+}
+
+html_content_begin('Latest Developments');
 
 //display News
-echo html_round_frame_start("Latest Developments","");
-echo html_frame_start("","100%",1,1);
 
 // get list of news items
 $news = get_files($file_root."/news","xml");
@@ -118,83 +221,65 @@
 
 // loop and display news
 $c = 0;
-while (list($key,$item) = each($news))
-{
-	$c++;
+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);
+  // 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);
 
-		$news_date = "";
-		if (eregi("<DATE>(.*)</DATE>", $data, $out))
-		{
-			$news_date = $out[1];
-		}
+    $news_date = "";
+    if (eregi("<DATE>(.*)</DATE>", $data, $out)) {
+      $news_date = $out[1];
+    }
 
-		$news_author = "";
-		if (eregi("<AUTHOR>(.*)</AUTHOR>", $data, $out))
-		{
-			$news_author = "Posted by ".$out[1];
-		}
+    $news_author = "";
+    if (eregi("<AUTHOR>(.*)</AUTHOR>", $data, $out)) {
+      $news_author = "Posted by ".$out[1];
+    }
 
-		$news_title = "";
-		if (eregi("<NAME>(.*)</NAME>", $data, $out))
-		{
-			$news_title = $out[1];
-		}
+    $news_title = "";
+    if (eregi("<NAME>(.*)</NAME>", $data, $out)) {
+      $news_title = $out[1];
+    }
 
-		$news_img = "";
-		if (eregi("<IMG>(.*)</IMG>", $data, $out))
-		{
-			$news_img = $out[1];
-		}
+    $news_img = "";
+    if (eregi("<IMG>(.*)</IMG>", $data, $out)) {
+      $news_img = $out[1];
+    }
 
-		$news_body = "";
-		if (eregi("<BODY>(.*)</BODY>", $data, $out))
-		{
-			$news_body = $out[1];
-		}
-	}
+    $news_body = "";
+    if (eregi("<BODY>(.*)</BODY>", $data, $out)) {
+      $news_body = $out[1];
+    }
+  }
 	
-	// Display news item
-	echo html_frame_tr(
-			    html_frame_td(
-								'<div class="news-item">'.
-									'<div class="news-header">'.
-										'<span class="date">'.$news_date."</span>: ".
-										$news_title.
-									'</div>'.
-									'<span class="news-author">'.$news_author."</span> ".
-									$news_img.
-									'<div class="news-body">'.$news_body.'</div>'.
-								'</div>'
-			                 )
-	                  );
+  // Display news item
+
+  echo '<div class="par-item">'.
+	 '<div class="par-head">'.
+	   '<span class="newsdate">'.$news_date."</span>: ".
+           $news_title.
+	 '</div>'.
+         '<div class="par-content">'.
+		 	 '<div class="news-author">'.$news_author."</div> ".
+  		$news_img.
+		$news_body.
+	 '</div>'.
+       '</div>';
 	
 	
-	// Only show first five records, unless we are in "news" mode
-	if ($c == 4 && !$shownews)
-	{
-		echo html_frame_tr(
-			           html_frame_td(
-			                         '<p>[<a href="?shownews=archive">More News...</a>]</p>'."\n"
-					        )
-				  );
-		break;
-	}
+  // Only show first five records, unless we are in "news" mode
+  if ($c == 4 && !$shownews) {
+    echo '<p class="bottom-link"><a href="?shownews=archive">More News...</a></p>'."\n";
+    break;
+  }
 } // end of news loop
 
-echo html_frame_end();
-echo html_round_frame_end(" ");
-//end of news display
-
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: links.php
===================================================================
RCS file: /cvsroot/scummvm/web/links.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- links.php	31 Aug 2005 19:56:52 -0000	1.54
+++ links.php	13 Nov 2005 00:29:57 -0000	1.55
@@ -12,11 +12,9 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Links", '<link href="links.css" rel="stylesheet" type="text/css">');
-sidebar_start();
+html_page_header('ScummVM :: Links', '<link href="links.css" rel="stylesheet" type="text/css">');
+html_content_begin('Links');
 
-//display welcome table
-echo html_round_frame_start("Links","");
 
 /* Insert a link table entry */
 function addLinkEntry($name, $url, $desc) {
@@ -31,29 +29,41 @@
 }
 
 ?>
-	<h1>Links</h1>
-	
-	<p>
+  <div class="par-item">
+    <div class="par-head">
+       Links
+    </div>
+
+    <div class="par-intro">
+    <br />
 	  <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>
 	  If you want to link your site to us: please feel free to use this image.
-	</p>
+    <br />
+    <br />
+    </div>
 
-	<h2>Official ports</h2>
+    <br />
+
+    <div class="par-content">
+
+    <?php html_subhead_start("Official ports"); ?>
+    <div class="par-subhead-content">
 	<p>Some additional links for ports that have been merged into our CVS</p>
 
 	<div class="linklist">
 		<?php
 			addLinkEntry('PocketScumm port', 'http://arisme.free.fr/PocketScumm/index.php', 'Information about the PocketScumm port.');
-			addLinkEntry('PocketScumm forum', 'http://forums.pocketmatrix.com/viewforum.php?f=20', 'For help and discussion relating to PocketScumm.');
 			addLinkEntry('PalmOS port', 'http://capers.free.fr/ScummVM/index.php', 'News and information about the PalmOS port.');
 			addLinkEntry('GP32 port', 'http://www.distant-earth.co.uk/', 'Information about the GP32 port.');
 		?>
 	</div>
+    </div>
 	
 	<!-- -->
 
-	<h2>Unofficial ports</h2>
+    <?php html_subhead_start("Unofficial ports"); ?>
+    <div class="par-subhead-content">
 	<p>There are a few unofficial ports of ScummVM floating around. Usually we prefer to merge any ports into our official
 	CVS, but for the following this has not (yet) happened for various reasons. Note that the ScummVM team does not endorse
 	any of these ports. We did not test them, and we do not guarantee that they work properly. <span style="color: red">Use at your own risk!</span></p>
@@ -64,18 +74,22 @@
 				     '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');
-			addLinkEntry('P800 port', 'http://dreo.org/p800/escummvm/index.html',
-				'An unofficial port to the Sony Ericsson P800 running Symbian 7.0.');
+			addLinkEntry('DS port', 'http://scummvm.drunkencoders.com/',
+				"A port to Nintendo DS.");
+			addLinkEntry('Nokia 770 port', 'http://770.fs-security.com/scummvm/',
+				"A port to Nokia 770.");
 			addLinkEntry('RISC OS port', 'http://www.riscos.info/unix/indexes/emulation.html#scummvm',
 				"A port to RISC OS.");
 			addLinkEntry('Old RISC OS port', 'http://www.acornemus.freeserve.co.uk/scumm/scu_info.htm',
 				"Another (older) port to RISC OS. It's extremly dated (based on ScummVM 0.1.0).");
 		?>
 	</div>
+    </div>
 
 	<!-- -->
 
-	<h2>Libraries & Technologies</h2>
+    <?php html_subhead_start("Libraries & Technologies"); ?>
+    <div class="par-subhead-content">
 	<p>The following lists some libraries and technologies ScummVM makes use of
 	(depending on which system your run it and which configuration is chosen).</p>
 
@@ -114,10 +128,12 @@
 				the game graphics using these scaler.');
 		?>
 	</div>
+    </div>
 
 	<!-- -->
 
-	<h2>Other sites of interest</h2>
+    <?php html_subhead_start("Other sites of interest"); ?>
+    <div class="par-subhead-content">
 	<p>The following are links to sites that provide news and help on retro-gaming or are otherwise of interest.</p>
 
 	<div class="linklist">
@@ -152,10 +168,12 @@
 				graphics cards, so you can even play on a television set.');
 		?>
 	</div>
+    </div>
 	
 	<!-- -->
 
-	<h2>Other classic game engine open source projects</h2>
+    <?php html_subhead_start("Other classic game engine open source projects"); ?>
+    <div class="par-subhead-content">
 	<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>
@@ -186,10 +204,12 @@
 				"Pentagram is a project aiming to create an Ultima 8 engine for use on modern operating systems.");
 		?>
 	</div>
+    </div>
     
 	<!-- -->
 
-	<h2>Technical information about SCUMM</h2>
+    <?php html_subhead_start("Technical information about SCUMM"); ?>
+    <div class="par-subhead-content">
 	<p>SCUMM is a complex system that grew over many years. Understanding it can
 	be quite difficult at times. Luckily there are some sites that provide you
 	with a bunch of information about SCUMM; here are some of them.
@@ -207,8 +227,10 @@
 				utilities, some documents on SCUMM internals and other useful things.');
 		?>
 	</div>
+    </div>
 
-	<h2>GUI frontends for ScummVM</h2>
+    <?php html_subhead_start("GUI frontends for ScummVM"); ?>
+    <div class="par-subhead-content">
 	<p>
 Although ScummVM now includes a basic graphical user interface for adding and configuring basic game options, it is new and fairly
 incomplete. For those whom are not comfortable using the command line to access the more advanced options, here are some other
@@ -221,13 +243,13 @@
 			addLinkEntry("ScummAqua", "http://www.d.kth.se/~d00-ogo/ogosoft/scummaqua/", "For Mac OS X.");
 		?>
 	</div>
+    </div>
+
+  </div>
 		
 <?
 
-echo html_round_frame_end(" ");
-
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: press.php
===================================================================
RCS file: /cvsroot/scummvm/web/press.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- press.php	31 Aug 2004 14:13:19 -0000	1.31
+++ press.php	13 Nov 2005 00:29:57 -0000	1.32
@@ -12,14 +12,17 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM :: Press Coverage");
-sidebar_start();
+html_page_header('ScummVM :: Press Coverage');
 
-//display welcome table
-echo html_round_frame_start("Press Coverage","");
+html_content_begin('Press Coverage');
 
 ?>
-<h1>ScummVM press coverage</h1>
+  <div class="par-item">
+    <div class="par-head">
+       ScummVM press coverage
+    </div>
+    <div class="par-content">
+
 <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">
@@ -124,12 +127,12 @@
 	<p><a href="http://slashdot.org/article.pl?sid=01/11/03/1429247"
 	   ><b>Linux SCUMM Interpreter</b></a>, Slashdot, November 3, 2001
 	</p>
-<?
 
-echo html_round_frame_end(" ");
+    </div>
+  </div>
+<?
 
-// end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

Index: screenshots.php
===================================================================
RCS file: /cvsroot/scummvm/web/screenshots.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- screenshots.php	26 Jun 2005 11:19:44 -0000	1.16
+++ screenshots.php	13 Nov 2005 00:29:57 -0000	1.17
@@ -1,147 +1,152 @@
-<?
-
-/*
- * Screenshots Page
- *
- */
-
+<?php
 // set this for position of this file relative
 $file_root = ".";
 
 // load libraries
 require($file_root."/include/"."incl.php");
-require($file_root."/include/"."screenshots.php");
-
-// start of html
-html_header("ScummVM :: Screenshots");
-sidebar_start();
+require($file_root."/include/"."scr-categories.php");
 
-//display welcome table
-echo html_round_frame_start("Screenshots","");
+function display_single_shot($cat1, $cat2, $cat3) {
+}
 
-?>
-	<h1>Screenshots</h1>
+html_page_header('ScummVM :: Screenshots');
 
-<?
+html_content_begin('Screenshots');
 
 $view = $HTTP_GET_VARS['view'];
 $offset = $HTTP_GET_VARS['offset'];
+$cat1 = $HTTP_GET_VARS['cat1'];
+$cat2 = $HTTP_GET_VARS['cat2'];
 
-// if in single view
-if ($view != "")
-{
-	if (!is_numeric($view))
-	{
-		echo "<h1>Error: Unknown image ID</h1>";
-	}
-	else
-	{
-		echo
-		 html_frame_start("Screenshot Viewer","540",2,0,"color0"),
-	     html_frame_tr(
-				html_frame_td(
-					'<img src="'.screenshot_path($view).'" '.
-						'alt="Screenshot '.$view.'">',
-					'align=center class="color0" style="padding-top: 10px;"'
-				)
-			),
-	     html_frame_tr(
-				html_frame_td(
-					screenshot_caption($view),
-					'align=center class="color0" style="padding-bottom: 10px; font-style: italic;"'
-				)
-			),
-	     html_frame_tr(
-				html_frame_td(
-			   		html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"style='color: white;'"),
-					'align=left class="color4"'
-				)
-			),
-	     html_frame_end();
-	}
+?>
+<script>
+function openWin(fileToOpen,nameOfWindow,width,height) {
+	myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=no,status=no,width="+width+",height="+height);
+	myWindow.document.open();
+	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\n')
+	myWindow.document.write('<html><head><title>ScreenShot Viewer</title><link rel="stylesheet" href="styles.css" type="text/css"></head>')
+	myWindow.document.write('<body><a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a></body></html>');
+	myWindow.document.close();
 }
-else
-{
-
-// counter vars
-$num = 0;
-$where = 0;
+</script>
+<?php
 
-	echo html_frame_start("Screenshot Gallery","540",2,0,"color0")."<tr>";
+if ($view == "") {
+?>
+  <div class="par-item">
+    <div class="par-head">
+       Screenshots
+    </div>
+    <div class="par-intro">
+<?php
 
-	// loop and display images
-	while (list($c,$image) = each($screenshots))
-	{
-		// do not show images less than current pos
-		if ($offset > $c)
-		  continue;
 
-		// display image
-		echo html_frame_td(
-				   '<table cellpadding="0" cellspacing="0"><tr><td align="center">'.
-				   '<a href="'.$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">'.
-				   screenshot_caption($c).
-				   '</td></tr></table>',
-				   'align=center class="color0" style="padding-top: 10px; font-style: italic;"'
-				  );
+  // Random screenshot
+  $randImg = rand(0, $screenshots_count - 1);
+?>
+<br>
+<table border=0 width="100%">
+<tr><td align="left" valign="center">
 
-		// count number of images displayed.
-		$num++;
+    <div class="navigation">
+       Navigation
 
-		// end at 4
-		if ($num == 4)
-		{
-			$where = $c;
-			break;
-		}
+       <div class="nav-dots">
+	   
+       </div>
 
-		// end row at 2
-		if (($num % 2 == 0) && ($num != 1))
-		{
-			echo "</tr><tr>\n";
-		}
-	}
+<?php  display_categories_list(); ?>
+    </div>
 
-	echo "</tr>";
+</td><td style="width:300px; vertical-align:center; align:left">
 
-	$nextLink = " ";
-	$nextLink = " ";
+<table border=0 align="left" cellspacing=0>
+<tr><td width=280 height=37 colspan=4><img src="images/rs-top.png" /></td></tr>
+<tr><td width=17 height=10 colspan=2><img src="images/rs-top-left.png" /></td><td rowspan=2 width=256 height=192>
+<?php
+  echo "<a href=\"javascript:openWin('./screenshots/{$screenshots[$randImg]}','scummvm',640,483);\"\n";
+  echo "  onMouseOver=\"window.status='Click to View Full Size Image';return true;\"\n";
+  echo "  onMouseOut=\"window.status='';return true;\">";
+  echo '<img align=right src="'.screenshot_thumb_from_full($screenshots[$randImg]).'"/';
+  echo ' title="Click to view Full Size"></a>';
+?>
+</td><td style="background:#a82709;" width=7 height=192 rowspan=2></td></tr>
+<tr><td width=10 height=182></td><td style="background:#a82709;" width=7></td></tr>
+<tr><td width=280 height=21 colspan=4><img src="images/rs-bottom.png" /></td></tr>
+</table>
 
-	// display prev link
-	if ($offset)
-	{
-		$prev = $offset - 4;
-		$prevLink = html_ahref("<< Prev 4 Images",$PHP_SELF."?offset=".$prev,"style='color: white;'");
+</td></tr>
+</table>
 
-	}
+    <p> </p>
+    </div>
+    <div class="par-content">
 
-	// display next link
-	if (($offset + 4) < $screenshots_count)
-	{
-		$next = $where + 1;
-		$nextLink = html_ahref("Next 4 Images >>",$PHP_SELF."?offset=".$next,"style='color: white;'");
-	}
+<?php    
 
-	echo html_frame_tr(
-			    html_frame_td("  ".$prevLink,"align=left").
-			    html_frame_td($nextLink."  ","align=right"),
-			    "color4"
-			  );
-	echo html_frame_end();
+  display_categories();
 
-//end view
+?>
+    </div>
+  </div>
+<?php
+}
+if ($view != -1 && view != "") {
+  display_single_shot($cat1, $cat2, $view);
 }
+if ($view == -1) {
+  // generate list of all shots to show
+  $showlist = array();
 
-// close table
-echo html_p();
-echo html_round_frame_end(" ");
+  foreach ($categories as $i) {
+    if ($cat1 == $i->_catnum || $cat1 == -1) {
+      foreach ($i->_list as $j) {
+        if ($cat2 == $j['catnum'] || $cat2 == -1) {
+          for ($k = 0; $k < $scrcatnums[$i->_catnum][$j['catnum']]; $k++) {
+            array_push($showlist, $i->_catnum."_".$j['catnum']."_{$k}");
+	  }
+        }
+      }
+    }
+  }
 
-// end of html
-sidebar_end();
-html_footer();
+  $num = 0;
+  $where = 0;
+  
+  echo html_frame_start("Screenshot Gallery","540",2,0,"color0")."<tr>";
+
+  while (list($c,$image) = each($showlist)) {
+    // do not show images less than current pos
+    if ($offset > $c)
+      continue;
+
+    // display image
+    echo html_frame_td(
+	'<table cellpadding="0" cellspacing="0"><tr><td align="center">'.
+	"<a href=\"javascript:openWin('./screenshots/bigscummvm_$image.png','scummvm',640,483);\">".
+	'<img src="'.screenshot_thumb_path($image).'" '.
+	'width="'.$thumb_w.'" height="'.$thumb_h.'" alt="Screenshot '.$c.'"></a>'.
+	'</td></tr><tr><td align="center">'.
+	screenshot_caption($image).
+	'</td></tr></table>',
+	'align=center class="color0" style="padding-top: 10px; font-style: italic;"'
+    );
+
+    // count number of images displayed.
+    $num++;
+
+    // end row at 2
+    if (($num % 2 == 0) && ($num != 1)) {
+      echo "</tr><tr>\n";
+    }
+  }
+
+  echo "</tr>";
+
+  echo html_frame_end();
+ }
+
+html_content_end();
+html_page_footer();
 
-// end
 ?>

Index: subprojects.php
===================================================================
RCS file: /cvsroot/scummvm/web/subprojects.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- subprojects.php	13 Aug 2005 02:12:39 -0000	1.10
+++ subprojects.php	13 Nov 2005 00:29:57 -0000	1.11
@@ -6,11 +6,13 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_header("ScummVM");
-sidebar_start();
+html_page_header("ScummVM :: Subprojects");
 
-echo html_round_frame_start("ScummVM Subprojects","");
+html_content_begin("ScummVM Subprojects");
 ?>
+  <div class="par-item">
+    <div class="par-intro">
+<br/>
 <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 
@@ -21,8 +23,15 @@
 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><br/>
+
+    </div>
+
+<br/>
+
+<?php html_subhead_start("ScummEx (cvs module 'scummex')"); ?>
+
+    <div class="par-subhead-content">
 <P>
 ScummEx is a multi-platform SCUMM resource browser, viewer and extractor using the 
 wxWindows toolkit.
@@ -30,16 +39,19 @@
 <P>
 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...
+are very welcome...
 </P>
 <P>
-You can try compiled engine for Windows:
+You can try compile 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>
 
-<BR>
+<p> </p>
+    </div>
 
-<H1>Residual (cvs module 'residual')</H1>
+<?php html_subhead_start("Residual (cvs module 'residual')"); ?>
+
+    <div class="par-subhead-content">
 <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 
@@ -54,11 +66,14 @@
 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>
+<p></p>
+    </div>
+  </div>
+
 <?
-echo html_round_frame_end(" ");
 
 // end of html
-sidebar_end();
-html_footer();
+html_content_end();
+html_page_footer();
 
 ?>

--- donations.php DELETED ---

--- screenshots.js DELETED ---

--- status.php DELETED ---

--- styles.css DELETED ---





More information about the Scummvm-git-logs mailing list