diff options
author | ichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8> | 2008-09-14 23:54:13 +0000 |
---|---|---|
committer | ichdasich <ichdasich@29ba0400-6e00-0410-a75a-ca02368028f8> | 2008-09-14 23:54:13 +0000 |
commit | 9e0f67059cca84566e07c0eacbe5465d54302f70 (patch) | |
tree | 717cb1384e21dfe28c1e6eb9c5793b97c2978e20 /www-ssl/inc/funktion_counter.php | |
parent | 4f7aae82f86916200d881cdbe4da5e151d080271 (diff) |
removed /inc due obsolation
git-svn-id: svn://svn.cccv.de/engel-system@286 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc/funktion_counter.php')
-rw-r--r-- | www-ssl/inc/funktion_counter.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/www-ssl/inc/funktion_counter.php b/www-ssl/inc/funktion_counter.php deleted file mode 100644 index 70b104d4..00000000 --- a/www-ssl/inc/funktion_counter.php +++ /dev/null @@ -1,24 +0,0 @@ -<?PHP - -$SQL = "SELECT `Anz` FROM `Counter` WHERE `URL`=\"". $Page["Name"]. "\""; -$Erg = mysql_query($SQL, $con); - -echo mysql_error($con); - -if(mysql_num_rows($Erg)==0) -{ -// echo "Counter: 1"; - $SQL = "INSERT INTO `Counter` ( `URL` , `Anz` ) ". - "VALUES ('". $Page["Name"]. "', '1');"; - $Erg = mysql_query($SQL, $con); -} -elseif(mysql_num_rows($Erg)==1) -{ -// echo "Counter: ". (mysql_result($Erg, 0, 0)+1); - $SQL = "UPDATE `Counter` SET `Anz` = '". (mysql_result($Erg, 0, 0) +1). "' ". - "WHERE `URL` = '". $Page["Name"]. "' LIMIT 1 ;"; - $Erg = mysql_query($SQL, $con); -} - - -?> |