SiteName: $sitename"); endif; startjournal($sitename,$user); $onwhat = intval($onwhat); $sql = "DELETE FROM ".$prefix."_journal_comments WHERE cid = '$onwhat'"; $db->sql_query($sql); echo "
"; openTable(); echo ("
"._COMMENTDELETED."

"); echo ("[ "._RETURNJOURNAL." ]
"); closeTable(); journalfoot(); } else { if (is_user($user)) { cookiedecode($user); $username = $cookie[1]; if ($debug == "true") : echo ("UserName:$username
SiteName: $sitename"); endif; startjournal($sitename, $user); $onwhat = intval($onwhat); $sql = "DELETE FROM ".$prefix."_journal_comments WHERE cid = '$onwhat' AND aid = '$username'"; $db->sql_query($sql); echo "
"; openTable(); echo ("
"._COMMENTDELETED."

"); echo ("[ "._RETURNJOURNAL." ]
"); closeTable(); journalfoot(); } } if (!is_user($user) && !is_admin($admin)) { $pagetitle = "- "._YOUMUSTBEMEMBER.""; $pagetitle = check_html($pagetitle, "nohtml"); OpenTable(); echo "
"._YOUMUSTBEMEMBER."
"; CloseTable(); include("footer.php"); die(); } ?>