book_add.tpl
1.56 KB
<h1>{$smarty.const.Ask_question}</h1>
{include file="error.tpl"}
<div id="inputArea">
<form method="post" action="{$smarty.const.URL}{$lang_prefix}{$rules_info_one.action}/add/">
<label>{$smarty.const.YOUR_NAME}: <span class="red">*</span></label>
<input type="text" name="name" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.name|escape:'html'}" />
<label>{$smarty.const.YOUR_EMAIL}: <span class="red">*</span></label>
<input type="text" name="email" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.email|escape:'html'}" />
<label>{$smarty.const.Title_question}: <span class="red">*</span></label>
<input type="text" name="title" class="idle" onblur="this.className='idle'" onfocus="this.className='activeField'" size="60" value="{$smarty.post.title|escape:'html'}" />
<label>{$smarty.const.Question}: <span class="red">*</span></label>
<textarea rows="4" cols="30" name="question" class="idle" onblur = "this.className='idle'" onfocus = "this.className='activeField'">{$smarty.post.question|escape:'html'}</textarea>
<label>{$smarty.const.YOUR_NOSPAM}:<font color="red">*</font><br /><img style="border: 2px solid red;" vspace="4" src="{$smarty.const.URL}spam/index.php"></label>
<input class="idle" onblur = "this.className='idle'" onfocus = "this.className='activeField'" name="no_spam" type="text" />
<p>{$smarty.const.METKA_FIELDS}</p>
<br />
<input type="hidden" name="save"><input type="submit" value="{$smarty.const.SEND}" class="submit" />
</form>
</div>