salvagedb_web/templates/database.html
2024-11-28 12:19:28 +03:00

115 lines
4.4 KiB
HTML

{% extends "head.html" %}
{% block content %}
<div class="container">
<div class="hero-unit">
<h1>Buying a Used Car? Check it!</h1>
<br>
<p><a href="https://www.salvagedb.com/" title="Salvagedb.com" rel="nofollow">Salvagedb.com</a> provides
information about salvage or junk vehicles; damage from hail, flood or fire; mileage discrepancies or
odometer rollback; and gray market vehicles. We do not claim that the car got in our databank has salvage
title, but the fact that it has been damaged for sure. Our site helps people avoid buying a damaged vehicle
in the past.
</p>
<div class="wrapper">
<!--
-->
</div>
</div>
<br><br>
<table border="0" cellspacing="0" cellpadding="0" align="center" style="padding: 0px 0px 0px 0px">
<tr>
<td width="500px">
<table id="hor-minimalist-a" summary="Salvage cars;Database page 1">
<thead>
<tr>
<th scope="col">Make</th>
<th scope="col">Model</th>
<th scope="col">Year</th>
<th scope="col">
<center>VIN</center>
</th>
</tr>
</thead>
<tbody>
{% for it in pg%}
{% if it[0] <=25 %}
<tr>
<td>{{it[2]}}</td>
<td>{{it[3][0:14]}}</td>
<td>{{it[4]}}</td>
<td style="text-align:right;"><a href="/detail/{{it[1]}}.html"
title="vin check - {{it[1]}} ">{{it[1]}}<i
class="icon-search"></i></a></td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</td>
<td width="500px">
<table id="hor-minimalist-a" summary="Salvage cars;Database page 1">
<thead>
<tr>
<th scope="col">Make</th>
<th scope="col">Model</th>
<th scope="col">Year</th>
<th scope="col">
<center>VIN</center>
</th>
</tr>
</thead>
{% for it in pg%}
{% if it[0] >25 %}
<tr>
<td>{{it[2]}}</td>
<td>{{it[3][0:14]}}</td>
<td>{{it[4]}}</td>
<td style="text-align:right;"><a href="/detail/{{it[1]}}.html"
title="vin check - {{it[1]}} ">{{it[1]}}<i
class="icon-search"></i></a></td>
</tr>
{% endif %}
{% endfor %}
</table>
</td>
</table>
<br><br>
<div class="row">
<div class="span4">&nbsp;</div>
<div class="span4 offset1">
{% if cur_page==1 %}
<button class="btn">1</button>
<a class="btn" href="/database/page2.html">2</a>
<a class="btn" href="/database/page3.html">3</a>
<a class="btn" href="/database/page2.html">Next</a>
<a class="btn" href="/database/page{{max_page}}.html">Last</a>
{% endif %}
{% if cur_page==max_page %}
<a class="btn" href="/database/page{{max_page-1}}.html">Prev</a>
<a class="btn" href="/database/page{{max_page-2}}.html">{{max_page-2}}</a>
<a class="btn" href="/database/page{{max_page-1}}.html">{{max_page-2}}</a>
<button class="btn">{{cur_page}}</button>
{% endif %}
{% if cur_page!=1 and cur_page!=max_page %}
<a class="btn" href="/database/page{{cur_page-1}}.html">Prev</a>
<button class="btn">{{cur_page}}</button>
<a class="btn" href="/database/page{{cur_page+1}}.html">Next</a>
<a class="btn" href="/database/page{{max_page}}.html">Last</a>
{% endif %}
</div>
</div>
</div><br>
<hr>
{% endblock %}