View Single Post
  #4  
Old 01-22-2009, 07:41 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">&nbsp;</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&amp;alb=549&amp;prod=2&amp;cp=2&amp;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&amp;alb=549&amp;prod=2&amp;cp=2&amp;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&amp;alb=549&amp;prod=2&amp;cp=2&amp;page=2" title="N?chste Seite - Ergebnis 10 bis 18 von 25">&gt;</a></td>
    
    <td class="vbmenu_control" title="photo_popup.php?ins=link_thumb_2_orig&amp;alb=549&amp;prod=2&amp;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$perpage100$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.
Attached Images
File Type: png screen_popup_1-3.png (17.6 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01988 seconds
  • Memory Usage 1,827KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (2)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete