<?php

if ($encode = @$_REQUEST['e']) {
  include_once 
'html_encoder_1.9.php';
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test Page for Obfuscating HTML Encoder</title>
</head>
<body>
<img width=180 height=61 src="images/ioncubemain2.gif">
<h1>HTML Encoder Example</h1><p>
This page has <?php echo ($encode 'encoded' 'regular'); ?> html output.
<?php
if ($encode) {
  echo 
"Use 'View Source' in your browser to see the encoded HTML.";
}
?>
<p>
<form method=POST action="html_encoder_sample.php">
<input type=radio name=e value=0>View Unencoded
<input type=radio name=e value=1>View Encoded
<br><input type=submit value=Submit>
</form>
<p>
View the <a href="html_encoder_sample.phps">source</a> for this script.
</body>
</html>