时间:2021-07-01 10:21:17 帮助过:4人阅读
.menu{
background:#9CF;
display:block;
}
.menu ul{
list-style-type:none;}
.menu li{
float:left;
margin:0 3px;
}
.menu li a:hover{
background-color:#91f491;
color:white;
border-bottom:solid 1px #91f491;
}
.menu li a#current{
background-color:#0ce;
color:white;
border-bottom:none;
}
.one{
margin-top:20px;
overflow-x:scroll;
}
.one a{
color:#00F;
text-decoration:underline;}
数据维护
query('select * from whole where date=(select max(date) from whole) group by pol');while($r=$q->fetch_array(MYSQLI_USE_RESULT)){$op.='';}
$q2=$m->query('select * from whole where date=(select max(date) from whole) group by province');while($r2=$q2->fetch_array(MYSQLI_USE_RESULT)){$op2.='';}
?>
query("select * from whole where pod=(select pod from whole where id='".$_POST[pod]."') and pol=(select pol from whole where id='".$_POST[pol]."') and date=(select max(date) from whole)");$i=1;
while($r3=$q3->fetch_array(MYSQLI_USE_RESULT)){
$p=count($r3)?1:0;
$tb.=''.$i.' '.$r3[store].' '.$r3[pol].' '.$r3[province].' '.$r3[pod].' '.$r3[kgs].' '.$r3[cbm].' '.$r3[tons].' '.$r3[ctns].' '.$r3[ctnsmore].' '.$r3[ctns5].' '.$r3[ctns50].' '.$r3[pallet].' '.$r3[tons3].' '.$r3[tons5].' '.$r3[tons8].' '.$r3[ft20].' '.$r3[ft40].' '.$r3[min].' '.$r3[time].' '.$r3[agent].' '.$r3[door].' '.$r3[currency].' '.$r3[mincbm].' '.$r3[remark].' '.$r3[remark2].' ';$i++;
}
if($p){
echo '| 行 | 门店地址 | 起运地 | 省 | 目的地 | 1kgs | cbm | tons | 1ctns (<0.08M<16K) | 1ctns >16K | >5ctns | >50ctns | pallet | 3tons | 5tons | 8tons | 20ft | 40ft | min. | t/time | agent | DOOR MIN | 币别 | MIN.1CBM | 备注 | 备注2 |