/* rotation addon */

if($action=='vthread'){
if(isset($_GET['topic'])) $sig1=$_GET['topic']+0; elseif(isset($_POST['topic'])) $sig1=$_POST['topic']+0; else $sig1=0;
if($sig1>10) $last=substr($sig1,-1); else $last=$sig1;
$file=$GLOBALS['pathToFiles'].'rotate/'.$last.'.inc';
if(file_exists($file)) $rotate10='<table class="tbTransparent"><tr><td>'.file_get_contents($file).'</td></tr></table>';
}

/* --rotation addon */