<?php
if($_GET['id']!=""){
$id=$_GET['id'];
include 'MySQL.php';
$MySQL=new MySQL();
$dele_result=$MySQL->uidRst("delete from jijian_table where Id=$id");
if($dele_result>0){
echo "<script language=\"JavaScript\">\r\n";
echo " alert(\"删除成功~!\");\r\n";
echo " history.back();\r\n";
echo "</script>";
}else{
echo "<script language=\"JavaScript\">\r\n";
echo " alert(\"删除失败~!\");\r\n";
echo " history.back();\r\n";
echo "</script>";
}
}
?>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- basic styles -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
<!--[if IE 7]>
<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
<![endif]-->
<!-- page specific plugin styles -->
<!-- fonts -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />
<!-- ace styles -->
<link rel="stylesheet" href="assets/css/ace.min.css" />
<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="assets/css/ace-ie.min.css" />
<![endif]-->
<!-- inline styles related to this page -->
<!-- ace settings handler -->
<script src="assets/js/ace-extra.min.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-default" id="navbar">
<script type="text/javascript">
try{ace.settings.check('navbar' , 'fixed')}catch(e){}
</script>
<div class="main-container" id="main-container">
<script type="text/javascript">
try{ace.settings.check('main-container' , 'fixed')}catch(e){}
</script>
<div class="main-container-inner">
<a class="menu-toggler" id="menu-toggler" href="#">
<span class="menu-text"></span> </a>
<div class="main-content" style="margin-left:0px;margin-top:-40px;">
<div class="page-content" style="margin-left:0px;"><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
<!-- PAGE CONTENT BEGINS -->
<div class="row"><!-- /span -->
</div><!-- /row -->
<div class="row">
<div class="col-xs-12">
<div class="table-header">
寄件管理列表 </div>
<div class="table-responsive">
<table id="sample-table-2" class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="center">
编号
</th>
<th>快递单号</th>
<th>寄件人</th>
<th class="hidden-480">货位</th>
<th>
<i class="icon-time bigger-110 hidden-480"></i>
快递状态 </th>
<th class="hidden-480">金额</th>
<th>数据操作</th>
</tr>
</thead>
<tbody>
<?php
include 'MySQL.php';
$MySQL=new MySQL();
$result=$MySQL->getRowsArray("select * from jijian_table");
$mysql_numrows=mysql_numrows(mysql_query("select * from jijian_table"));
$j=1;
for($i=0;$i<$mysql_numrows;$i++){?>
<tr>
<td class="center">
<?php echo $j++?> </label> </td>
<td>
<a href="#"><?php echo $result[$i]['bianhao'] ?></a> </td>
<td><?php echo $result[$i]['jijianrenxingming'] ?></td>
<td class="hidden-480"><?php echo $result[$i]['cunfangweizhi'] ?></td>
<td>
<?php
if($result[$i]['kuaidizhuangtai']=='1'){
echo "已上架";
}
if($result[$i]['kuaidizhuangtai']=='2'){
echo "已发货";
}
if($result[$i]['kuaidizhuangtai']=='3'){
echo "滞留件";
}
if($result[$i]['kuaidizhuangtai']=='4'){
echo "已退回";
}
?>
</td>
<td class="hidden-480">
<span class="label label-sm label-warning"><?php echo $result[$i]['kuaidifeiyong'] ?></span> </td>
<td>
<div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
<a class="blue" href="jijian_add.php ">
<i class="icon-zoom-in bigger-130"></i> </a>
<a class="green" href="jijian_edit.php?id=<?php echo $result[$i]['Id']; ?>" />
<i class="icon-pencil bigger-130"></i> </a>
<a class="red" href="jijian_table.php?id=<?php echo $result[$i]['Id'] ?>">
<i class="icon-trash bigger-130"></i> </a> </div>
<a class="red" href="jijian_table.php?id=<?php echo $result[$i]['Id'] ?>">
<div class="visible-xs visible-sm hidden-md hidden-lg">
<div class="inline position-relative">
<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
<i class="icon-caret-down icon-only bigger-120"></i> </button>
<ul class="dropdown-menu drop down-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
<li>
<a href="#" class="tooltip-info" data-rel="tooltip" title="View">
<span class="blue">
<i class="icon-zoom-in bigger-120"></i> </span> </a> </li>
<li>
<a href="#" class="tooltip-success" data-rel="tooltip" title="Edit">
<span class="green">
<i class="icon-edit bigger-120"></i> </span> </a> </li>
<li>
<a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
<span class="red">
<i class="icon-trash bigger-120"></i>
<li>
<input type="button" value="11" />
</i> </span> </a> </li>
</ul>
</div>
</div> </td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
<div id="modal-table" class="modal fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header no-padding">
<div class="table-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<span class="white">×</span> </button>
Results for "Latest Registered Domains </div>
</div>
<div class="modal-body no-padding">
<table class="table table-striped table-bordered table-hover no-margin-bottom no-border-t