|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.27 GB of 70.42 GB (38.72%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
guitar.1/
templates/
escene/
html/
- drwxr-xr-x
|
Viewing file: modules.php (4.67 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /** * @version $Id: modules.php 10381 2008-06-01 03:35:53Z pasamio $ * @package Joomla * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */
// no direct access defined('_JEXEC') or die('Restricted access');
/** * This is a file to add template specific chrome to module rendering. To use it you would * set the style attribute for the given module(s) include in your template to use the style * for each given modChrome function. * * eg. To render a module mod_test in the sliders style, you would use the following include: * <jdoc:include type="module" name="test" style="slider" /> * * This gives template designers ultimate control over how modules are rendered. * * NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same * two arguments. */
/* * Module chrome for rendering the module in a slider */ function modChrome_slider($module, &$params, &$attribs) { jimport('joomla.html.pane'); //1st Parameter: Specify 'tabs' as appearance //2nd Parameter: Starting with third tab as the default (zero based index) //open one! $pane =& JPane::getInstance('sliders', array('startOffset'=>0)); echo $pane->startPane( 'pane' );
?> <?php if ($module->showtitle !=0) : ?> <?php //echo $module->title; ?> <?php endif; ?> <?php echo $pane->startPanel( JText::_( $module->title ), '');?>
<?php echo $params->get('moduleclass_sfx'); ?> <?php echo $module->content; ?> <?php echo $pane->endPanel();?> <?php
echo $pane->endPane();
} /* * Splits Title So That The First Word can have a separate class */ function modChrome_splittitle($module, &$params, &$attribs) { if (!empty ($module->content)) : ?> <div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>"> <?php if ($module->showtitle != 0) : ?> <h3><span class="inner"><?php $first = explode(" ", $module->title); $firstword = $first[0]; $firstword_new = "/".$firstword."/"; $changed_first_word = '<span class="first">'.$firstword.'</span>'; $output = preg_replace($firstword_new, $changed_first_word, $module->title, 1); echo $output; ?></span></h3> <?php endif; ?> <div class="modulecontent"> <?php echo $module->content; ?></div> </div> <?php endif; } /* * Wraps Title In Extra Class */ function modChrome_titlewrap($module, &$params, &$attribs) { if (!empty ($module->content)) : ?> <div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>"> <?php if ($module->showtitle != 0) : ?> <h3><span class="inner"><?php echo $module->title; ?></span></h3> <?php endif; ?> <?php echo $module->content; ?> </div> <?php endif; } /* * Wraps ModuleContent In a Extra Div */ function modChrome_xhtml2($module, &$params, &$attribs) { if (!empty ($module->content)) : ?>
<div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>"> <?php if ($module->showtitle != 0) : ?> <?php if(!(strpos($params->get('moduleclass_sfx'),"bubble") === false)) { ?> <div><div class="h3wrapleft"><h3><?php echo $module->title; ?></h3></div><div class="h3wrapright"></div></div> <?php }else{ ?> <h3><?php echo $module->title; ?></h3> <?php } ?> <?php endif; ?> <div class="modulecontent"> <?php echo $module->content; ?></div> </div> <?php endif; }
/* * Wraps ModuleTable In ExtraDiv to Cut Down on CSS */ function modChrome_wrap($module, &$params, &$attribs) { if (!empty ($module->content)) : ?> <div class="moduletablewrap"> <?php if($module->position!="user2a" && $module->position!="user2b" && $module->position!="right"){ ?> <div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>"> <?php }else{ ?> <div class="moduletable"> <?php } ?> <?php if ($module->showtitle != 0) : ?> <?php if(!(strpos($params->get('moduleclass_sfx'),"bubble") === false)) { ?> <div><div class="h3wrapleft"><h3><?php echo $module->title; ?></h3></div><div class="h3wrapright"></div></div> <?php }else{ ?> <h3><?php echo $module->title; ?></h3> <?php } ?> <?php endif; ?> <div class="modulecontent"> <?php echo $module->content; ?></div> </div> <?php if($module->position!="user2a" && $module->position!="user2b" && $module->position!="right"){ ?> <div class="moduletable<?php echo $params->get('moduleclass_sfx'); ?>-bottom"></div> <?php }?> </div> <?php endif; }
?>
|