public function API_hits($id = null) { $id === null && ($id = (int) $_GET['id']); if ($id) { $sql = iCMS::hits_sql(); iDB::query("UPDATE `#iCMS@__article` SET {$sql} WHERE `id` ='{$id}'"); } }