pearweb_index
[ class tree: pearweb_index ] [ index: pearweb_index ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /*
  3.    +----------------------------------------------------------------------+
  4.    | PEAR Web site version 1.0                                            |
  5.    +----------------------------------------------------------------------+
  6.    | Copyright (c) 2001-2005 The PHP Group                                |
  7.    +----------------------------------------------------------------------+
  8.    | This source file is subject to version 2.02 of the PHP license,      |
  9.    | that is bundled with this package in the file LICENSE, and is        |
  10.    | available at through the world-wide-web at                           |
  11.    | http://www.php.net/license/2_02.txt.                                 |
  12.    | If you did not receive a copy of the PHP license and are unable to   |
  13.    | obtain it through the world-wide-web, please send a note to          |
  14.    | license@php.net so we can mail you a copy immediately.               |
  15.    +----------------------------------------------------------------------+
  16.    | Authors: Martin Jansen <mj@php.net>                                  |
  17.    +----------------------------------------------------------------------+
  18.    $Id: index.php,v 1.151 2009/01/02 02:00:43 dufuz Exp $
  19. */
  20.  
  21. include_once 'pear-database-release.php';
  22. $recent = release::getRecent(5);
  23. if (@sizeof($recent> 0{
  24.     $RSIDEBAR_DATA "<strong>Recent&nbsp;Releases:</strong>\n";
  25.     $RSIDEBAR_DATA .= '<table class="sidebar-releases">' "\n";
  26.     $today date("D, jS M y");
  27.     foreach ($recent as $release{
  28.         $releasedate = format_date(strtotime($release['releasedate'])"D, jS M y");
  29.         if ($releasedate == $today{
  30.             $releasedate "today";
  31.         }
  32.         $RSIDEBAR_DATA .= "<tr><td>";
  33.         $RSIDEBAR_DATA .= "<a href=\"/package/" $release['name'"/\">";
  34.         $RSIDEBAR_DATA .= wordwrap($release['name'],25,"\n",1' ' .
  35.                           $release['version''</a><br /> <small>(' .
  36.                           $releasedate ')</small></td></tr>';
  37.     }
  38.     $feed_link '<a href="/feeds/" title="Information about XML feeds for the PEAR website"><img src="/gifs/feed.png" width="16" height="16" alt="" border="0" /></a>';
  39.     $RSIDEBAR_DATA .= "<tr><td>&nbsp;</td></tr>\n";
  40.     $RSIDEBAR_DATA .= '<tr><td align="right">' $feed_link "</td></tr>\n";
  41.     $RSIDEBAR_DATA .= "</table>\n";
  42. }
  43.  
  44. $popular = release::getPopular(5);
  45. if (@sizeof($popular> 0{
  46.     $RSIDEBAR_DATA .= "<strong>Popular&nbsp;Packages*:</strong>\n";
  47.     $RSIDEBAR_DATA .= '<table class="sidebar-releases">' "\n";
  48.     foreach ($popular as $package{
  49.         $RSIDEBAR_DATA .= "<tr><td>";
  50.         $RSIDEBAR_DATA .= "<a href=\"/package/" $package['name'"/\">";
  51.         $RSIDEBAR_DATA .= wordwrap($package['name'],25,"\n",1' ' $package['version''</a><br /> <small>(' .
  52.                           number_format($package['d'],2')</small></td></tr>';
  53.     }
  54.     $feed_link '<a href="/feeds/" title="Information about XML feeds for the PEAR website"><img src="/gifs/feed.png" width="16" height="16" alt="" border="0" /></a>';
  55.     $RSIDEBAR_DATA .= "<tr><td><small>* downloads per day</small></td></tr>\n";
  56.     $RSIDEBAR_DATA .= '<tr><td align="right">' $feed_link "</td></tr>\n";
  57.     $RSIDEBAR_DATA .= "</table>\n";
  58. }
  59.  
  60. $self strip_tags(htmlspecialchars($_SERVER['PHP_SELF']ENT_QUOTES'iso-8859-1'));
  61. response_header();
  62. ?>
  63.  
  64. <h1>PEAR - PHP Extension and Application Repository</h1>
  65.  
  66. <h2>&raquo; Users</h2>
  67.  
  68. <p><acronym title="PHP Extension and Application Repository">PEAR</acronym>
  69. is a framework and distribution system for reusable PHP
  70. components. You can find help using PEAR packages in the
  71. <a href="/manual/en/">online manual</a> and the
  72. <a href="/manual/en/faq.php">FAQ</a>.</p>
  73.  
  74. <?php
  75. if (!$auth_user{
  76. ?>
  77. <p>If you have been told by other PEAR developers to sign up for a
  78. PEAR website account, you can use <a href="/account-request.php">
  79. this interface</a>.</p>
  80. <?php
  81. }
  82. ?>
  83.  
  84. <h2>&raquo; Hot off the Press</h2>
  85. <div id="news">
  86.  <p>
  87.   <strong>[June 19, 2008]</strong>
  88.   This year again, the PEAR community had to elect a president to lead the PEAR project thorough the year 2008 and 2009. David Coallier has accepted his role as
  89.   the president of the project and became Greg Beaver's successor.
  90.   <br /><br />
  91.   You can see the result of the election "<a href="/election/info.php?election=10&results=1">at the election page</a>" or reach him at all times at <?php echo
  92.   make_mailto_link('pear-president@php.net')?>
  93.  </p>
  94.  
  95.  <p>
  96.   <strong>[June 19, 2008]</strong>
  97.   For the second year the elections are now over and a new PEAR Group has been formed. Just like last year and always following the Constitution, the new members
  98.   have been elected by a secret ballot of PEAR Developers. They have chosen:
  99.   <ul>
  100.    <li>Joshua Eichorn</li>
  101.    <li>Helgi &THORN;ormar &THORN;orbjornsson</li>
  102.    <li>Joe Stump</li>
  103.    <li>Christian Weiske</li>
  104.    <li>Chuck Burgess</li>
  105.    <li>Travis Swicegood</li>
  106.    <li>Brett Bieber</li>
  107.   </ul>
  108.  
  109.   You can see more information about the PEAR Group by clicking <a href="http://pear.php.net/group/"> here</a>
  110.  </p>
  111.  
  112.  <p>
  113.   <strong>[June 5, 2008]</strong><br />
  114.   It this time of the year, the election for the PEAR group of 2008 - 2009 has begun as
  115.   well as for president of the same time period, please head over to <a href="http://pear.php.net/election/">the election page</a>
  116.   and cast your vote on the people you want to be at the helm of PEAR.
  117.  </p>
  118.  
  119.  <p>
  120.   <strong>[January 3, 2008]</strong><br />
  121.   As promised, XML-RPC has been disabled at pear.php.net.  Information is now
  122.   served via REST files at pear.php.net/rest.  If you are using
  123.   a PEAR version earlier than 1.4.0, you will need to manually upgrade PEAR using
  124.   direct URLs.  To upgrade to the latest PEAR, you can either use go-pear
  125.   (<a href="http://pear.php.net/go-pear">http://pear.php.net/go-pear</a>) or
  126.   upgrade using direct URLs:
  127.   <pre>
  128.    pear upgrade --force http://pear.php.net/get/Archive_Tar http://pear.php.net/get/XML_Parser http://pear.php.net/get/Console_Getopt-1.2.2
  129.    pear upgrade --force http://pear.php.net/get/PEAR-1.3.3 (_IF_ your existing version is older than 1.3.3)
  130.    pear upgrade --force http://pear.php.net/get/PEAR-1.4.3.tar
  131.    pear upgrade PEAR
  132.   </pre>
  133.  </p>
  134.  
  135.  <p>
  136.   <strong>[October 19, 2007]</strong><br />
  137.   Following the tradition of internet culture, PEAR now channels blogs
  138.   about PEAR. See it at
  139.   <a href="http://planet.pear.php.net/">Planet PEAR</a>.
  140.  </p>
  141.  
  142.  <p>
  143.   <strong>[June 20, 2007]</strong><br />
  144.   PEAR is greatly saddened by the loss of
  145.   developer Bertrand Gugger to a heart attack on June 16.  More information is
  146.   available on the official PEAR blog at
  147.   <a href="http://blog.pear.php.net/2007/06/17/the-pear-project-mourns-the-loss-of-bertrand-gugger/">This entry</a>.
  148.  </p>
  149.  
  150.  <p>
  151.   <strong>[June 1, 2007]</strong><br />
  152.   Welcome to the 7th and final member of the PEAR
  153.   Group, <strong><a href="/user/pmjones">Paul M. Jones</a></strong>!  The newly elected
  154.   <a href="/news/newgroup-2007.php">PEAR Group</a> and
  155.   <a href="/news/newpresident-2007.php">PEAR president</a> have already begun work.
  156.   The PEAR President is <a href="/user/cellog">Gregory Beaver</a>, and the
  157.   PEAR Group
  158.   is <a href="/user/mj">Martin Jansen</a>, <a href="/user/davidc">David Coallier</a>,
  159.   <a href="/user/arnaud">Arnaud Limbourg</a>, <a href="/user/jeichorn">Joshua Eichorn</a>,
  160.   <a href="/user/cweiske">Christian Weiske</a>, <a href="/user/dufuz">Helgi &THORN;ormar</a>,
  161.   and <a href="/user/pmjones">Paul M. Jones</a>.  Official results of the run-off election are
  162.   <a href="/election/info.php?election=9&amp;results=1">here</a>.
  163.   <a href="/manual/en/constitution.php">The Constitution</a> documents the governing
  164.   structure of PEAR.
  165.  </p>
  166.  
  167.  <p>
  168.   <strong>[May 8, 2007]</strong><br />
  169.   A serious security vulnerability has been discovered in
  170.   the <a href="http://pear.php.net/PEAR">PEAR Installer</a> that affects all released versions.
  171.   PEAR version 1.5.4 has been released to address this security issue.  Further details are
  172.   available <a href="/news/vulnerability2.php">here</a>.
  173.  </p>
  174.  
  175.  <p>
  176.   <strong>[February 1, 2007]</strong><br />
  177.   As of January 1, 2008, PEAR will be dropping
  178.   support for PEAR versions 1.3.6 and earlier.  If you are using PEAR 1.3.6 or earlier,
  179.   we <em>strongly</em> encourage you to upgrade using these simple steps:
  180.   <code>
  181.    <pre>
  182.     pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2
  183.     pear upgrade --force PEAR-1.4.11
  184.     pear upgrade PEAR
  185.    </pre>
  186.   </code>
  187.   The full story on what has changed, and what will change is <a href="/news/package.xml.1.0.php">here</a>.
  188.  </p>
  189. </div>
  190. <?php
  191. response_footer();

Documentation generated on Mon, 11 Mar 2019 15:31:21 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.