Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 69 → Редакция 70

/trunk/lib/core.php
73,6 → 73,20
 
return $answer;
}
 
function getInterfacesList($current,$dblink) {
$url = parse_url($current);
$path = array();
$path = split("/",$url["path"]);
$currentIF = str_replace(".php","",$path[count($path)-1]);
$req =& $dblink->query("SELECT * FROM interfaces WHERE interface NOT LIKE '$currentIF'");
$iflist = "Интерфейсы: ";
while ($req->fetchInto($if, DB_FETCHMODE_ASSOC)) {
$iflist .= "<a href='./".stripslashes($if["interface"]).".php'>".strtolower(stripslashes($if["interfaceinfo"]))."</a>, ";
}
$iflist = substr($iflist, 0, strlen($iflist)-2);
return $iflist;
}
}
 
?>