Example #1
0
			<td><?php 
        echo $cntr['cnt'];
        ?>
</td>
		</tr>
		<?php 
    }
}
?>
		</table>
	</td>
	<td valign="top" style="padding: 5px;">
		<table width="100%" cellspacing="2" cellpadding="2" border="0" class="brd-tbl">
	<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/city.php';
$citys = city::CountAll(10);
if ($citys) {
    foreach ($citys as $ikey => $city) {
        ?>
		<tr>
			<td width="130"><?php 
        echo $city['city_name'];
        ?>
</td>
			<td><?php 
        echo $city['cnt'];
        ?>
</td>
		</tr>
		<?php 
    }
Example #2
0
			<td><?php 
        echo $cntr['cnt'];
        ?>
</td>
		</tr>
		<?php 
    }
}
?>
		</table>
	</td>
	<td valign="top">
		<table width="100%" cellspacing="2" cellpadding="2" border="0">
	<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/city.php";
$citys = city::CountAll();
if ($citys) {
    foreach ($citys as $ikey => $city) {
        ?>
		<tr>
			<td width="130"><?php 
        echo $city['city_name'];
        ?>
</td>
			<td><?php 
        echo $city['cnt'];
        ?>
</td>
		</tr>
		<?php 
    }