' ') { $script_name .= '?'.$_SERVER['QUERY_STRING']; } } if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { $_SERVER['FULL_URL'] .= 's'; } $_SERVER['FULL_URL'] .= '://'; if($_SERVER['SERVER_PORT']!='80') { $_SERVER['FULL_URL'] .= $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'].$script_name; } else { $_SERVER['FULL_URL'] .= $_SERVER['HTTP_HOST'].$script_name; } $url = $_SERVER['FULL_URL']; //check to see if the comment script should be shown $lookfor = "comment_add.php"; $lookfor2 = "comment_register.php"; $pos = strpos($url,$lookfor); $pos2 = strpos($url,$lookfor2); if (($pos == false) && ($pos2 == false)) { //figures out the path for the wiki include $found = "no"; if (is_file("comments/comment_inc.php")) { include("comments/comment_inc.php"); $found = "yes"; } if ($found == "no") { if (is_file("../comments/comment_inc.php")) { include("../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../comments/comment_inc.php")) { include("../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../comments/comment_inc.php")) { include("../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../comments/comment_inc.php")) { include("../../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../../comments/comment_inc.php")) { include("../../../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../../../comments/comment_inc.php")) { include("../../../../../../comments/comment_inc.php"); $found = "yes"; } } } //end of check to display comment script */ ?>



' ') { $script_name .= '?'.$_SERVER['QUERY_STRING']; } } if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') { $_SERVER['FULL_URL'] .= 's'; } $_SERVER['FULL_URL'] .= '://'; if($_SERVER['SERVER_PORT']!='80') { $_SERVER['FULL_URL'] .= $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'].$script_name; } else { $_SERVER['FULL_URL'] .= $_SERVER['HTTP_HOST'].$script_name; } $url = $_SERVER['FULL_URL']; //check to see if the comment script should be shown $lookfor = "comment_add.php"; $lookfor2 = "comment_register.php"; $pos = strpos($url,$lookfor); $pos2 = strpos($url,$lookfor2); if (($pos == false) && ($pos2 == false)) { //figures out the path for the wiki include $found = "no"; if (is_file("comments/comment_inc.php")) { include("comments/comment_inc.php"); $found = "yes"; } if ($found == "no") { if (is_file("../comments/comment_inc.php")) { include("../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../comments/comment_inc.php")) { include("../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../comments/comment_inc.php")) { include("../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../comments/comment_inc.php")) { include("../../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../../comments/comment_inc.php")) { include("../../../../../comments/comment_inc.php"); $found = "yes"; } } if ($found == "no") { if (is_file("../../../../../../comments/comment_inc.php")) { include("../../../../../../comments/comment_inc.php"); $found = "yes"; } } } //end of check to display comment script */ ?>