<th style="width: 8%; text-align:center">เลขครุภัณฑ์</th> <th style="width: 15%; text-align:center">ชื่อครุภัณฑ์</th> <th style="width: 5%; text-align:center">ราคา</th> <th style="width: 10%; text-align:center">ใช้ประจำหน่วยงาน</th> <th style="width: 5%; text-align:center">สถานะ</th> <th style="width: 5%; text-align:center">ตรวจเช็ค</th> </tr> </thead> <tbody> <?php $no = 1; $assetYear = $_GET['assetYear']; //$yearChk = $assetYear-543; $arrYear = $checkAsset->getCheckAssetByYear($assetYear); $arrAll = $checkAsset->getCheckAsset(); if ($assetYear == null) { $cmd = $arrAll; } else { if ($assetYear != null) { if ($assetYear == "0000") { $cmd = $arrAll; } else { $cmd = $arrYear; } } else { $cmd = $arrAll; } } $page = $_GET['selectedPage']; $iPage = 20;