if (exponent_theme_inAction()) { ?> <td width="554" height="239" colspan="2" valign="top" style="padding: 10px"><?php exponent_theme_runAction(); } else { ?> <td width="180" height="239" align="left" valign="top"> <table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3"> </td> </tr> <tr> <td height="221"> </td> <td width="160" align="left" valign="top" class="footer"> <?php exponent_theme_showModule("loginmodule", "Default"); ?> <?php exponent_theme_showModule("previewmodule", "Default"); ?> <br /><hr size="1"/><br /><?php exponent_theme_showModule("navigationmodule", "Children Only"); ?> <br /><hr size="1"/><br /><?php exponent_theme_showSectionalModule("containermodule", "Default", "", "@left"); ?> <br /><hr size="1"/><br /><?php exponent_theme_showSectionalModule("containermodule", "Default", "", "@right"); ?> </td> <td> </td>
function exponent_theme_main() { global $db, $user; if ((!defined("SOURCE_SELECTOR") || SOURCE_SELECTOR == 1) && (!defined("CONTENT_SELECTOR") || CONTENT_SELECTOR == 1)) { $last_section = exponent_sessions_get("last_section"); $section = $db->selectObject("section", "id=" . $last_section); // View authorization will be taken care of by the runAction and mainContainer functions if (exponent_theme_inAction()) { exponent_theme_runAction(); } else { if ($section == null) { exponent_theme_goDefaultSection(); } else { exponent_theme_mainContainer(); } } } else { if (isset($_REQUEST['module'])) { include_once BASE . "modules/ContainerModule/actions/orphans_content.php"; } else { $i18n = exponent_lang_loadFile('subsystems/theme.php'); echo $i18n['select_module']; } } }