コード例 #1
0
ファイル: rotas.inc.php プロジェクト: r4fh4/Visita
    ?>
' />
		<!-- ACTIONS BUTTONS -->
		<p class="action-buttons">
			<?php 
    foreach ($parada as $key => $val) {
        $item_org[$val["latitude"] . ',' . $val["longitude"]] = $val["endereco"];
    }
    print "<label>Ponto </label>" . gui_render_select("ponto", $item_org, get_vars("ponto"), "-", 'id="ponto"');
    ?>
			<br class='clean' />
			<?php 
    foreach ($sentido as $kk => $vv) {
        $gr[$kk] = $kk . ' - ' . $vv;
    }
    print "<label>Sentido </label>" . gui_render_select("sentido", $gr, get_vars("sentido"), "-", 'id="sentido"');
    ?>
			<br class='clean' />
			<label>Sequência </label><input type='text' name='sequencia' value='' />
			<br class='clean' /><br />
			<div class='box-buttons'>
				<input type="submit" class="btn-form" name="new" value="Adicionar" />
			</div>
			<br class='clean' />
		</p>
	
	<!-- LIST DATA -->
	<div id="paginate"><?php 
    print render_paginate($page, $total_pages, $url, $results_per_page);
    ?>
</div>
コード例 #2
0
ファイル: proximidade.inc.php プロジェクト: r4fh4/Visita
    ?>
' />
		<!-- ACTIONS BUTTONS -->
		<p class="action-buttons">
			<?php 
    foreach ($parada as $key => $val) {
        $item_org[$val["latitude"] . ',' . $val["longitude"]] = $val["endereco"];
    }
    print "<label>Ponto </label>" . gui_render_select("ponto", $item_org, get_vars("ponto"), "-", 'id="ponto"');
    ?>
			<br class='clean' />
			<?php 
    foreach ($grau as $kk => $vv) {
        $gr[$kk] = $kk . ' - ' . $vv;
    }
    print "<label>Grau de Proximidade </label>" . gui_render_select("grau", $gr, get_vars("grau"), "-", 'id="grau"');
    ?>
			<br class='clean' /><br />
			<div class='box-buttons'>
				<input type="submit" class="btn-form" name="new" value="Adicionar" />
			</div>
			<br class='clean' />
		</p>
	
	<!-- LIST DATA -->
	<div id="paginate"><?php 
    print render_paginate($page, $total_pages, $url, $results_per_page);
    ?>
</div>
	<?php 
    if ($records) {