<?php if (isset($pagebar) && $pagebar) { ?>
<div class="navigation">
	<div class="pagination">
		<?php SF_skin2::changePagebar($pagebar); ?>
		<?php  foreach ( $pagebar->buttons as $k=>$v) { ?>
			<?php if ($k=='‹‹') { ?>
				<a href="<?php  echo $v;  ?>" class="inactive" title="首页">首页</a>
			<?php }elseif($k=='‹') {  ?>
				<a href="<?php  echo $v;  ?>" class="inactive" title="上一页">上一页</a>
			<?php }elseif($k=='›') {  ?>
				<a href="<?php  echo $v;  ?>" class="inactive" title="下一页">下一页</a>
			<?php }elseif($k=='››') {  ?>
				<a href="<?php  echo $v;  ?>" class="inactive" title="尾页">尾页</a>
			<?php }elseif($pagebar->PageNow==$k) {  ?>
				<span class="current"><?php  echo $k;  ?></span>
			<?php }else{  ?>
				<a href="<?php  echo $v;  ?>" class="inactive" title="<?php  echo $k;  ?>"><?php  echo $k;  ?></a>
			<?php } ?>
		<?php }   ?>
	</div>
</div>
<div class="clear"></div>
<?php } ?>