Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

70 lines (62 sloc) 3.712 kB
<?php
/**
* @version 1.5.1 $Id: install.mspseniors.php
* @package Joomla 1.5.x
* @subpackage MSP-seniors
* @copyright (C) 2009 Miami Solution Providers Inc (http://www.causewaycomputer.com)
* @license GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', 1);
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."includes".DS."admin.mspsettings.php");
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."includes".DS."admin.mspfunctions.php");
$task = $_REQUEST['task'];
switch($task) {
case 'seniors':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspseniorsadmin.php");
break;
case 'conf':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspsettings.php");
break;
case 'css':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspstyle.php");
break;
case 'doc':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspdocumentation.php");
break;
case 'schools':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspschooladmin.php");
break;
case 'uploads':
require_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."admin.mspseniorsupload.php");
break;
default:
display_main();
break;
}
function display_main() {
?>
<div id="element-box">
<div class="t"><div class="t"><div class="t"></div></div></div>
<div class="m">
<table class="adminform"><tr><td width="70%" valign="top">
<div id="cpanel">
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=seniors" style="height:auto;"><img src="components/com_mspseniors/images/mspsenioradmin.gif" alt="Seniors" /><span style="font-weight:bold; font-size:16px;">Seniors<br /><br /></span></a></div></div>
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=schools" style="height:auto;"><img src="components/com_mspseniors/images/mspsenioradmin.gif" alt="Schools" /><span style="font-weight:bold; font-size:16px;">Schools<br /><br /></span></a></div></div>
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=uploads" style="height:auto;"><img src="components/com_mspseniors/images/mspsenioradmin.gif" alt="Uploads" /><span style="font-weight:bold; font-size:16px;">Uploads<br /><br /></span></a></div></div>
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=conf" style="height:auto;"><img src="components/com_mspseniors/images/conf.png" alt="Settings" /><span style="font-weight:bold; font-size:16px;">Settings<br /><br /></span></a></div></div>
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=css" style="height:auto;"><img src="components/com_mspseniors/images/css.png" alt="Settings" /><span style="font-weight:bold; font-size:16px;">CSS<br />Style<br /></span></a></div></div>
<div style="float:left;"><div class="icon"><a href="index.php?option=com_mspseniors&task=doc" style="height:auto;"><img src="components/com_mspseniors/images/doc.gif" alt="Documentation" /><span style="font-weight:bold; font-size:16px;">Help /<br />Readme<br /></span></a></div></div>
</div>
</td><td valign="top">
<?php include_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."includes".DS."admin.mspcompany.php"); ?>
</td></tr></table>
</div>
<div class="b"><div class="b"><div class="b"></div></div></div>
</div>
<?php
include_once(JPATH_BASE.DS."components".DS."com_mspseniors".DS."includes".DS."admin.mspfooter.php");
}
?>
Jump to Line
Something went wrong with that request. Please try again.