<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=windows-1252">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Expires" content="Tue, 26-Oct-1965 12:00:00">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Expires" content="NOW">
<meta http-equiv="last-modified" content="NOW">
<meta name="keywords" content="php, script, guestbook, free, download">
<meta name="description" content="A simple free html guestbook script written in PHP. Let your visitors comment on your html web pages!">
<meta name="robots" content="index,follow">
<title>An Easy PHP Guestbook install</title>
<!-- CSS FOR THE GUESTBOOK PAGE -->
<link rel="StyleSheet" href="styles/guestbook.css" type="text/css">
<!-- CSS FOR THE POSTS -->
<link rel="StyleSheet" href="styles/posts.css" type="text/css">
<!-- JQUERY FOR AJAX FORM VALIDATION-->
<script type="text/javascript" src="javascript/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.warning').remove();
$.get("token.php",function(txt){
$(".secure").append('<input type="hidden" name="ts" value="'+txt+'" />');
});
});
</script>
<!-- JAVASCRIPT FOR THE POSTING FORM -->
<script type="text/javascript" src="javascript/gb_javascript.js"></script>
</head>
<body>
<div class="main">
<div class="headerdiv">
<span style="font-size:40px;font-family:georgia">Welcome to our guestbook!</span>
</div>
<div class="navigationmenu">
<a href="/" class="topmenulinks">home page</a> | <a href="http://www.disney.com" class="topmenulinks">link 1</a> | <a href="http://www.cnn.com" class="topmenulinks">link 2</a> | <a href="http://games.cellbiol.com" class="topmenulinks">link 3</a>
</div>
<!-- POSTING FORM CODE STARTS HERE -->
<div class="formdiv">
<p class="warning">Javascript required to use this form, it appears that your javascript is disabled</p>
<img src="images/dog_big.jpg" alt="smart dog image" align="right" >
<form name="my_form" id="myform" enctype="multipart/form-data" method="post" action="php_guestbook.php" class="secure">
<!-- NAME INPUT-->
<span class="formtext">Name:</span>
<br>
<input text name="name" class="form-els-bcg"><br>
<!-- E-MAIL INPUT-->
<span class="formtext">E-mail:</span>
<br>
<input text name="email" class="form-els-bcg">
<br>
<!-- MESSAGE INPUT-->
<span class="formtext">Message:</span><br>
<!-- BOLD TEXT BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=window.document.my_form.message.value+' <b>Your Text</b>';">
<img src="images/bold.png" alt="Add bold text" title="Add bold text">
</a>
</span>
<!-- ITALIC TEXT BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=window.document.my_form.message.value+' <i>Your Text</i>';">
<img src="images/italic.png" alt="Add italic text" title="Add italic text">
</a>
</span>
<!-- COLORED TEXT BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=
window.document.my_form.message.value+' <font color=red>Your text</font>';">
<img src="images/color.png" alt="Add colored text" title="Add colored text">
</a>
</span>
<!-- BOLD AND COLORED TEXT BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=window.document.my_form.message.value+' <b><font color=red>Your text</font></b>';">
<img src="images/bold-color.png" alt="Add bold and colored text" title="Add bold and colored text">
</a>
</span>
<!-- ADD A LINK BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=
window.document.my_form.message.value+ samplelink;">
<img src="images/link.png" alt="Insert link. Replace the sample link address with your own"
title="Insert link. Replace the sample link address with your own">
</a>
</span>
<!-- ADD AN IMAGE BUTTON-->
<span class="splink">
<a onClick="document.my_form.message.value=window.document.my_form.message.value+sampleimage;">
<img src="images/image.png" alt="Insert image. Replace the sample image address with the address of your image"
title="Insert image. Replace the sample image address with the address of your image">
</a>
</span>
<!-- OPEN SMILIES WINDOW BUTTON-->
<span class="splink">
<a onClick="smilwin=openChild('images/smilies.html','smilieswindow'); window.document.my_form.message.value=
window.document.my_form.message.value+mylink;"><img src="images/smilie.png" title="Add a smilie" alt="Add a smilie">
</a>
</span>
<br>
<!-- TEXTAREA FOR THE MESSAGE -->
<textarea name="message" rows="8" cols="60" class="form-els-bcg"></textarea>
<br>
<!-- SETTING PRIVATE EMAIL AND MESSAGE -->
<input type="checkbox" name="show_email" value="no"><span class="makepriv">Make e-mail private </span>
<input type="checkbox" name="show_message" value="no"><span class="makepriv">Make message private</span><br>
<!-- CAPTCHA -->
<table style="width:200px;border:2px solid #FEDE63;margin:4px;">
<tr>
<td style="width:100px;border:0px solid black;cellpadding:2px">
<img src="php_guestbook.php?task=getCaptcha">
</td><td style="width:100px;border:0px solid black;"><input name="random" type="text"></td></tr></table>
<!-- SUBMIT -->
<input type="hidden" name="task" value="postnm"><br>
<input type="submit" value="Add Comment" title="After submitting the form you will have to undergo a little turing test (reading a randomly generated security code on an image) before your message is posted">
<input type="reset" value="Reset">
</form>
<!-- FORM CODE STOPS HERE -->
</div>
<div class="navigationmenu">
</div>
<div class="messages">
<h1>Posts</h1>
<!-- COMMENTS-START -->
<!-- COMMENTS-END -->
</div>
<div class="linkback">Powered by
<a href="http://www.cellbiol.com/scripts/free_php_guestbook/free_php_guestbook.html" class="linkback">
The Easy PHP Guestbook
</a></div>
</div>
</body>
</html>