root/dev/common/kill_mail.php @ 54

Revision 54, 1.1 KB (checked in by exi, 14 years ago)

Fixed the error caused by previous checkin
Added doctype to pageheader.
Explicit cast to int for kill_id in kill_mail.php

RevLine 
[10]1<?php
2require_once("db.php");
3require_once("class.page.php");
4require_once("class.kill.php");
5require_once("globals.php");
[2]6
[54]7$kll_id = intval($_GET['kll_id']);
[10]8$kill = new Kill($kll_id);
[2]9?>
[32]10<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
11                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
12<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13<head>
14<title>Rawmail - Kill ID <?php echo $kll_id; ?></title>
15</head>
16<style type="text/css">
17textarea
18{
19    font-size: 10px;
20    font-family: Verdana, Arial, Helvetica, sans-serif;
21    color: #333333;
22}
23</style>
24<body bgcolor="#222222">
25<form>
26<table class="kb-table" width="1" height="100%">
27<tr><td valign="top"><textarea class="killmail" name="killmail" cols="60" rows="30" readonly="readonly">
28<?php echo $kill->getRawMail();?></textarea></td></tr>
29<tr><td align="center"><input type="button" value="Select All" onClick="this.form.killmail.select();this.form.killmail.focus(); document.execCommand('Copy')">&nbsp;<input type="button" value="Close" onClick="window.close();"></td></tr>
30</table>
31</form>
32</body>
33</html>
Note: See TracBrowser for help on using the browser.