..cool, we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
<?php
/* Basic (html open till body open tag) layout for screen templates */
if(!defined('IN_SCRIPT')){
exit;
}
$sOut = "<html>\n";
$sOut .= "<head>\n";
$sOut .= "<title>".$_CONTEXT['modules'][$_MODULE_C]['name']."</title>\n";
$sOut .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
$sOut .= "<meta http-equiv=\"Pragma\" content=\"no-cache\">";
$sOut .= "<style type=\"text/css\">\n";
$sOut .= "<!--\n";
$sOut .= "body { font-family:Arial,Verdana,Helvetica;font-size:11px;color:#ffffff; }\n";
$sOut .= "table { width:100%;-moz-box-shadow:0 0 5px #888;-webkit-box-shadow:0 0 3px #888;box-shadow:0 0 3px #888;margin:20px auto 20px auto;background-color:#000000;vertical-align:top;overflow:auto;opacity:.8;border:1px #ffffff solid;padding:3px; }\n";
$sOut .= "tr { margin:10px 20px 10px 20px;overflow:auto; }\n";
$sOut .= "td { background: rgba(33,33,33,0.8);box-shadow:0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);-o-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);-moz-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3); }\n";
$sOut .= "#h6 {color: #0000ff; }\n";
$sOut .= "#h7 {color: #ff0000; }\n";
$sOut .= "-->\n";
$sOut .= "</style>\n";
$sOut .= "</head>\n";
$sOut .= "<body>\n";
// end of body till html
$sEnd = "</body>\n";
$sEnd .= "</html>";
?>