cvs: php-gtk-web / download-docs.php faq.php index.php /include layout.php

[email protected] ("Steph Fox")
Newsgroups php.gtk.webmaster
Message-ID <cvssfox1144985503@cvsserver>
sfox		Fri Apr 14 03:31:43 2006 UTC

  Modified files:              
    /php-gtk-web	download-docs.php faq.php index.php 
    /php-gtk-web/include	layout.php 
  Log:
  Go with HTML 4.01 compliance
sfox-20060414033143.txt (text/plain, 30 KB)
http://cvs.php.net/viewcvs.cgi/php-gtk-web/download-docs.php?r1=1.9&r2=1.10&diff_format=u
Index: php-gtk-web/download-docs.php
diff -u php-gtk-web/download-docs.php:1.9 php-gtk-web/download-docs.php:1.10
--- php-gtk-web/download-docs.php:1.9	Thu Apr 13 17:06:39 2006
+++ php-gtk-web/download-docs.php	Fri Apr 14 03:31:43 2006
@@ -55,8 +55,8 @@
 <table border="0" cellpadding="2" cellspacing="1" width="100%">
  <tr bgcolor="#cccccc">
   <td>&nbsp;</td>
-  <?php 
-	while (list($k,$v) = each($formats)) {
+  <?php
+	while (list($k, $v) = each($formats)) {
 		echo "<th valign=\"bottom\">$v[0]</th>\n";
 	}?>
  </tr>
@@ -88,16 +88,18 @@
 				$date_format = "j M Y"; // Part of the RFC date type (to be short)
 				if ($size) {
 					echo "<a href=\"$link_to\" title=\" Size: ", (int) ($size/1024), "Kb\n Date: ", date($date_format, $changed), "\">$details[1]</a>";
-				if ($sizes) {
-					echo "<br><small>Size: ", (int) ($size/1024), "Kb<br>Date: ", date($date_format, $changed), "</small>";
+					if ($sizes) {
+						echo "<br /><small>Size: ", (int) ($size/1024), "Kb<br />Date: ", date($date_format, $changed), "</small>";
+					}
+				} else {
+					echo "&nbsp;";
 				}
-			} else {
-				echo "&nbsp;";
 			}
+			echo "</td>\n";
 		}
-	echo "</td>\n";
+		echo "</tr>\n";
 	}
-}?>
+?>
 </table>
 
 <?php commonFooter(); ?>
http://cvs.php.net/viewcvs.cgi/php-gtk-web/faq.php?r1=1.23&r2=1.24&diff_format=u
Index: php-gtk-web/faq.php
diff -u php-gtk-web/faq.php:1.23 php-gtk-web/faq.php:1.24
--- php-gtk-web/faq.php:1.23	Thu Apr 13 17:06:39 2006
+++ php-gtk-web/faq.php	Fri Apr 14 03:31:43 2006
@@ -8,136 +8,171 @@
 
 
 <ul>
-<li><a href="#1">What is PHP-GTK?</a>
-<li><a href="#2">Why is it not working with the browser/web server?</a>
-<li><a href="#3">How do I install PHP-GTK on Win32?</a>
-<li><a href="#4">How do I use the buttons in GtkFileSelection?</a>
-<li><a href="#5">How do I know which GTK Classes are supported?</a>
-<li><a href="#6">Can I use Themes under Win32?</a>
-<li><a href="#7">Where do I go from here?</a>
+ <li><a href="#1">What is PHP-GTK?</a></li>
+ <li><a href="#2">Why is it not working with the browser/web server?</a></li>
+ <li><a href="#3">How do I install PHP-GTK on Win32?</a></li>
+ <li><a href="#4">How do I use the buttons in GtkFileSelection?</a></li>
+ <li><a href="#5">How do I know which GTK Classes are supported?</a></li>
+ <li><a href="#6">Can I use Themes under Win32?</a></li>
+ <li><a href="#7">Where do I go from here?</a></li>
 </ul>
 
 <dl>
 
 <dt>
-<a name="1"><b>What is PHP-GTK?</b></a>
+ <a name="1"><b>What is PHP-GTK?</b></a>
 </dt>
-<dd><p>
+
+<dd>
+<p>
 PHP-GTK is a PHP extension that implements language bindings for GTK+. It
 provides an object-oriented interface to GTK+ classes and functions and greatly
 simplifies writing client side cross-platform GUI applications.
-</p></dd>
-
+</p>
+</dd>
 
 <dt>
-<a name="2"><b>Why is it not working with the browser/web server?</b></a>
+ <a name="2"><b>Why is it not working with the browser/web server?</b></a>
 </dt>
-<dd><p>
+
+<dd>
+<p>
 PHP-GTK is not meant to be used in the Web environment. It is intended for
 creation of standalone applications (run via command-line, user's desktop, etc.).
-</p></dd>
+</p>
+</dd>
 
 <dt>
-<a name="3"><b>How do I install PHP-GTK on Win32?</b></a>
+ <a name="3"><b>How do I install PHP-GTK on Win32?</b></a>
 </dt>
-<dd><p>
 
+<dd>
+<p>
 Download the latest binaries from <a href="http://gtk.php.net/download.php">gtk.php.net</a>.
 The zip file contains all binaries needed to run core PHP-GTK, as well as extra features such as Glade/XML and Scintilla. 
 Extract the files to a temporary directory and then copy them into the following locations:
 </p>
-<dd><p>
-<b>For Windows 98/NT/2000/XP:</b>
+
+<p>
+ <b>For Windows 98/NT/2000/XP:</b>
 </p>
-<dd><p>In your PHP directory (e.g., c:\php4):  
+
+<p>In your PHP directory (e.g., c:\php4):</p>
 <ul>
-  <li>php.exe
-  <li>php_win.exe
-  <li>php-cgi.exe
-  <li>php.ini
-  <li>php.ini-gtk
-  <li>all .dll files
+  <li>php.exe</li>
+  <li>php_win.exe</li>
+  <li>php-cgi.exe</li>
+  <li>php.ini</li>
+  <li>php.ini-gtk</li>
+  <li>all .dll files</li>
 </ul>
-In a test directory (e.g., c:\php4\test):
+<p>In a test directory (e.g., c:\php4\test):</p>
 <ul>
-  <li>all .php files
-  <li>testgtkrc
-  <li>testgtkrc2
-  <li>window.xpm
-</ul><br>
-NOTE: You can install the php.ini into your Windows 
-directory (i.e., c:\winnt or c:\windows) as indicated by the zip file, but it is often not a good option,
-depending on the installation.
-It is also no longer required; the php.exe (CLI version as of PHP 4.3.0) will search the working directory, e.g., c:\php4,
-as well as the Windows directory. Or you can specify your php.ini location in your command line statement with '-c' option, 
-as given in the php_win example below. 
-</p>
-<dd><p>
-<b>For Windows 95:</b>
-
-</p>
-<dd><p>
-PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
-</p><br>
-
-<dd><p>
-<b>Testing the installation:</b>
-</p>
-<dd><p><dl>When the PHP-GTK files are installed, you can verify your setup using a DOS command line. 
-A typical example would be:</p>
-<dd><p>c:\php4\php c:\php4\test\hello.php</p></dl>
-<p></p>
-<dd><p><dl>To avoid the DOS box, you can use the php_win executable, provided in the install file:</p>
-<dd><p>c:\php4\php_win c:\php4\test\hello.php</p>
-<dd><p>or:</p>
-<dd><p>start c:\php4\php_win c:\php4\test\hello.php</p>
-<dd><p>or:</p>
-<dd><p>c:\php4\php_win -c \php4\php.ini -f c:\php4\test\hello.php</p></dl>
-<dd><p>(If you have installed your php.ini file in your windows directory, the -c option can be dropped.  For more
-information on command line options, see <a href="http://www.php.net/manual/en/features.commandline.php">'Using PHP from the command line'</a> 
-on the main PHP site.)</p>
-<dd><p>
-<b>Troubleshooting:</b>
+  <li>all .php files</li>
+  <li>testgtkrc</li>
+  <li>testgtkrc2</li>
+  <li>window.xpm</li>
+</ul>
+<p>
+NOTE: You can install the php.ini into your Windows directory (i.e., c:\winnt
+or c:\windows) as indicated by the zip file, but it is often not a good option,
+depending on the installation. It is also no longer required; the php.exe (CLI
+version as of PHP 4.3.0) will search the working directory, e.g., c:\php4, as
+well as the Windows directory. Or you can specify your php.ini location in your
+command line statement with '-c' option, as given in the php_win example below.
+</p>
+
+<p>
+ <b>For Windows 95:</b>
+</p>
+
+<p>
+ PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
 </p>
-<dd><p>If you can't produce the hello window, try the following:</p>
+
+<p>
+ <b>Testing the installation</b>
+</p>
+<p>
+ When the PHP-GTK files are installed, you can verify your setup using a DOS
+ command line. A typical example would be: c:\php4\php c:\php4\test\hello.php
+</p>
+<p>
+ To avoid the DOS box, you can use the php_win executable, provided in the install file:
+<pre>
+c:\php4\php_win c:\php4\test\hello.php
+</pre>
+or
+<pre>
+start c:\php4\php_win c:\php4\test\hello.php
+</pre>
+or
+<pre>
+c:\php4\php_win -c \php4\php.ini -f c:\php4\test\hello.php
+</pre>
+If you have installed your php.ini file in your Windows directory, the -c option
+can be dropped. For more information on command line options, see
+<a href="http://www.php.net/manual/en/features.commandline.php">'Using PHP from
+the command line'</a> on the main PHP site.
+</p>
+
+<p>
+ <b>Troubleshooting</b>
+</p>
+
+<p>If you can't produce the hello window, try the following:</p>
 <ul>
-  <li>Verify the hello.php location, i.e., [drive:]\php4\test
-  <li>Open hello.php in Notepad, and make sure there is no obvious corruption to the code.
-  <li>Modify your php.ini file, to log any errors, as detailed below.
-  <li>Review the postings at the <a href="http://marc.theaimsgroup.com/?l=php-gtk-general">PHP-GTK discussion list archive</a> for possible solutions. 
-  <li>If you still have a problem, subscribe to the <a href="mailto:[email protected]">PHP-GTK general discussion list</a> and post your question there.
+  <li>Verify the hello.php location, i.e., [drive:]\php4\test</li>
+  <li>Open hello.php in Notepad, and make sure there is no obvious corruption in the code.</li>
+  <li>Modify your php.ini file, to log any errors, as detailed below.</li>
+  <li>Review the postings at the <a href=
+  "http://marc.theaimsgroup.com/?l=php-gtk-general">PHP-GTK discussion list archive</a>
+  for possible solutions.</li>
+  <li>If you still have a problem, subscribe to the <a
+  href="mailto:[email protected]">PHP-GTK general discussion
+  list</a> and post your question there.</li>
 </ul>
 
-<dd><p>
-<b>Tips/Tricks:</b>
+<p>
+ <b>Tips/Tricks:</b>
 </p>
 <ul>
-  <li>To debug your scripts, modify the php.ini file as follows: 
-  <ul>
-     <li>Find the line for 'log_errors'.  Set it to 'On'.
-     <li>Find the line for 'error_log'.  Remove the beginning semicolon (uncomment) and replace 'filename' with an actual file location.
-         <br>Example: error_log=c:\php4\error_log.txt. 
-     <li>If the error file does not exist, php will create it on the next run.  Open the file and review. 
-  </ul>
-  <li>If you are planning to launch on an association, decide which extension you want to use for your scripts.  
-  Be aware that other applications register .php, so something like .php-gtk might be a better option. 
-  <li>Check out the Code Snippets and Code Hints on the <a href="http://gtk.php.net/wiki/">PHP-GTK Wiki page</a>.
-  <li>You can set your scripts to use Win32 themes, courtesy of Christian Weiske.  Check out the info page at:
-				     <br><a href="http://www.cweiske.de/phpgtk_themes.htm ">http://www.cweiske.de/phpgtk_themes.htm </a>
-  <li>Install the <a href="http://www.cweiske.de/phpgtk_apps.htm#phpgtklauncher">php-gtk launcher</a>. It 
-  handles many of the Windows directory issues and provides a series of PHP-GTK icons.  Also from Christian.
-  <li>Consider using Glade/XML for setting up your screens and reducing maintenance time.   
-				     <dl><dd>- Start with the info page at: <a href="http://gtk.php.net/manual1/en/glade.gladexml.php">http://gtk.php.net/manual1/en/glade.gladexml.php</a>.</dl>   
-  <br>
+  <li>To debug your scripts, modify the php.ini file as follows:
+   <ul>
+     <li>Find the line for 'log_errors'. Set it to 'On'.</li>
+     <li>Find the line for 'error_log'. Remove the beginning semicolon (uncomment)
+         and replace 'filename' with an actual file location<br/>
+         Example: error_log=c:\php4\error_log.txt.</li>
+     <li>If the error file does not exist, php will create it on the next run. Open
+         the file and review.</li>
+   </ul>
+  </li>
+  <li>If you are planning to launch on an association, decide which extension you
+  want to use for your scripts. Be aware that other applications register .php, so
+  something like .php-gtk might be a better option.</li>
+  <li>Check out the Code Snippets and Code Hints on the
+  <a href="http://gtk.php.net/wiki/">PHP-GTK Wiki page</a>.</li>
+  <li>You can set your scripts to use Win32 themes, courtesy of Christian Weiske.
+  Check out the info page at:<br/>
+  <a href="http://www.cweiske.de/phpgtk_themes.htm ">http://www.cweiske.de/phpgtk_themes.htm </a></li>
+  <li>Install the <a href="http://www.cweiske.de/phpgtk_apps.htm#phpgtklauncher">php-gtk launcher</a>.
+  It handles many of the Windows directory issues and provides a series of PHP-GTK
+  icons. Also from Christian.</li>
+  <li>Consider using Glade/XML for setting up your screens and reducing maintenance time.<br/>
+   Start with the info page at: <a
+   href="http://gtk.php.net/manual1/en/glade.gladexml.php">http://gtk.php.net/manual1/en/glade.gladexml.php</a>.
+  </li>
 </ul>
+</dd>
 
 <dt>
-<a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
+ <a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
 </dt>
-<dd><p>
+
+<dd>
 <pre class="code">
 // Create the dialog window:
-    $fs = &new GtkFileSelection("Save file");
+    $fs = &amp;new GtkFileSelection("Save file");
 
 // Get a handle to the Ok button:
     $ok_button = $fs->ok_button;
@@ -148,12 +183,13 @@
 // Connect the destroy action on the dialog window:
     $ok_button->connect_object("clicked", "destroy", $fs);
 </pre>
-</p></dd>
-<dd><p>
-It is <B>not</B> currently possible to do it this way:
+
+<p>
+ It is <b>not</b> currently possible to do it this way:
+</p>
 <pre class="code">
 // Create the dialog window
-    $fs = &new GtkFileSelection("Save file");
+    $fs = &amp;new GtkFileSelection("Save file");
 
 // Connect a function
     $fs->ok_button->connect("clicked", "enddialog");
@@ -161,37 +197,47 @@
 // Connect the destroy action on the dialog window
     $fs->ok_button->connect_object("clicked", "destroy", $fs); 
 </pre>
-</p></dd>
+</dd>
 
 <dt>
-<a name="5"><b>How do I know which GTK Classes are supported?</b></a>
+ <a name="5"><b>How do I know which GTK Classes are supported?</b></a>
 </dt>
-<dd><p>
-The following code will show the defined classes. All the PHP-GTK 
-classes will be listed along with one or two others.
+
+<dd>
+<p>
+ The following code will show the defined classes. All the PHP-GTK 
+ classes will be listed along with one or two others.
+</p>
 <pre class="code">
 $array = get_declared_classes();
 while(list(,$classname) = each($array)) {
     echo $classname."\n";
 }
 </pre>
+<p>
 See the <?php print_link('http://www.php.net/manual/en/ref.classobj.php', 'Class/Object functions'); ?>
 in the PHP Manual for other useful functions.
 </p></dd>
 
+
 <dt>
-<a name="6"><b>Can I use Themes under Win32?</b></a>
+ <a name="6"><b>Can I use Themes under Win32?</b></a>
 </dt>
-<dd><p>
-No, the Win32 GTK port does not currently support this.
-</p></dd>
+<dd>
+ <p>
+  No, The Win32 GTK port does not currently support this.
+ </p>
+</dd>
+
 
 <dt>
-<a name="7"><b>Where do I go from here?</b></a>
+ <a name="7"><b>Where do I go from here?</b></a>
 </dt>
-<dd><p>
-Check out the <?php print_link('/resources.php', 'Resources page'); ?>.
-</p></dd>
+<dd>
+ <p>
+  Check out the <?php print_link('/resources.php', 'Resources page'); ?>.
+ </p>
+</dd>
 
 </dl>
 
http://cvs.php.net/viewcvs.cgi/php-gtk-web/index.php?r1=1.112&r2=1.113&diff_format=u
Index: php-gtk-web/index.php
diff -u php-gtk-web/index.php:1.112 php-gtk-web/index.php:1.113
--- php-gtk-web/index.php:1.112	Thu Apr 13 17:06:39 2006
+++ php-gtk-web/index.php	Fri Apr 14 03:31:43 2006
@@ -1,6 +1,6 @@
 <?php
 /*
- * $Id: index.php,v 1.112 2006/04/13 17:06:39 sfox Exp $ 
+ * $Id: index.php,v 1.113 2006/04/14 03:31:43 sfox Exp $ 
  */
 
 // Start output buffering in order to grab the data from the documentation
@@ -65,7 +65,7 @@
 <a href="http://cvs.php.net/viewcvs.cgi/php-gtk/ChangeLog?view=markup">implementing new features</a>. 
 Recently he added the ability to use GtkListStores and GtkTreeStores as if 
 they were 
-<a href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=114029530823343&w=2">iterators or arrays</a>. 
+<a href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=114029530823343&amp;w=2">iterators or arrays</a>. 
 This makes it much easier to work with data models for GtkTreeView and 
 GtkComboBox. The documentation team has been working hard to fill out the docs.
 Several new pages have been added and the PHP-GTK 2 docs will soon make their 
@@ -155,7 +155,7 @@
 
 <p><span class="newsdate">[25-Jul-2005]</span>
  There is talk on the
- <a href="http://marc.theaimsgroup.com/?l=php-dev&m=112142925911670&w=2">PHP
+ <a href="http://marc.theaimsgroup.com/?l=php-dev&amp;m=112142925911670&amp;w=2">PHP
  Internals mailing list</a> about removing support for Win9x (95/98/2000/ME)
  from PHP 5.1. For most PHP developers this isn't much of a big deal but for 
  PHP-GTK 2 developers it may have a much more significant impact. If you have
@@ -212,7 +212,7 @@
    <p>In other news, Christian Weiske is making steady progress on the 
     documentation system. Docs skeletons can now be automatically generated
     for all of the classes that have been implemented so far. Read his 
-    <a href="http://marc.theaimsgroup.com/?l=php-gtk-doc&m=111316563116664&w=2">post</a>
+    <a href="http://marc.theaimsgroup.com/?l=php-gtk-doc&amp;m=111316563116664&amp;w=2">post</a>
     to the documentation mailing list for more details.
    </p>
 
@@ -223,7 +223,7 @@
 <p><span class="newsdate">[21-Mar-2005]</span> PHP-GTK 2 is making great strides
    toward a working release. Andrei's relentless work has lead to a current CVS
    version that can run non-trivial scripts. See this 
-   <a href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=111006182204075&w=2">posting</a>
+   <a href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=111006182204075&amp;w=2">posting</a>
    to the general mailing list for an example. Take a look at the
    <a href="http://cvs.php.net/co.php/php-gtk/ChangeLog">change log</a> for the
    latest updates.</p>
@@ -265,7 +265,7 @@
 
 <p>Other PHP communities are contributing to PHP-GTK development in their 
    own way. PEAR has released another class, <a 
-   href="http://pear.php.net/packages.php?catpid=34&catname=Gtk+Components">Gtk_Styled</a>, 
+   href="http://pear.php.net/packages.php?catpid=34&amp;catname=Gtk+Components">Gtk_Styled</a>, 
    to help PHP-GTK developers write cleaner, more stable code. The folks 
    over at Zend have recognized everyone who has contributed to PHP-GTK 
    development, documentation or the web site by adding them to the "<a 
@@ -282,7 +282,7 @@
 <p><span class="newsdate">[20-Dec-2004]</span> There has been a lot of 
     discussion lately about the role PHP-GTK can and is playing in the 
     business world. Several people have <a
-    href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=109903609804913&w=2">commented</a>
+    href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=109903609804913&amp;w=2">commented</a>
     on the <a href="http://gtk.php.net/resources.php">php-gtk-general
     mailing list</a> about how they have developed secure, cross-platform
     applications for use in business with PHP-GTK. Using tools such as
http://cvs.php.net/viewcvs.cgi/php-gtk-web/include/layout.php?r1=1.46&r2=1.47&diff_format=u
Index: php-gtk-web/include/layout.php
diff -u php-gtk-web/include/layout.php:1.46 php-gtk-web/include/layout.php:1.47
--- php-gtk-web/include/layout.php:1.46	Thu Apr 13 17:06:39 2006
+++ php-gtk-web/include/layout.php	Fri Apr 14 03:31:43 2006
@@ -1,5 +1,5 @@
 <?php
-/* $Id: layout.php,v 1.46 2006/04/13 17:06:39 sfox Exp $ */
+/* $Id: layout.php,v 1.47 2006/04/14 03:31:43 sfox Exp $ */
 
 # spacer()
 # print a IMG tag for a sized spacer GIF
@@ -48,7 +48,7 @@
             $file,
             $border,
             ($alt    ? $alt : ''),
-            ($align  ? ' ALIGN="'.$align.'"'  : ''),
+            ($align  ? ' align="'.$align.'"'  : ''),
             ($extras ? ' '.$extras            : '')
         );
     }
@@ -74,7 +74,7 @@
     $return = make_image($file, $alt, $align, $extras, $dir, $border);
 
     if ($return != "<img>") {
-        $return = '<input type="image"' . substr($return,4);
+        $return = str_replace(' border="' . $border . '"', '', '<input type="image"' . substr($return,4));
     } else {
         $return = '<input type="submit">';
     }
@@ -139,94 +139,97 @@
 #
 function commonHeader($title=false, $padding=true) {
 	global $SIDEBAR_DATA;
-?><html>
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+            "http://www.w3.org/TR/html4/loose.dtd">
+<html>
 <head>
-    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
-    <title>PHP-GTK<?php if ($title) { echo ' : '.$title; } ?></title>
-    <link rel="stylesheet" href="/style.css" />
-    <link rel="stylesheet" href="/style-highlight.css" />
-    <link rel="shortcut icon" href="/gifs/favicon.ico" />
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+ <title>PHP-GTK<?php if ($title) { echo ' : '.$title; } ?></title>
+ <link rel="stylesheet" href="/style.css" />
+ <link rel="stylesheet" href="/style-highlight.css" />
+ <link rel="shortcut icon" href="/gifs/favicon.ico" />
 </head>
 
 <body bgcolor="#FFFFFF" text="#000000" link="#000099" alink="#0000FF" vlink="#000099">
-<a name="TOP"></a>
-<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
-    <tr bgcolor="#0099CC">
-        <td align="left" rowspan="2">
-            <?php print_link('/', make_image('php-gtk.gif', 'PHP-GTK', false, 'vspace="2" hspace="2"')); ?><br />
-        </td>
-        <td align="right" valign="top" nowrap>
-            <font color="#FFFFFF">
-                <b><?php echo strftime("%A, %B %d, %Y"); ?></b>&nbsp;<br />
-            </font>
-        </td>
-    </tr>
-    <tr bgcolor="#0099CC">
-        <td align="right" valign="bottom" nowrap>
-            <?php
-            print_link('/download.php', 'download', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/docs.php', 'documentation', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/wiki/Main/HomePage', 'wiki', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/apps/', 'applications', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/faq.php', 'faq', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/changelog.php', 'changelog', false, 'class="menuBlack"');
-            echo delim();
-            print_link('/resources.php', 'resources', false, 'class="menuBlack"');
-            if (isset($_COOKIE['MAGIC_COOKIE'])) {
-                echo delim();
-                print_link('/admin-logout.php', 'logout', false, 'class="menuBlack"');
-            }
-            ?>&nbsp;<br />
-            <?php spacer(2,2); ?><br />
-        </td>
-    </tr>
-    <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1); ?><br /></td></tr>
-    <tr bgcolor="#006699">
-	    <form method="POST" action="/search.php">
-            <td align="right" valign="top" colspan="2" nowrap>
-                <font color="#FFFFFF">
-                    <small>search for</small>
-                    <input class="small" type="text" name="pattern" value="<?php echo htmlentities($prevsearch); ?>" size="30" />
-                    <small>in the</small>
-                    <select name="show" class="small">
-                        <option value="manual">manual</option>
-                        <option value="whole-site">whole site</option>
-                        <option value="wiki">wiki</option>
-                        <option value="php-gtk-general-list">general mailing list</option>
-                        <option value="php-gtk-dev-list">development mailing list</option>
-                        <option value="php-gtk-doc-list">documentation mailing list</option>
-                    </select>
-                    <?php echo make_submit('small_submit_white.gif', 'search', 'bottom'); ?>&nbsp;<br />
-                </font>
-            </td>
-        </form>
-    </tr>
-    <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1) ;?><br /></td></tr>
-</table>
-
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-    <tr valign="top">
-    <?php if (isset($SIDEBAR_DATA)): ?>
-        <td width="200" bgcolor="#F0F0F0">
-            <table width="100%" cellpadding="4" cellspacing="0">
-                <tr valign="top">
-                    <td class="sidebar">
-                        <?php echo $SIDEBAR_DATA; ?>
-                    </td>
-                </tr>
-            </table>
-        </td>
-        <td bgcolor="#CCCCCC" background="/gifs/checkerboard.gif"><?php spacer(1,1); ?><br /></td>
+ <a name="TOP"></a>
+ <table border="0" cellspacing="0" cellpadding="0" width="100%" style="height:48px;">
+  <tr bgcolor="#0099CC">
+   <td align="left" rowspan="2">
+    <?php print_link('/', make_image('php-gtk.gif', 'PHP-GTK', false, 'vspace="2" hspace="2"')); ?><br />
+   </td>
+   <td align="right" valign="top" nowrap>
+    <font color="#FFFFFF">
+     <b><?php echo strftime("%A, %B %d, %Y"); ?></b>&nbsp;<br />
+    </font>
+   </td>
+  </tr>
+  <tr bgcolor="#0099CC">
+   <td align="right" valign="bottom" nowrap>
+    <?php
+     print_link('/download.php', 'download', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/docs.php', 'documentation', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/wiki/Main/HomePage', 'wiki', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/apps/', 'applications', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/faq.php', 'faq', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/changelog.php', 'changelog', false, 'class="menuBlack"');
+     echo delim();
+     print_link('/resources.php', 'resources', false, 'class="menuBlack"');
+     if (isset($_COOKIE['MAGIC_COOKIE'])) {
+         echo delim();
+         print_link('/admin-logout.php', 'logout', false, 'class="menuBlack"');
+     }
+    ?>&nbsp;<br />
+    <?php spacer(2,2); ?><br />
+   </td>
+  </tr>
+  <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1); ?><br /></td></tr>
+  <tr bgcolor="#006699">
+   <td align="right" valign="top" colspan="2" nowrap>
+    <form method="post" action="/search.php" style="display:inline">
+      <font color="#FFFFFF">
+       <small>search for</small>
+       <input class="small" type="text" name="pattern" value="<?php echo htmlentities($prevsearch); ?>" size="30" />
+       <small>in the</small>
+       <select name="show" class="small">
+        <option value="manual">manual</option>
+        <option value="whole-site">whole site</option>
+        <option value="wiki">wiki</option>
+        <option value="php-gtk-general-list">general mailing list</option>
+        <option value="php-gtk-dev-list">development mailing list</option>
+        <option value="php-gtk-doc-list">documentation mailing list</option>
+       </select>
+      <?php echo make_submit('small_submit_white.gif', 'search', 'bottom'); ?>&nbsp;<br />
+     </font>
+    </form>
+   </td>
+  </tr>
+  <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1) ;?><br /></td></tr>
+ </table>
+
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+  <tr valign="top">
+   <?php if (isset($SIDEBAR_DATA)): ?>
+   <td width="200" bgcolor="#F0F0F0">
+    <table width="100%" cellpadding="4" cellspacing="0">
+     <tr valign="top">
+      <td class="sidebar">
+       <?php echo $SIDEBAR_DATA; ?>
+      </td>
+     </tr>
+    </table>
+   </td>
+   <td bgcolor="#CCCCCC" style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1); ?><br /></td>
     <?php endif; ?>
-        <td>
-            <table width="100%" cellpadding="<?php if ($padding) { print("10"); } else { print("0"); } ?>" cellspacing="0">
-                <tr>
-                    <td valign="top">
+   <td>
+    <table width="100%" cellpadding="<?php if ($padding) { print("10"); } else { print("0"); } ?>" cellspacing="0">
+     <tr>
+      <td valign="top">
 <?php
 }
 
@@ -240,56 +243,56 @@
         print("<br />");
     }
 ?>
-                    </td>
-                </tr>
-            </table>
-        </td>
-    <?php if (isset($RIGHT_SIDEBAR_DATA)): ?>
-        <td bgcolor="#CCCCCC" background="/gifs/checkerboard.gif"><?php spacer(1,1);?><br /></td>
-        <td width="170" bgcolor="#F0F0F0">
-            <table width="100%" cellpadding="4" cellspacing="0">
-                <tr valign="top">
-                    <td class="sidebar">
-                        <?php echo $RIGHT_SIDEBAR_DATA; ?>
-                    </td>
-                </tr>
-            </table>
-        </td>
-    <?php endif; ?>
-    </tr>
-</table>
-
-<table border="0" cellspacing="0" cellpadding="0" width="100%">
-    <tr bgcolor="#000033"><td><?php spacer(1,1);?><br /></td></tr>
-    <tr bgcolor="#006699">
-        <td align="right" valign="bottom">
-            <?php
-            //print_link('/source.php?url='.$_SERVER['SCRIPT_NAME'], 'show source', false, 'class="menuWhite"');
-            //echo delim();
-            print_link('/credits.php', 'credits', false, 'class="menuWhite"');
-            ?>&nbsp;<br />
-        </td>
-    </tr>
-    <tr bgcolor="#000033"><td><?php spacer(1,1); ?><br /></td></tr>
-</table>
-
-<table border="0" cellspacing="0" cellpadding="6" width="100%">
-    <tr valign="top" bgcolor="#CCCCCC">
-        <td>
-            <small>
-                <?php print_link('http://www.php.net/', make_image('php-logo.gif', 'PHP', 'left')); ?>
-                <?php print_link('/copyright.php', 'Copyright &copy; 2001-' . date('Y') . ' The PHP Group'); ?><br />
-                All rights reserved.<br />
-            </small>
-        </td>
-        <td align="right">
-            <small>
-                Last updated: <?php echo strftime("%c %Z", getlastmod()); ?><br />
-            </small>
-            <br />
-        </td>
-    </tr>
-</table>
+      </td>
+     </tr>
+    </table>
+   </td>
+   <?php if (isset($RIGHT_SIDEBAR_DATA)): ?>
+   <td bgcolor="#CCCCCC" style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1); ?><br /></td>
+   <td width="170" bgcolor="#F0F0F0">
+    <table width="100%" cellpadding="4" cellspacing="0">
+     <tr valign="top">
+      <td class="sidebar">
+       <?php echo $RIGHT_SIDEBAR_DATA; ?>
+      </td>
+     </tr>
+    </table>
+   </td>
+   <?php endif; ?>
+  </tr>
+ </table>
+
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+  <tr bgcolor="#000033"><td><?php spacer(1,1);?><br /></td></tr>
+  <tr bgcolor="#006699">
+   <td align="right" valign="bottom">
+    <?php
+     //print_link('/source.php?url='.$_SERVER['SCRIPT_NAME'], 'show source', false, 'class="menuWhite"');
+     //echo delim();
+     print_link('/credits.php', 'credits', false, 'class="menuWhite"');
+    ?>&nbsp;<br />
+   </td>
+  </tr>
+  <tr bgcolor="#000033"><td><?php spacer(1,1); ?><br /></td></tr>
+ </table>
+
+ <table border="0" cellspacing="0" cellpadding="6" width="100%">
+  <tr valign="top" bgcolor="#CCCCCC">
+   <td>
+    <small>
+     <?php print_link('http://www.php.net/', make_image('php-logo.gif', 'PHP', 'left')); ?>
+     <?php print_link('/copyright.php', 'Copyright &copy; 2001-' . date('Y') . ' The PHP Group'); ?><br />
+     All rights reserved.<br />
+    </small>
+   </td>
+   <td align="right">
+    <small>
+     Last updated: <?php echo strftime("%c %Z", getlastmod()); ?><br />
+    </small>
+    <br />
+   </td>
+  </tr>
+ </table>
 </body>
 </html>
 <?php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.