<?php
session_start();
[COLOR="Red"]require_once('recaptchalib.php');
$publickey = "6LdFrQEAAAAAAMKnIrIzseR6jcIsiULKVp57F51b "; // you got this from the signup page
require_once('recaptchalib.php');
$privatekey = "6LdFrQEAAAAAAIgzBulu6cW8Ry6n6gu-wloL4717 ";
$resp = recaptcha_check_answer ($6LdFrQEAAAAAAIgzBulu6cW8Ry6n6gu-wloL4717,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
"(reCAPTCHA said: " . $resp->error . ")");
}[/COLOR]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta name="description" value="Welcome to Dragons Touch, a library of information about the greatest of our minds creations. The Dragon.">
<meta name="keywords" value="Dragon, Dragons, mythology, legend, myth, research, history">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Dragon's Touch - Home</title>
<!-- InstanceEndEditable -->
<script type="text/javascript" src="dropdowntabs/dropdowntabfiles/dropdowntabs.js">
/***********************************************
* Drop Down Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
<link href="Stylesheets/DT%20CSS.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
color: #b46633;
}
-->
-->
</style>
<link href="Stylesheets/DT%20CSS.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
color: #b46633;
}
.style3 {font-size: medium}
a:visited {
color: #c24206;
}
a:hover {
color: #c24206;
}
a:active {
color: #d01foa;
}
-->
</style>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link rel="stylesheet" type="text/css" href="dropdowntabs/dropdowntabfiles/slidingdoors.css" />
<style type="text/css">
<!--
.Newstyle {
color: #b46633;
font-weight: bold;
}
.style4 {color: #b46633}
.Sidehead {color: #b46633; font-weight: bold; font-size: medium; }
-->
</style>
</head>
<body>
<div class="style3" id="outer">
<div id="Header"></div>
<div id="SecNav">
<div id="slidemenu" class="slidetabsmenu">
<ul>
<li><a href="index.htm" title="Home"><span>Home</span></a></li>
<li><a href="Dragons.html" title="Dragons" rel="dropmenu1_c"><span>Dragons</span></a></li>
<li><a href="Galleryfiles/Showroom.html" title="Showroom"><span>Artists Showroom</span></a></li>
<li><a title="Community" rel="dropmenu3_c"><span>Community</span></a></li>
<li><a href="ContactForm.html" title="Contact"><span>Contact Us</span></a></li>
<li><a title="Misc" rel="dropmenu2_c"><span>Misc</span></a></li>
</ul>
</div>
</div>
<div id="links">
<div id=news2>
<p><img src="Images/Headers/news.jpg" alt="News" width="150" height="50" /></p>
<p class="Sidehead"><u>Diary Trip</u> </p>
<p align="center">DT will be travelling to Ireland in June for our first Diary trip. We will be studying the celtic building of Newgrange where two strange serpents appear inside. Expect videos, images and essays on the dragons of Newgrange </p>
<p align="center"><img src="Images/newgrange.jpg" alt="New Grange" width="204" height="117" /></p>
<hr />
<a href="http://www.thesorcererslibrary.com" target="_blank"></a></div>
<div>
<p><span class="Sidehead"><strong><u>Mailing List</u></strong></span>
<p>
To become involved in Dragons Touch or just to find out what we are up to fill in the form below to join our Mailing list.
<form method="post" action="Templates/signup.php">
<table width="200px">
<tr>
<td>
<b>Name</b>
</td>
<td>
<input name="name" type="text" size="25" />
</td>
</tr>
<tr>
<td>
<b>Email</b>
</td>
<td>
<input type="text" name="email" size="25" />
</td>
</tr>
</table>
<p>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
</p>
</form>
</div>
<p><br />
</p>
<p align="left">
</div>
<div id="Main">
<div align="center">
<!-- InstanceBeginEditable name="Main" -->
<p align="left">
It takes a lot of time to create and maintain a website such as this, not to mention the hours of research that goes into the essays.
If you enjoyed the site or found it useful is someway please let us know. Its knowing we are on the right track that helps to keep us going.
<p>
<?php
print '
<form method="post" action="guestbook.php">
<table width="100%">
<tr>
<td width="26%" align="right">
<b>Name</b> </td>
<td width="74%">
<div align="left">
<input type="text" name="name" size="20" />
</div></td>
</tr>
<tr>
<td align="right">
<b>Email</b>
</td>
<td>
<div align="left">
<input type="text" name="email" size="20" />
</div></td>
</tr>
<tr>
<td align="right">
<b>Comment</b>
</td>
<td>
<div align="left">
<textarea name="comment" cols="25" rows="5"></textarea>
</div></td>
</tr>
<tr>
<td>
</td>
<td>
<div align="left">
[COLOR="red"]echo recaptcha_get_html($6LdFrQEAAAAAAMKnIrIzseR6jcIsiULKVp57F51b );[/COLOR] </div></td>
</tr>
<tr>
<td>
</td>
<td>
<div align="left">
<input type="submit" name="submit" value="Submit" />
</div></td>
</tr>
</table>
</form>
';
require_once 'connectdb.php';
if ( $_POST['submit'] == 'Submit' ) {
$guestbookQuery = 'INSERT INTO guestbook ( Name, Email, Comment, DateStamp ) VALUES ( "' . $_POST['name'] . '", "' . $_POST['email'] . '", "' . $_POST['comment'] . '", "' . time() . '" )';
mysql_query( $guestbookQuery, $_SESSION['connect'] );
}
$guestbookQuery = 'SELECT * FROM guestbook ORDER BY datestamp DESC' ;
$guestbookRecord = mysql_query( $guestbookQuery, $_SESSION['connect'] );
while ( $guestbookRow = mysql_fetch_array( $guestbookRecord ) ) {
print '
<div style="text-align: left; width: 90%;><table border="0">
<tr>
<td>
<div align="left">' . $guestbookRow['Name'] . '
</div></td>
<td>
<div align="left">' . date('Y/m/d H:i' , $guestbookRow['DateStamp'] ) . '
</div></td>
</tr>
<tr>
<td colspan="2">
<div align="left">' . $guestbookRow['Comment'] . '
</div></td>
</tr>
</table></div>
<br />
';
}
?>
<!-- InstanceEndEditable --></div>