
02-13-2016, 08:15 AM
|
 |
|
|
Join Date: Oct 2010
Location: iraq
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Dave
You mean that $userid is literally displayed in the URL?
It's because the variable is not being escaped in the construct_page_nav function.
This should work:
PHP Code:
$pagenav = construct_page_nav($pagenumber, $perpage, $records, 'media.php?' . $vbulletin->session->vars['sessionurl'] . 'do=main&type=2&userid=' . $userid);
//
|
It works successfully
thank you Dave
|