Example #1
0
				<ul style="list-style: none; margin: 0; padding: 0; width: 195px;">
					<?php 
$newurl = $url . $toaddurl['brand'] . $toaddurl['capacity'];
foreach (Color::getColorList() as $color) {
    $unactive = $sort['color'] != $color->id ? ' class="unactive"' : '';
    echo '<li style="float: left; margin: 0 0 10px 10px;"><a href="' . $newurl . '&color=' . strtolower($color->id) . '" ' . $unactive . 'style="background: ' . $color->hex . '; border: 1px solid #ededed; display: inline-block; width: 30px; height: 30px; border-radius: 30px;" title="' . $color->name . '"></a></li>';
}
?>
				</ul>
			</div>
			<div style="display: block; width: 100%; overflow: hidden;">
				<h4>Capacité</h4>
				<div class="list-group">
					<?php 
$newurl = $url . $toaddurl['brand'] . $toaddurl['color'];
foreach (Capacity::getCapacityList() as $capacity) {
    $active = $sort['capacity'] == $capacity->storage ? ' active' : '';
    echo '<a href="' . $newurl . '&capacity=' . $capacity->storage . '" class="list-group-item' . $active . '">' . $capacity->storage . ' Go</a>';
}
?>
				</div>
			</div>
		</div>

		<?php 
if (!isset($_GET['p']) || $_GET['p'] < $totalPages + 1) {
    ?>
			<div class="col-md-9">
				<div class="row">
					<?php 
    foreach ($phoneRequest as $phone) {