
<form name="selectPageForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
<?php if ($this->_var['pager']['styleid'] == 0): ?>
<div id="pager">
  <?php echo $this->_var['lang']['pager_1']; ?><?php echo $this->_var['pager']['record_count']; ?><?php echo $this->_var['lang']['pager_2']; ?><?php echo $this->_var['lang']['pager_3']; ?><?php echo $this->_var['pager']['page_count']; ?><?php echo $this->_var['lang']['pager_4']; ?> <span> <a href="<?php echo $this->_var['pager']['page_first']; ?>"><?php echo $this->_var['lang']['page_first']; ?></a> <a href="<?php echo $this->_var['pager']['page_prev']; ?>"><?php echo $this->_var['lang']['page_prev']; ?></a> <a href="<?php echo $this->_var['pager']['page_next']; ?>"><?php echo $this->_var['lang']['page_next']; ?></a> <a href="<?php echo $this->_var['pager']['page_last']; ?>"><?php echo $this->_var['lang']['page_last']; ?></a> </span>
    <?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_33843400_1373967521');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_33843400_1373967521']):
?>
      <?php if ($this->_var['key'] == 'keywords'): ?>
          <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo urldecode($this->_var['item_0_33843400_1373967521']); ?>" />
        <?php else: ?>
          <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item_0_33843400_1373967521']; ?>" />
      <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    <select name="page" id="page" onchange="selectPage(this)">
    <?php echo $this->html_options(array('options'=>$this->_var['pager']['array'],'selected'=>$this->_var['pager']['page'])); ?>
    </select>
</div>
<?php else: ?>



        <!--分页 { -->
        <div class="pager">
		<div class="pagerjump">
		<?php if ($this->_var['pager']['page_prev']): ?><a class="previous" href='<?php echo $this->_var['pager']['page_prev']; ?>'><em>上一页</em></a><?php else: ?><a class="previous"><em>上一页</em></a><?php endif; ?>
		  <?php if ($this->_var['pager']['page_count'] != 1): ?>
       <?php $_from = $this->_var['pager']['page_number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_33899800_1373967521');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_33899800_1373967521']):
?>
       <?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
		<a href='<?php echo $this->_var['item_0_33899800_1373967521']; ?>' class="num current"><?php echo $this->_var['key']; ?></a> 
		<?php else: ?>
		<a href='<?php echo $this->_var['item_0_33899800_1373967521']; ?>' class="num"><?php echo $this->_var['key']; ?></a>  
		<?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  <?php endif; ?>
		<?php if ($this->_var['pager']['page_next']): ?>
		<a class="next" href='<?php echo $this->_var['pager']['page_next']; ?>'><em>下一页</em></a><?php else: ?><a class="next"><em>下一页</em></a>
		<?php endif; ?>
		</div>
		    <?php $_from = $this->_var['pager']['search']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_33941100_1373967521');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_33941100_1373967521']):
?>
      <?php if ($this->_var['key'] == 'keywords'): ?>
          <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo urldecode($this->_var['item_0_33941100_1373967521']); ?>" />
        <?php else: ?>
          <input type="hidden" name="<?php echo $this->_var['key']; ?>" value="<?php echo $this->_var['item_0_33941100_1373967521']; ?>" />
      <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		<div class="gotopage"><span style="margin:0 5px;">共<b><?php echo $this->_var['pager']['record_count']; ?></b>记录</span> <span>跳转至</span><div class="input"><input type='text' class='text' name='page' onkeydown="if(event.keyCode==13)selectPage(this)"/> <input type="submit" class='btn_submit' value="确定"></div></div>
        </div>
        




<?php endif; ?>
</form>
<script type="Text/Javascript" language="JavaScript">
<!--

function selectPage(sel)
{
  sel.form.submit();
}

//-->
</script>
