<?php <table width="382" border="1" align="center" cellspacing="0" bordercolor="#666666"> <tr bgcolor="#CCCCCC"> <td width="57"><div align="center"><span class="style5">งวดที่</span></div></td> <td width="158"><div align="center"><span class="style5">วันที่</span></div></td> <td width="153"><span class="style5">จำนวนเงินที่ชำระ(บาท)</span></td> </tr> <? while ($result=mysql_fetch_array($db2)) { $creditid=$result["creditid"]; $approve=$result["approve"]; $estimate=$result["estimate"]; $expense=$result["expense"]; $cost=$result["cost"]; $rate=$result["rate"]; $instalment=$result["instalment"]; $interest=$result["interest"]; $price=$result["price"]; $money_pay=$result["money_pay"]; $month_pay=$result["mouth_pay"]; $total=$result["total"]; $begin=$result["begin"]; $employeeid=$result["employeeid"]; $handbookid=$result["handbookid"]; $motorname=$result["motorname"]; $generation=$result["generation"]; $body=$result["body"]; $regis_no=$result["regis_no"]; $color=$result["color"]; $year_sell=$result["year_sell"]; $kindname=$result["kindname"]; $customerid=$result["customerid"]; $titlename=$result["titlename"]; $cname=$result["cname"]; $clast=$result["clast"]; $satename=$result["statename"]; $brithday=$result["brithday"]; $address=$result["address"]; $moo=$result["moo"]; $district=$result["district"]; $amphur=$result["amphur"]; $province=$result["province"]; $zipcode=$result["zipcode"]; $phone=$result["phone"]; $payid=$result['payid']; $bill=$result["bill"]; $time=$result["time"]; $mpay=$result["mpay"]; $mulct=$result["mulct"]; $collect=$result["collect"]; $remain=$result["remain"]; $statuspayid=$result["statuspayid"]; $sum=$sum+$mpay; // } ?> <tr> <td><?=$time;?></td> <td align="left"><? if($row=="") { echo ""; } else { echo Thai_date($bill);} ?></td> <td align="right"><? $mpay=$mpay-$mulct; echo number_format($mpay);?></td> </tr> <tr> <td colspan="2"><div align="right"><span class="style5">รวม</span></div></td> <td align="right"><?=$sum;?></td> </tr> <td colspan="3"><span class="style5">คงเหลือ <?=number_format($remain);?> บาท</span></td> </tr> <? } ?> </table> ?>
<?php <tr bgcolor="#CCCCCC"> <td width="57"><div align="center"><span class="style5">งวดที่</span></div></td> <td width="158"><div align="center"><span class="style5">วันที่</span></div></td> <td width="153"><span class="style5">จำนวนเงินที่ชำระ(บาท)</span></td> </tr> ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง