rendered paste body<?phpinclude('../php/session.php');require_once('../php/fetchContent.php');if($_SESSION['logged']==0){ echo '<script>alert(\'You must log in first.\');history.back();</script>'; die();}$box = $_GET["box"];$app = new fetchContent();$boxArr = $app->fetchForBox($box);$app->closeConnection();?> <html> <head><TITLE>Update tool for Atope</TITLE></head> <form> <form action="update2.php" enctype="multipart/form-date" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000"> <input type="hidden" name="box" value="<?php echo $box; ?>"> <?php if($box==1){ ?> <h2>Left Box</h2> <?php }else{ ?> <h2 Right Box</h2> <?php } ?> <table> <tbody> <tr> <td>Title:</td> <td><input type="file" name="titulo">Antigo:<?php echo $boxArr[0]; ?></td> </tr> <tr> <td>Image:</td> <td><input type="file" name="image">Antigo:<?php echo $boxArr[2]; ?></td> </tr> <tr> <td>Text:</td> <td><textarea name="text"><?php echo $boxArr[1]; ?></textarea></td> </tr> </tbody> </table> <input type="submit" value="Update"> </form> </body>