The first problem, involving your own page's content not being displayed (header / footer) is a result of the script using a hard die() function in PHP on errors. This is most definitely a problem that does not flow well and will be fixed in the future. I would post an update right now, but it requires some extensive modifications (previous single line statements need to be made into if statements, empty data returns must be accounted for, etc...). The die() results in PHP being stopped altogether, thus includes, etc, are not displayed.
There is something you could do for it though, but it results in dropping alot of hard code into the script (as opposed to, for example, the template being a variable).
Open up whos/global.php and find:
Before that line, you need to add in everything that comes after your whois.php include line (DO NOT copy the whois.php include as this will cause the script to include itself and crash ~ and anger your host).
For example, if your page was:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>MyWebsite</TITLE>
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<?php include("some/header/file.php"); ?>
<?php include("path/to/whois.php"); ?>
<?php include("some/footer/file.php"); ?>
</BODY>
</HTML>
Then you would copy the following into global.php above "die();":
Code:
include("some/footer/file.php"); ?>
</BODY>
</HTML>
<?
NOTE: Note how I fixed the <? and the ?> to reflect whether the text was PHP or not. The "die();" in the global.php file is obviously live PHP code, so you will need to stop the PHP execution with ?> if you are copying in static HTML code (and don't forget to begin the PHP code again for the die() function after you are finished copying with a <? )
Confusing? You bet. Although it is the best solution at the moment. I will try to release an update sometime soon with updated code that fixes this without the need to modify hard code.
If you still need help with this problem, copy the page's html / code that you are using for the Whois Script (the one that is including whois.php) and I give you the exact code that you need to copy and paste.
Finally, onto your second problem:
The easiest and best way to solve this problem is to edit the corresponding whois page template. Go to the EP-Dev Whois Admin Panel and click "Edit Templates" under Main Menu. Scroll down to the "Whois Report Page" template.
The default template is:
Code:
[[header]]
[[searchbar]]
[[whoisreport]]
[[footer]]
To add in a margin for the whoisreport code is as simple as:
Code:
[[header]]
[[searchbar]]
<div style="margin-left: 15px;">[[whoisreport]]</div>
[[footer]]
Each whois server returns data in different formats so that is the best you can do.