20 lines
		
	
	
		
			923 B
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			923 B
		
	
	
	
		
			PHP
		
	
	
	
<form action="index.php" method="POST">
 | 
						|
	<div>
 | 
						|
		<input type="submit" name="home" value="home" accesskey="h">
 | 
						|
		<input type="submit" name="save" value="save" accesskey="s">
 | 
						|
		<input type="submit" name="preview" value="preview" accesskey="p" formtarget="_blank">
 | 
						|
		<input type="submit" name="download" value="download" accesskey="d">
 | 
						|
		<input type="submit" name="delete" value="delete">
 | 
						|
		<input hidden name="lastchanged" value="<? echo $lastchanged; ?>">
 | 
						|
		<div><input autocomplete="off" class="title" name="title" value="<? echo $title; ?>"></div>
 | 
						|
	</div>
 | 
						|
	<div class="editor">
 | 
						|
		<textarea rows="<? echo $rows; ?>" autofocus name="content" spellcheck="false"><? echo $content; ?></textarea>
 | 
						|
	</div>
 | 
						|
	<input hidden name="previoustitle" value="<? echo $title; ?>">
 | 
						|
	<?php
 | 
						|
		echo '<div class="grey">' . $lines . ' ' . $words .  ' ' . $chars . ' ' . $title . '.md</div>';
 | 
						|
		echo linksdiv($content);
 | 
						|
	?>
 | 
						|
</form>
 |