File indexing completed on 2024-12-22 05:33:22

0001 <?php
0002 
0003 include("gfx3/lib.php");
0004 
0005 $idcontent = EHeaderDataParser::db_get("id");
0006 $n = EHeaderDataParser::db_get("n");
0007 
0008 echo "<div class=\"modal-header\">
0009     <button type=\"button\" class=\"close\" data-dismiss=\"modal\">×</button>
0010     <h3>Upload a screenshot</h3>
0011     </div>
0012     
0013     <form class=\"form-horizontal\" action=\"/addScreenShotGameAction.php\" enctype=\"multipart/form-data\" target=\"_self\" method=\"post\">
0014     <div class=\"modal-body\">
0015     <fieldset>
0016     
0017     <div class=\"control-group\">
0018     <label class=\"control-label\" for=\"name\">Image</label>
0019     <div class=\"controls\">
0020     <input type=\"file\" name=\"localfile\" class=\"input-xlarge\" id=\"localfile\">
0021     <input type=\"hidden\" name=\"idcontent\" class=\"input-xlarge\" id=\"idcontent\" value=\"$idcontent\">
0022     <input type=\"hidden\" name=\"number\" class=\"input-xlarge\" id=\"number\" value=\"$n\">
0023       <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"10000000\" /> 
0024     </div>
0025     </div>
0026     
0027     </fieldset>
0028     
0029     </div>
0030     <div class=\"modal-footer\" style=\"background-color:#FFFFFF;\">
0031     <input type=\"submit\" class=\"btn btn-primary\" value=\"Next\">
0032     </div>
0033     
0034     </form>";
0035 
0036 ?>