- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$query = 'SELECT `views` FROM `'.PREFIX.'_newsi` WHERE `id` = '.$item["id"];
$result = $kernel->runSQL($query);
$count;
if (mysql_num_rows($result)) {
$count = mysql_result($result,"views");
$query = 'UPDATE `'.PREFIX.'_newsi` SET `views` = "'.++$count.'" WHERE `id` ='.$item["id"];
$kernel->runSQL($query);
}
scalar4eblo4no 05.04.2011 11:15 # +2
Lure Of Chaos 05.04.2011 15:40 # +1
GhOsTMZ 06.04.2011 12:52 # 0
SIGSEGV 05.04.2011 12:52 # +2
Lure Of Chaos 05.04.2011 15:41 # −2
bugmenot 05.04.2011 13:36 # +2
Lure Of Chaos 05.04.2011 15:42 # 0
bugmenot 05.04.2011 17:09 # 0
Lure Of Chaos 05.04.2011 17:10 # +1
rO_ot 05.04.2011 19:57 # +2
cecilie 24.08.2021 01:03 # 0
Acid Beast 24.08.2021 02:10 # 0