cvs: phpweb(NEW_LOOK_2001) / FAQ.php books.php docs.php downloads.php index.php links.php mirrors.php news.php search.php source.php style.css
support.php /include layout.inc
| From: | Colin Viebrock | Date: | Tue, 06 Feb 2001 21:41:08 +0000 |
| Subject: | cvs: phpweb(NEW_LOOK_2001) / FAQ.php books.php docs.php downloads.php index.php links.php mirrors.php news.php search.php source.php style.css support.php /include layout.inc |
||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3804@lists.php.net to get a copy of this message | ||
cmv Tue Feb 6 13:41:08 2001 EDT
Modified files: (Branch: NEW_LOOK_2001)
/phpweb FAQ.php books.php docs.php downloads.php index.php
links.php mirrors.php news.php search.php source.php
style.css support.php
/phpweb/include layout.inc
Log:
Layout changes
Index: phpweb/FAQ.php diff -u phpweb/FAQ.php:1.1.2.1 phpweb/FAQ.php:1.1.2.2 --- phpweb/FAQ.php:1.1.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/FAQ.php Tue Feb 6 13:41:07 2001 @@ -2,7 +2,9 @@ commonHeader("Frequently Asked Questions"); ?> -<h1>PHP Frequently Asked Questions</h1> +<h1> +PHP Frequently Asked Questions +</h1> <!-- The website should stop chopping. --> @@ -15,7 +17,7 @@ <a href="mailto:phpdoc@lists.php.net">phpdoc@lists.php.net</a>. --> <p> -<hr noshade> +<? echo hdelim(); ?> <ul> <li><b><a href="#1">1. General Information</a></b> @@ -116,7 +118,7 @@ <li><b><a href="#12">12. Migrating from PHP2 to PHP3</a></b> </ul> -<hr noshade> +<? echo hdelim(); ?> <a name="1"> <h2>1. General Information</h2> </a> @@ -203,7 +205,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="2"> <h2>2. PHP mailing lists</h2> </a> @@ -283,7 +285,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="3"> <h2>3. Obtaining PHP</h2> </a> @@ -385,7 +387,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="4"> <h2>4. Connecting to databases</h2> </a> @@ -611,7 +613,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="5"> <h2>5. Installation</h2> </a> @@ -725,7 +727,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="6"> <h2>6. Build Problems</h2> </a> @@ -946,7 +948,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="7"> <h2>7. Using PHP</h2> </a> @@ -1211,7 +1213,7 @@ </DD> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="8"> <h2>8. PHP and HTML</h2> </a> @@ -1249,7 +1251,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="9"> <h2>9. PHP and other languages</h2> @@ -1326,7 +1328,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="10"> <h2>10. Common Problems</h2> </a> @@ -1404,7 +1406,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="11"> <h2>11. Migrating from PHP3 to PHP4</h2> </a> @@ -1430,7 +1432,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="12"> <h2>12. Migrating from PHP2 to PHP3</h2> </a> @@ -1445,7 +1447,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <h2>Credits</h2> Index: phpweb/books.php diff -u phpweb/books.php:1.84.2.1 phpweb/books.php:1.84.2.2 --- phpweb/books.php:1.84.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/books.php Tue Feb 6 13:41:07 2001 @@ -2,11 +2,12 @@ commonHeader("PHP Books"); ?> -<TABLE BORDER=0 CELLPADDING=5> -<TR VALIGN="middle"> -<TD COLSPAN=2><B>Books in English</B></TD> -</TR> +<h1> +Books in English +</h1> + +<TABLE BORDER=0 CELLPADDING=5> <TR VALIGN="middle"> <TD ALIGN="center"><A HREF="http://www.amazon.com/exec/obidos/ASIN/1565927699/wwwphpnet" @@ -267,10 +268,13 @@ </TD> </TR> +</TABLE> -<TR VALIGN="middle"> -<TD COLSPAN=2><B>Other Languages</B></TD> -</TR> +<h1> +Other Languages +</h1> + +<TABLE BORDER=0 CELLPADDING=5> <TR VALIGN="middle"> <TD ALIGN="center"><A HREF="http://www.amazon.de/exec/obidos/ASIN/3897212250/wwwphpnet07" @@ -742,10 +746,9 @@ </TD> </TR> - - </TABLE> + <P> Click on the links above for more information on the books. And remember, if you buy the book using the above links, you are helping to support PHP development! @@ -762,12 +765,11 @@ search there): </P> +<p> <FORM METHOD="get" ACTION="http://www.amazon.com/exec/obidos/external-search"> <INPUT TYPE="hidden" NAME="tag" VALUE="wwwphpnet"> -<TABLE BORDER=0 CELLPADDING=3 cellspacing=0 align="center" BGCOLOR="#E0E0E0"> -<TR VALIGN="middle"> -<TD align="right">Search what:<BR></TD> -<TD><SELECT NAME="mode"> +Search Amazon for +<SELECT NAME="mode"> <OPTION VALUE="blended">All Products <OPTION VALUE="books" SELECTED>Books <OPTION VALUE="music">Popular Music @@ -776,11 +778,8 @@ <OPTION VALUE="toys">Toys <OPTION VALUE="electronics">Electronics </SELECT> -</TD> -</TR> -<TR VALIGN="middle"> -<TD align="right">Search for:<BR></TD> -<TD><SELECT NAME="keyword"> +about +<SELECT NAME="keyword"> <OPTION SELECTED>PHP <OPTION>Apache <OPTION>Linux @@ -797,10 +796,8 @@ <OPTION>ODBC </SELECT> <INPUT TYPE="submit" BORDER=0 VALUE="Search" NAME="Search"> -</TD> -</TR> -</TABLE> </FORM> +</p> <? commonFooter(); Index: phpweb/docs.php diff -u phpweb/docs.php:1.44.2.1 phpweb/docs.php:1.44.2.2 --- phpweb/docs.php:1.44.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/docs.php Tue Feb 6 13:41:07 2001 @@ -2,13 +2,19 @@ commonHeader("Documentation"); ?> -<H1>PHP FAQ</H1> +<H1> +PHP FAQ +</H1> <ul> <li>The <a href="FAQ.php">PHP FAQ</a> is your first stop for general information and those questions that seem to be on most people's minds. </ul> + +<? echo hdelim(); ?> + + <H1>The PHP Manual On-line</H1> <ul> <li><a href="manual/">PHP Manual Online</a>. Your reference @@ -23,8 +29,13 @@ up-to-date info in this version of the manual than you will at one of the above links. You can also browse or download translated versions here. </ul> + + + +<? echo hdelim(); ?> + -<H2>PHP Annotated Manuals</H2> +<H1>PHP Annotated Manuals</H1> <ul> <LI><A href="http://www.php.net/manual/">PHP Annotated Manual</A>. This is the same as the above, except there is a built-in errata/note system @@ -37,6 +48,11 @@ system. </ul> + + +<? echo hdelim(); ?> + + <H1>Downloadable PHP Manuals</H1> <H2>HTML Version</H2> <ul> @@ -44,7 +60,7 @@ <li><?php download_link("manual.zip", "PHP HTML Manual ZIP File"); ?> <li><?php download_link("manual.tar.gz", "PHP HTML Manual .tar.gz File"); ?> </ul> -<H2>Latest versions (daily snapshots)</H2> +<H2>Latest Versions (Daily Snapshots)</H2> <ul> <li><?php download_link("http://snaps.php.net/manual/manual-en-current.tar.gz", "PHP HTML Manual (English) .tar.gz File"); ?> <li><?php download_link("http://snaps.php.net/manual/manual-de-current.tar.gz", "PHP HTML Manual (German) .tar.gz File"); ?> @@ -86,6 +102,11 @@ <li><?php download_link("manual_doc.pdb","PHP Manual - PalmPilot DOC format"); ?> </ul> + + +<? echo hdelim(); ?> + + <H1>Translations</H1> <ul> <li><a href="http://www.cityfujisawa.ne.jp/~louis/apps/phpfi/index.html" @@ -94,8 +115,13 @@ <li><a href="http://dev.nexen.net/docs/php/annotee/manuel_toc.php">Version française annotée.</a><br> Versions téléchargeables <a href="http://dev.nexen.net/docs/php/chargement.html">disponibles</a>. (PDF, HTML, doc, ps, palm). </ul> + + + +<? echo hdelim(); ?> -<H1>More information</H1> + +<H1>More Information</H1> <ul> <li><a href="http://zugeschaut-und-mitgebaut.de/php/">PHP Function Table</a>. This page has a overview about which pages are translated to the @@ -108,14 +134,24 @@ <li>License questions? See the <a href="/license/#FAQ">License FAQ</a></li> </ul> + + +<? echo hdelim(); ?> + + <H1>CVS Account</H1> <ul> <li><a href="anoncvs.php">CVS instructions</a></li> <li><A href="/cvs-php.php">Getting a CVS account</a>. If you wish to help out with the development of PHP, read this. </ul> + + + +<? echo hdelim(); ?> + -<H1>Old/unsupported information</H1> +<H1>Old/Unsupported Information</H1> <ul> <li><a href="manual/phpfi2.php">PHP/FI 2.0 Manual</a>. This includes discussions on a few topics that aren't covered in the PHP 3 manual Index: phpweb/downloads.php diff -u phpweb/downloads.php:1.37.2.1 phpweb/downloads.php:1.37.2.2 --- phpweb/downloads.php:1.37.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/downloads.php Tue Feb 6 13:41:07 2001 @@ -1,18 +1,17 @@ <? commonHeader("Downloads "); $server = ($SERVER_PORT == "81" ? $SERVER_NAME . ":81" : $SERVER_NAME); - -// $server = 'ca.php.net'; ?> + +<h1>Latest version of PHP 4.0</h1> -<h2>Latest version of PHP 4.0</h2><BR> -<b>Complete Source Code</b><BR> +<h2>Complete Source Code</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 11 January 2001</li> </UL> -<b>Win32 Binaries</b><BR> +<h2>Win32 Binaries</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.4pl1-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 13 January 2001<br>(3.64 Mb CGI binary plus server API versions for Apache, AOL server, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip)</li> <li><a href="http://www.php.net/do_download.php?download_file=php404pl1-installer.exe&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 13 January 2001<br>(735 Kb CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)</li> @@ -33,10 +32,11 @@ </UL> -<hr noshade> +<? echo hdelim(); ?> -<h3>Other Downloads</h3> +<h1>Other Downloads</h1> + <UL> <li>For downloadable documentation, go to the <A HREF="docs.php">documentation</A> page <li>Get some <A HREF="download-logos.php">PHP logos</A> for your site @@ -44,10 +44,14 @@ <li><a href="http://www.zend.com/zend/optimizer.php">Zend Optimizer 1.0.0</a> for PHP 4.0.3 and later is available on Zend Technologies' web site. </ul> + -<H3>Previous Releases of PHP 4.0</H3> +<? echo hdelim(); ?> -<b>Complete Source Code</b><BR> + +<H1>Previous Releases of PHP 4.0</H1> + +<h2>Complete Source Code</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.3pl1.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.3pl1 </a></li> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.2.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.2</a></li> @@ -57,7 +61,7 @@ <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.0.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.0</a></li> </UL> -<b>Win32 Binaries</b><BR> +<h2>Win32 Binaries</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.3pl1-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.3pl1</a></li> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.2-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.2</a></li> @@ -78,11 +82,12 @@ <P> <I>Previous releases are listed for informational purposes only. You should being using the latest release.</I> </P> + -<hr noshade> +<? echo hdelim(); ?> -<h3>Older Versions of PHP</h3> +<h1>Older Versions of PHP</h1> <UL> <li><a href="download-php3.php">PHP 3.0</a> Source code and Win32 binaries @@ -93,7 +98,6 @@ <I>Older releases are listed for archeological purposes only. They are no longer supported.</I> </P> -<hr noshade> <? Index: phpweb/index.php diff -u phpweb/index.php:1.31.2.2 phpweb/index.php:1.31.2.3 --- phpweb/index.php:1.31.2.2 Tue Feb 6 12:37:12 2001 +++ phpweb/index.php Tue Feb 6 13:41:07 2001 @@ -4,9 +4,9 @@ ?> -<h2> +<h1> Patch Level 1 Released For PHP 4.0.4 -</h2> +</h1> <p> Due to two security issues found in the Apache module version of PHP 4.0, PHP 4.0.4pl1 has been released. This bug-fix release also fixes a few party-crashing bugs that @@ -18,10 +18,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_link("/usage.php", make_image("stats-small.gif", "PHP Usage Stats", "right") ); ?> New Usage Stats For January Available -</h2> +</h1> <p> <? print_link("http://www.netcraft.com/", "Netcraft"); ?> and <? print_link("http://www.securityspace.com/s_survey/", "E-Soft" ); ?> have @@ -35,10 +35,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_link("http://conferences.oreilly.com/oscon2001/", make_image("osscon.gif", "OSSCon", "right") ); ?> PHP Conference - Call For Participation -</h2> +</h1> <p> The conference will be part of the <? print_link("http://conferences.oreilly.com/oscon2001/", "O'Reilly Open Source Convention"); ?> alongside the 5th annual Perl Conference at the @@ -52,9 +52,9 @@ <? echo hdelim(); ?> -<h2> +<h1> PHP 4.0.4 Released -</h2> +</h1> <p> 19-Dec-2000 -- This release includes improvements for a large number of defects and numerous enhancements in the PHP core, the language implementation and @@ -67,9 +67,9 @@ <? echo hdelim(); ?> -<h2> +<h1> PHP 3.0.18 Released -</h2> +</h1> <p> 21-Oct-2000 -- PHP 3.0.18 was released. This is a bug-fix release, including fixes for file uploads and a backported imagetypes() function from PHP 4.0. The @@ -82,9 +82,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Improve Your PHP Skills -</h2> +</h1> <p> Looking for clear and useful guides to build dynamic web-sites using PHP? Our <? print_link("/books.php", "Books Resource Center"); ?> lists now @@ -97,9 +97,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Manual Search Tip -</h2> +</h1> <p> You can go directly to PHP manual pages with a URL such as <? print_link("http://www.php.net/strlen", "www.php.net/strlen"); ?>. @@ -110,9 +110,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Tips and Tricks Section -</h2> +</h1> <p> Check out our <? print_link("/tips.php", "tips"); ?> page for some "neat" things, PHP-related. It's a little sparse right now, but feel free to make suggestions! @@ -123,10 +123,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_image("ZendOptimizer.gif", "Zend", "right"); ?> Zend Optimizer Released -</h2> +</h1> <p> <? print_link("http://www.zend.com", "Zend Technologies"); ?> has announced the availability of the Zend Optimizer for PHP 4.0. The optimizer is available for @@ -138,9 +138,9 @@ <? echo hdelim(); ?> -<h2> +<h1> What Is PHP? -</h2> +</h1> <p> PHP is a server-side, cross-platform, HTML embedded scripting language. If you are completely new to PHP and want to get some idea of how it works, @@ -154,9 +154,9 @@ <? echo hdelim(); ?> -<h2> +<h1> So, How Much Does It Cost? -</h2> +</h1> <p> This may sound a little foreign to all you folks coming from a non-Unix background, but PHP doesn't cost anything. You can use it for commercial Index: phpweb/links.php diff -u phpweb/links.php:1.12.2.1 phpweb/links.php:1.12.2.2 --- phpweb/links.php:1.12.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/links.php Tue Feb 6 13:41:07 2001 @@ -2,14 +2,19 @@ commonHeader("Links"); ?> -<h3>Sites using PHP</h3> + +<h1>Sites using PHP</h1> <P> Who uses PHP? An ever-increasing number of companies are using PHP to add functionality to their web-sites. You can browse through a list of some companies using PHP <a href="/sites.php">here</a>. </P> + + +<? echo hdelim(); ?> -<h3>Developers and Job Opportunities</h3> + +<h1>Developers and Job Opportunities</h1> <P> Brian Schaffner has put up a <A HREF="http://www.schaffner.net/emp">PHP Employment Listing</A> site. PHP developers can post their resumes, and employers can post their job notices. @@ -20,8 +25,12 @@ HREF="http://classifieds.yahoo.com/yc?cr=national&ce_f=&cpo=&cpj=&ck=PHP&g=&cs=time+2&cc=employment&cf=1&za=and" >Yahoo Careers</A> for PHP-related jobs (US only for now). </P> + -<h3>ISPs that support PHP</h3> +<? echo hdelim(); ?> + + +<h1>ISPs that support PHP</h1> <P> Looking for an ISP or hosting service that supports PHP? Try one of the following sites: </P> @@ -31,8 +40,12 @@ (features a searchable directory and comments from users)<BR> <LI>PMCW webservices (<a href="http://pmcw.dhs.org/">http://pmcw.dhs.org/</a>) </UL> + + +<? echo hdelim(); ?> + -<h3>Getting Started</h3> +<h1>Getting Started</h1> <P>On these sites you will find tutorials, articles and example scripts</P> <UL> Index: phpweb/mirrors.php diff -u phpweb/mirrors.php:1.2.2.2 phpweb/mirrors.php:1.2.2.3 --- phpweb/mirrors.php:1.2.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/mirrors.php Tue Feb 6 13:41:07 2001 @@ -1,32 +1,39 @@ <? -if (isset($country) { +if (isset($country)) { header("Location: http://$country.php.net/"); } commonHeader("Mirrors Page"); ?> +<h1> +Mirror Sites +</h1> +<p> +Pick a mirror site close to you: +</p> + +<p> <FORM ACTION="redirect.php" METHOD="POST"> -<B>Pick a mirror site close to you:</B><BR> <SELECT NAME="URL"><? $mirror_sites=$MIRRORS; reset($mirror_sites); -while ($site = key($mirror_sites)): +while ($site = key($mirror_sites)) { next($mirror_sites); $country=$mirror_sites[$site][0]; $place=$mirror_sites[$site][1]; $type=$mirror_sites[$site][4]; - if ($type==1 && substr($site,0,7)=="http://"): + if ($type==1 && substr($site,0,7)=="http://") { echo "<OPTION VALUE=\"$site\">$place ($COUNTRIES[$country])\n"; - endif; -endwhile; + } +} ?></SELECT> -<INPUT TYPE="image" SRC="/gifs/b-go.gif" ALIGN=absmiddle WIDTH=36 HEIGHT=21 BORDER=0><BR> +<INPUT TYPE="submit" VALUE=" Go "><BR> </FORM> -<P> -<SMALL> -If you are interested in hosting a mirror of this site, <A HREF="/README.mirror">here's -how</A>. -</SMALL> -<P> +</p> + +<p> +If you are interested in hosting a mirror of this site, +<? print_link("/README.mirror", "here's how"); ?>. +</p> <? commonFooter(); ?> Index: phpweb/news.php diff -u phpweb/news.php:1.15.2.1 phpweb/news.php:1.15.2.2 --- phpweb/news.php:1.15.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/news.php Tue Feb 6 13:41:07 2001 @@ -48,7 +48,7 @@ ?> -<h3>PHP in the News</h3> +<h1>PHP in the News</h1> <P> Index: phpweb/search.php diff -u phpweb/search.php:1.4.2.2 phpweb/search.php:1.4.2.3 --- phpweb/search.php:1.4.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/search.php Tue Feb 6 13:41:07 2001 @@ -48,33 +48,27 @@ } if (file_exists("configuration.inc")) { - include("configuration.inc"); + include_once 'configuration.inc'; } function makeBar($no,$page,$pages,$baseurl,$firstdisplayed,$lastdisplayed) { - global $FONTFACE; + $last = $next = ' '; if ($page>1) { $i=$page-1; - $last="<A HREF=\"$baseurl&page=$i\" onMouseover=\"change('prev$no',1);\" onMouseout=\"hide();\"><IMG SRC='/gifs/b-prev-p.gif' ALT='Previous page' WIDTH=75 HEIGHT=21 VSPACE=7 BORDER=0 NAME='prev$no' align=absmiddle></A>"; - } else { - $last=" "; + $last=make_link($baseurl.'&page='.$i, 'prev page'); } if ($page<$pages) { $i=$page+1; - $next="<A HREF=\"$baseurl&page=$i\" onMouseover=\"change('next$no',1);\" onMouseout=\"hide();\"><IMG SRC='/gifs/b-next-p.gif' ALT='Next page' WIDTH=75 HEIGHT=21 VSPACE=7 BORDER=0 NAME='next$no' align=absmiddle></A>"; - } else { - $next=" "; + $next=make_link($baseurl.'&page='.$i, 'next page'); } $middle="<B>Displaying results $firstdisplayed to $lastdisplayed</B>"; - echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR='#D0D0D0' CELLPADDING=0 CELLSPACING=0>\n"; + echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR='#cccccc' CELLPADDING=0 CELLSPACING=0>\n"; echo "<TR VALIGN=middle>\n"; - echo "<TD ALIGN=left WIDTH=18><IMG SRC='/gifs/gcap-left.gif' WIDTH=18 HEIGHT=36 BORDER=0><BR></TD>\n"; echo "<TD ALIGN=left WIDTH=75>$last<BR></TD>\n"; - echo "<TD ALIGN=center WIDTH=100%><FONT FACE='$FONTFACE' SIZE=-1>$middle<BR></TD>\n"; + echo "<TD ALIGN=center WIDTH=100%>$middle<BR></TD>\n"; echo "<TD ALIGN=right WIDTH=75>$next<BR></TD>\n"; - echo "<TD ALIGN=right WIDTH=18><IMG SRC='/gifs/gcap-right.gif' WIDT=18 HEIGHT=36 BORDER=0><BR></TD>\n"; echo "</TR></TABLE><BR>\n"; } @@ -83,22 +77,23 @@ commonHeader("Site Search"); $form=$PHP_SELF; ?> +<h1>Search</h1> <FORM ACTION="<?echo $form;?>" METHOD="POST"> <CENTER> <TABLE CELLSPACING=0 CELLPADDING=2> <TR VALIGN=top> -<TD ALIGN=RIGHT><FONT FACE="<? echo $FONTFACE;?>"> +<TD ALIGN=RIGHT> Search for: <BR> -</FONT></TD> +</TD> <TD> <INPUT TYPE="text" NAME="pattern" VALUE="<?echo $prevsearch;?>" SIZE=30> -<INPUT TYPE="image" SRC="/gifs/b-go.gif" ALIGN=absmiddle WIDTH=36 hspace=3 HEIGHT=21 BORDER=0><BR> +<INPUT TYPE="submit" VALUE=" Search "><BR> </FONT></TD> </TR> <TR VALIGN=top> -<TD ALIGN=RIGHT><FONT FACE="<? echo $FONTFACE;?>"> +<TD ALIGN=RIGHT> Restrict the search to: <BR> -</FONT></TD> +</TD> <TD> <SELECT NAME="show"> <OPTION VALUE="nosource" SELECTED>Whole site @@ -117,6 +112,7 @@ </FORM> <? } else { commonHeader("Search Results"); + echo "<h1>Search Results</h1>\n"; if ($HAVE_SEARCH && isset($htsearch_prog)) { $form=$PHP_SELF; } else { @@ -195,16 +191,20 @@ } echo "\n"; $i++; + + echo hdelim("#cccccc"); + } echo "<BR>\n"; + makeBar("2",$page,$pages,$baseurl,$firstdisplayed,$lastdisplayed); ?> - <CENTER> - <BR><I>Search results courtesy of</I><BR> - <A HREF="http://htdig.sdsu.edu/"><IMG SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig"></A> - </CENTER> + <p> + Search powered by<BR> + <A HREF="http://htdig.sdsu.edu/"><IMG SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig"> + </p> <? } commonFooter(); Index: phpweb/source.php diff -u phpweb/source.php:1.1.2.2 phpweb/source.php:1.1.2.3 --- phpweb/source.php:1.1.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/source.php Tue Feb 6 13:41:07 2001 @@ -9,8 +9,10 @@ ?> Source of: <? echo $url; ?><BR> -<hr noshade> <? + +echo hdelim(); + $legal_dirs = array( "/manual" => 1, "/include" => 1, @@ -32,14 +34,18 @@ } if (!strstr($page_name,"include/shared.inc")) { + +echo hdelim(); + ?> -<hr noshade> <P> The syntax highlighted source is automatically generated by PHP from the plaintext script.<br> -If you're interested in what's behind the <B>commonHeader()</B> and <B>commonFooter</B> functions, -you can always take a look at the <A HREF="/source.php?url=/include/shared.inc"> -source of the shared.inc</A> file. And, of course, if you want to see the source of this page, have -a look <A HREF="/source.php?url=/source.php">here</A>. +If you're interested in what's behind the <B>commonHeader()</B> and <B>commonFooter()</B> functions, +you can always take a look at the source of the +<? print_link("/source.php?url=/include/shared.inc", "shared.inc"); ?> and +<? print_link("/source.php?url=/include/layout.inc", "layout.inc"); ?> files. +And, of course, if you want to see the source of this page, have a look +<? print_link("/source.php?url=/source.php", "here"); ?>. </P> <? } Index: phpweb/style.css diff -u phpweb/style.css:1.1.2.3 phpweb/style.css:1.1.2.4 --- phpweb/style.css:1.1.2.3 Tue Feb 6 12:37:12 2001 +++ phpweb/style.css Tue Feb 6 13:41:07 2001 @@ -5,7 +5,7 @@ p { margin-top: 0px; - margin-bottom: 5px; + margin-bottom: 8px; } em { @@ -18,7 +18,7 @@ } ul, ol { - margin-top: 5px; + margin-top: 8px; } ul.compact, ol.compact { @@ -106,6 +106,10 @@ margin-top: 20px; } +hr { + margin-top: 8px; + margin-bottom: 8px; +} // manual stuff Index: phpweb/support.php diff -u phpweb/support.php:1.22.2.1 phpweb/support.php:1.22.2.2 --- phpweb/support.php:1.22.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/support.php Tue Feb 6 13:41:07 2001 @@ -30,26 +30,35 @@ A request has been entered into the mailing list processing queue. You should receive an email at <?php echo $email;?> shortly describing how to complete your request. +</p> <?php } } else { ?> -<h3>Documentation</h3> +<h1>Documentation</h1> <P> A good place to start is by skimming through the ever-growing <a href="/FAQ.php">FAQ</a>. Then have a look at the online manual and other resources in the <a href="/docs.php">documentation</a> section. </P> + + +<? echo hdelim(); ?> -<h3>Books</h3> + +<h1>Books</h1> <P> <a href="/books.php">Books</a> are convenient resources to begin exploring PHP. <a href="/books.php">The titles listed here</a> will help you to start learning PHP, as well as extending your existing knowledge. </P> + + +<? echo hdelim(); ?> -<h3>Reporting Bugs</h3> + +<h1>Reporting Bugs</h1> <P>If you can't resolve your problem from the available documentation or mailing list archives, and you think it might be a bug, a <a href="http://bugs.php.net">Bug Database</a> has @@ -58,14 +67,23 @@ Please read <a href="http://bugs.php.net/bugs-dos-and-donts.php" >Dos & Don'ts</a> before posting a report. </P> + + +<? echo hdelim(); ?> -<h3>User Groups</h3> +<h1>User Groups</h1> +<p> PHP user groups have started popping up. Christopher R. Moewes-Bystrom is running a PHP user group registry at <a href="http://www.phpusergroups.org/">http://www.phpusergroups.org/</a>. +</p> -<h3>Mailing Lists</h3> + +<? echo hdelim(); ?> + + +<h1>Mailing Lists</h1> <P> One of the best resources is the very friendly and helpful mailing lists. There are many PHP-related mailing lists available. @@ -175,39 +193,47 @@ ?> -<form method="post" action="http://www.php.net/support.php"><table cellspacing="2" cellpadding="3"> +<form method="post" action="http://www.php.net/support.php"> +<p> +<table cellpadding="5" cellspacing="1"> <?php + +while ( list(, $listinfo) = each($mailing_lists)) { + if (!is_array($listinfo)) { - while ( list(, $listinfo) = each($mailing_lists)) { + echo '<tr bgcolor="#cccccc">'; + echo '<th>' . $listinfo . '</th>'; + echo '<th>Moderated</th>'; + echo '<th>Archive</th>'; + echo '<th>Normal</th>'; + echo '<th>Digest</th>'; + echo '</tr>' . "\n"; - if (!is_array($listinfo)) { echo '<tr bgcolor="#D0D0D0"><th colspan="2">' . $listinfo . '</th><th>Moderated</th><th>Archive</th><th>Normal</th><th>Digest</th></tr>' . "\n"; } - else { + } else { - echo '<tr align="center" bgcolor="#F0F0F0"><td><img src="/gifs/blank.gif" width="5" height="5"></td><td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td><td>'; - if ($listinfo[3]) { echo 'yes'; } else { echo "no"; } - echo '</td><td>'; - if ($listinfo[4]) { echo '<a href="http://marc.theaimsgroup.com/?l=' . $listinfo[0] . '">available</a>'; } - else { echo 'n/a'; } - echo '</td><td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td><td>'; - if ($listinfo[5]) { echo '<input name="maillist" type="radio" value="' . $listinfo[0] . '-digest">'; } - else { echo 'n/a'; } - echo '</td></tr>' . "\n"; + echo '<tr align="center" bgcolor="#e0e0e0">'; + echo '<td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td>'; + echo '<td>' . ($listinfo[3] ? 'yes' : 'no') . '</td>'; + echo '<td>' . ($listinfo[4] ? make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0], 'yes') : 'n/a') . '</td>'; + echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>'; + echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="'.$listinfo[0].'-digest">' : 'n/a' ) . '</td>'; + echo '</tr>' . "\n"; - } - } + } +} ?> - </table> +</p> + +<p align="center"> +<b>Email:</b> +<input type=text name="email" width=40 value="user@example.com"> +<input type=submit name="action" value="Subscribe"> +<input type=submit name="action" value="Unsubscribe"> +</p> -<p><table align="center"> - <tr> - <td><b>Email:</b></td> - <td><input type=text name="email" width=40 value="user@example.com"></td> - <td><input type=submit name="action" value="Subscribe"></td> - <td><input type=submit name="action" value="Unsubscribe"></td> - </tr> -</table></p></form> +</form> <p> You will be sent a confirmation mail at the address you wish to @@ -243,7 +269,12 @@ on the top-right of every page. </p> -<h3>Newsgroups</h3> + + +<? echo hdelim(); ?> + + +<h1>Newsgroups</h1> <p> The mailing lists hosted at lists.php.net are also gatewayed to newsgroups on the server at <a href="news://news.php.net/">news.php.net</a>. @@ -253,8 +284,13 @@ You can both read and post to the mailing lists through the news interface. </p> + + -<h3>Local Mailing Lists</h3> +<? echo hdelim(); ?> + + +<h1>Local Mailing Lists</h1> <p> There are also some mailing lists that have been set up by others in the community to host local discussions (particularly non-English @@ -273,8 +309,13 @@ <li><a href="mailto:lista-subscribe@phpes.com">Spanish PHP User's Mailing List</a> <li><a href="http://phptr.baslangic.net/">Turkish PHP User's Mailing List</a> </ul> + + + +<? echo hdelim(); ?> -<h3>Sample Code</h3> + +<h1>Sample Code</h1> <P> Looking for some more sample PHP scripts? Our <A HREF="/links.php">links page</A> page lists some archives of sample PHP code - @@ -282,23 +323,35 @@ your searching pleasure! </P> + +<? echo hdelim(); ?> + + <a name="phpkb"></a> -<h3>Knowledge Base</h3> +<h1>Knowledge Base</h1> <P> The knowledge base is a growing collection of PHP related information in a searchable question and answer format. Anyone can contribute, and everyone is encouraged to do so. You can visit the Knowledge Base at <a href="http://www.faqts.com/">http://www.faqts.com/</a>. </P> + -<h3>Getting the Latest Development Version</h3> +<? echo hdelim(); ?> + + +<h1>Getting the Latest Development Version</h1> <P> PHP is developed using CVS, so it's possible to obtain the latest development release at any time. Further instructions can be found in the web interface of the <a href="http://cvs.php.net">PHP CVS tree</a>. </P> + + +<? echo hdelim(); ?> + -<h3>Instant Resource Center</h3> +<h1>Instant Resource Center</h1> <P> Otherwise known as IRC or Internet Relay Chat. Here you can usually find experienced PHP people sitting around doing nothing on the #php channel Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.1.2.3 phpweb/include/layout.inc:1.1.2.4 --- phpweb/include/layout.inc:1.1.2.3 Tue Feb 6 12:37:12 2001 +++ phpweb/include/layout.inc Tue Feb 6 13:41:07 2001 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.1.2.3 2001/02/06 20:37:12 cmv Exp $ */ +/* $Id: layout.inc,v 1.1.2.4 2001/02/06 21:41:07 cmv Exp $ */ # spacer() @@ -231,7 +231,7 @@ if (!$dont_enclose): $enclosed = 1;?> <!-- sidebar --> -<table width="20" height="100%" +<table width="20" bgcolor="#ffffff" align="left" cellpadding="2" cellspacing="0" @@ -256,13 +256,15 @@ # function commonFooter() { - global $SCRIPT_NAME,$PHP_SELF,$MIRRORS,$MYSITE,$COUNTRIES,$enclosed; - if ($enclosed):?> -</td></tr></table> -<br clear=all> -<?php - endif; + global $SCRIPT_NAME,$PHP_SELF,$MIRRORS,$MYSITE,$COUNTRIES,$enclosed; + if ($enclosed) { + echo "</td></tr></table>\n"; + } ?> + +<br clear="all"> +<br clear="all"> + <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#333366"><td><?php spacer(1,1);?><br></td></tr> <tr bgcolor="#9999cc">
Index: phpweb/FAQ.php diff -u phpweb/FAQ.php:1.1.2.1 phpweb/FAQ.php:1.1.2.2 --- phpweb/FAQ.php:1.1.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/FAQ.php Tue Feb 6 13:41:07 2001 @@ -2,7 +2,9 @@ commonHeader("Frequently Asked Questions"); ?> -<h1>PHP Frequently Asked Questions</h1> +<h1> +PHP Frequently Asked Questions +</h1> <!-- The website should stop chopping. --> @@ -15,7 +17,7 @@ <a href="mailto:phpdoc@lists.php.net">phpdoc@lists.php.net</a>. --> <p> -<hr noshade> +<? echo hdelim(); ?> <ul> <li><b><a href="#1">1. General Information</a></b> @@ -116,7 +118,7 @@ <li><b><a href="#12">12. Migrating from PHP2 to PHP3</a></b> </ul> -<hr noshade> +<? echo hdelim(); ?> <a name="1"> <h2>1. General Information</h2> </a> @@ -203,7 +205,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="2"> <h2>2. PHP mailing lists</h2> </a> @@ -283,7 +285,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="3"> <h2>3. Obtaining PHP</h2> </a> @@ -385,7 +387,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="4"> <h2>4. Connecting to databases</h2> </a> @@ -611,7 +613,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="5"> <h2>5. Installation</h2> </a> @@ -725,7 +727,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="6"> <h2>6. Build Problems</h2> </a> @@ -946,7 +948,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="7"> <h2>7. Using PHP</h2> </a> @@ -1211,7 +1213,7 @@ </DD> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="8"> <h2>8. PHP and HTML</h2> </a> @@ -1249,7 +1251,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="9"> <h2>9. PHP and other languages</h2> @@ -1326,7 +1328,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="10"> <h2>10. Common Problems</h2> </a> @@ -1404,7 +1406,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="11"> <h2>11. Migrating from PHP3 to PHP4</h2> </a> @@ -1430,7 +1432,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <a name="12"> <h2>12. Migrating from PHP2 to PHP3</h2> </a> @@ -1445,7 +1447,7 @@ </dd> </dl> -<hr noshade> +<? echo hdelim(); ?> <h2>Credits</h2> Index: phpweb/books.php diff -u phpweb/books.php:1.84.2.1 phpweb/books.php:1.84.2.2 --- phpweb/books.php:1.84.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/books.php Tue Feb 6 13:41:07 2001 @@ -2,11 +2,12 @@ commonHeader("PHP Books"); ?> -<TABLE BORDER=0 CELLPADDING=5> -<TR VALIGN="middle"> -<TD COLSPAN=2><B>Books in English</B></TD> -</TR> +<h1> +Books in English +</h1> + +<TABLE BORDER=0 CELLPADDING=5> <TR VALIGN="middle"> <TD ALIGN="center"><A HREF="http://www.amazon.com/exec/obidos/ASIN/1565927699/wwwphpnet" @@ -267,10 +268,13 @@ </TD> </TR> +</TABLE> -<TR VALIGN="middle"> -<TD COLSPAN=2><B>Other Languages</B></TD> -</TR> +<h1> +Other Languages +</h1> + +<TABLE BORDER=0 CELLPADDING=5> <TR VALIGN="middle"> <TD ALIGN="center"><A HREF="http://www.amazon.de/exec/obidos/ASIN/3897212250/wwwphpnet07" @@ -742,10 +746,9 @@ </TD> </TR> - - </TABLE> + <P> Click on the links above for more information on the books. And remember, if you buy the book using the above links, you are helping to support PHP development! @@ -762,12 +765,11 @@ search there): </P> +<p> <FORM METHOD="get" ACTION="http://www.amazon.com/exec/obidos/external-search"> <INPUT TYPE="hidden" NAME="tag" VALUE="wwwphpnet"> -<TABLE BORDER=0 CELLPADDING=3 cellspacing=0 align="center" BGCOLOR="#E0E0E0"> -<TR VALIGN="middle"> -<TD align="right">Search what:<BR></TD> -<TD><SELECT NAME="mode"> +Search Amazon for +<SELECT NAME="mode"> <OPTION VALUE="blended">All Products <OPTION VALUE="books" SELECTED>Books <OPTION VALUE="music">Popular Music @@ -776,11 +778,8 @@ <OPTION VALUE="toys">Toys <OPTION VALUE="electronics">Electronics </SELECT> -</TD> -</TR> -<TR VALIGN="middle"> -<TD align="right">Search for:<BR></TD> -<TD><SELECT NAME="keyword"> +about +<SELECT NAME="keyword"> <OPTION SELECTED>PHP <OPTION>Apache <OPTION>Linux @@ -797,10 +796,8 @@ <OPTION>ODBC </SELECT> <INPUT TYPE="submit" BORDER=0 VALUE="Search" NAME="Search"> -</TD> -</TR> -</TABLE> </FORM> +</p> <? commonFooter(); Index: phpweb/docs.php diff -u phpweb/docs.php:1.44.2.1 phpweb/docs.php:1.44.2.2 --- phpweb/docs.php:1.44.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/docs.php Tue Feb 6 13:41:07 2001 @@ -2,13 +2,19 @@ commonHeader("Documentation"); ?> -<H1>PHP FAQ</H1> +<H1> +PHP FAQ +</H1> <ul> <li>The <a href="FAQ.php">PHP FAQ</a> is your first stop for general information and those questions that seem to be on most people's minds. </ul> + +<? echo hdelim(); ?> + + <H1>The PHP Manual On-line</H1> <ul> <li><a href="manual/">PHP Manual Online</a>. Your reference @@ -23,8 +29,13 @@ up-to-date info in this version of the manual than you will at one of the above links. You can also browse or download translated versions here. </ul> + + + +<? echo hdelim(); ?> + -<H2>PHP Annotated Manuals</H2> +<H1>PHP Annotated Manuals</H1> <ul> <LI><A href="http://www.php.net/manual/">PHP Annotated Manual</A>. This is the same as the above, except there is a built-in errata/note system @@ -37,6 +48,11 @@ system. </ul> + + +<? echo hdelim(); ?> + + <H1>Downloadable PHP Manuals</H1> <H2>HTML Version</H2> <ul> @@ -44,7 +60,7 @@ <li><?php download_link("manual.zip", "PHP HTML Manual ZIP File"); ?> <li><?php download_link("manual.tar.gz", "PHP HTML Manual .tar.gz File"); ?> </ul> -<H2>Latest versions (daily snapshots)</H2> +<H2>Latest Versions (Daily Snapshots)</H2> <ul> <li><?php download_link("http://snaps.php.net/manual/manual-en-current.tar.gz", "PHP HTML Manual (English) .tar.gz File"); ?> <li><?php download_link("http://snaps.php.net/manual/manual-de-current.tar.gz", "PHP HTML Manual (German) .tar.gz File"); ?> @@ -86,6 +102,11 @@ <li><?php download_link("manual_doc.pdb","PHP Manual - PalmPilot DOC format"); ?> </ul> + + +<? echo hdelim(); ?> + + <H1>Translations</H1> <ul> <li><a href="http://www.cityfujisawa.ne.jp/~louis/apps/phpfi/index.html" @@ -94,8 +115,13 @@ <li><a href="http://dev.nexen.net/docs/php/annotee/manuel_toc.php">Version française annotée.</a><br> Versions téléchargeables <a href="http://dev.nexen.net/docs/php/chargement.html">disponibles</a>. (PDF, HTML, doc, ps, palm). </ul> + + + +<? echo hdelim(); ?> -<H1>More information</H1> + +<H1>More Information</H1> <ul> <li><a href="http://zugeschaut-und-mitgebaut.de/php/">PHP Function Table</a>. This page has a overview about which pages are translated to the @@ -108,14 +134,24 @@ <li>License questions? See the <a href="/license/#FAQ">License FAQ</a></li> </ul> + + +<? echo hdelim(); ?> + + <H1>CVS Account</H1> <ul> <li><a href="anoncvs.php">CVS instructions</a></li> <li><A href="/cvs-php.php">Getting a CVS account</a>. If you wish to help out with the development of PHP, read this. </ul> + + + +<? echo hdelim(); ?> + -<H1>Old/unsupported information</H1> +<H1>Old/Unsupported Information</H1> <ul> <li><a href="manual/phpfi2.php">PHP/FI 2.0 Manual</a>. This includes discussions on a few topics that aren't covered in the PHP 3 manual Index: phpweb/downloads.php diff -u phpweb/downloads.php:1.37.2.1 phpweb/downloads.php:1.37.2.2 --- phpweb/downloads.php:1.37.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/downloads.php Tue Feb 6 13:41:07 2001 @@ -1,18 +1,17 @@ <? commonHeader("Downloads "); $server = ($SERVER_PORT == "81" ? $SERVER_NAME . ":81" : $SERVER_NAME); - -// $server = 'ca.php.net'; ?> + +<h1>Latest version of PHP 4.0</h1> -<h2>Latest version of PHP 4.0</h2><BR> -<b>Complete Source Code</b><BR> +<h2>Complete Source Code</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 11 January 2001</li> </UL> -<b>Win32 Binaries</b><BR> +<h2>Win32 Binaries</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.4pl1-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 13 January 2001<br>(3.64 Mb CGI binary plus server API versions for Apache, AOL server, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip)</li> <li><a href="http://www.php.net/do_download.php?download_file=php404pl1-installer.exe&source_site=<?php echo $server; ?>">PHP 4.0.4pl1</a> - 13 January 2001<br>(735 Kb CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)</li> @@ -33,10 +32,11 @@ </UL> -<hr noshade> +<? echo hdelim(); ?> -<h3>Other Downloads</h3> +<h1>Other Downloads</h1> + <UL> <li>For downloadable documentation, go to the <A HREF="docs.php">documentation</A> page <li>Get some <A HREF="download-logos.php">PHP logos</A> for your site @@ -44,10 +44,14 @@ <li><a href="http://www.zend.com/zend/optimizer.php">Zend Optimizer 1.0.0</a> for PHP 4.0.3 and later is available on Zend Technologies' web site. </ul> + -<H3>Previous Releases of PHP 4.0</H3> +<? echo hdelim(); ?> -<b>Complete Source Code</b><BR> + +<H1>Previous Releases of PHP 4.0</H1> + +<h2>Complete Source Code</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.3pl1.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.3pl1 </a></li> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.2.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.2</a></li> @@ -57,7 +61,7 @@ <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.0.tar.gz&source_site=<?php echo $server; ?>">PHP 4.0.0</a></li> </UL> -<b>Win32 Binaries</b><BR> +<h2>Win32 Binaries</h2> <UL> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.3pl1-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.3pl1</a></li> <li><a href="http://www.php.net/do_download.php?download_file=php-4.0.2-Win32.zip&source_site=<?php echo $server; ?>">PHP 4.0.2</a></li> @@ -78,11 +82,12 @@ <P> <I>Previous releases are listed for informational purposes only. You should being using the latest release.</I> </P> + -<hr noshade> +<? echo hdelim(); ?> -<h3>Older Versions of PHP</h3> +<h1>Older Versions of PHP</h1> <UL> <li><a href="download-php3.php">PHP 3.0</a> Source code and Win32 binaries @@ -93,7 +98,6 @@ <I>Older releases are listed for archeological purposes only. They are no longer supported.</I> </P> -<hr noshade> <? Index: phpweb/index.php diff -u phpweb/index.php:1.31.2.2 phpweb/index.php:1.31.2.3 --- phpweb/index.php:1.31.2.2 Tue Feb 6 12:37:12 2001 +++ phpweb/index.php Tue Feb 6 13:41:07 2001 @@ -4,9 +4,9 @@ ?> -<h2> +<h1> Patch Level 1 Released For PHP 4.0.4 -</h2> +</h1> <p> Due to two security issues found in the Apache module version of PHP 4.0, PHP 4.0.4pl1 has been released. This bug-fix release also fixes a few party-crashing bugs that @@ -18,10 +18,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_link("/usage.php", make_image("stats-small.gif", "PHP Usage Stats", "right") ); ?> New Usage Stats For January Available -</h2> +</h1> <p> <? print_link("http://www.netcraft.com/", "Netcraft"); ?> and <? print_link("http://www.securityspace.com/s_survey/", "E-Soft" ); ?> have @@ -35,10 +35,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_link("http://conferences.oreilly.com/oscon2001/", make_image("osscon.gif", "OSSCon", "right") ); ?> PHP Conference - Call For Participation -</h2> +</h1> <p> The conference will be part of the <? print_link("http://conferences.oreilly.com/oscon2001/", "O'Reilly Open Source Convention"); ?> alongside the 5th annual Perl Conference at the @@ -52,9 +52,9 @@ <? echo hdelim(); ?> -<h2> +<h1> PHP 4.0.4 Released -</h2> +</h1> <p> 19-Dec-2000 -- This release includes improvements for a large number of defects and numerous enhancements in the PHP core, the language implementation and @@ -67,9 +67,9 @@ <? echo hdelim(); ?> -<h2> +<h1> PHP 3.0.18 Released -</h2> +</h1> <p> 21-Oct-2000 -- PHP 3.0.18 was released. This is a bug-fix release, including fixes for file uploads and a backported imagetypes() function from PHP 4.0. The @@ -82,9 +82,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Improve Your PHP Skills -</h2> +</h1> <p> Looking for clear and useful guides to build dynamic web-sites using PHP? Our <? print_link("/books.php", "Books Resource Center"); ?> lists now @@ -97,9 +97,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Manual Search Tip -</h2> +</h1> <p> You can go directly to PHP manual pages with a URL such as <? print_link("http://www.php.net/strlen", "www.php.net/strlen"); ?>. @@ -110,9 +110,9 @@ <? echo hdelim(); ?> -<h2> +<h1> Tips and Tricks Section -</h2> +</h1> <p> Check out our <? print_link("/tips.php", "tips"); ?> page for some "neat" things, PHP-related. It's a little sparse right now, but feel free to make suggestions! @@ -123,10 +123,10 @@ <? echo hdelim(); ?> -<h2> +<h1> <? print_image("ZendOptimizer.gif", "Zend", "right"); ?> Zend Optimizer Released -</h2> +</h1> <p> <? print_link("http://www.zend.com", "Zend Technologies"); ?> has announced the availability of the Zend Optimizer for PHP 4.0. The optimizer is available for @@ -138,9 +138,9 @@ <? echo hdelim(); ?> -<h2> +<h1> What Is PHP? -</h2> +</h1> <p> PHP is a server-side, cross-platform, HTML embedded scripting language. If you are completely new to PHP and want to get some idea of how it works, @@ -154,9 +154,9 @@ <? echo hdelim(); ?> -<h2> +<h1> So, How Much Does It Cost? -</h2> +</h1> <p> This may sound a little foreign to all you folks coming from a non-Unix background, but PHP doesn't cost anything. You can use it for commercial Index: phpweb/links.php diff -u phpweb/links.php:1.12.2.1 phpweb/links.php:1.12.2.2 --- phpweb/links.php:1.12.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/links.php Tue Feb 6 13:41:07 2001 @@ -2,14 +2,19 @@ commonHeader("Links"); ?> -<h3>Sites using PHP</h3> + +<h1>Sites using PHP</h1> <P> Who uses PHP? An ever-increasing number of companies are using PHP to add functionality to their web-sites. You can browse through a list of some companies using PHP <a href="/sites.php">here</a>. </P> + + +<? echo hdelim(); ?> -<h3>Developers and Job Opportunities</h3> + +<h1>Developers and Job Opportunities</h1> <P> Brian Schaffner has put up a <A HREF="http://www.schaffner.net/emp">PHP Employment Listing</A> site. PHP developers can post their resumes, and employers can post their job notices. @@ -20,8 +25,12 @@ HREF="http://classifieds.yahoo.com/yc?cr=national&ce_f=&cpo=&cpj=&ck=PHP&g=&cs=time+2&cc=employment&cf=1&za=and" >Yahoo Careers</A> for PHP-related jobs (US only for now). </P> + -<h3>ISPs that support PHP</h3> +<? echo hdelim(); ?> + + +<h1>ISPs that support PHP</h1> <P> Looking for an ISP or hosting service that supports PHP? Try one of the following sites: </P> @@ -31,8 +40,12 @@ (features a searchable directory and comments from users)<BR> <LI>PMCW webservices (<a href="http://pmcw.dhs.org/">http://pmcw.dhs.org/</a>) </UL> + + +<? echo hdelim(); ?> + -<h3>Getting Started</h3> +<h1>Getting Started</h1> <P>On these sites you will find tutorials, articles and example scripts</P> <UL> Index: phpweb/mirrors.php diff -u phpweb/mirrors.php:1.2.2.2 phpweb/mirrors.php:1.2.2.3 --- phpweb/mirrors.php:1.2.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/mirrors.php Tue Feb 6 13:41:07 2001 @@ -1,32 +1,39 @@ <? -if (isset($country) { +if (isset($country)) { header("Location: http://$country.php.net/"); } commonHeader("Mirrors Page"); ?> +<h1> +Mirror Sites +</h1> +<p> +Pick a mirror site close to you: +</p> + +<p> <FORM ACTION="redirect.php" METHOD="POST"> -<B>Pick a mirror site close to you:</B><BR> <SELECT NAME="URL"><? $mirror_sites=$MIRRORS; reset($mirror_sites); -while ($site = key($mirror_sites)): +while ($site = key($mirror_sites)) { next($mirror_sites); $country=$mirror_sites[$site][0]; $place=$mirror_sites[$site][1]; $type=$mirror_sites[$site][4]; - if ($type==1 && substr($site,0,7)=="http://"): + if ($type==1 && substr($site,0,7)=="http://") { echo "<OPTION VALUE=\"$site\">$place ($COUNTRIES[$country])\n"; - endif; -endwhile; + } +} ?></SELECT> -<INPUT TYPE="image" SRC="/gifs/b-go.gif" ALIGN=absmiddle WIDTH=36 HEIGHT=21 BORDER=0><BR> +<INPUT TYPE="submit" VALUE=" Go "><BR> </FORM> -<P> -<SMALL> -If you are interested in hosting a mirror of this site, <A HREF="/README.mirror">here's -how</A>. -</SMALL> -<P> +</p> + +<p> +If you are interested in hosting a mirror of this site, +<? print_link("/README.mirror", "here's how"); ?>. +</p> <? commonFooter(); ?> Index: phpweb/news.php diff -u phpweb/news.php:1.15.2.1 phpweb/news.php:1.15.2.2 --- phpweb/news.php:1.15.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/news.php Tue Feb 6 13:41:07 2001 @@ -48,7 +48,7 @@ ?> -<h3>PHP in the News</h3> +<h1>PHP in the News</h1> <P> Index: phpweb/search.php diff -u phpweb/search.php:1.4.2.2 phpweb/search.php:1.4.2.3 --- phpweb/search.php:1.4.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/search.php Tue Feb 6 13:41:07 2001 @@ -48,33 +48,27 @@ } if (file_exists("configuration.inc")) { - include("configuration.inc"); + include_once 'configuration.inc'; } function makeBar($no,$page,$pages,$baseurl,$firstdisplayed,$lastdisplayed) { - global $FONTFACE; + $last = $next = ' '; if ($page>1) { $i=$page-1; - $last="<A HREF=\"$baseurl&page=$i\" onMouseover=\"change('prev$no',1);\" onMouseout=\"hide();\"><IMG SRC='/gifs/b-prev-p.gif' ALT='Previous page' WIDTH=75 HEIGHT=21 VSPACE=7 BORDER=0 NAME='prev$no' align=absmiddle></A>"; - } else { - $last=" "; + $last=make_link($baseurl.'&page='.$i, 'prev page'); } if ($page<$pages) { $i=$page+1; - $next="<A HREF=\"$baseurl&page=$i\" onMouseover=\"change('next$no',1);\" onMouseout=\"hide();\"><IMG SRC='/gifs/b-next-p.gif' ALT='Next page' WIDTH=75 HEIGHT=21 VSPACE=7 BORDER=0 NAME='next$no' align=absmiddle></A>"; - } else { - $next=" "; + $next=make_link($baseurl.'&page='.$i, 'next page'); } $middle="<B>Displaying results $firstdisplayed to $lastdisplayed</B>"; - echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR='#D0D0D0' CELLPADDING=0 CELLSPACING=0>\n"; + echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR='#cccccc' CELLPADDING=0 CELLSPACING=0>\n"; echo "<TR VALIGN=middle>\n"; - echo "<TD ALIGN=left WIDTH=18><IMG SRC='/gifs/gcap-left.gif' WIDTH=18 HEIGHT=36 BORDER=0><BR></TD>\n"; echo "<TD ALIGN=left WIDTH=75>$last<BR></TD>\n"; - echo "<TD ALIGN=center WIDTH=100%><FONT FACE='$FONTFACE' SIZE=-1>$middle<BR></TD>\n"; + echo "<TD ALIGN=center WIDTH=100%>$middle<BR></TD>\n"; echo "<TD ALIGN=right WIDTH=75>$next<BR></TD>\n"; - echo "<TD ALIGN=right WIDTH=18><IMG SRC='/gifs/gcap-right.gif' WIDT=18 HEIGHT=36 BORDER=0><BR></TD>\n"; echo "</TR></TABLE><BR>\n"; } @@ -83,22 +77,23 @@ commonHeader("Site Search"); $form=$PHP_SELF; ?> +<h1>Search</h1> <FORM ACTION="<?echo $form;?>" METHOD="POST"> <CENTER> <TABLE CELLSPACING=0 CELLPADDING=2> <TR VALIGN=top> -<TD ALIGN=RIGHT><FONT FACE="<? echo $FONTFACE;?>"> +<TD ALIGN=RIGHT> Search for: <BR> -</FONT></TD> +</TD> <TD> <INPUT TYPE="text" NAME="pattern" VALUE="<?echo $prevsearch;?>" SIZE=30> -<INPUT TYPE="image" SRC="/gifs/b-go.gif" ALIGN=absmiddle WIDTH=36 hspace=3 HEIGHT=21 BORDER=0><BR> +<INPUT TYPE="submit" VALUE=" Search "><BR> </FONT></TD> </TR> <TR VALIGN=top> -<TD ALIGN=RIGHT><FONT FACE="<? echo $FONTFACE;?>"> +<TD ALIGN=RIGHT> Restrict the search to: <BR> -</FONT></TD> +</TD> <TD> <SELECT NAME="show"> <OPTION VALUE="nosource" SELECTED>Whole site @@ -117,6 +112,7 @@ </FORM> <? } else { commonHeader("Search Results"); + echo "<h1>Search Results</h1>\n"; if ($HAVE_SEARCH && isset($htsearch_prog)) { $form=$PHP_SELF; } else { @@ -195,16 +191,20 @@ } echo "\n"; $i++; + + echo hdelim("#cccccc"); + } echo "<BR>\n"; + makeBar("2",$page,$pages,$baseurl,$firstdisplayed,$lastdisplayed); ?> - <CENTER> - <BR><I>Search results courtesy of</I><BR> - <A HREF="http://htdig.sdsu.edu/"><IMG SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig"></A> - </CENTER> + <p> + Search powered by<BR> + <A HREF="http://htdig.sdsu.edu/"><IMG SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig"> + </p> <? } commonFooter(); Index: phpweb/source.php diff -u phpweb/source.php:1.1.2.2 phpweb/source.php:1.1.2.3 --- phpweb/source.php:1.1.2.2 Tue Feb 6 11:03:12 2001 +++ phpweb/source.php Tue Feb 6 13:41:07 2001 @@ -9,8 +9,10 @@ ?> Source of: <? echo $url; ?><BR> -<hr noshade> <? + +echo hdelim(); + $legal_dirs = array( "/manual" => 1, "/include" => 1, @@ -32,14 +34,18 @@ } if (!strstr($page_name,"include/shared.inc")) { + +echo hdelim(); + ?> -<hr noshade> <P> The syntax highlighted source is automatically generated by PHP from the plaintext script.<br> -If you're interested in what's behind the <B>commonHeader()</B> and <B>commonFooter</B> functions, -you can always take a look at the <A HREF="/source.php?url=/include/shared.inc"> -source of the shared.inc</A> file. And, of course, if you want to see the source of this page, have -a look <A HREF="/source.php?url=/source.php">here</A>. +If you're interested in what's behind the <B>commonHeader()</B> and <B>commonFooter()</B> functions, +you can always take a look at the source of the +<? print_link("/source.php?url=/include/shared.inc", "shared.inc"); ?> and +<? print_link("/source.php?url=/include/layout.inc", "layout.inc"); ?> files. +And, of course, if you want to see the source of this page, have a look +<? print_link("/source.php?url=/source.php", "here"); ?>. </P> <? } Index: phpweb/style.css diff -u phpweb/style.css:1.1.2.3 phpweb/style.css:1.1.2.4 --- phpweb/style.css:1.1.2.3 Tue Feb 6 12:37:12 2001 +++ phpweb/style.css Tue Feb 6 13:41:07 2001 @@ -5,7 +5,7 @@ p { margin-top: 0px; - margin-bottom: 5px; + margin-bottom: 8px; } em { @@ -18,7 +18,7 @@ } ul, ol { - margin-top: 5px; + margin-top: 8px; } ul.compact, ol.compact { @@ -106,6 +106,10 @@ margin-top: 20px; } +hr { + margin-top: 8px; + margin-bottom: 8px; +} // manual stuff Index: phpweb/support.php diff -u phpweb/support.php:1.22.2.1 phpweb/support.php:1.22.2.2 --- phpweb/support.php:1.22.2.1 Tue Feb 6 11:03:12 2001 +++ phpweb/support.php Tue Feb 6 13:41:07 2001 @@ -30,26 +30,35 @@ A request has been entered into the mailing list processing queue. You should receive an email at <?php echo $email;?> shortly describing how to complete your request. +</p> <?php } } else { ?> -<h3>Documentation</h3> +<h1>Documentation</h1> <P> A good place to start is by skimming through the ever-growing <a href="/FAQ.php">FAQ</a>. Then have a look at the online manual and other resources in the <a href="/docs.php">documentation</a> section. </P> + + +<? echo hdelim(); ?> -<h3>Books</h3> + +<h1>Books</h1> <P> <a href="/books.php">Books</a> are convenient resources to begin exploring PHP. <a href="/books.php">The titles listed here</a> will help you to start learning PHP, as well as extending your existing knowledge. </P> + + +<? echo hdelim(); ?> -<h3>Reporting Bugs</h3> + +<h1>Reporting Bugs</h1> <P>If you can't resolve your problem from the available documentation or mailing list archives, and you think it might be a bug, a <a href="http://bugs.php.net">Bug Database</a> has @@ -58,14 +67,23 @@ Please read <a href="http://bugs.php.net/bugs-dos-and-donts.php" >Dos & Don'ts</a> before posting a report. </P> + + +<? echo hdelim(); ?> -<h3>User Groups</h3> +<h1>User Groups</h1> +<p> PHP user groups have started popping up. Christopher R. Moewes-Bystrom is running a PHP user group registry at <a href="http://www.phpusergroups.org/">http://www.phpusergroups.org/</a>. +</p> -<h3>Mailing Lists</h3> + +<? echo hdelim(); ?> + + +<h1>Mailing Lists</h1> <P> One of the best resources is the very friendly and helpful mailing lists. There are many PHP-related mailing lists available. @@ -175,39 +193,47 @@ ?> -<form method="post" action="http://www.php.net/support.php"><table cellspacing="2" cellpadding="3"> +<form method="post" action="http://www.php.net/support.php"> +<p> +<table cellpadding="5" cellspacing="1"> <?php + +while ( list(, $listinfo) = each($mailing_lists)) { + if (!is_array($listinfo)) { - while ( list(, $listinfo) = each($mailing_lists)) { + echo '<tr bgcolor="#cccccc">'; + echo '<th>' . $listinfo . '</th>'; + echo '<th>Moderated</th>'; + echo '<th>Archive</th>'; + echo '<th>Normal</th>'; + echo '<th>Digest</th>'; + echo '</tr>' . "\n"; - if (!is_array($listinfo)) { echo '<tr bgcolor="#D0D0D0"><th colspan="2">' . $listinfo . '</th><th>Moderated</th><th>Archive</th><th>Normal</th><th>Digest</th></tr>' . "\n"; } - else { + } else { - echo '<tr align="center" bgcolor="#F0F0F0"><td><img src="/gifs/blank.gif" width="5" height="5"></td><td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td><td>'; - if ($listinfo[3]) { echo 'yes'; } else { echo "no"; } - echo '</td><td>'; - if ($listinfo[4]) { echo '<a href="http://marc.theaimsgroup.com/?l=' . $listinfo[0] . '">available</a>'; } - else { echo 'n/a'; } - echo '</td><td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td><td>'; - if ($listinfo[5]) { echo '<input name="maillist" type="radio" value="' . $listinfo[0] . '-digest">'; } - else { echo 'n/a'; } - echo '</td></tr>' . "\n"; + echo '<tr align="center" bgcolor="#e0e0e0">'; + echo '<td align="left"><b>' . $listinfo[1] . '</b><br><small>'. $listinfo[2] . '</small></td>'; + echo '<td>' . ($listinfo[3] ? 'yes' : 'no') . '</td>'; + echo '<td>' . ($listinfo[4] ? make_link("http://marc.theaimsgroup.com/?l=".$listinfo[0], 'yes') : 'n/a') . '</td>'; + echo '<td><input name="maillist" type="radio" value="' . $listinfo[0] . '"></td>'; + echo '<td>' . ($listinfo[5] ? '<input name="maillist" type="radio" value="'.$listinfo[0].'-digest">' : 'n/a' ) . '</td>'; + echo '</tr>' . "\n"; - } - } + } +} ?> - </table> +</p> + +<p align="center"> +<b>Email:</b> +<input type=text name="email" width=40 value="user@example.com"> +<input type=submit name="action" value="Subscribe"> +<input type=submit name="action" value="Unsubscribe"> +</p> -<p><table align="center"> - <tr> - <td><b>Email:</b></td> - <td><input type=text name="email" width=40 value="user@example.com"></td> - <td><input type=submit name="action" value="Subscribe"></td> - <td><input type=submit name="action" value="Unsubscribe"></td> - </tr> -</table></p></form> +</form> <p> You will be sent a confirmation mail at the address you wish to @@ -243,7 +269,12 @@ on the top-right of every page. </p> -<h3>Newsgroups</h3> + + +<? echo hdelim(); ?> + + +<h1>Newsgroups</h1> <p> The mailing lists hosted at lists.php.net are also gatewayed to newsgroups on the server at <a href="news://news.php.net/">news.php.net</a>. @@ -253,8 +284,13 @@ You can both read and post to the mailing lists through the news interface. </p> + + -<h3>Local Mailing Lists</h3> +<? echo hdelim(); ?> + + +<h1>Local Mailing Lists</h1> <p> There are also some mailing lists that have been set up by others in the community to host local discussions (particularly non-English @@ -273,8 +309,13 @@ <li><a href="mailto:lista-subscribe@phpes.com">Spanish PHP User's Mailing List</a> <li><a href="http://phptr.baslangic.net/">Turkish PHP User's Mailing List</a> </ul> + + + +<? echo hdelim(); ?> -<h3>Sample Code</h3> + +<h1>Sample Code</h1> <P> Looking for some more sample PHP scripts? Our <A HREF="/links.php">links page</A> page lists some archives of sample PHP code - @@ -282,23 +323,35 @@ your searching pleasure! </P> + +<? echo hdelim(); ?> + + <a name="phpkb"></a> -<h3>Knowledge Base</h3> +<h1>Knowledge Base</h1> <P> The knowledge base is a growing collection of PHP related information in a searchable question and answer format. Anyone can contribute, and everyone is encouraged to do so. You can visit the Knowledge Base at <a href="http://www.faqts.com/">http://www.faqts.com/</a>. </P> + -<h3>Getting the Latest Development Version</h3> +<? echo hdelim(); ?> + + +<h1>Getting the Latest Development Version</h1> <P> PHP is developed using CVS, so it's possible to obtain the latest development release at any time. Further instructions can be found in the web interface of the <a href="http://cvs.php.net">PHP CVS tree</a>. </P> + + +<? echo hdelim(); ?> + -<h3>Instant Resource Center</h3> +<h1>Instant Resource Center</h1> <P> Otherwise known as IRC or Internet Relay Chat. Here you can usually find experienced PHP people sitting around doing nothing on the #php channel Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.1.2.3 phpweb/include/layout.inc:1.1.2.4 --- phpweb/include/layout.inc:1.1.2.3 Tue Feb 6 12:37:12 2001 +++ phpweb/include/layout.inc Tue Feb 6 13:41:07 2001 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.1.2.3 2001/02/06 20:37:12 cmv Exp $ */ +/* $Id: layout.inc,v 1.1.2.4 2001/02/06 21:41:07 cmv Exp $ */ # spacer() @@ -231,7 +231,7 @@ if (!$dont_enclose): $enclosed = 1;?> <!-- sidebar --> -<table width="20" height="100%" +<table width="20" bgcolor="#ffffff" align="left" cellpadding="2" cellspacing="0" @@ -256,13 +256,15 @@ # function commonFooter() { - global $SCRIPT_NAME,$PHP_SELF,$MIRRORS,$MYSITE,$COUNTRIES,$enclosed; - if ($enclosed):?> -</td></tr></table> -<br clear=all> -<?php - endif; + global $SCRIPT_NAME,$PHP_SELF,$MIRRORS,$MYSITE,$COUNTRIES,$enclosed; + if ($enclosed) { + echo "</td></tr></table>\n"; + } ?> + +<br clear="all"> +<br clear="all"> + <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#333366"><td><?php spacer(1,1);?><br></td></tr> <tr bgcolor="#9999cc">