summaryrefslogtreecommitdiff
path: root/includes/sys_counter.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_counter.php')
-rw-r--r--includes/sys_counter.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/includes/sys_counter.php b/includes/sys_counter.php
deleted file mode 100644
index 40110165..00000000
--- a/includes/sys_counter.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-function counter() {
- global $p;
-
- if (sql_num_query("SELECT `Anz` FROM `Counter` WHERE `URL`='" . sql_escape($p) . "'") == 0)
- sql_query("INSERT INTO `Counter` ( `URL` , `Anz` ) VALUES ('" . sql_escape($p) . "', '1');");
- else
- sql_query("UPDATE `Counter` SET `Anz` = `Anz` + 1 WHERE `URL` = '" . sql_escape($p) . "' LIMIT 1 ;");
-}
-?>