'; $se = browser('http://forum.searchengines.ru/'); preg_match_all('/\"forumdisplay\.php?.*f=(\w+)\">(.*)<\/strong><\/a>/Usi', $se, $cats); foreach($cats[1] as $key => $cat) { if($cat != $_POST['forumdisplay']) echo '\n"; else echo '\n"; } echo "\n"; if(isset($_POST['forumdisplay'])) { echo '\n"; } echo ''; if(isset($_POST['showthread'])) { $content = browser('http://forum.searchengines.ru/showthread.php?t='.$_POST['showthread']); preg_match_all('/\t\t\r\n\t\t(.*)<\/div>\r\n\t\t/Usi', $content, $message); echo '
'.$message[1][0].'
'; } ?>