?> </ul> </div> <div class="label gbform"> <label class="label"> <span class="field">Enviar Arquivos:</span> <input type="file" multiple name="files[]" /> </label> <?php $delfl = filter_input(INPUT_GET, 'fldel', FILTER_VALIDATE_INT); if ($delfl) { require_once '_models/AdminPost.class.php'; $DellGallery = new AdminPost(); $DellGallery->flRemove($delfl); WSErro($DellGallery->getError()[0], $DellGallery->getError()[1]); } ?> <ul class="gallery"> <?php $gbi = 0; $Files = new WsPostsFile(); $Files->setPost_id($postid); $Files->Execute()->Query("#post_id#"); if ($Files->Execute()->getResult()) { foreach ($Files->Execute()->getResult() as $gb) { $gbi++; ?>