0 Membros e 1 Visitante estão a ver este tópico.
* =============================================================================== ** Software Version: SMF 1.1.16 *
* =============================================================================== ** Software Version: SMF 1.1.17 *
$forum_version = 'SMF 1.1.16';
$forum_version = 'SMF 1.1.17';
* =============================================================================== ** Software Version: SMF 1.1.13 *
function ssi_boardNews($board = null, $limit = null, $start = null, $length = null, $output_method = 'echo'){global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;
function ssi_boardNews($board = null, $limit = null, $start = null, $length = null, $output_method = 'echo'){global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context, $user_info;
SELECT ID_FIRST_MSGFROM {$db_prefix}topicsWHERE ID_BOARD = $boardORDER BY ID_FIRST_MSG DESC
SELECT t.ID_FIRST_MSGFROM {$db_prefix}topics as tLEFT JOIN {$db_prefix}boards as b ON (b.ID_BOARD = t.ID_BOARD)WHERE t.ID_BOARD = $boardAND $user_info[query_see_board]ORDER BY t.ID_FIRST_MSG DESC
* =============================================================================== ** Software Version: SMF 1.1.9 *
if ($good_password || $_POST['admin_hash_pass'] == sha1($user_info['passwd'] . $sc)){$_SESSION['admin_time'] = time();return;}
if ($good_password || $_POST['admin_hash_pass'] == sha1($user_info['passwd'] . $sc)){$_SESSION['admin_time'] = time();unset($_SESSION['request_referer']);return;}
if ($good_password || sha1(strtolower($user_info['username']) . $_POST['admin_pass']) == $user_info['passwd']){$_SESSION['admin_time'] = time();return;}}
if ($good_password || sha1(strtolower($user_info['username']) . $_POST['admin_pass']) == $user_info['passwd']){$_SESSION['admin_time'] = time();unset($_SESSION['request_referer']);return;}}
// Better be sure to remember the real refererif (empty($_SESSION['request_referer']))$_SESSION['request_referer'] = isset($_SERVER['HTTP_REFERER']) ? @parse_url($_SERVER['HTTP_REFERER']) : array();elseif (empty($_POST))unset($_SESSION['request_referer']);
$referrer = isset($_SERVER['HTTP_REFERER']) ? @parse_url($_SERVER['HTTP_REFERER']) : array();
if (isset($_SESSION['request_referer']))$referrer = $_SESSION['request_referer'];else$referrer = isset($_SERVER['HTTP_REFERER']) ? @parse_url($_SERVER['HTTP_REFERER']) : array();