<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<{$charset}>" />
    <title><{$sitename}></title>
    <meta name="COPYRIGHT" content="Copyright (c) 2004 by <{$sitename}>" />
    <meta name="GENERATOR" content="TinyContent-Duplicatable with XOOPS" />
	<link href="style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<{$xoops_url}>/common/fckeditor/fckeditor.js"></script>
	<script type="text/javascript">
		<!--
		function fckeditor_exec() {
			var oFCKeditor = new FCKeditor( "message", "100%", "405px", "Default" );
				oFCKeditor.BasePath = "<{$xoops_url}>/common/fckeditor/";
				oFCKeditor.ReplaceTextarea();							
		}
		// -->
	</script>
</head>
<body>
	<div id="alerts">
		<noscript>
			<p>
				<strong>FCKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
				support, like yours, you should still see the contents (HTML data) and you should
				be able to edit it normally, without a rich editor interface.
			</p>
		</noscript>
	</div>
    <h2><{$smarty.const._TC_EDITCONTENT}></h2>
	<form action="edit.php" method="post">
        <input type='hidden' name='nobreaks' id='nobreaks' value='1' />
        <input type='hidden' name='op' id='op' value='editit' />
        <input type='hidden' name='property_id' id='property_id' value='<{$property_id}>' />
        <input type='hidden' name='last_modified' id='last_modified' value='<{$last_modified}>' />
        <{$gticket}>
		<table cellspacing="0">
		<tbody>
		<tr><td id="leftcolumn" class="leftcolumn">
          <div class="leftblockTitle"><{$smarty.const._TC_LINKNAME}></div>
          <div class="leftblockContent">
          	<input type='text' name='title' id='title' size='80' maxlength='255' value='<{$title}>'  />
          </div>
          <div class="leftblockTitle"><{$smarty.const._TC_HTML_HEADER}></div>
          <div class="leftblockContent">
            <textarea name='html_header' id='html_header' rows='2' cols='100' ><{$html_header}></textarea>
          </div>
		  <div class="leftblockTitle">
		  	<label for="editor1"><{$smarty.const._TC_CONTENT}></label>
		  </div>
		  <div class="leftblockContent">
		  	<textarea cols="80" id="message" name="message" rows="15">
            <{$content}>
		  	</textarea><script>fckeditor_exec();</script>
		  </div>
		</td>
		<td id="rightcolumn" class="rightcolumn">
          <div class="rightblockTitle"><{$smarty.const._SUBMIT}></div>
          <div class="rightblockContent">
          	<center>
            <input type="submit" class="submit" value="<{$smarty.const._SUBMIT}>" />
            </center>
          </div>
          <div class="rightblockTitle"><{$smarty.const._OPTIONS}></div>
          <div class="rightblockContent">
          	<label><input type='checkbox' name='nosmiley' id='nosmiley_1' value='1' <{if $nosmiley eq 1 }> checked="checked"<{/if}> />
          	<{$smarty.const._DISABLESMILEY}></label><br />
          	<label><input type='checkbox' name='visible' id='visible_1' value='1' <{if $visible eq 1 }> checked="checked"<{/if}> />
            <{$smarty.const._TC_VISIBLE}></label><br />
          	<label><input type='checkbox' name='submenu' id='submenu_1' value='1' <{if $submenu eq 1 }> checked="checked"<{/if}> />
            <{$smarty.const._TC_SUBMENU}></label><br />
          	<label><input type='checkbox' name='comments' id='comments_1' value='1' <{if $comments eq 1 }> checked="checked"<{/if}> />
            <{$smarty.const._TC_ENABLECOM}></label><br />
          	<label><input type='checkbox' name='homepage' id='homepage_1' value='1' <{if $homepage eq 1 }> checked="checked"<{/if}> />
            <{$smarty.const._TC_ENABLEHOMEPAGE}></label>
		  </div>
		  <div class="rightblockTitle"><{$smarty.const._TC_CONTENT_TYPE}></div>
          <div class="rightblockContent">
          	<select size='1' name='nohtml' id='nohtml' >
          	<option id='nohtml_0' value='0' <{if $nohtml eq 0 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_HTML}></option>
          	<option id='nohtml_2' value='2' <{if $nohtml eq 2 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_HTMLNOBB}></option>
          	<option id='nohtml_1' value='1' <{if $nohtml eq 1 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_TEXTWITHBB}></option>
          	<option id='nohtml_3' value='3' <{if $nohtml eq 3 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_TEXTNOBB}></option>
          	<option id='nohtml_8' value='8' <{if $nohtml eq 8 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_PHPHTML}></option>
          	<option id='nohtml_10' value='10' <{if $nohtml eq 10 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_PHPWITHBB}></option>
          	<option id='nohtml_16' value='16' <{if $nohtml eq 16 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_PEARWIKI}></option>
          	<option id='nohtml_18' value='18' <{if $nohtml eq 18 }>selected='selected'<{/if}>><{$smarty.const._TC_TYPE_PEARWIKIWITHBB}></option>
          	</select>
          </div>
          <div class="rightblockTitle"><{$smarty.const._TC_LASTMODIFIED}></div>
          <div class="rightblockContent"><{$last_modified|date_format:"%Y-%m-%d  %H:%M"}></div>
          <div class="rightblockTitle"><{$smarty.const._TC_CREATED}></div>
          <div class="rightblockContent"><{$created|date_format:"%Y-%m-%d  %H:%M"}></div>
		</td>
		</tr>
		</tbody>
 		</table>
      </form>
</body>
</html>
