<!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="text/html; charset={$CONFIG[charset]}" />
<title>稿件管理_{$title}_个人专栏_{$SYSTEM[sitename]}</title>
	<link href="{IMG_URL}templates/{TEMPLATE}/css/style.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
	<link href="{IMG_URL}templates/{TEMPLATE}/css/content.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
	<!--[if IE 6]> 
		<link href="{IMG_URL}templates/{TEMPLATE}/css/ie6.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
	<![endif]-->
<link href="{IMG_URL}templates/{TEMPLATE}/css/dialog.css" rel="stylesheet" type="text/css" />
<link href="{IMG_URL}templates/{TEMPLATE}/css/ajax_Page.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.ui.js"></script>

<script type="text/javascript" src="{IMG_URL}js/config.js"></script>
<script type="text/javascript" src="{IMG_URL}js/cmstop.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/cmstop.dialog.js"></script>

<script type="text/javascript" src="{IMG_URL}js/lib/cmstop.table.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/cmstop.contextMenu.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.pagination.js"></script>

<script type="text/javascript" src="{IMG_URL}apps/member/js/contribute.js"></script>
</head>
<body class="person-theme">
	<div class="person-wrap">
		<?php $menu['space'] = 'class="person-current"'; $this->assign('menu',$menu); ?>
		<!--{template 'member/panel/header.html'}-->
		<div class="clear"></div>
			<div class="person-cont">
				<div class="hr-h10"></div>
				<div class="person-console">
					<?php  $nav[$subTpl] = 'class="addgraybg"';?>
					<div class="f-l contribute-status" >
					<a href="{url('space/panel/contribute')}" class="contribute">投稿</a> <a href="{url('space/panel/published')}" {$nav[published]}>已发表<em>(<b id="num_published">{$statistics['published']}</b>)</em></a><span>|</span><a href="{url('space/panel/submitted')}" {$nav[submitted]}>审核中<em>(<b id="num_submitted">{$statistics['submitted']}</b>)</em></a><span>|</span><a href="{url('space/panel/rejected')}" {$nav[rejected]}>已退稿<em>(<b id="num_rejected">{$statistics['rejected']}</b>)</em></a><span>|</span><a href="{url('space/panel/drafted')}" {$nav[drafted]}>草稿箱<em>(<b id="num_drafted">{$statistics['drafted']}</b>)</em></a></div>
					<a href="{url('space/panel/setting')}" class="f-r person-set">设置</a>
					<a href="{space_url($space_exist['spaceid'])}" class="f-r person-set tozl" target="_blank">我的专栏</a>
				</div>
				<div class="clear"></div>
				<!--{template "space/status/$subTpl.html"}-->
			</div>
	</div>
<div class="hr-h10"></div>
<script type="text/javascript">
var tableApp = new ct.table('#item_list', {
	rowIdPrefix : 'row_',
	rightMenuId : 'right_menu',
	pageField : 'page',
	pageSize : 10,
	jsonLoaded : 'json_loaded',
	rowCallback     : 'init_row_event',
	template : row_template,
	baseUrl  : '?app=space&controller=panel&action=page&status=<?=$status?>'
});

function json_loaded(json) {
	$('#pagetotal').html(json.total);
}
function init_row_event(id, tr) {
	tr.unbind();
}
$(function() {
	tableApp.load();
	$('#pagesize').val(tableApp.getPageSize());
	$('#pagesize').blur(function(){
		var p = $(this).val();
		p = (p<10)?10:p;
		p = (p>20)?20:p;
		$(this).val(p);
		tableApp.setPageSize(p);
		tableApp.load();
	});
});
</script>
<!--{template 'system/footer.html'}-->