random gallery image
random tutorial
preview

..used one or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..

read more

random stress testing
HackSuite File Library
File Library
Here you can find the latest files and structure of the THC HackSuite, note that if you have an earlier version of the suite it's not recommended to update files manually. Instead you should overwrite your existing HackSuite environment.
<?php
/* Fetches RSS Feeds

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 03-02-2015
*/
include_once("header.php");
$_CONTEXT['page_title'] = "THC HackSuite CMS: RSS FEEDS";
$_CONTEXT['subtitle'] = "RSS Viewer";
$sCode = (isset($sCode) ? $sCode "");
if(
$_CONTEXT['allow_remote_locations']){
    
// load required files for feeds
    
$aRequire = array($_PATHS['functions_root']."/rss_class.php",$_PATHS['data_root']."/rss.php",$_PATHS['data_root']."/remote.php");
    for(
$x=0;$x<count($aRequire);$x++){
        (!
IsThere($aRequire[$x]) ? include($_PATHS['end']) : include_once($aRequire[$x]));
    }
    
$iFeedsEnabled 0;
    foreach(
$_CONTEXT['rsources'] as $sFeed=>$aValues){
        if(
$aValues['state']==1){
            
$iFeedsEnabled++;
            
// only interested in feeds that are enabled 
            
$sKey $sFeed;
            
// well we need at least these two files, add other ones for dynamic configuration's sake!!!1
            
$rss = new lastRSS;
            
// set rss feed fetch options
            
$rss->CDATA       $_RSS[$sKey]['cdata'];
            if(
$rs $rss->get($_RSS[$sKey]['url'])){
                include_once(
$_PATHS['rss_root']."/".$_RSS[$sKey]['base_handler'].".php");
            }
        }
    }
    if(!
$iFeedsEnabled){
        
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['notice']."All RSS base handlers have been disabled, you can enable them in your configuration.</div>\n";
    }
}
else{
    
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['notice']."RSS feeds have been disabled, you can enable them in your configuration.</div>\n";
}
include_once(
$_PATHS['style_root']."/index.php");
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3914
native: 26
modules: 21
apps: 2
support development
It takes lots of calories in order to create new things for the hacksuite, so it would be grand if you could buy me a protein shake or extra energy to keep me going. Thanks!
disclaimer
We are not responsible for any direct or indirect damage caused by abusing the tools provided on hacksuite.com. The suite is developed for educational purposes, use at your own risk!
Created by Remco Kouw. Powered by protein shakes and a high calorie diet.