sql_query("select main_module from ".$prefix."_main"); list($main_module) = $db->sql_fetchrow($result); /*****************************************************/ /* Remove module from database if does not exist */ /*****************************************************/ $result = $db->sql_query("select title from ".$prefix."_modules"); while (list($title) = $db->sql_fetchrow($result)) { $a = 0; $handle=opendir('modules'); while ($file = readdir($handle)) { if ($file == $title) { $a = 1; } } closedir($handle); if ($a == 0) { $db->sql_query("delete from ".$prefix."_modules where title='$title'"); } } /*****************************************************/ /* Interface with correspondent url's */ /*****************************************************/ $content = "
Main |
"._HOME." |
".$mcname." |
".$mcname." |
".boldit($m_title,$m_title2)." |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
$m_title2 |
".Resources." |
Future Nuke |
TechGFX |
conrads-berlin |
Computerbroke Online |