Ejemplo n.º 1
0
<?php

/**
 * @package		mod_akeebasubs
 * @copyright 	Copyright (c) 2011-2013 Sander Potjer
 * @license 	GNU General Public License version 3 or later
 */
defined('_JEXEC') or die;
F0FTemplateUtils::addCSS('media://com_akeebasubs/css/backend.css?' . AKEEBASUBS_VERSIONHASH);
?>

<table class="adminlist">
	<thead>
		<tr>
			<th>
				<?php 
echo JText::_('COM_AKEEBASUBS_COMMON_ID');
?>
			</th>
			<th>
				<?php 
echo JText::_('COM_AKEEBASUBS_SUBSCRIPTIONS_LEVEL');
?>
			</th>
			<th>
				<?php 
echo JText::_('COM_AKEEBASUBS_SUBSCRIPTIONS_USER');
?>
			</th>
			<th>
				<?php 
Ejemplo n.º 2
0
/**
 * @package   AdminTools
 * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos
 * @license   GNU General Public License version 3, or later
 * @version   $Id$
 */
/** @var  AdmintoolsViewCpanel $this For type hinting in the IDE */
// Protect from unauthorized access
defined('_JEXEC') or die;
// Workaround for IDIOT HOSTS. If you are one of these hosts, YOUR "ANTIVIRUS" IS CRAP!
$idiotHostWorkaround = 'h' . str_repeat('t', 2) . 'ps' . ':';
$idiotHostWorkaround .= str_repeat('/', 2) . substr('WTF api IDIOT HOST', 4, 3) . '.';
$idiotHostWorkaround .= strtolower('IP') . substr('signify', -3) . '.' . substr('organisation', 0, 3);
JHtml::_('behavior.modal');
F0FTemplateUtils::addCSS('media://com_admintools/css/jquery.jqplot.min.css');
AkeebaStrapper::addJSfile('media://com_admintools/js/excanvas.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jquery.jqplot.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jqplot.highlighter.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jqplot.dateAxisRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jqplot.barRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jqplot.pieRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/jqplot.hermite.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('media://com_admintools/js/cpanelgraphs.js?' . ADMINTOOLS_VERSION);
$lang = JFactory::getLanguage();
$option = 'com_admintools';
$isPro = $this->isPro;
$root = @realpath(JPATH_ROOT);
$root = trim($root);
$emptyRoot = empty($root);
$confirm = JText::_('ATOOLS_LBL_PURGESESSIONS_WARN', true);
Ejemplo n.º 3
0
<?php

/**
 *  @package AkeebaSubs
 *  @copyright Copyright (c)2010-2014 Nicholas K. Dionysopoulos
 *  @license GNU General Public License version 3, or later
 */
defined('_JEXEC') or die;
JHTML::_('behavior.framework', true);
F0FTemplateUtils::addCSS('media://com_akeebasubs/css/jquery.jqplot.min.css?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/expirations.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/excanvas.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jquery.jqplot.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.json2.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.highlighter.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.dateAxisRenderer.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.canvasAxisTickRenderer.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.canvasTextRenderer.min.js?' . AKEEBASUBS_VERSIONHASH);
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.barRenderer.min.js?' . AKEEBASUBS_VERSIONHASH);
$exp_start = date('Y-m-d', strtotime('-2 months', strtotime('last monday')));
?>
<div style="padding-bottom: 80px;padding-left: 15px">
	<h3><?php 
echo JText::_('COM_AKEEBASUBS_REPORTS_EXPIRATIONS_WEEK_CHART');
?>
</h3>
	<?php 
echo JText::_('COM_AKEEBASUBS_DASHBOARD_FROMDATE');
?>
	<?php 
echo JHTML::calendar($exp_start, 'exp_start', 'exp_start');
Ejemplo n.º 4
0
 /**
  * Loads the CSS files defined in the form, based on its cssfiles attribute
  *
  * @return  void
  *
  * @since 2.0
  */
 public function loadCSSFiles()
 {
     // Support for CSS files
     $cssfiles = $this->getAttribute('cssfiles');
     if (!empty($cssfiles)) {
         $cssfiles = explode(',', $cssfiles);
         foreach ($cssfiles as $cssfile) {
             F0FTemplateUtils::addCSS(trim($cssfile));
         }
     }
     // Support for LESS files
     $lessfiles = $this->getAttribute('lessfiles');
     if (!empty($lessfiles)) {
         $lessfiles = explode(',', $lessfiles);
         foreach ($lessfiles as $def) {
             $parts = explode('||', $def, 2);
             $lessfile = $parts[0];
             $alt = count($parts) > 1 ? trim($parts[1]) : null;
             F0FTemplateUtils::addLESS(trim($lessfile), $alt);
         }
     }
 }
Ejemplo n.º 5
0
/**
 * @package   AdminTools
 * @copyright Copyright (c)2010-2016 Nicholas K. Dionysopoulos
 * @license   GNU General Public License version 3, or later
 * @version   $Id$
 */
/** @var  AdmintoolsViewCpanel $this For type hinting in the IDE */
// Protect from unauthorized access
defined('_JEXEC') or die;
// Workaround for IDIOT HOSTS. If you are one of these hosts, YOUR "ANTIVIRUS" IS CRAP!
$idiotHostWorkaround = 'h' . str_repeat('t', 2) . 'ps' . ':';
$idiotHostWorkaround .= str_repeat('/', 2) . substr('WTF api IDIOT HOST', 4, 3) . '.';
$idiotHostWorkaround .= strtolower('IP') . substr('signify', -3) . '.' . substr('organisation', 0, 3);
JHtml::_('behavior.modal');
F0FTemplateUtils::addCSS('admin://components/com_admintools/media/css/jquery.jqplot.min.css');
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/excanvas.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jquery.jqplot.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.highlighter.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.dateAxisRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.barRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.pieRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.hermite.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/cpanelgraphs.js?' . ADMINTOOLS_VERSION);
$lang = JFactory::getLanguage();
$option = 'com_admintools';
$isPro = $this->isPro;
$root = @realpath(JPATH_ROOT);
$root = trim($root);
$emptyRoot = empty($root);
$confirm = JText::_('ATOOLS_LBL_PURGESESSIONS_WARN', true);
Ejemplo n.º 6
0
<?php

/**
 * @package   AdminTools
 * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos
 * @license   GNU General Public License version 3, or later
 */
// No direct access
defined('_JEXEC') or die;
// Load the required CSS
F0FTemplateUtils::addCSS('media://com_admintools/css/backend.css');
$this->loadHelper('select');
$editor = JFactory::getEditor();
?>

<div class="ats-ticket-replyarea">
	<form action="index.php" method="post" name="adminForm" id="adminForm" class="form form-horizontal">
		<input type="hidden" name="option" value="com_admintools"/>
		<input type="hidden" name="view" value="waftemplate"/>
		<input type="hidden" name="task" value="save"/>
		<input type="hidden" name="admintools_waftemplate_id"
			   value="<?php 
echo $this->item->admintools_waftemplate_id;
?>
"/>
		<input type="hidden" name="<?php 
echo JFactory::getSession()->getFormToken();
?>
" value="1"/>

		<div class="control-group">
Ejemplo n.º 7
0
<?php

/**
 * @package   AdminTools
 * @copyright Copyright (c)2010-2016 Nicholas K. Dionysopoulos
 * @license   GNU General Public License version 3, or later
 */
// Protect from unauthorized access
defined('_JEXEC') or die;
F0FTemplateUtils::addCSS('admin://components/com_admintools/media/css/jquery.jqplot.min.css?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/excanvas.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jquery.jqplot.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.highlighter.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.dateAxisRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.barRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.pieRenderer.min.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/jqplot.hermite.js?' . ADMINTOOLS_VERSION);
AkeebaStrapper::addJSfile('admin://components/com_admintools/media/js/cpanelgraphs.js?' . ADMINTOOLS_VERSION);
$graphDayFrom = gmdate('Y-m-d', time() - 30 * 24 * 3600);
?>
<h3><?php 
echo JText::_('COM_ADMINTOOLS_DASHBOARD_EXCEPTIONS');
?>
</h3>
<p>
	<?php 
echo JText::_('COM_ADMINTOOLS_DASHBOARD_FROMDATE');
?>
	<?php 
echo JHTML::_('calendar', $graphDayFrom, 'admintools_graph_datepicker', 'admintools_graph_datepicker');
?>