PConnect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME); @mysql_query("SET NAMES 'UTF8'"); $sql = "SELECT * from config"; $rsc = $conn->Execute($sql); if($rsc){while(!$rsc->EOF) { $field = $rsc->fields['setting']; $config[$field] = $rsc->fields['value']; STemplate::assign($field, strip_mq_gpc($config[$field])); @$rsc->MoveNext(); }} if ($_REQUEST['language'] != "") { if ($_REQUEST['language'] == "spanish") { $_SESSION[language] = "spanish"; } elseif ($_REQUEST['language'] == "english") { $_SESSION[language] = "english"; } elseif ($_REQUEST['language'] == "french") { $_SESSION[language] = "french"; } } if ($_SESSION['language'] == "") { $_SESSION[language] = "spanish"; } if ($_SESSION['language'] == "spanish") { include("lang/spanish.php"); } elseif ($_SESSION['language'] == "english") { include("lang/english.php"); } elseif ($_SESSION['language'] == "french") { include("lang/french.php"); } else { include("lang/spanish.php"); } for ($i=0; $iexecute($bquery); $bcount = $bresult->fields['total']; if($bcount > "0") { $brdr = $config['baseurl']."/banned.php"; header("Location:$brdr"); } else { if($config['re_mobile'] == "1" && $config['m_url'] != "") { if($mobile != "1") { include("mobile.php"); $mcheck = is_md(); if($mcheck != "") { header("Location:".$config['m_url']);exit; } } } } } ?>
Notice: Undefined variable: config in /home/ccamacho/public_html/profile.php on line 17

Notice: Undefined variable: config in /home/ccamacho/public_html/profile.php on line 18

Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/ccamacho/public_html/profile.php on line 24

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/ccamacho/public_html/profile.php on line 24

Notice: Undefined variable: conn in /home/ccamacho/public_html/profile.php on line 25

Fatal error: Call to a member function execute() on a non-object in /home/ccamacho/public_html/profile.php on line 25