<div class="base2">
	<div class="heading2"><div class="binner">
		<h1>Добавление новости</h1>
	</div></div>
	<div class="maincont"><div class="binner">
			<table class="tableform addnews"><tbody>
				<tr class="fieldtr">
					<td class="label">Заголовок:<span class="impot">*</span></td>
					<td><input name="title" value="{title}" maxlength="150" class="inputText" type="text"></td>
				</tr>
				[urltag]
				<tr class="fieldtr">
					<td class="label" nowrap="nowrap" ><b>URL статьи:</b></td>
					<td><input type="text" name="alt_name" value="{alt-name}" maxlength="150" class="inputText"></td>
				</tr>
				[/urltag]
				<tr class="fieldtr">
					<td class="label">Категория:<span class="impot">*</span></td>
					<td>{category}</td>
				</tr>
				[not-wysywyg]
				<tr class="fieldtr">
					<td colspan="2">{bbcode}</td>
				</tr>
				[/not-wysywyg]
				<tr class="fieldtr">
					<td colspan="2">
						<div><b>Краткий вариант статьи: <span class="impot">*</span></b></div>
						<div>[not-wysywyg]<textarea name="short_story" id="short_story" onclick=setFieldName(this.name) class="textarea" style="width:98%; height:160px;">{short-story}</textarea>[/not-wysywyg]{shortarea}</div>
					</td>
				</tr>
				<tr class="fieldtr">
					<td colspan="2">
						<div><b>Полный вариант статьи:</b></div>
						<div>[not-wysywyg]<textarea name="full_story" id="full_story" onclick=setFieldName(this.name) class="textarea" style="width:98%; height:200px;">{full-story}</textarea>[/not-wysywyg]{fullarea}</div>
					</td>
				</tr>
				<tr class="fieldtr">
					<td class="label">Ключевые слова<br>для облака тегов:</td>
					<td><input name="tags" value="{tags}" maxlength="150" class="inputText" type="text" size="80"></td>
				</tr>
				{xfields}
				[sec_code] 
				<tr class="fieldtr">
					<td class="label">Введите код<br>с картинки:<span class="impot">*</span></td>
					<td>
						<div>{sec_code}</div>
						<div><input name="sec_code" id="sec_code" style="width: 115px;" class="inputText" type="text"></div>
					</td>
				</tr>
				[/sec_code] 
				<tr class="fieldtr">
					<td colspan="2">{admintag}</td>
				</tr>
				<tr class="fieldtr flast">
					<td colspan="2" align="center"><br>
						<div><input name="add" class="okbtn" onmouseover="this.className='okbtnhover'" onmouseout="this.className='okbtn'" alt="Отправить" title="Отправить" src="{THEME}/images/spacer.png" type="image">
						<input name="nview" onclick="preview()" class="viewbtn" onmouseover="this.className='viewbtnhover'" onmouseout="this.className='viewbtn'" alt="Просмотр" title="Просмотр" src="{THEME}/images/spacer.png" type="image"></div>
					</td>
				</tr>
			</tbody></table>
	</div></div>
	<div class="morelink-sp"></div>
</div>
