Hi to all, here comes torrent-edit.php, torrents-upload.php and function.php
Version: 2.5
PHP: 5.6.4
Apache: 2.4.39
MariaDB: 10.2.36
torrent-edit.php
Code:
<?php
if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "freeleech = '".$_POST["freeleech"]."'";
//webseed
if ($CURUSER["edit_torrents"] == "yes")
$updateset[] = "webseed = '".$_POST["webseed"]."'";
//webseed
stdfoot();
?>