db->VARS['disablecomments'] == 1) { header("Location: $GB_PG[index]"); } else { $antispam = $gb_com->db->VARS['antispam_word']; $gb_com->id = (isset($_GET['gb_id'])) ? $_GET['gb_id'] : ''; $gb_com->id = (isset($_POST['gb_id'])) ? $_POST['gb_id'] : $gb_com->id; $gb_com->comment = (isset($_POST['gb_comment'])) ? $_POST['gb_comment'] : ''; $gb_com->timehash = (isset($_POST['gb_timehash'])) ? $_POST['gb_timehash'] : ''; $gb_com->user = (isset($_POST['gb_user'])) ? $_POST['gb_user'] : ''; $gb_com->bottest = (isset($_POST['gb_bottest'])) ? $_POST['gb_bottest'] : ''; $gb_com->pass_comment = (isset($_POST['pass_comment'])) ? $_POST['pass_comment'] : ''; $gb_action = (isset($_POST['gb_action'.$antispam])) ? $_POST['gb_action'.$antispam] : ''; $gb_com->comment_action($gb_action); } ?>