function SaveSetBan($Xip_ban) { $file = fopen("slogs/spam.log", "w"); fwrite($file, $Xip_ban); fclose($file); SC_clean(); }
</div> </div> </form> <hr /> <form id="fad_cacheclean" action="admin.php" method="post"> <div class="form-group row"> <div class="col-xs-12"> <button class="btn btn-outline-danger col-xs-12 float-xs-right text-xs-right" type="submit">' . adm_translate("Vider le répertoire cache") . ' <i class="fa fa-trash-o fa-lg"></i></button> </div> </div> <input type="hidden" name="op" value="supercache_empty" /> </form>'; adminfoot('fv', '', '', ''); } switch ($op) { case 'supercache_save': save_supercache($xsupercache, $xt_index, $xt_article, $xt_sections, $xt_faq, $xt_links, $xt_forum, $xt_memberlist, $xt_modules); global $aid; Ecr_Log('security', "ChangeSuperCache({$xsupercache}, {$xt_index}, {$xt_article}, {$xt_sections}, {$xt_faq}, {$xt_links}, {$xt_forum}, {$xt_memberlist}, {$xt_modules}) by AID : {$aid}", ''); Header("Location: admin.php?op=supercache"); break; case 'supercache_empty': SC_clean(); global $aid; Ecr_Log('security', "EmptySuperCache() by AID : {$aid}", ''); Header("Location: admin.php?op=supercache"); break; default: main(); break; }