my first php. forgive me :)

This commit is contained in:
Bill Currie 2000-10-05 05:44:29 +00:00
parent d8a027a855
commit 5205659bda
2 changed files with 20 additions and 3 deletions

11
screenshots.php Normal file
View file

@ -0,0 +1,11 @@
<? // Preamble
$pageName = "Page Name";
$focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document
?>
<!--SEARCHME-->
Page content goes here. Yes, it's that simple.
<!--NOSEARCH-->
<?
require("parts/postamble.php"); // Finish this sucker up
?>

View file

@ -2,10 +2,16 @@
$pageName = "Page Name";
$focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document
function screenshot ($caption, $thumb, $full)
{
echo '<a href="img/screenshots/' "$full" '">' ,
echo '<img src="img/screenshots/' "$thumb" '" alt="fullsize" border="2">' ,
echo '</a>'
echo "<p>$caption</p>"
}
?>
<!--SEARCHME-->
Page content goes here. Yes, it's that simple.
<!--NOSEARCH-->
<? screenshot ('Elderworld pool in id1vis with r_wateralpha 0.3' 'wateralpha-0.3.jpg', 'wateralpha-0.3.png') ?>
<?
require("parts/postamble.php"); // Finish this sucker up
?>