Line 40 is:
if (isset()) {
Line 39 - 47:
colname_welcome = "-1";
if (isset()) {
$colname_welcome = (get_magic_quotes_gpc()) ? : addslashes();
}
mysql_select_db($database_connDB, $connDB);
$query_welcome = sprintf("SELECT * FROM Users WHERE UserID = %s", GetSQLValueString($colname_welcome, "int"));
$welcome = mysql_query($query_welcome, $connDB) or die(mysql_error());
$row_welcome = mysql_fetch_assoc($welcome);
$totalRows_welcome = mysql_num_rows($welcome);
is the code for the welcome recordset. The problem is that there no run time bvalue given to the variable you have created in the recordset.
Double click the recordset to edit it and fix the variable