$result=db_query("SELECT n.*, b.* FROM nodes n LEFT JOIN book b ON n.nid = b.node WHERE n.type = 'book' AND n.status = '$status[posted]' AND b.parent = '$parent' ORDER BY b.weight");
$result=db_query("SELECT n.*, b.* FROM nodes n LEFT JOIN book b ON n.nid = b.node WHERE n.type = 'book' AND n.status = '$status[posted]' AND b.parent = '$parent' ORDER BY b.weight");
if($node->pid)$output.=" ".t("The above node is a suggested update for an existing node:")." \"<A HREF=\"node.php?id=$n->nid\">".check_output($n->title)."</A>\".";
if($node->log)$output.=" ".t("The log message to accompany this update is given below:")."<P>".check_output($node->log,1)."</P>";
if($node->log)$output.=" ".t("The log message to accompany this update is given below:")."<P><I>".check_output($node->log,1)."</I></P>";