コード例 #1
0
function showAdminPane($vars)
{
    if ($vars['pane'] == "adminhome") {
        display_admin_home_text();
    } else {
        $pane = "includes/adminpanes/pane_" . stripspaces_andlower($vars['pane']) . ".php";
        include_once $pane;
    }
}
コード例 #2
0
    ?>
" class="adminmenu_submenu"><?php 
    print $adminpanes[$i];
    ?>
</a></div></td>
		<?php 
}
?>
  </tr>
</table>
<div id="admincontent">
	<div id="messagebox" style="margin-bottom: 0px; padding: 5px; padding-top: 0px;">
		<?php 
add_global_messagebox($_SESSION['message']);
?>
	</div>
	<div id="jsDisabled">
		<?php 
print get_message(34);
?>
	</div>
	<div id="reportmenu" style="margin-top: 20px;"></div>
	
	<div id="adminpanecontent">
		<?php 
display_admin_home_text();
?>
	</div>
</div>
<a href="#Settings" style="background: url(images/icons/icon-settings.png) no-repeat; width: 65px; height: 72px; display:block; float: right; margin-bottom: 5px; margin-right: 20px;"></a>
<div style="clear: right;"></div>