\r\n"); } $commentParser->open($file); $commentParser->read(); $commentParser->read(); $comments = getComments($curID, $commentParser); $extraElements = ""; $extraElements .= ""; $voteLayout = str_replace("getAttribute("id")) { case $curID . "": $comments = stripXML($parser, $comments); // echo $comments; $temp = $comments; /** grab the ips */ while (substr_count($temp, " 0) { if (subParse($temp, "time=\"", "\"") + 24 * 60 * 60 < time()) { break; } $ips[] = subParse($temp, "url=\"", "\""); $temp = strstr($temp, $ips[count($ips) - 1]); $temp = strstr($temp, "time"); } $id = subParse($comments, "", ""); break; } } while ($parser->next()); } ?>