OK, here we go:
Output-Source:
HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px; margin-top: 0;">
<tr valign="bottom">
<td class="smallfont"> </td>
<td align="right"><div class="pagenav" align="right">
<table class="tborder" cellpadding="3" cellspacing="1" border="0">
<tr>
<td class="vbmenu_control" style="font-weight:normal">Seite 1 von 3</td>
<td class="alt2"><span class="smallfont" title="Zeige Ergebnis 1 bis 9 von 25"><strong>1</strong></span></td>
<td class="alt1"><a rel="nofollow" class="smallfont" href="photo_popup.php?ins=link_thumb_2_orig&alb=549&prod=2&cp=2&page=2" title="Zeige Ergebnis 10 bis 18 von 25">2</a></td><td class="alt1"><a rel="nofollow" class="smallfont" href="photo_popup.php?ins=link_thumb_2_orig&alb=549&prod=2&cp=2&page=3" title="Zeige Ergebnis 19 bis 25 von 25">3</a></td>
<td class="alt1"><a rel="next" class="smallfont" href="photo_popup.php?ins=link_thumb_2_orig&alb=549&prod=2&cp=2&page=2" title="N?chste Seite - Ergebnis 10 bis 18 von 25">></a></td>
<td class="vbmenu_control" title="photo_popup.php?ins=link_thumb_2_orig&alb=549&prod=2&cp=2"><a name="PageNav"></a></td>
</tr>
</table>
</div></td>
</tr>
</table>
I do know that the <td>>/td>-Tags are supposed to be empty - at least there are in the other sites too. I looked at quite some of them, but did not get any further. Looking at some of the "suspicious" files in includes didn' help, either.
PHP-Code:
PHP Code:
$perpage = $vbulletin->input->clean_gpc('r', 'perpage', TYPE_UINT);
$pagenumber = $vbulletin->input->clean_gpc('r', 'pagenumber', TYPE_UINT);
sanitize_pageresults($counter['fotos'], $pagenumber, $perpage, 100, $num_total);
$limitlower = ($pagenumber - 1) * $perpage + 1;
$limitupper = $pagenumber * $perpage;
if ($limitupper > $counter['fotos'])
{
$limitupper = $counter['fotos'];
if ($limitlower > $counter['fotos'])
{
$limitlower = $counter['fotos'] - $perpage;
}
}
if ($limitlower <= 0)
{
$limitlower = 1;
}
if (empty ($userfilter))
{
$pagenav = construct_page_nav($pagenumber, $perpage, $counter['fotos'], "photo_popup.php?" . $url_get_string . $vbulletin->session->vars['sessionurl']);
As I said: The pagination itself works perfectly well. Only the Popup doesn't.
Screenshot attached. One can see the pagination, at the right corner the space of the empty td is clearly visible.
The framework of the page is as follows:
PHP Code:
// ### Initiate vB Backend ###
error_reporting(E_ALL & ~ E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'photo_popup');
// change this depending on your filename
$phrasegroups = array('GLOBAL', 'album');
$globaltemplates = array('photo_popup');
require_once ('./global.php');
### My Code ###
eval ('print_output("' . fetch_template('photo_popup') . '");');
Whatever else might be needed to resolve this - just name it, I'll try to deliver
Thanks for your help, it's very much appreciated.