Revision 190, 0.9 KB
(checked in by exi, 15 years ago)
|
This is a big update...
Moved all admin scripts to common/admin.
Moved all includes and classes to common/includes.
Edited all include-paths to reflect the movement.
Fixed a bug with the session system allowing every registered user to access admin pages.
Replaced calls to date() to use a wrapper so gmdate can be used.
Replaced some calls to $config with calls to the static object.
Fixed a big which caused the portrait_grab to not download a new picute.
Added a classified-state to kills.
Removed the sync_server server script in this tree.
Added code to help modules find the includes to index.php.
|
Line | |
---|
1 | <?php |
---|
2 | require_once('common/includes/db.php'); |
---|
3 | require_once('common/includes/class.page.php'); |
---|
4 | require_once('common/includes/class.kill.php'); |
---|
5 | |
---|
6 | $kll_id = intval($_GET['kll_id']); |
---|
7 | $kill = new Kill($kll_id); |
---|
8 | ?> |
---|
9 | popup|<form> |
---|
10 | <table class="popup-table" height="100%" width="355px"> |
---|
11 | <tr> |
---|
12 | <td align="center"><strong>Original Killmail</strong></td> |
---|
13 | </tr> |
---|
14 | <tr> |
---|
15 | <td align="center"><input type="button" value="Close" onClick="ReverseContentDisplay('popup');"></td> |
---|
16 | </tr> |
---|
17 | <tr> |
---|
18 | <td valign="top" align="center"> |
---|
19 | <textarea class="killmail" name="killmail" cols="60" rows="30" readonly="readonly"> |
---|
20 | <?php echo $kill->getRawMail();?></textarea></td></tr> |
---|
21 | <tr><td align="center"><input type="button" value="Select All" onClick="this.form.killmail.select();this.form.killmail.focus(); document.execCommand('Copy')"> <input type="button" value="Close" onClick="ReverseContentDisplay('popup');"></td> |
---|
22 | </tr> |
---|
23 | |
---|
24 | </table> |
---|
25 | </form> |
---|
26 | |
---|
27 | |
---|