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/news/components/com_jevents/views/ext/helpers/ |
Upload File : |
<?php defined('_JEXEC') or die('Restricted access'); class ExtViewNavTableBarIconic { var $view = null; function __construct($view, $today_date, $view_date, $dates, $alts, $option, $task, $Itemid ){ global $catidsOut; global $mainframe; if (JRequest::getInt( 'pop', 0 )) return; $cfg = & JEVConfig::getInstance(); $compname = JEV_COM_COMPONENT; $viewimages = JURI::root() . "components/".JEV_COM_COMPONENT."/views/".$view->getViewName()."/assets/images"; $cat = ""; $hiddencat = ""; if ($catidsOut!=0){ $cat = '&catids=' . $catidsOut; $hiddencat = '<input type="hidden" name="catids" value="'.$catidsOut.'"/>'; } $link = 'index.php?option=' . $option . '&task=' . $task . $cat . '&Itemid=' . $Itemid. '&'; ?> <table bgcolor="#ffffff" border="0" cellpadding="10" cellspacing="0" width="100%"> <tr> <td class="tableh1" align="center"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <!-- BEGIN add_event --> <!-- <td><img name="spacer" src="http://joomla1.0.10/components/com_extcalendar//images/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="http://joomla1.0.10/index.php?option=com_extcalendar&Itemid=37&extmode=addevent" title="Add Event" class="buttontext"> <img src="http://joomla1.0.10/components/com_extcalendar//themes/default/images/icon-addevent.gif" alt="Add Event" border="0"><br/> Add Event</a> </td> --> <!-- END add_event --> <!-- BEGIN flyer_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=year.listevents&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_VIEWBYYEAR');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-flyer.gif" alt="Flat View" border="0"/><br/> <?php echo JText::_('JEV_VIEWBYYEAR');?></a> </td> <!-- END flyer_view --> <!-- BEGIN monthly_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=month.calendar&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_VIEWBYMONTH');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-calendarview.gif" alt="<?php echo JText::_("Monthly View");?>" border="0"/><br/> <?php echo JText::_('JEV_VIEWBYMONTH');?></a> </td> <!-- END monthly_view --> <!-- BEGIN weekly_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=week.listevents&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_VIEWBYWEEK');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-weekly.gif" alt="Weekly View" border="0"/><br/> <?php echo JText::_('JEV_VIEWBYWEEK');?></a> </td> <!-- END weekly_view --> <!-- BEGIN daily_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=day.listevents&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_VIEWTODAY');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-daily.gif" alt="Daily View" border="0"/><br/> <?php echo JText::_('JEV_VIEWTODAY');?></a> </td> <!-- END daily_view --> <!-- BEGIN cat_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=cat.listevents&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_VIEWBYCAT');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-cats.gif" alt="Categories" border="0"/><br/> <?php echo JText::_('JEV_VIEWBYCAT');?></a> </td> <!-- END cat_view --> <!-- BEGIN search_view --> <td><img name="spacer" src="<?php echo $viewimages;?>/spacer.gif" alt="" border="0" height="25" width="10"/></td> <td class="buttontext" align="center" nowrap="nowrap" valign="middle"> <a href="<?php echo JRoute::_( 'index.php?option=' . $option . $cat . '&task=search.form&'. $today_date->toDateURL() . '&Itemid=' . $Itemid );?>" title="<?php echo JText::_('JEV_SEARCH_TITLE');?>" class="buttontext"> <img src="<?php echo $viewimages;?>/icon-search.gif" alt="Search" border="0"/><br/> <?php echo JText::_('JEV_SEARCH_TITLE');?></a> </td> <!-- END search_view --> </tr> </table> </td> </tr></table> <?php } }