..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 function. what..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
<?php
/* Native configuration links for menu
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
if($_CONTEXT['rightdisplay']['show_config']){
include_once($_PATHS['data_root']."/nativeconfig.php");
// filter natives per category
for($i=0;$i<count($_CONTEXT['native']);$i++){
if(!isset($_CONTEXT['cfgcats'][$_CONTEXT['native'][$i][4]])){
$_CONTEXT['cfgcats'][$_CONTEXT['native'][$i][4]] = array();
$_CONTEXT['cfgcats'][$_CONTEXT['native'][$i][4]][] = array($i,$_CONTEXT['native'][$i][0]);
continue;
}
$_CONTEXT['cfgcats'][$_CONTEXT['native'][$i][4]][] = array($i,$_CONTEXT['native'][$i][0]);
}
$_CONTEXT['htmlo'] .= " <div class=\"subname\" id=\"confgrtn\">configuration</div>\n";
$_CONTEXT['htmlo'] .= " <div class=\"confgrtn\">\n";
foreach($_CONTEXT['cfgcats'] as $sKey=>$aValues){
$_CONTEXT['htmlo'] .= " <div class=\"headcat\"><b>".str_replace("_"," ",$sKey)."</b></div>\n";
for($i=0;$i<count($aValues);$i++){
$_CONTEXT['htmlo'] .= " <div class=\"lnk\">- <a class=\"wrapcfg\" id=\"".$aValues[$i][0]."\" href=\"#\">".$aValues[$i][1]."</a></div>\n";
}
}
$_CONTEXT['htmlo'] .= " </div>\n";
}
?>