Codice PHP:
<?php 
if(ereg("index\.php"$_SERVER['PHP_SELF']) || ereg("viewforum\.php"$_SERVER['PHP_SELF']) || ereg("viewtopic\.php"$_SERVER['PHP_SELF']) || ereg("search\.php"$_SERVER['PHP_SELF']) || ereg("userlist\.php"$_SERVER['PHP_SELF'])) {
include(
"chat/htmlcode.dat");
}
?>

sicuramente si può fare di meglio...