Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/app/webroot/news/administrator/components/com_jevents/views/cpanel/tmpl/ |
Upload File : |
<?php /** * JEvents Component for Joomla 1.5.x * * @version $Id: cpanel.php 1452 2009-05-19 16:15:22Z geraint $ * @package JEvents * @copyright Copyright (C) 2008-2009 GWE Systems Ltd * @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html * @link http://www.jevents.net */ defined('_JEXEC') or die('Restricted access'); ?> <div id="jevents"> <?php if (isset($this->warning)){ ?> <dl id="system-message"> <dt class="notice">Message</dt> <dd class="notice fade"> <ul> <li><?php echo $this->warning;?></li> </ul> </dd> </dl> <?php } ?> <form action="index.php" method="post" name="adminForm" > <table width="90%" border="0" cellpadding="2" cellspacing="2" class="adminform"> <tr> <td width="100%" valign="top"> <div id="cpanel"> <?php $link = "index.php?option=$option&task=icals.list"; $this->_quickiconButton( $link, "jevents_calendar_sml.png", JText::_('JEV_ADMIN_ICAL_SUBSCRIPTIONS') ,"/administrator/components/".JEV_COM_COMPONENT."/assets/images/"); $link = "index.php?option=$option&task=icalevent.list"; $this->_quickiconButton( $link, "jevents_event_sml.png", JText::_('JEV_ADMIN_ICAL_EVENTS') ,"/administrator/components/".JEV_COM_COMPONENT."/assets/images/"); $link = "index.php?option=$option&task=categories.list"; $this->_quickiconButton( $link, "icon-48-category.png", JText::_('JEV_INSTAL_CATS') ,"/administrator/templates/khepri/images/header/"); $link = "index.php?option=$option&task=user.list"; $this->_quickiconButton( $link, "icon-48-user.png", JText::_('JEV_MANAGE_USERS') ,"/administrator/templates/khepri/images/header/"); //$link = "index.php?option=$option&task=config.edit"; // new version $link = "index.php?option=$option&task=params.edit"; $this->_quickiconButton( $link, "icon-48-config.png", JText::_('JEV_INSTAL_CONFIG') ,"/administrator/templates/khepri/images/header/"); $link = "index.php?option=$option&task=config.convert"; $this->_quickiconButton( $link, "dbrestore.png", JText::_('JEV_ADMIN_CONVERT')); ?> </div> </td> <!-- <td width="45%" valign="top"> <div style="width: 100%;"> <form action="index.php" method="post" name="adminForm"> <?php // Tabs jimport('joomla.html.pane'); $tabs = & JPane::getInstance('tabs'); // $tabs = new JPaneTabs(1); echo $tabs->startPane( 'statuspane' ); // Prepare formating for the output of the state /* echo $tabs->startPanel( JText::_('JEV_ADMIN_STATUS'), 'jevstatus' ); ?> <table class="adminlist"> <tr> <th colspan="4"> <?php echo JText::_('JEV_ADMIN_COMPONENT_STATE');?> </th> </tr> <?php foreach ($panelStates as $key => $state ) { ?> <tr class="row0"> <td><?php echo $panelStates[$key]['desc'] ?></td> <td><?php echo $panelStates[$key]['title'] ?></td> <td><?php echo $panelStates[$key]['pub'];?></td> <td><a href="<?php echo $panelStates[$key]['href'];?>"><img src="<?php echo JURI::root();?>images/M_images/edit.png" border="0" alt="<?php echo JText::_('JEV_E_EDIT');?>" /></a></td> </tr> <?php } ?> </table> <?php echo $tabs->endPanel(); */ echo $tabs->startPanel( JText::_("Status"), 'status' ); echo $tabs->endPanel(); // Prepare formating for the output of the state echo $tabs->startPanel( JText::_("Advanced"), 'jevadvanced' ); $href1 = JURI::root()."administrator/index.php?option=$option&task=config.droptables"; ?> <h2><?php echo JText::_("JEV_ONLY_USE");?></h2> <a href="<?php echo $href1;?>"><?php echo JText::_("JEV_DELETE_TABLES");?></a><br/> <hr/> <?php $link = "index.php?option=$option&task=config.dbsetup"; $this->_quickiconButton( $link, "dbsetup.png", JText::_('JEV_ADMIN_DBSETUP'),'/administrator/components/'.JEV_COM_COMPONENT."/assets/images/"); /* $href3 = JURI::root()."administrator/index.php?option=$option&task=config.convertjcal"; $this->_quickiconButton( $href3, "dbrestore.png", JText::_('Migrate JCal Pro 1.5')); */ ?> <br style="clear:both"/> <?php echo $tabs->endPanel(); echo $tabs->endPane(); ?> </form> </div> </td> //--> </tr> </table> <p align="center"> <a href="<?php $version = & JEventsVersion::getInstance();echo $version->getUrl();?>" target="_blank" style="font-size:xx-small;" title="Events Website"><?php echo $version->getLongVersion();?></a> <span style="color:#999999; font-size:9px;"><?php echo $version->getShortCopyright();?></span> </p> <input type="hidden" name="task" value="cpanel" /> <input type="hidden" name="act" value="" /> <input type="hidden" name="option" value="<?php echo JEV_COM_COMPONENT; ?>" /> </form> </div>