cvs: phpweb / search.php thanks.php
| From: | Colin Viebrock | Date: | Fri, 09 Mar 2001 00:20:23 +0000 |
| Subject: | cvs: phpweb / search.php thanks.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4315@lists.php.net to get a copy of this message | ||
cmv Thu Mar 8 16:20:23 2001 EDT
Modified files:
/phpweb search.php thanks.php
Log:
make search bars match manual bars
remove table layout from thanks page
Index: phpweb/search.php
diff -u phpweb/search.php:1.7 phpweb/search.php:1.8
--- phpweb/search.php:1.7 Thu Mar 8 13:53:47 2001
+++ phpweb/search.php Thu Mar 8 16:20:22 2001
@@ -61,21 +61,30 @@
$last = $next = ' ';
if ($page>1) {
$i=$page-1;
- $last=make_link($baseurl.'&page='.$i, 'prev page');
+ $last=make_link($baseurl.'&page='.$i, make_image('caret-l.gif',
'previous').'previous');
}
if ($page<$pages) {
$i=$page+1;
- $next=make_link($baseurl.'&page='.$i, 'next page');
+ $next=make_link($baseurl.'&page='.$i, make_image('caret-r.gif',
'next').'next page');
}
$middle="<B>Displaying results $firstdisplayed to $lastdisplayed</B>";
- echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR='#cccccc' CELLPADDING=0
CELLSPACING=0>\n";
- echo "<TR VALIGN=middle>\n";
- echo "<TD ALIGN=left WIDTH=75>$last<BR></TD>\n";
- echo "<TD ALIGN=center WIDTH=100%>$middle<BR></TD>\n";
- echo "<TD ALIGN=right WIDTH=75>$next<BR></TD>\n";
- echo "</TR></TABLE><BR>\n";
+
+ echo '<table border="0" width="620" bgcolor="#e0e0e0"
cellpadding="0" cellspacing="4">';
+ echo '<tr>';
+ echo '<td align="middle" colspan="2">' . $middle .
'<br></td>';
+ echo '</tr>';
+
+ echo '<tr bgcolor="#cccccc"><td colspan="2">';
+ spacer(1,1);
+ echo '<br></td></tr>';
+
+ echo '<tr>';
+ echo '<td align="left">' . $last .
'<br></td>';
+ echo '<td align="right">' . $next .
'<br></td>';
+ echo '</tr>';
+ echo '</table><BR>' . "\n";
}
if(!isset($pattern)) {
@@ -206,12 +215,9 @@
makeBar("2",$page,$pages,$baseurl,$firstdisplayed,$lastdisplayed);
- ?>
- <p>
- Search powered by<BR>
- <A HREF="http://htdig.sdsu.edu/"><IMG
SRC="/gifs/htdig.gif" BORDER=0 ALT="ht:dig">
- </p>
- <?
+ echo "<p>Search powered by<BR>\n";
+ print_link("http://htdig.sdsu.edu/",
make_image("htdig.gif", "ht:dig") );
+ echo "</p>\n";
}
commonFooter();
?>
Index: phpweb/thanks.php
diff -u phpweb/thanks.php:1.3 phpweb/thanks.php:1.4
--- phpweb/thanks.php:1.3 Thu Mar 8 14:29:16 2001
+++ phpweb/thanks.php Thu Mar 8 16:20:22 2001
@@ -1,49 +1,28 @@
<?
require_once 'prepend.inc';
commonHeader("Thanks");
-
-function makeEntry($heading) {
- global $FONTFACE;
-?>
-<TR bgcolor='#D0D0D0' valign=top>
-<TD ALIGN=left rowspan=2 valign=middle>
-<?
- echo "<FONT FACE=\"$FONTFACE\" SIZE=-1><FONT SIZE=+0>\n";
- echo "<B>$heading</B><BR></FONT>\n";
?>
-</TD>
-</TR>
-<TR VALIGN=top>
-<TD WIDTH=18><BR></TD>
-<TD ALIGN=left>
-<TABLE border=0 cellpadding=5 cellspacing=0 bgcolor="#F0F0F0" width=100%>
-<TR><TD><FONT FACE="<? echo $FONTFACE;?>" SIZE=-1>
-<?
-};
-function endEntry() {
-?>
-<BR><BR></TD></TR></TABLE>
-</TD>
-<TD width=18><BR></TD>
-</TR>
-<?
-};
-?>
+<h1>Thanks</h1>
-<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
-<?makeEntry("Chek.com")?>
-For providing the server and bandwidth that runs www.php.net.
-<?endEntry()?>
-
-<?makeEntry("easyDNS")?>
-For providing DNS services for the php.* domains.
-<?endEntry()?>
-
-<?makeEntry("VA Linux Systems")?>
-For providing the server and bandwidth that runs the PHP mailing lists, CVS server,
-snapshot site and a number of other services.
-<?endEntry()?>
+<p>
+<? print_link("http://chek.com/",
"Chek.com"); ?> provides the server and
+bandwidth that run the main www.php.net mirror site.
+</p>
+
+<p>
+<? print_link("http://www.easydns.com/?V=698570efeb62a6e2",
"easyDNS"); ?> provides
+DNS services for the php.* domains.
+</p>
+
+<p>
+<? print_link("http://valinux.com/", "VA
Linux Systems"); ?> provides the server and
+bandwidth that run the PHP mailing lists, CVS server, snapshot site and a number of other services.
+</p>
+
+<p>
+And special thanks to all the companies who donate server space and bandwidth to host
+our international array of <? print_link("/mirrors.php", "mirror
sites");?>.
+</p>
-</TABLE>
<? commonFooter(); ?>