<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/c.css" />
<link rel="stylesheet" type="text/css" href="{-:*__THEME__-}/admin/css/mf.css" />
</head>
<body>
<form id="formAdd" action="" method="post">
<dl class="abox">
	<dt><strong>{-:@ADD-}{-:@SINGLE_PAGE-}</strong></dt>
	<dd>
		<table class="formTable">
			<tr>
				<td class="inputTitle">{-:@TITLE-}</td>
				<td></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="required i" type="text" value="" name="sp_title" maxlength="96" size="30">
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> <span class="fc_gry">{-:@SP_TITLE_TIP-}</span>
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@IS_HTML-}</td>
				<td></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="sp_is_html"> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="sp_is_html" checked="checked"> {-:@ON-}</label>
				</td>
				<td class="inputArea">
					<span class="fc_gry">{-:@SP_IS_HTML_TIP-}</span>
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@TEMPLATE-}</td>
				<td></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="required i" type="text" value="show_single_page" name="sp_tpl" maxlength="96" size="30">
				</td>
				<td class="inputTip">
					<span class="fc_r">*</span> <span class="fc_gry">{-:@SP_TPL_TIP-}</span>
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@HTML_NAMING-}</td>
				<td></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="i" type="text" value="" name="sp_html_naming" maxlength="96" size="30">
				</td>
				<td class="inputTip">
					<span class="fc_gry">{-:@SP_HTML_NAMING_TIP-}</span>
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@CONTENT-} <span class="fc_gry">{-:@SP_CONTENT_TIP-}</span></td>
				<td class=""></td>
			</tr>
			<tr>
				<td colspan="2" class="inputArea">
					<textarea class="editor" name="sp_content" style="width:95%;height:240px;"></textarea>
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@KEYWORDS-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="i" type="text" value="" name="sp_keywords" maxlength="255" size="50">
				</td>
				<td class="inputTip">
					{-:@SP_KEYWORDS_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@DESCRIPTION-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<textarea class="i" name="sp_description" style="width:360px;height:60px;"></textarea>
				</td>
				<td class="inputTip">
					{-:@SP_DESCRIPTION_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@DISPLAY_ORDER-}</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input class="i" type="text" value="50" name="sp_display_order" maxlength="10" size="4">
				</td>
				<td class="inputTip">
					{-:@SP_DISPLAY_ORDER_TIP-}
				</td>
			</tr>
		</table>
	</dd>
</dl><!--/.abox-->
<div id="operation">
	<span class="btn_b submit" action="{-url:single_page/add_single_page_do-}" to="#formAdd">{-:@SUBMIT-}</span>
</div>
</form>
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/jquery.js"></script>
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/editor/ckeditor.js"></script>
<script type="text/javascript" src="{-:*__PUBLIC__-}/js/editor/adapters/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	var editor_option = {
		filebrowserImageUploadUrl : '{-url:upload/upload_file?type_set=image&upload_type=single_page&watermark=yes&return_type=editor-}',
		filebrowserUploadUrl : '{-url:upload/upload_file?type_set=all&upload_type=single_page&watermark=yes&return_type=editor-}'
	};
	$('.editor').ckeditor(editor_option);
});
</script>
<script type="text/javascript" src="{-:*__THEME__-}/admin/js/c.js"></script>
</body>
</html>