list for vehicles
This commit is contained in:
parent
4d12345d96
commit
2173225fa1
16
index.php
16
index.php
@ -51,7 +51,21 @@
|
||||
?>
|
||||
</form>
|
||||
|
||||
<form method="GET" action="index.php">
|
||||
<select name="v" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
||||
<?php
|
||||
foreach ($arrVehicles as $key=>$vehicle)
|
||||
{
|
||||
$strActive = ($i==$numVehicle) ? "selected=\"selected\"" : "";
|
||||
echo "<option value='$key' $strActive >$vehicle</a>";
|
||||
}
|
||||
echo "<input type='hidden' name='year' value='$numYear'>";
|
||||
echo "<input type='hidden' name='d' value='$strDistrict'>";
|
||||
?>
|
||||
</form>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbars">
|
||||
<!--
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<?php foreach ($arrVehicles as $key => $strVehicle):
|
||||
$strActive = ($numVehicle==$key) ? "active" : ""
|
||||
@ -62,7 +76,7 @@
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
-->
|
||||
<!-- District -->
|
||||
|
||||
<form method="GET" action="index.php">
|
||||
|
Loading…
Reference in New Issue
Block a user