DonatShell
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/icals/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/webroot/news/administrator/components/com_jevents/views/icals/tmpl/overview.php
<?php 
/**
 * JEvents Component for Joomla 1.5.x
 *
 * @version     $Id: overview.php 1399 2009-03-30 08:31:52Z 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'); 

JHTML::_('behavior.tooltip');

$db	=& JFactory::getDBO();
$user =& JFactory::getUser();

// get configuration object
$cfg = & JEVConfig::getInstance();

$pathIMG = JURI::root() . 'administrator/images/';
$pathJeventsIMG =JURI::root() . "administrator/components/".JEV_COM_COMPONENT."/assets/images/"; 

global  $task;
$db	=& JFactory::getDBO();
$user =& JFactory::getUser();
JHTML::_('behavior.tooltip');

// get configuration object
$cfg = & JEVConfig::getInstance();
?>
<form action="index2.php" method="post" name="adminForm">
	<table cellpadding="4" cellspacing="0" border="0" width="100%">
		<tr>
			<td width="100%">
			&nbsp;
			</td>
			<td align="right"><?php echo $this->clist;?> </td>
			<td><?php echo JText::_('JEV_SEARCH'); ?>&nbsp;</td>
			<td>
				<input type="text" name="search" value="<?php echo $this->search; ?>" class="inputbox" onChange="document.adminForm.submit();" />
			</td>
		</tr>
	</table>

	<table cellpadding="4" cellspacing="0" border="0" width="100%" class="adminlist">
		<tr>
			<th width="20" nowrap="nowrap">
				<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $this->rows ); ?>);" />
			</th>
			<th class="title" width="30%" nowrap="nowrap"><?php echo JText::_('JEV_ICAL_SUMMARY'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_ICAL_TYPE'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_CATEGORY_NAME'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_ADMIN_REFRESH'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_PUBLISHED'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_EVENT_ANONREFRESH'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_EVENT_ISDEFAULT'); ?></th>
			<th width="10%" nowrap="nowrap"><?php echo JText::_('JEV_ACCESS'); ?></th>
		</tr>

        <?php
        $k 			= 0;
        $nullDate 	= $db->getNullDate();

        for( $i=0, $n=count( $this->rows ); $i < $n; $i++ ){
        	$row = &$this->rows[$i]; ?>
            <tr class="row<?php echo $k; ?>">
            	<td width="20">
                    <input type="checkbox" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $row->ics_id; ?>" onclick="isChecked(this.checked);" />
            	</td>
              	<td>
              		<a href="#edit" onclick="return listItemTask('cb<?php echo $i;?>','icals.edit')" title="<?php echo JText::_('JEV_CLICK_TO_EDIT'); ?>"><?php echo $row->label; ?></a>
              	</td>
              	<td align="center">
              	<?php
              	$types = array("Remote","Uploaded File", "Native");
              	echo $types[$row->icaltype];
              	?>
              	</td>
				<td align="center"><?php echo $row->category; ?></td>
              	<td align="center">
              	<?php
              	// only offer reload for URL based ICS
              	if ($row->srcURL!=""){
              	?>
              	<a href="javascript: void(0);" onclick="return listItemTask('cb<?php echo $i; ?>','icals.reload')"><img src="<?php echo $pathJeventsIMG . "reload.png"; ?>" border="0" alt="reload" /></a>
              	<?php
              	}
              	?>
              	
              	</td>
              	<td align="center">
              	<?php                      	
              	$img = $row->state?'tick.png':'publish_x.png';
              	?>
              	<a href="javascript: void(0);" onclick="return listItemTask('cb<?php echo $i; ?>','<?php echo $row->state ? 'icals.unpublish' : 'icals.publish'; ?>')"><img src="<?php echo $pathIMG . $img; ?>" width="16" height="16" border="0" alt="" /></a>
              	</td>
              	<td align="center">
              	<?php                      	
              	if ($row->icaltype==0){
              	$img = $row->autorefresh?'tick.png':'publish_x.png';
              	?>
              	<a href="javascript: void(0);" onclick="return listItemTask('cb<?php echo $i; ?>','<?php echo $row->autorefresh ? 'icals.noautorefresh' : 'icals.autorefresh'; ?>')"><img src="<?php echo $pathIMG . $img; ?>" width="16" height="16" border="0" alt="" /></a>
              	<?php 
	              	if ($row->autorefresh){
	              		?>
	              		<br/><a href="<?php echo JURI::root()."index.php?option=".JEV_COM_COMPONENT."&icsid=".$row->ics_id."&task=icals.reload"; ?>" title="<?php echo JText::_("JEV_AUTOREFRESH_LINK")?>"><?php echo JText::_("JEV_AUTOREFRESH_LINK")?></a>
	              		<?php
	              	}
              	}
              	else {
              		echo " - ";
              	}
              	?>
              	</td>
              	<td align="center">
              	<?php                      	
              	if ($row->icaltype==2){
              	$img = $row->isdefault?'tick.png':'publish_x.png';
              	?>
              	<a href="javascript: void(0);" onclick="return listItemTask('cb<?php echo $i; ?>','<?php echo $row->isdefault ? 'icals.notdefault' : 'icals.isdefault'; ?>')"><img src="<?php echo $pathIMG . $img; ?>" width="16" height="16" border="0" alt="" /></a>
              	<?php 
              	}
              	else {
              		echo " - ";
              	}
              	?>
              	</td>
              	<td align="center"><?php echo $row->_groupname;?></td>
            </tr>
            <?php
            $k = 1 - $k;
        } ?>
    	<tr>
    		<th align="center" colspan="9"><?php echo $this->pageNav->getListFooter(); ?></th>
    	</tr>
    </table>
    <input type="hidden" name="option" value="<?php echo $this->option;?>" />
    <input type="hidden" name="task" value="icals.list" />
    <input type="hidden" name="boxchecked" value="0" />
</form>


Anon7 - 2022
AnonSec Team