cvs: pearweb /public_html index2.php
| From: | Martin Jansen | Date: | Wed, 12 Sep 2001 10:48:13 +0000 |
| Subject: | cvs: pearweb /public_html index2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-833@lists.php.net to get a copy of this message | ||
mj Wed Sep 12 06:48:13 2001 EDT
Modified files:
/pearweb/public_html index2.php
Log:
* add original file
Index: pearweb/public_html/index2.php
diff -u /dev/null pearweb/public_html/index2.php:1.3
--- /dev/null Wed Sep 12 06:48:13 2001
+++ pearweb/public_html/index2.php Wed Sep 12 06:48:13 2001
@@ -0,0 +1,56 @@
+<?php
+
+ini_set('y2k_compliance', 'on');
+if ($HTTP_SERVER_VARS['QUERY_STRING'] == 'devme') {
+ $duration = 86400 * 360;
+ setcookie('pear_dev', 'on', time() + $duration, '/');
+ $HTTP_COOKIE_VARS['pear_dev'] = 'on';
+} elseif ($HTTP_SERVER_VARS['QUERY_STRING'] == 'undevme') {
+ setcookie('pear_dev', '', time() - 3600, '/');
+ unset($HTTP_COOKIE_VARS['pear_dev']);
+}
+
+
+$SIDEBAR_DATA='
+<h3>What is PEAR?</h3>
+<p>
+
+PEAR is a framework and distribution system for reusable PHP
+components.
+
+<br />
+
+</p>
+-
+';
+
+response_header();
+
+menu_link("Documentation", "http://php.net/manual/en/pear.php");
+
+if (DEVBOX) {
+ menu_link("Request PEAR Account", "account-request.php");
+ menu_link("New Package", "package-new.php");
+ menu_link("Administrators", "admin.php");
+ menu_link("Browse Packages", "packages.php");
+ menu_link("Want to contribute?", "signup.php");
+ menu_link("Upload Release", "release-upload.php");
+ $recent = get_recent_releases();
+ if (@sizeof($recent) > 0) {
+ print "<b>Recent Releases</b>\n";
+ print "<table>";
+ foreach ($recent as $release) {
+ extract($release);
+ print "<tr><td valign='top'><font
size='-1'>";
+ print "<a
href=\"pkginfo.php?package=$name&release=$version\">";
+ print "$name $version</a></font></td>";
+ print "<td valign='top'><font size='-1'>";
+ print "$doneby, $releasedate:
$releasenotes</font></td></tr>\n";
+ }
+ print "</table>\n";
+ }
+}
+
+response_footer();
+
+?>
\ No newline at end of file