<?php
/**
* onSite Gstebuch
*
*
* LICENSE: $Licensetext:$
*
* @author Michael Lmmlein <ml@onsite.org>
* @copyright 2009 onSite.org
* @license $Licenselink:$ $Licensename:$
* @version CVS: $Id:$
*/
/**
* Tragen Sie hier eine E-Mail Adresse ein,
* wenn sich bei jedem neuen Eintrag
* benachrichtig werden mchten.
*
* @example email@domain.tld
*/
define("EMAIL_TO", "");
/**
* Gstebuch source
*/
require(dirname(__FILE__)."/gbinc.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="author" content="Maik">
<meta name="date" content="2009-09-04">
<title>tutorials.de | demo_ray2mi</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
<!--
#wrapper {
width:1000px;
margin:auto;
}
#head {
height:100px;
}
#foot {
height:100px;
}
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="head">head</div>
<div id="content">
<?php echo $obj_gb->getHtmlMessage(); ?>
<form action="index.php" method="post" name="form_entry" id="form_entry">
<input type="hidden" name="action" value="1" />
<table class="newentry" align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
<th class="headline"><big><strong>Neuen Eintrag verfassen</strong></big></th>
</tr>
<tr>
<td class="entry"><table width="100%">
<tr>
<td align="right">Name:</td>
<td><input name="name" type="text" class="input" value="<?php echo $obj_gb->getName(); ?>" size="30" maxlength="30" /></td>
</tr>
<tr>
<td align="right">E-Mail:</td>
<td><input class="input" type="text" size="30" name="email" value="<?php echo $obj_gb->getEmail(); ?>" maxlength="30" /></td>
</tr>
<tr>
<td align="right">Homepage:</td>
<td><input class="input" type="text" size="30" value="<?php echo $obj_gb->getHp(); ?>" name="hp" maxlength="40" /></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td align="center" colspan="2"><table align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="nospan"><input type="radio" name="icon" value="icon1" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon1.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon2" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon2.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon3" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon3.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon4" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon4.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon5" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon5.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon6" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon6.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon7" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon7.gif" width="15" height="15" /></td>
<td> </td>
</tr>
<tr>
<td class="nospan"><input type="radio" name="icon" value="icon8" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon8.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon9" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon9.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon10" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon10.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon11" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon11.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon12" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon12.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon13" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon13.gif" width="15" height="15" /></td>
<td> </td>
<td class="nospan"><input type="radio" name="icon" value="icon14" /></td>
<td class="nospan"><img src="http://www.tutorials.de/forum/images/mood/icon14.gif" width="15" height="15" /></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td align="right" valign="top">Kommentar:</td>
<td><textarea name="text" cols="40" rows="8" wrap="physical"><?php echo $obj_gb->getText(); ?></textarea></td>
</tr>
<tr valign="top">
<td colspan="2"> </td>
</tr>
<tr valign="top">
<td><p>Um SPAM zu verhindern geben Sie bitte <br />
die Zeichenfolge ohne
Leerstellen in das <br />
Formularfeld ein:</p></td>
<td><?php echo $obj_gb->getCaptchaCode(); ?></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" align="center"><input name="Submit" type="image" src="http://www.tutorials.de/forum/images/admin/eintragen.jpg" alt="Eintragen" /></td>
</tr>
</table></td>
</tr>
</table>
</form>
<br clear="all" />
<div class="navigation"><?php echo $obj_gb->getNavigation(); ?></div>
<?php while($obj_gb->listEntry()) { ?>
<table width="100%" cellpading="0" cellspacing="0" class="comment">
<tr>
<th class="left"> <img src="http://www.tutorials.de/forum/images/mood/<?php echo $obj_gb->getEntryData("icon"); ?>.gif" width="15" height="15" />
Eintrag Nr. <?php echo $obj_gb->getEntryData("entry_nr"); ?> von
<?php if($obj_gb->getEntryData("email")){ ?>
<a href="mailto: <?php echo $obj_gb->getEntryData("email"); ?>">
<big><?php echo $obj_gb->getEntryData("name"); ?></big></a>
<?php }else{ ?>
<big><?php echo $obj_gb->getEntryData("name"); ?></big>
<?php } ?>
vom <?php echo $obj_gb->getEntryData("date"); ?> um <?php echo $obj_gb->getEntryData("time"); ?> Uhr
<?php if($obj_gb->getEntryData("homepage")){ ?>
<br />
<a href="<?php echo $obj_gb->getEntryData("homepage"); ?>" target="_new" rel="nofollow"><?php echo $obj_gb->getEntryData("homepage"); ?></a>
<?php } ?></th>
<th class="right"><a href="#top"><img src="http://www.tutorials.de/forum/images/admin/hoch.jpg" border="0" /></a></th>
</tr><tr>
<td class="entry" colspan="2">
<p><?php echo $obj_gb->getEntryData("text"); ?></p>
<?php if($obj_gb->getEntryData("comment")){ ?>
<p> </p><small><i>
Kommentar von <?php echo $obj_gb->getEntryData("comment_user"); ?>: <br />
<hr noshade="noshade" width="40%" align="left" />
<?php echo $obj_gb->getEntryData("comment"); ?> </i></small></p>
<?php } ?>
</td>
</tr></table>
<?php } ?>
<div class="navigation"><?php echo $obj_gb->getNavigation(); ?></div>
<div id="admin">[ <a href="admin/login.php" target="gb_admin">Administrator Login</a> ]</div>
</div>
<div id="foot">foot</div>
</div>
<?php echo $obj_gb->getCopyright(); ?>
</body>
</html>
<?php
/**
* Footer
*/
echo $obj_gb->footer();
?>