<?php
!function_exists('html') && exit('ERR');
$db->query("UPDATE `{$_pre}special` SET hits=hits+1,lastview='$timestamp' WHERE id='$id'");
$rs=$db->get_one(" SELECT hits FROM {$_pre}special WHERE id='$id' ");
echo "if(parent.document.getElementById('hits')!=null)parent.document.getElementById('hits').innerHTML='$rs[hits]';";
?>