/**
* Script provides form to decode encrypted header information.
*
- * @copyright © 2005 The SquirrelMail Project Team
+ * @copyright © 2005-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
.hexdec(substr($hex,4,2)).'.'
.hexdec(substr($hex,6,2));
} elseif (strlen($hex)==32) {
- $ret=hexdec(substr($hex,0,4)).':'
- .hexdec(substr($hex,4,4)).':'
- .hexdec(substr($hex,8,4)).':'
- .hexdec(substr($hex,12,4)).':'
- .hexdec(substr($hex,16,4)).':'
- .hexdec(substr($hex,20,4)).':'
- .hexdec(substr($hex,24,4)).':'
- .hexdec(substr($hex,28,4));
+ $ret=substr($hex,0,4).':'
+ .substr($hex,4,4).':'
+ .substr($hex,8,4).':'
+ .substr($hex,12,4).':'
+ .substr($hex,16,4).':'
+ .substr($hex,20,4).':'
+ .substr($hex,24,4).':'
+ .substr($hex,28,4);
} else {
$ret=$hex;
}
/** create page headers */
header('Content-Type: text/html');
-echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'
+echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'."\n"
+ .' "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">'
."\n<head>\n<meta name=\"robots\" content=\"noindex,nofollow\">\n"
."</head><body>";
<button type="submit" name="submit" value="submit">Submit</button>
</p>
</form>
-</body></html>
\ No newline at end of file
+</body></html>