?> <!--end search--> <?php include "../include/box_left.php"; ?> </td> <td style="padding: 10px;" valign="top"> <?php include "../include/canhonoibat.php"; ?> <?php $business = null; if (isset($_REQUEST['idkientruc']) && $_REQUEST['idkientruc'] != null) { include_once "../BUS/kientrucBUS.php"; $kientruc = kientrucBUS::selectID($_REQUEST['idkientruc']); //echo $kientruc[1]; // echo "<br>aaaaaaaaa=".$hinhanh[0]['path']; } ?> <div style="width: 686px; padding-top:20px;float:left;"> <div style="margin-left: 10px; margin-top: 10px; font-family: tahoma; font-size: 18px; font-weight: bold; color:#890C29;"> Chi Tiết Kiến Trúc <hr style="color: rgb(211, 232, 248);" width="680" size="1"/> <div class="mid_content"> <b style="font-size:14px;font-weight:bold;color: #006DB9;"><?php echo $kientruc[1]; ?> </b> </div>
<?php include "../BUS/kientrucBUS.php"; $rs = kientrucBUS::getKienTruc(); // $rs1=phongthuyBUS::getHinhAnh(); $curPage = 1; $totalItems = null; $business = null; if (isset($_REQUEST['page'])) { $curPage = $_REQUEST['page']; } $maxItems = 5; $maxPages = 25; $offset = ($curPage - 1) * $maxItems; $strLink = "kientruc.php?"; $strSQL = "select * from kientruc"; $strCountSQL = str_replace("*", " count(*) ", $strSQL); $totalItems = kientrucBUS::countAllBySQL($strCountSQL); $strSQL .= " limit {$offset},{$maxItems}"; $business = kientrucBUS::getAllBySQL($strSQL); echo kientrucBUS::display($strLink, $business, $totalItems, $curPage, $maxPages, $maxItems); ?> </div> </td> </tr> </table> </td> </tr> </table> <?php include "../include/footer.php";