Extended data structure with branch field

This commit is contained in:
Steffen Lange 2020-03-30 01:42:46 +02:00
parent f0c7c5fae0
commit 2a83cbf9c1
3 changed files with 10 additions and 4 deletions

View file

@ -31,11 +31,12 @@ $db->sort();
<h2 class="mb-4">Patch Notification Robot</h2>
<p class="text-center"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=WYQZCVJPVSS5L&amp;source=url"><img src="btn_donateCC_LG.gif" alt="Donate" /></a></p>
<p><a href="https://twitter.com/Patchbot_de"><img src="twitter.png" height="32" alt="Follow me" /></a>&nbsp;Providing you the latest update notifications.</p>
<table id="list" class="table table-bordered table-hover table-sm">
<table id="list" class="table table-bordered table-hover table-sm" data-order='[[ 4, "desc" ]]' data-page-length='25'>
<thead class="thead-dark">
<tr>
<th>Vendor</th>
<th>Product</th>
<th>Branch</th>
<th>Version</th>
<th title="*) or first discovery time">Release Date*</th>
</tr>
@ -48,6 +49,7 @@ $db->sort();
echo '<tr>';
echo '<td>' . $patch->getVendor() . '</td>';
echo '<td><a href="' . $patch->getURL() . '">' . $patch->getProduct() . '</a></td>';
echo '<td>' . $patch->getBranch() . '</td>';
echo '<td>' . $patch->getVersion() . '</td>';
echo '<td>' . date('Y-m-d', $patch->getTimestamp()) . '</td>';
echo '</tr>' . "\r\n";