/* not in use currently...
//This code is for the Comments script
// First, find the path of the url the script is getting called from, even if it's mod re-written
$_SERVER['FULL_URL'] = 'http';
$script_name = '';
if(isset($_SERVER['REQUEST_URI'])) {
$script_name = $_SERVER['REQUEST_URI'];
} else {
$script_name = $_SERVER['PHP_SELF'];
if($_SERVER['QUERY_STRING']>' ') {
$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
*/
?>
include ("copyright.inc"); ?>
/* not in use currently...
//This code is for the Comments script
// First, find the path of the url the script is getting called from, even if it's mod re-written
$_SERVER['FULL_URL'] = 'http';
$script_name = '';
if(isset($_SERVER['REQUEST_URI'])) {
$script_name = $_SERVER['REQUEST_URI'];
} else {
$script_name = $_SERVER['PHP_SELF'];
if($_SERVER['QUERY_STRING']>' ') {
$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
*/
?>
include ("copyright.inc"); ?>