id'"); $user->rehash(); } if ($op == "reply") Header("Location: comments.php?op=reply&pid=0&sid=$sid&mode=$mode&order=$order&thold=$thold"); $result = db_query("SELECT stories.*, users.userid FROM stories LEFT JOIN users ON stories.author = users.id WHERE stories.status = 2 AND stories.id = $id"); $story = db_fetch_object($result); $theme->header(); $theme->article($story, "[ hlcolor2\">home | id\">hlcolor2\">add a comment ]"); if ($mode != "nocomments") include "comments.php"; $theme->footer(); ?>