ob_start();
include_once($_SERVER['DOCUMENT_ROOT']."/_inc/mng_cnn.php");
include_once($_SERVER['DOCUMENT_ROOT']."/_inc/functions.php");
$url = (isset($_REQUEST["url"])? strtolower(trim($_REQUEST["url"])): "");
$SCRIPT = $_SERVER['PHP_SELF'];
?>
include_once($_SERVER['DOCUMENT_ROOT']."/-/english/includes/toolbar_en.php");
// echo($physical_path);
$conf = "0";
if ($physical_path = @opendir($_SERVER['DOCUMENT_ROOT']."/-/experimental/$url")){
$url = t_h($url);
$rs = mysql_query("SELECT pk_infid FROM std_info Where pk_infid = '$url'") or die(mysql_error());
if(mysql_num_rows($rs)!=0) $conf = "1";
closedir($physical_path);
}
if ($conf=="1"){
header("Location: /-/experimental/$url/");
exit;
}
else{
$sql = "Select pk_infid, name, family From std_info Order By family, name";
$rs = mysql_query($sql);
if(mysql_num_rows($rs)!=0){
$i = 0;
$td = ""; $tr = "";
while ($i < mysql_num_rows($rs)):
if(($i%5)==0 && $i!=0) {$tr .= "
$td
\n"; $td = "";}
$td .= "
".mysql_result($rs, $i, "family")." ".
mysql_result($rs, $i, "name") ." | \n";
$i++;
endwhile;
echo("
");
}
}
?>