<?php $da=$_POST['date_3']; include("lib/nusoap.php"); $client = new nusoap_client("http://10.0.4.5:3456/Report.asmx?wsdl",true); $params = array('InputDATA' => "$da"); $data = $client->call("view_data",$params); print_r($data[view_dataResult]); $showdata = $data[view_dataResult]; $data1 = $showdata[view]; ?> <tr> <td align="center" valign="top"><table width="1080" border="0" cellpadding="5" cellspacing="3" bgcolor="#FFFFFF"> <tr> <td width="1090" align="center" valign="middle"> <table width="1000" border="0" cellspacing="0" cellpadding="3"> <tr> </tr> </table> <table width="100%" border="0" bordercolorlight="#FFFF99" align="center" cellpadding="5" cellspacing="0"> <tr bgcolor="#FFFFD2"> <td width="50" align="left" vAlign=top bgcolor="#2E9AFE" style="border:#2E9AFE thin" class="small_black">ລໍາດັບ</td> <td width="30" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">card</td> <td width="190" vAlign=top bgcolor="#2E9AFE" align="center" style="border:#999999 thin" class="small_black">cut</td> <td width="30" vAlign=top bgcolor="#2E9AFE" align="center" style="border:#999999 thin" class="small_black">rrno</td> <td width="30" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">amount</td> <td width="80" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">fee</td> <td width="34" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">id_tb</td> <td width="200" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">adv_authid</td> <td width="130" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">Journal</td> <td width="130" align="center" vAlign=top bgcolor="#2E9AFE" style="border:#999999 thin" class="small_black">date</td> </tr> <? $i = 0; $data1 = $showdata[view]; //print_r($data1); $arrlength = 0; $arrlength=count($data1); //echo "nb record is ".$arrlength ."<br>"; if ($arrlength > 0) { for($x=0;$x<$arrlength - 1;$x++) { $card_no = $data1[$x][card_no]; $txnreqdttime = $data1[$x][txnreqdttime]; $rrno = $data1[$x][rrno]; $original_txn_amt = $data1[$x][original_txn_amt]; $termid = $data1[$x][termid]; $adv_authid = $data1[$x][adv_authid]; $txnseq_no = $data1[$x][txnseq_no]; $date_post = $data1[$x][date_post]; if($bg == "#FFFFFF") { //ส่วนของการ สลับสี $bg = "#A9F5F2"; } else { $bg = "#FFFFFF"; } $i=$i+1; print "<tr bgcolor=$bg align='center'> <td align='left' class='small_black'>$i<br></td> <td align='center' class='small_black'>$card_no</td> <td align='center' class='small_black'>$txnreqdttime<br></td> <td align='center' class='small_black'>$rrno<br></td> <td align='center' class='small_black'>$original_txn_amt<br></td> <td align='center' class='small_black'>$charge<br></td> <td align='center' class='small_black'><a href='http://10.0.10.23/FTP_file.php?atmid=$termid&date456=$date_post' target='_blank'>$termid<br></a></td> <td align='center' class='small_black'>$adv_authid<br></td> <td align='center' class='small_black'>$txnseq_no<br></td> <td align='center' class='small_black'>$date_post<br></td> "; print"</tr>"; } } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง