Example #1
0
			
		<div class="panel panel-default">
		<div class="panel-heading">操作</div>
		<div class="panel-body">
    				<table class="table table-hover">
    					<tr>
    						<td>添加代理</td>
    						<td><a href="newproxy.php"><button type="button" class="btn btn-warning btn-sm">点击添加</button></a></td>
    					</tr>
    					<tr>
    						<td>自动清理</td>
    						<td><a href="#" onclick="deleteall();"><button type="button" class="btn btn-danger btn-sm">删除已失效的代理</button></a></td>
    					</tr>
    				</table>
		</div>
		</div>
		<ul class="pagination">
		<?php 
$param = array('totalRows' => $result2[0]['a'], 'pageSize' => '10', 'currentPage' => @$_GET['p'], 'baseUrl' => 'proxy.php', 'className' => 'active');
$page = new Page($param);
echo $page->pagination();
?>
		</ul>
    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>