|
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 | : | 24.9 GB of 70.42 GB (35.37%) |
|
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/
modules/
mod_HDVideoShareRecent/
- drwxr-xr-x
|
Viewing file: helper.php (1.68 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php
/**
* @version 2.2, Creation Date : March-24-2011
* @name helper.php
* @location /components/modules/mod_HDVideoShareRecent/helper.php
* @package Joomla 1.6
* @subpackage contushdvideoshare
* @author Contus Support - http://www.contussupport.com
* @copyright Copyright (C) 2011 Contus Support
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* @link http://www.hdvideoshare.net
*/
/*
* Description : Modules HDVideoShare recent helper
*/
// No direct Access
defined('_JEXEC') or die('Restricted access');
class modrecentvideos {
function getrecentvideos() {
$db = & JFactory::getDBO();
$limitrow = modrecentvideos::getrecentvideossettings();
$length = $limitrow[0]->siderecentvideorow * $limitrow[0]->siderecentvideocol;
$recentquery = "select a.*,b.category,d.username,e.* from #__hdflv_upload a left join #__users d on a.memberid=d.id left join #__hdflv_video_category e on e.vid=a.id left join #__hdflv_category b on e.catid=b.id where a.published='1' and b.published=1 and a.type='0' group by e.vid order by a.id desc limit 0,$length "; // Query is to display recent videos in home page
$db->setQuery($recentquery);
$recentvideos = $db->loadobjectList();
return $recentvideos;
}
function getrecentvideossettings() {
$db = & JFactory::getDBO();
$featurequery = "select siderecentvideorow,siderecentvideocol,viewedconrtol,ratingscontrol from #__hdflv_site_settings"; //Query is to select the popular videos row
$db->setQuery($featurequery);
$rows = $db->LoadObjectList();
return $rows;
}
}
?>
|