www.pudn.com > blog_swan_bzl14n.rar > pages.php, change:2012-09-06,size:2025b


<?php
define('SW_',true);
require_once('_common.php');

//判断用户登录
SWAdmin::checkLogin();

//获取页面使用的页面对象
$objPage=new SWPage();

//如果是外部的搜索跳转
$search=SWFunc::checkString(SW::request('search','get'));

//网页头属性
SWAdmin::$js=array('pages.pages');
SWAdmin::$title=LANG('Page Manager');
SWAdmin::$group='pages';

require('_header.php');
?>

<div id="main">

	<div class="center">
		
		<div class="white_box ui-corner-all" style="padding:16px;">
			
			<div class="input_img_div ui-corner-all" style="float:left;">
				<input type="text" id="search" value="<?php __($search?$search:'');?>" style="width:330px;" /> 
				<img src="images/search.gif" />
			</div>
			
			<div class="dropmenu_box" style="float:left;margin-left:10px;">
				<ul class="dropmenu ui-corner-all" id="type">
					<li class="default ui-corner-top"><a href="#" name="publish" class="active"><?php __(LANG('State_Published')); ?></a></li>
					<li><a href="#" name="draft" class="active"><?php __(LANG('State_Draft')); ?></a></li>
					<li class="ui-corner-bottom"><a href="#" name="trash"><?php __(LANG('State_Deleted')); ?></a></li>
				</ul>
			</div>
			
			<a href="page.php" class="button" style="float:right;"><?php __(LANG('Create Page')); ?></a>
			
			<div style="clear:both"></div>
			
		</div>
		
		<div class="selectlist_nav">
			<div class="cell5"><input type="checkbox" id="selectall" /></div>
			<div class="cell20 selectamount">
				<span id="amount"></span> 
				<?php __(LANG('Selections_selected')); ?>: <span id="select">0</span>
			</div>
			<div class="cell30 selectoptions">
				<a href="javascript:void(0);" id="trashsel" class="del ui-corner-all"><?php __(LANG('Opt_Delete')); ?></a>
			</div>
			<div class="pagenav" style="float:right;"></div>
			<div style="clear:both;"></div>
		</div>

		<div class="white_box ui-corner-all">
			<ul id="itemlist" class="selectlist"></ul>
		</div>

		<div style="clear:both;"></div>

	</div>
</div>

<?php
require('_footer.php');

?>