khanat-code-old/code/ryzom/tools/server/admin/functions_tool_applications.php
Fabien_HENON 11298004e9 Updating the world_editor_classes.xml file for the guild missions
- Adding new actions for guild missions
- Adding the guild option for some actions
- Adding the nb_guild_members_needed option for the objectives
2011-05-23 16:09:14 +02:00

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;
}
?>