Ejemplo n.º 1
0
}
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
	<!-- Content Header (Page header) -->
	<section class="content-header">
	  <h1>
		  Locations
	  </h1>
	</section>
    <?php 
if ($searchKey != "") {
    $dataList = $poiController->search($searchKey, $offset, $rowsPerPage);
} else {
    if ($filterCatId == 0) {
        $dataList = $poiController->getAll($offset, $rowsPerPage);
    } else {
        $dataList = $poiController->filterBySubCategory($filterCatId, $offset, $rowsPerPage);
    }
}
if ($dataList) {
    ?>
	<!-- Main content -->
	<section class="content">
	  <div class="row">
		<div class="col-xs-12">
            <div class="box-header">
                <?php 
    if ($searchKey != "") {
        $numRows = $poiController->countSearchRows($searchKey);
    } else {
Ejemplo n.º 2
0
                            <br>
                            <i class="fa fa-refresh fa-spin" id="spinner"></i>&nbsp;&nbsp;&nbsp;&nbsp;
                            <i><b id="progressText">0</b>&nbsp;&nbsp; pois found.</i>
                            <br>
                            <br>
                            <br>

                            <div class="alert alert-warning alert-dismissable" id="warning">
                                <h4><i class="icon fa fa-warning"></i> Warining!</h4>
                                Do not shut down or disconnect the computer. The process is very delicate to the system.
                            </div>
                        </div>
                        <br>
                        <button
                            <?php 
    if ($poiController->getAll(0, 1)) {
        echo "";
    }
    ?>
                            onclick="" class="btn btn-warning" id="initButton">
                            Initialize data.
                        </button>
                    </div>

                </div>
            </div>
            <hr>
            <div class="row">
                <div class="col-md-3">
                    <?php 
    $lastCreation = $metaController->getSearchMetaRecent();