What I mean is that this is the code for albums in a category
<tr class="tableb tableb_alternate">
<td width="50%" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="3" height="1" align="left" valign="top" class="tableh2">
<span class="alblink"><a href="thumbnails.php?album=2">Don't Call Me Up - Hayley Louisa Brown</a></span>
</td>
</tr>
<tr>
<td colspan="3">
<img src="images/spacer.gif" width="1" height="1" border="0" alt="">
<br>
</td>
</tr>
<tr>
<td align="center" valign="middle" class="thumbnails">
<img src="images/spacer.gif" width="52" height="1" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="">
<br>
<a href="thumbnails.php?album=2" class="albums"><img src="PICLINK" class="image thumbnail" width="50" height="50" border="0" alt="PICNAME.jpg">
<br>
</a>
</td>
<td>
<img src="images/spacer.gif" width="1" height="1" border="0" alt="">
</td>
<td width="100%" valign="top" align="left" class="tableb tableb_alternate">
<p></p>
<p class="album_stat">8 files, last one added on Jul 22, 2019
<br>Album viewed 17 times</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
And the <td width="50%" valign="top"> is modified based on the user's configuration on how many columns do they want.
But in the search php it is like this:
<tr>
<td colspan="3" height="1" valign="top" class="tableh2">
<span class="alblink"><a href="thumbnails.php?album=1">ALBUMNAME</a></span>
</td>
</tr>
<tr>
<td colspan="3">
<img src="images/spacer.gif" width="1" height="1" border="0" alt="">
<br>
</td>
</tr>
<tr>
<td>
<a href="thumbnails.php?album=1 ">
<img src="PICLINK" class="image" width="50" height="33" border="0" alt="PICNAME.jpg">
</a>
</td>
<td width="100%" valign="top">
</td>
</tr>
Which doesnt include the tableb.tableb_alternate