$xdltrk and $xdltrk<>"") {
$sumdlstda = $sumdlstda + $xdlstda;
array_push($artrk , $xdltrk);
array_push($arstd , $xdlstd);
array_push($arstda , $xdlstda);
array_push($arstr , $xdlstr);
array_push($arend , $xdlend);
}
$xdltrk=$cdltrk;
$xdlstd=$cdlstd;
$xdlstda=$cdlstd;
$xdlstr=$cdlstr;
$xdlend=$cdlend;
// aaaaa
}
}
if ($cdldate==date("Ymd")){array_push($artrk , $cdltrk);}
if ($cdldate==date("Ymd")){array_push($arstd , $cdlstd);}
if ($cdldate==date("Ymd")){
$sumdlstda = $sumdlstda + $cdlstd;
array_push($arstda , $sumdlstda);}
if ($cdldate==date("Ymd")){array_push($arstr , $cdlstr);}
if ($cdldate==date("Ymd")){array_push($arend , $cdlend);}
odbc_close($odbc_conn);
}
// ******
?>
if($timeh == "00" and $timem=="00" and $times=="00") {
$fldx = "0";
$colon = "";
}
else {
$fldx = "1";
$colon=":";
$sTime=$timeh.$colon.$timem.$colon.$times;
}
?>
C3 - SSSC1
| คิว
|
ทะเบียนรถ
|
เวลาโหลดสินค้า
|
if($timeh == "00" and $timem=="00") {
$dash="";
$colon = "";
}
else {
$dash="-";
$colon=":";
$strTime=$timeh.$colon.$timem;
}
// end time
$endTime="";
$aTime4=0000;
$aTime4=$sEnd;
$aTime5= $aTime4 + 10000;
$charTime5=strval($aTime5);
$Time5=$charTime5;
// subsring field
$timeh= "";
$timem= "";
$times= "";
$timeh=substr($Time5,1,2);
$timem=substr($Time5,3,2);
//- รวามฟิลด์(ต่อฟิลด์) โดยมีการเช็คเงื่อนไข -->
if($timeh == "00" and $timem=="00") {
//$dash="";
$colon = "";
}
else {
// $dash='-';
$colon=":";
$endTime=$timeh.$colon.$timem;
}
// Time Use
$timeUse=$strTime.$dash.$endTime;
?>
|
=$sItem?>
|
=$sData?>
|
=$timeUse?>
|