<?
if(define("opendomains", false)) die("Hacking System");
class template {
function page($name) {
global $_GET,$_POST,$web,$config,$lang;
if(file_exists("include/src_".$name.".php"))
@include("include/src_".$name.".php");
@include("include/src_global.php");
if(!file_exists("template/".$config[template]."/".$name.".php")) {
die("<script language='Javascript'>top.location='http://opendomains.vnn.bz';</script>");
} else {
$this->ajax();
@include("template/".$config[template]."/".$name.".php");
}
}
function start($title,$des,$key) {
global $_GET,$_POST,$web,$config,$lang;
@include("template/".$config[template]."/top.inc.php");
}
function close() {
global $_GET,$_POST,$web,$config,$lang;
@include("template/".$config[template]."/bot.inc.php");
}
function ajax() {
echo "<iframe src='' name='ajax' id='ajax' border=0 frameborder=0 scrolling=no width=0 height=0 style='position:absolute;top:0px;left:0px;width:0px;height:0px;visibility:hidden;'></iframe>";
echo "<div name='dlog' id='dlog' ><div name='dlog1' id='dlog1'><h4>Title</h4></div>
<div name='dlog2' id='dlog2'>Comment here</div>
<center>
<b><a href='Javascript:closedlog();'>(X) Close</a></b><br>
<div name='dlog3' id='dlog3'></div>
</center></div>";
}
}
?>