Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[2925b4]: end_page.php3 Maximize Restore History

Download this file

end_page.php3    32 lines (21 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
function end_page($file) {
$quotes[0]="<q>The most valuable commodity I know of is information.</q> - Gordon Gekko";
$quotes[1]="<q>Measurement is a crucial component of performance improvement since reasoning and intuition are fallible guides and must be supplemented with tools like timing commands and profilers.</q> - The Practice of Programming, Brian W. Kernighan and Rob Pike";
$quotes[2]="<q>It is a capital mistake to theorise before one has data. Insensibly one begins to twist facts to suit theories instead of theories to suit facts.</q> - Sherlock Holmes";
$quotes[3]="<q>Premature optimization is the root of all evil.</q> - Donald E. Knuth";
$quotes[4]="<q>More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity.</q> - W.A. Wulf";
$quotes[5]="<q>Rules of Optimization: Rule 1: Don't do it. Rule 2 (for experts only): Don't do it yet.</q> - M.A. Jackson";
$nr_quotes=6;
div("redrule");
enddiv("redrule");
div("quote");
$i=rand(0, $nr_quotes - 1);
print("$quotes[$i]\n");
enddiv("quote");
div("timestamp");
print strftime("%Y/%m/%d", filemtime($file));
enddiv("timestamp");
enddiv("page");
print("</body>\n</html>\n");
}