?>
							<!--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['iddiaocphaply']) && $_REQUEST['iddiaocphaply'] != null) {
    include_once "../BUS/DiaOcPhapLyBUS.php";
    $phaply = DiaOcPhapLyBUS::selectID($_REQUEST['iddiaocphaply']);
}
?>
							<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 Địa Ốc Pháp Luật
								<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 $phaply[1];
?>
 </b>
								</div>
								<table style="font-weight:normal; text-align:justify; padding:0 20px;">
									<tr>
Esempio n. 2
0
									<?php 
include "../BUS/DiaOcPhapLyBUS.php";
$rs = DiaOcPhapLyBUS::GetAllDiaOcPhapLy();
$curPage = 1;
$totalItems = null;
$business = null;
if (isset($_REQUEST['page'])) {
    $curPage = $_REQUEST['page'];
}
$maxItems = 5;
$maxPages = 25;
$offset = ($curPage - 1) * $maxItems;
$strLink = "phapluat.php?";
$strSQL = "select * from diaocphaply";
$strCountSQL = str_replace("*", " count(*) ", $strSQL);
$totalItems = DiaOcPhapLyBUS::countAllBySQL($strCountSQL);
$strSQL .= " limit {$offset},{$maxItems}";
$business = DiaOcPhapLyBUS::getAllBySQL($strSQL);
echo DiaOcPhapLyBUS::display($strLink, $business, $totalItems, $curPage, $maxPages, $maxItems);
?>
							</div>
						</td>
					</tr>
				</table>
				<br>
						
			</td>
		</tr>
	</table>
<?php 
include "../include/footer.php";