Location: PHPKode > projects > eBlog > templates/default/addEntry.html
<html dir="{blog_dir}">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset={blog_windows_encoding}">
	<link href="templates/default/css/style_{blog_dir}.css" rel="stylesheet">	
</head>


<body>


<form method="post" action="guestbook.php?action=process" onsubmit="

if(this.name.value == '') 
{
	alert('{lang_erorr_code149}');
	this.name.focus();
	return false;
}

if(this.title.value == '') 
{
	alert('{lang_erorr_code154}');
	this.title.focus();
	return false;
}

if(this.comment.value == '') 
{
	alert('{lang_erorr_code150}');
	this.comment.focus();
	return false;
}

if(this.code.value != this.code2.value) 
{
	alert('{lang_erorr_code151}');
	this.code.focus();
	return false;
}

">
<table border="0" cellspacing="0" cellpadding="2">

<tr>
<td><td class="datefont">{lang_blog_form_name}:</td>
<td><input type="text" name="name" size="20" style="width:250px; font-family: Tahoma; font-size: 12px; color: #000000; border: 1px solid #000000; background-color: #cbcaca;" value=""></td>
</tr>

<tr>
<td><td class="datefont">{lang_blog_form_country}:</td>
<td>{countries_list}</td>
</tr>


<tr>
<td><td class="datefont">{lang_blog_form_title}:</td>
<td><input type="text" name="title" size="50" style="width:250px; font-family: Tahoma; font-size: 12px; color: #000000; border: 1px solid #000000; background-color: #cbcaca;"   value=""></td>
</tr>


<tr>
<td><td class="datefont" valign="top">{lang_blog_form_comment}:</td>
<td><textarea name="comment" rows="5" MAXLENGTH="300" style="width:250px; font-family: Tahoma; font-size: 12px; color: #000000; border: 1px solid #000000; resize: none; background-color: #cbcaca;"></textarea></td>
</tr>

<tr>
<td><td class="datefont">{lang_blog_form_cc}:</td>
<td><input type="text" name="code" size="7" style="font-family: Tahoma; font-size: 12px; color: #000000; border: 1px solid #000000; background-color: #cbcaca;" MAXLENGTH="5" value="">&nbsp;<input type="text" name="code2" value="{random}" style="width:250px; font-family: Tahoma; font-size: 12px; color: #000000; border: 1px solid #ffffff; background-color: #ffffff;" readonly>
</td>
</tr>


<tr>
<td><td class="datefont"></td>
<td><input type="submit" value="{lang_blog_submit}"></tr>



</table>
</form>


</body>

</html>
Return current item: eBlog