Quote:
Originally Posted by MarcoH64
Please also post the lines before and after line 612.
What editor did you use?
|
Well here it is:
PHP Code:
eval('standard_error("' . str_replace("\'", "'", addslashes($vboptions['bbclosedreason'])) . '");');
unset($shutdownqueries['lastvisit']);
}
else
{
// show the board disabled warning message so that admins don't leave the board turned off by accident
eval('$warning = "' . fetch_template('board_inactive_warning') . '";');
$header = $warning . $header;
$footer .= $warning;
}
}
// #############################################################################
// password expiry system
if ($bbuserinfo['userid'] AND $permissions['passwordexpires'])
{
$passworddaysold = floor((TIMENOW - $bbuserinfo['passworddate']) / 86400);
if ($passworddaysold >= $permissions['passwordexpires'])
{
if ((THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'profile') OR (THIS_SCRIPT == 'profile' AND $_REQUEST['do'] != 'editpassword' AND $_POST['do'] != 'updatepassword'))
{
eval(print_standard_error('passwordexpired'));
}
else
{
$show['passwordexpired'] = true;
}
}
}
else
{
$passworddaysold = 0;
$show['passwordexpired'] = false;
}
// #############################################################################
// check permission to view forum
if (!($permissions['forumpermissions'] & CANVIEW))
I am using Macromedia dreamweaver MX 2004
Thanks!