Perhaps replace:
PHP Code:
require('./global.php');
include("quotes.inc.php");
$showquote=ShowQuote();
With:
PHP Code:
include("quotes.inc.php");
$showquote=ShowQuote();
require('./global.php');
My only guess is the DB connections are getting interlinked or something. Maybe it is searching for rcnitro_forum on the vBulletin database? Which, of course, is the wrong thing.