..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..
Attempts to find suspicious and evil files or code
<?php
/*
Generates html headers
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 04-04-2015
*/
if(!defined('IN_SCRIPT')){
exit;
}
/* html head */
$_CONTEXT['htmlo'] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
$_CONTEXT['htmlo'] .= "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
$_CONTEXT['htmlo'] .= "<head>\n";
$_CONTEXT['htmlo'] .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n";
$_CONTEXT['htmlo'] .= "<title>".(isset($_CONTEXT['page_title']) ? $_CONTEXT['page_title'] : "THC HackSuite CMS")."</title>\n";
$_CONTEXT['htmlo'] .= "<link rel=\"stylesheet\" href=\"Templates/".$_PATHS['style_user']."/css/predator.css\" type=\"text/css\" />\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"JS/jquery-1.9.1.min.js\"></script>\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"JS/jquery.easing.js\"></script>\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"JS/cufon-yui.js\"></script>\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/circe-extra-light.cufonfonts.js\"></script>\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/menuhandler.js\"></script>\n";
$_CONTEXT['htmlo'] .= "<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/main.js\"></script>\n";
// do we need some extra headers set by modules or from the extra pages... who knows?
if(isset($_CONTEXT['headers'])){
$_CONTEXT['htmlo'] .= $_CONTEXT['headers'];
}
$_CONTEXT['htmlo'] .= "</head>\n";
?>