PageTemplate

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
		<meta http-equiv='Content-Style-Type' content='text/css' />
		<meta http-equiv='Content-Script-Type' content='text/javascript' />
		<title>{{{wiki.title.decoded}}}</title>
	
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<link media="only screen and (max-device-width:480px)"
href="/raw/smartcss" type="text/css" rel="stylesheet" />
<link media="screen and (min-device-width:481px)" href="/StyleSheetLayout_static.css"
type="text/css" rel="stylesheet" />
<!--[if IE]>
<link href="/StyleSheetLayout_static.css" type="text/css" rel="stylesheet" />
<![endif]-->

		<!--<link rel='stylesheet' href='/StyleSheetLayout_static.css' type='text/css' media='all'/>-->
		<link rel='stylesheet' href='/print_static.css' type='text/css' media='print'/>
		<script src=/jquery-1.4.2.min.js></script>
		<script src=/jquery.iframer.js></script>
		<script src="//platform.twitter.com/widgets.js"></script>
		<script type=text/javascript>
			$(document).ready(function() {
				 $('#myform').iframer({
					onComplete: function(data){
					  atmsreload();
					 }
				 });
			});
		</script>
	</head>
	<body>
	<div id='nav'>{{{MainMenu}}}{{{auth_link}}}</div>
	<div id='main'>
		<h1 id='wikititle'>{{{wiki.title.decoded}}}</h1>

		

		<div id='mw' class='wikidata'>{{{wiki.html}}}</div>


	    <span id='editbtn'><span style="font-family:Times New Roman;">last modified: {{{modified}}}</span>
			[ 
			<a id='editoropen' href='javascript:edit();'>View wiki source</a>
			<a id='editorclose' href='javascript:close();'>Close</a> 
			]
		</span>
		<div id='editpane'>
			<form accept-charset='utf-8' target='/wiki/{{{wiki.title.encoded}}}' method='POST' id='ss-form'>
				<div id='textareapane'>
					<textarea name='raw' id='wikitextarea'>{{{wiki.raw}}}</textarea>
					<div id='sendwikidiv' class='clearfix'>
						<input type='button' id='preview' onclick='dopreview()' value='Preview' />
						<input type='button' id='submit' onclick='commit()' value='commit' {{{enable}}} />
					</div>
				</div>
			</form>
		</div>
		<script type='text/javascript'>
			function edit() {
				 $('#editpane').show('slow');
				 $('#editoropen').hide();
				 $('#editorclose').show();
			};
			function close() {
				$('#editpane').hide('slow');
				$('#editorclose').hide();
				$('#editoropen').show();
			};
			function dopreview() {
			 $.post('/parse', { raw: $('#wikitextarea').val(), wiki:"{{{wiki.title.encoded}}}" },
					 function(data) {
						 $('#mw').html(data);
					});
			};
			function commit() {
					$.post('/wiki/{{{wiki.title.encoded}}}', { raw: $('#wikitextarea').val() },
						function(data) {
							dopreview();close();diffreload();
						}
					);
			};
		</script>	     

		<div id='comsbar'>
			<a id='sechopen' href='javascript:sechopen();'><span class='capital'>S</span><span class='xxsmall'>EARCH</span></a>
			<a id='diffopen' href='javascript:diffopen();'><span class='capital'>D</span><span class='xxsmall'>IFFERENCE</span></a>
			<a id='atmsopen' href='javascript:atmsopen();'><span class='capital'>A</span><span class='xxsmall'>TTACHMENT</span></a>
			<a id='rectopen' href='javascript:rectopen();'><span class='capital'>R</span><span class='xxsmall'>ECENT POST</span></a>
		</div>

		<div id='diff'></div>
		<div id='atms'>
			<div id='atmstable'></div>
			<div>
				<form accept-charset='utf-8' method='post' action='/upload' id='myform' enctype='multipart/form-data'>
				<input type='hidden' id='wupload' name='wiki' value="{{{wiki.title.encoded}}}" />
				<input type='file' id='file' name='file' />
				<input type='submit' name='submit' value='submit' {{{enable}}} />
				</form>
			</div>
		</div>
		<div id='rect'>
			<div id='rects'></div>
		</div>
		<div id='sech'>
			<input type='text' id='keyword' name='keyword' value='' />
			<div id='search-result'></div>
		</div>
		<script type='text/javascript'>
			function closeall() {
				 $('div#diff').hide('slow');
				 $('div#atms').hide('slow');
				 $('div#sech').hide('slow');
				 $('div#rect').hide('slow');
			};
			function diffopen() {
				 closeall();
				 diffreload();
				 $('div#diff').show('');
 				 $('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			function diffreload() {
				$.get('/diff/{{{wiki.title.encoded}}}', function(data) {$('#diff').html(data);});
			};
			function sechopen() {
				 closeall();
				 sechreload();
				 $('div#sech').show('');
 				 $('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			function sechreload() {
				$.get('/search',{ keyword: $('#keyword').val() }, function(data) {$('#search-result').html(data);});
				$('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			$("#keyword").keyup(function(event){if(event.keyCode == 13){sechreload();}});
			function rectopen() {
				 closeall();
				 rectreload();
				 $('div#rect').show('');
 				 $('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			function atmsopen() {
				 closeall();
				 atmsreload();
				 $('div#atms').show('');
 				 $('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			function atmsreload() {
				$.get('/atms/{{{wiki.title.encoded}}}', function(data) {$('#atmstable').html(data);});
			};
			function rectopen() {
				 closeall();
				 rectreload();
				 $('div#rect').show('');
 				 $('html, body').animate({scrollTop:$(document).height()}, 'slow');
			};
			function rectreload() {
				$.get('/recent', function(data) {$('#rects').html(data);});
			};
			function deleteconfirm(path) {
				if(window.confirm('Really Delete?')){
					$.get('/filedelete?file='+path, function(data) {atmsreload();});
				}
			};
		</script>
	</div><!-- main end -->
	</body>
</html>
    last modified: 09 April 2015 [ View wiki source Close ]
     
SEARCH DIFFERENCE ATTACHMENT RECENT POST