Add to the list all sources with images even without encoded scores
This commit is contained in:
parent
23117c29df
commit
b8b650e3dc
|
|
@ -45,7 +45,7 @@ while($s = $req1->fetch_assoc()) {
|
||||||
$used_sources[] = $s['source'];
|
$used_sources[] = $s['source'];
|
||||||
}
|
}
|
||||||
foreach($sources as $id => $s) {
|
foreach($sources as $id => $s) {
|
||||||
if(in_array($id, $used_sources)) {
|
if(in_array($id, $used_sources) || $s['pages']) {
|
||||||
echo "<li><a href=\"source.php?id=".$id."\">".$s['year']." - ".$s['editor']." - ".$s['title']."</a>";
|
echo "<li><a href=\"source.php?id=".$id."\">".$s['year']." - ".$s['editor']." - ".$s['title']."</a>";
|
||||||
if($s['description'] > '') echo "<br />\n<i>".$s['description']."</i>";
|
if($s['description'] > '') echo "<br />\n<i>".$s['description']."</i>";
|
||||||
echo "</li>\n";
|
echo "</li>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue