Download Counter, автор Vanguard Author: Tapac Version: 1.5.rus Author URI: http://www.cybercore.ru */ // plugin folder name (only change this if deemed necessary) $downloadCounter_folder = "DownloadCounterModEus/"; $downloadShortPath = "/download"; $downloadCounter_table = $table_prefix."downloads"; require_once(ABSPATH . 'wp-content/plugins/'.$downloadCounter_folder.'functions.inc.php'); // standard routines downloadCounter_check_table(); // administration panel function downloadCounter_admin() { if (function_exists('add_options_page')) { add_options_page('DownloadCounter панель управления', 'DownloadCounterModRus', 8, basename(__FILE__), 'downloadCounter_admin_page'); } } function downloadCounter_admin_page() { global $downloadCounter_table, $downloadCounter_folder, $downloadShortPath; if (isset($_POST['dCounter_edit'])) { // updating settings mysql_query("UPDATE $downloadCounter_table SET label = '".addslashes($_POST['_label'])."', file = '".addslashes($_POST['_file'])."', downloads = '".addslashes($_POST['_downloads'])."' WHERE id = '".addslashes($_POST['_id'])."'"); ?>
Файл успе�?но обновлен.
Файл # успе�?но удалён из списка файлов.
Файл успе�?но добавлен в список.