cvs: pearweb /public_html support.php
| From: | Colin Viebrock | Date: | Tue, 23 Jul 2002 14:42:57 +0000 |
| Subject: | cvs: pearweb /public_html support.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5301@lists.php.net to get a copy of this message | ||
cmv Tue Jul 23 10:42:57 2002 EDT
Modified files:
/pearweb/public_html support.php
Log:
add icons
Index: pearweb/public_html/support.php
diff -u pearweb/public_html/support.php:1.18 pearweb/public_html/support.php:1.19
--- pearweb/public_html/support.php:1.18 Sun Jun 23 10:21:13 2002
+++ pearweb/public_html/support.php Tue Jul 23 10:42:57 2002
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: support.php,v 1.18 2002/06/23 14:21:13 cox Exp $
+ $Id: support.php,v 1.19 2002/07/23 14:42:57 cmv Exp $
*/
$SIDEBAR_DATA='
@@ -233,6 +233,42 @@
<li><a href="http://www.onlamp.com/pub/a/php/2001/05/24/pear.html">An
Introduction to PEAR</a> on O'Reilly Network</li>
</ul>
+
+<h2>Powered By PEAR/PECL</h2>
+
+<p>
+ What programming tool would be complete without a set of
+ icons to put on your webpage, telling the world what makes
+ your site tick?
+</p>
+
+<?
+$icons = Array(
+ 'pear-power.gif' => 'Powered by PEAR, GIF format',
+ 'pear-power.png' => 'Powered by PEAR, PNG format',
+ 'pecl-power.gif' => 'Powered by PECL, GIF format',
+ 'pecl-power.png' => 'Powered by PECL, PNG format',
+);
+
+echo '<table cellpadding="5" cellspacing="1">';
+
+foreach ($icons as $file=>$desc) {
+ echo '<tr bgcolor="e0e0e0">';
+ echo '<td>' . makeImage($file,$desc) . '<br></td>';
+ echo '<td>' . $desc . '<br><small>';
+ $size = @getimagesize($HTTP_SERVER_VARS['DOCUMENT_ROOT'].'/gifs/'.$file);
+ if ($size) {
+ echo $size[0] . ' x ' . $size[1] . ' pixels<br>'
+ }
+ $size = @filesize($HTTP_SERVER_VARS['DOCUMENT_ROOT'].'/gifs/'.$file);
+ if ($size) {
+ echo $size . ' bytes<br>'
+ }
+ echo '</small>';
+ echo '</td></tr>';
+}
+
+echo '</table>';
<?php
}