It is currently Thu Nov 20, 2008 9:16 am
: Maybe we should send you to a concentration camp.[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 120: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO)
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 120: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 121: mysql_num_rows(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 130: Undefined variable: pagination
: Maybe we should send you to a concentration camp.#
#-----[ FIND ]---------------------------------------------------
#
page_footer();
#
#-----[ Before, ADD ]-------------------------------------------
#
// additions to pagination
if ($start){
$cp = $start / $smiley_limit;
} else {
$cp = 1;
}
$pagination = '';
$ref = $db->sql_query('SELECT * FROM '. SMILIES_TABLE );
$n_smiles = $db->sql_affectedrows('SELECT * FROM '. SMILIES_TABLE );
$total_pages =ceil($n_smiles/$smiley_limit);
for ($apl=1; $apl<=$total_pages; $apl++) {
$pagination.= '<a href="../posting.php?mode=smilies&start='.(($apl-1)*$smiley_limit).'"> '.$apl.' </a>';
}
$pagination = "<br><center>Now Showing Page $cp of $total_pages. <br>Total Pages $pagination </center>";
$template->assign_vars(array(
'PAGINATION' => $pagination ));
// end additon to pagination
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.Find
<!-- BEGIN smiley -->
Before Add
<span class="genmed">{PAGINATION}</span>
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.#
#-----[ FIND ]---------------------------------------------------
#
<!-- BEGIN smiley -->
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
<span class="genmed">Pages {PAGINATION}</span>
#
#-----[ FIND ]---------------------------------------------------
#
page_footer();
#
#-----[ Before, ADD ]-------------------------------------------
#
// additions to pagination
if ($start){
$cp = $start / $smiley_limit+1;
} else {
$cp = 1;
}
$pagination = '';
$ref = $db->sql_query('SELECT * FROM '. SMILIES_TABLE );
$n_smiles = $db->sql_affectedrows('SELECT * FROM '. SMILIES_TABLE );
$total_pages =ceil($n_smiles/$smiley_limit);
for ($apl=1; $apl<=$total_pages; $apl++) {
$pagination.= '<a href="'.$phpbb_root_path.'posting.php?mode=smilies&start='.(($apl-1)*$smiley_limit).'"> '.$apl.' ';
}
$pagination = "
Now Showing Page $cp of $total_pages.
Total Pages $pagination
";
$template->assign_vars(array(
'PAGINATION' => $pagination ));
// end additon to pagination
: Maybe we should send you to a concentration camp.Vladd44 wrote:Does it show a different page of smileys if you were to manually change the address
such as
http://yourdomain.com/posting.php?mode=smilies&start=50
Vladd44 wrote:Also, in styles/prosilver/template/posting_smilies.
- Code: Select all
#
#-----[ FIND ]---------------------------------------------------
#
<!-- BEGIN smiley -->
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
<span class="genmed">Pages {PAGINATION}</span>
Then clear cache, does at least the word pages show up?
sky wrote:Yes, this takes me to page three of smileys (I set the display limit to 25), with the link to go to pages one and two.
: Maybe we should send you to a concentration camp.'Pages Now Showing Page 3 of 3. Total Pages 1 2 3'
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.
: Maybe we should send you to a concentration camp.Users browsing this forum: No registered users and 0 guests