mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 09:28:45 +00:00
be9704a768
TODO: add files to database TODO: hash folder to stick files in
21 lines
No EOL
401 B
PHP
21 lines
No EOL
401 B
PHP
<?php
|
|
|
|
function tool_applications_menu_get_list()
|
|
{
|
|
global $db;
|
|
|
|
$data = null;
|
|
|
|
$sql = "SELECT * FROM ". NELDB_APPLICATION_TABLE ." WHERE application_visible=1 AND application_uri<>'' ORDER BY application_order ASC";
|
|
if ($result = $db->sql_query($sql))
|
|
{
|
|
if ($db->sql_numrows($result))
|
|
{
|
|
$data = $db->sql_fetchrowset($result);
|
|
}
|
|
}
|
|
|
|
return $data;
|
|
}
|
|
|
|
?>
|