[Tux4kids-commits] r384 - tux4kids-web/htdocs

holger at alioth.debian.org holger at alioth.debian.org
Mon Dec 24 10:31:28 UTC 2007


Author: holger
Date: 2007-12-24 10:31:28 +0000 (Mon, 24 Dec 2007)
New Revision: 384

Added:
   tux4kids-web/htdocs/tuxmath.php
Modified:
   tux4kids-web/htdocs/index.php
Log:
first draft layout for tuxmath screenshots page

Modified: tux4kids-web/htdocs/index.php
===================================================================
--- tux4kids-web/htdocs/index.php	2007-12-24 09:40:08 UTC (rev 383)
+++ tux4kids-web/htdocs/index.php	2007-12-24 10:31:28 UTC (rev 384)
@@ -120,7 +120,9 @@
 echo $contents; } ?>
 <p>Welcome to the current home page for <b><i>Tux Typing</i></b> and 
 <b><i>Tux, Of Math Command</i></b>.  Both projects are actively being developed,
-and downloads are available at this site (see below).</p> For <b><i>Tuxpaint</i></b>
+and downloads are available at this site (see below).</p> 
+<p>Here you can see <a href="tuxmath.php">screenshots of TuxMath</a> in action!</p>
+<p>For <b><i>Tuxpaint</i></b>
 please follow the link to the excellent <a href="http://www.tuxpaint.org" target="_blank">tuxpaint homepage</a>.
 </p>
 <hr>

Copied: tux4kids-web/htdocs/tuxmath.php (from rev 382, tux4kids-web/htdocs/index.php)
===================================================================
--- tux4kids-web/htdocs/tuxmath.php	                        (rev 0)
+++ tux4kids-web/htdocs/tuxmath.php	2007-12-24 10:31:28 UTC (rev 384)
@@ -0,0 +1,263 @@
+<?php
+
+$domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
+$group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
+
+echo '<?xml version="1.0" encoding="UTF-8"?>';
+?>
+<!DOCTYPE html
+	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en   ">
+
+  <head>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+	<title><?php echo $project_name; ?></title>
+	<script language="JavaScript" type="text/javascript">
+	<!--
+	function help_window(helpurl) {
+		HelpWin = window.open( helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400');
+	}
+	// -->
+		</script>
+
+<style type="text/css">
+	<!--
+	BODY {
+		margin-top: 3;
+		margin-left: 3;
+		margin-right: 3;
+		margin-bottom: 3;
+		background: #01004e;
+	}
+	ol,ul,p,body,td,tr,th,form { font-family: verdana,arial,helvetica,sans-serif; font-size:small;
+		color: #333333; }
+
+	h1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; }
+	h2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; }
+	h3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; }
+	h4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; }
+	h5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; }
+	h6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; }
+
+	pre,tt { font-family: courier,sans-serif }
+
+	a:link { text-decoration:none }
+	a:visited { text-decoration:none }
+	a:active { text-decoration:none }
+	a:hover { text-decoration:underline; color:red }
+
+	.titlebar { color: black; text-decoration: none; font-weight: bold; }
+	a.tablink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
+	a.tablink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
+	a.tablink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
+	a.tabsellink { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
+	a.tabsellink:visited { color: black; text-decoration: none; font-weight: bold; font-size: x-small; }
+	a.tabsellink:hover { text-decoration: none; color: black; font-weight: bold; font-size: x-small; }
+	-->
+</style>
+
+</head>
+
+<body>
+
+<table border="0" width="100%" cellspacing="0" cellpadding="0">
+
+	<tr>
+		<td><a href="/"><img src="http://<?php echo $domain; ?>/themes/gforge/images/logo.png" border="0" alt="" width="198" height="52" /></a></td>
+	</tr>
+
+</table>
+
+<table border="0" width="100%" cellspacing="0" cellpadding="0">
+
+	<tr>
+		<td>&nbsp;</td>
+		<td colspan="3">
+
+
+
+		<!-- start tabs -->
+
+	<tr>
+		<td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/topleft.png" height="9" width="9" alt="" /></td>
+		<td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="30" height="1" alt="" /></td>
+		<td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="1" height="1" alt="" /></td>
+		<td bgcolor="#E0E0E0" width="30"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="30" height="1" alt="" /></td>
+		<td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/topright.png" height="9" width="9" alt="" /></td>
+	</tr>
+
+	<tr>
+
+		<!-- Outer body row -->
+
+		<td bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="10" height="1" alt="" /></td>
+		<td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3">
+
+			<!-- Inner Tabs / Shell -->
+
+			<table border="0" width="100%" cellspacing="0" cellpadding="0">
+			<tr>
+				<td align="left" bgcolor="#ffffff" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/topleft-inner.png" height="9" width="9" alt="" /></td>
+				<td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="1" height="1" alt="" /></td>
+				<td align="right" bgcolor="#ffffff" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/topright-inner.png" height="9" width="9" alt="" /></td>
+			</tr>
+
+			<tr>
+				<td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="10" height="1" alt="" /></td>
+				<td valign="top" width="99%" bgcolor="white">
+
+	<!-- whole page table -->
+<table width="100%" cellpadding="5" cellspacing="0" border="0">
+<tr><td width="65%" valign="top">
+<?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
+$contents = '';
+while (!feof($handle)) {
+	$contents .= fread($handle, 8192);
+}
+fclose($handle);
+echo $contents; } ?>
+<p>
+<b>TuxMath</b> is an arcade game that helps kids practice their math facts. The main 
+goal is to make it effective and fun!
+</p>
+<p>
+Your mission is to protect your penguin's igloos from the math 
+problem "comets" that drop out of the sky:
+<img src="images/tuxmath/game_play.jpg">
+</p>
+<p>
+
+TuxMath contains a help system that teaches new players how to stop those 
+pesky comets:
+<img src="images/tuxmath/help.jpg">
+</p>
+<p>
+
+TuxMath lets you choose from "Training Academy" lessons that focus on a 
+particular set of facts, or choose "Arcade Games" that test your skills:
+<img src="images/tuxmath/menu.jpg">
+<img src="images/tuxmath/lessons.jpg">
+</p>
+<p>
+The Training Academy lessons allow the players to pause the game and control 
+its speed, and offer a chance to build confidence with new facts. Players 
+earn gold stars as they complete particular lessons. With the arcade games, 
+the players have to answer problems more and more quickly, with only their 
+math skills to save them!
+</p>
+<p>
+
+For the arcade games, players can compete to earn a place on a high score 
+table:
+<img src="images/tuxmath/highscores.jpg">
+</p>
+<p>
+
+Optionally, you can configure TuxMath so that multiple users can have their 
+own account:
+<img src="images/tuxmath/login.jpg">
+</p>
+<p>
+This feature may be especially useful for schools.
+</p>
+<hr>
+<p>
+<a href="index.php">Back to the tux4kids homepage</a>
+</p>
+
+<!-- ?php if ($handle=fopen('http://'.$domain.'/export/projnews.php?group_name='.$group_name,'r')){
+$contents = '';
+while (!feof($handle)) {
+	$contents .= fread($handle, 8192);
+}
+fclose($handle);
+$contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
+echo $contents; } ? -->
+
+</td>
+
+<td width="35%" valign="top">
+
+		<table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#d5d5d7">
+		<tr><td>
+			<table cellspacing="0" cellpadding="2" width="100%" border="0" bgcolor="#eaecef">
+				<tr style="background-color:#d5d5d7" align="center">
+					<td colspan="2"><span class="titlebar">Project Summary</span></td>
+				</tr>
+				<tr align="left">
+					<td colspan="2">
+
+<?php if($handle=fopen('http://'.$domain.'/export/projhtml.php?group_name='.$group_name,'r')){
+$contents = '';
+while (!feof($handle)) {
+	$contents .= fread($handle, 8192);
+}
+fclose($handle);
+$contents=str_replace('href="/','href="http://'.$domain.'/',$contents);
+$contents=str_replace('src="/','src="http://'.$domain.'/',$contents);
+echo $contents; } ?>
+
+					</td>
+				</tr>
+				<table border=0 width="100%"><tr><td bgcolor="#EAECEF"><a href="http://alioth.debian.org/tracker/?group_id=31080"><img src="http://alioth.debian.org/themes/gforge/images/ic/tracker20g.png" alt="Tracker" border="0" width="20" height="20" /> Tracker</a><br /><em>There are no public trackers available</em>
+				<hr size="1" />
+					<ul><li>SVN repository for tuxtype and tuxmath: 
+					  <ul>
+					   <li><a href="http://svn.debian.org/wsvn/tux4kids">browsable</a></li>
+					   <li><a href="svn://svn.debian.org/tux4kids/">svn://svn.debian.org/tux4kids/</a></li>
+					  </ul>
+					 </li>
+					</ul>
+				<hr size="1" />
+				 <ul>
+				  <li>browsable archive of the <a href="http://sourceforge.net/mailarchive/forum.php?forum_name=tuxmath-devel">tuxmath-devel mailinglist</a></li>
+				  <li>(see above for more mailinglists)</li>
+				 </ul>
+				<hr size="1" />
+				<ul>
+				  <li><a href="http://bugs.debian.org/tuxtype">Bugs in the Debian BTS against tuxtype</a></li>
+				  <li><a href="http://bugs.debian.org/tuxtype-data-nonfree">Bugs in the Debian BTS against tuxtype-data-non-free</a></li>
+				  <li><a href="http://bugs.debian.org/tuxmath">Bugs in the Debian BTS against tuxmath</a></li>
+				</ul>
+				</td></tr></table>
+			</table>
+		</td></tr>
+		</table><p>&nbsp;</p>
+</td></tr></table>
+			&nbsp;<p>
+			<!-- end main body row -->
+
+
+				</td>
+				<td width="10" bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="2" height="1" alt="" /></td>
+			</tr>
+			<tr>
+				<td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/bottomleft-inner.png" height="11" width="11" alt="" /></td>
+				<td bgcolor="#ffffff"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="1" height="1" alt="" /></td>
+				<td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/bottomright-inner.png" height="11" width="11" alt="" /></td>
+			</tr>
+			</table>
+
+		<!-- end inner body row -->
+
+		</td>
+		<td width="10" bgcolor="#E0E0E0"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="2" height="1" alt="" /></td>
+	</tr>
+	<tr>
+		<td align="left" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/bottomleft.png" height="9" width="9" alt="" /></td>
+		<td bgcolor="#E0E0E0" colspan="3"><img src="http://<?php echo $domain; ?>/themes/gforge/images/clear.png" width="1" height="1" alt="" /></td>
+		<td align="right" bgcolor="#E0E0E0" width="9"><img src="http://<?php echo $domain; ?>/themes/gforge/images/tabs/bottomright.png" height="9" width="9" alt="" /></td>
+	</tr>
+</table>
+
+<!-- PLEASE LEAVE "Powered By GForge" on your site -->
+<br />
+<center>
+<a href="http://gforge.org/"><img src="http://gforge.org/images/pow-gforge.png" alt="Powered By GForge Collaborative Development Environment" border="0" /></a>
+</center>
+
+
+</body>
+</html>




More information about the Tux4kids-commits mailing list