<title>Dealership Vehicles - <?php echo Config::$_SITE_NAME; ?></title>
<?php
if(!defined('panel'))
	die('Nope.');
?>
</div>
	<div class="main-content">
			<div class="breadcrumbs" id="breadcrumbs">
				<script type="text/javascript">
					try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
				</script>

				<ul class="breadcrumb">
					<li>
						<i class="ace-icon fa fa-home home-icon"></i>
						<a href="<?php echo Config::$_PAGE_URL; ?>">Home</a>
					</li>
					<li class="active">Personal vehicles</li>
				</ul><!-- /.breadcrumb -->

				<div class="nav-search" id="nav-search">
					<form method="POST" action="search">
						<span class="input-icon">
							<input type="text" placeholder="Search ..." name="sname" id="username" type="submit" class="nav-search-input" autocomplete="on"> 
							<i class="ace-icon fa fa-search nav-search-icon"></i>
						</span>
					</form>
				</div> <!-- /.nav-search -->
			</div>	
			
<div class="page-content">
<div class="row-fluid"><div class="span12">
<h3>Dealership Vehicles</h3>
<div class="table-responsive">
	<table id="login-table" class="table table-striped table-hover table-bordered">
		<thead>
		<tr>			
			<td><b>Image</b></td>
			<td><b>Vehicle Name</b></td>
			<td><b>Top speed</b></td>
			<td><b>Dealership Price</b></td>			
			<td><b>Stoc dealership</b></td>			
		</tr>
		</thead>
		<tbody>
			<?php
				$q = Config::$g_con->prepare('SELECT * FROM `stock` ORDER BY `id` ASC LIMIT 95');
				$q->execute();
				while($row = $q->fetch(PDO::FETCH_OBJ)) { ?>
					<tr>
						<td class="center"><img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_<?php echo $row->vid ?>.jpg" style="height: 50px"/></td>
						<td><?php echo Config::$namevehicles[$row->vid]; ?></td>
						<td><?php echo $row->speed ?> km/h</td>
						<td>$<?php echo number_format($row->Price,0,'.','.'); ?></td>
						<td><?php echo $row->Stock ?></td>
					</tr>
		<?php } ?>
		</tbody>
	</table>
<h3>Premium Vehicles</h3>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Image</th>
<th class="hidden-480">Vehicle Name</th>
<th class="hidden-100">Price</th>
<th class="center">Top speed</th>
</tr>
</thead>
<tbody>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_469.jpg" alt="264" title="264" style="height: 50px"/>
</td>
<td>
Sparrow
</td>
<td>
220 premium points
</td>
<td>
77 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_503.jpg" alt="218" title="218" style="height: 50px"/>
</td>
<td>
Hotring Racer B
</td>
<td>
250 premium points
</td>
<td>
191 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_502.jpg" alt="217" title="217" style="height: 50px"/>
</td>
<td>
Hotring Racer A
</td>
<td>
250 premium points
</td>
<td>
191 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_539.jpg" alt="277" title="277" style="height: 50px"/>
</td>
<td>
Vortex
</td>
<td>
250 premium points
</td>
<td>
88 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_494.jpg" alt="214" title="214" style="height: 50px"/>
</td>
<td>
Hotring Racer
</td>
<td>
250 premium points
</td>
<td>
191 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_487.jpg" alt="215" title="215" style="height: 50px"/>
</td>
<td>
Maverick
</td>
<td>
300 premium points
</td>
<td>
150 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_444.jpg" alt="215" title="215" style="height: 50px"/>
</td>
<td>
Monster
</td>
<td>
500 premium points
</td>
<td>
98 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_481.jpg" alt="215" title="215" style="height: 50px"/>
</td>
<td>
BMX
</td>
<td>
70 premium points
</td>
<td>
86 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_510.jpg" alt="215" title="215" style="height: 50px"/>
</td>
<td>
Mountain Bike
</td>
<td>
100 premium points
</td>
<td>
114 km/h
</td>
</tr>
<tr>
<td class="center">
<img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_409.jpg" alt="215" title="215" style="height: 50px"/>
</td>
<td>
Stretch
</td>
<td>
300 premium points
</td>
<td>
140 km/h
</td>
</tr>
</tbody>
</table>
