Please don't post complete files .. it makes the thread impossible to read.
Find ..
// $HTTP_xxx_VARS are always set on php4
if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array();
if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array();
if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array();