Well, you could make your index.php something like this:
PHP Code:
<?php
$page = $_REQUEST["page"];
if (empty($page))
$page = "forums.php"; // or whatever your home page is...
?>
<frameset framespacing="0" border="0" frameborder="0" rows="0,*">
<frame id="radio" name="radio" scrolling="no" noresize target="main" src="radio/play.php" marginwidth="0" marginheight="0">
<frame id="main" name="main" src="<?php echo $page ?>">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
and then in a page you could have something like
Code:
<script type="text/javascript">
function loadframes()
{
var page = document.location.href;
page = page.substring(page.lastIndexOf('/') + 1, page.length) ;
document.location.href = "index.php?page=" + encodeURI(page);
}
</script>
...
<BODY onload="if (self==top) loadframes();">
And it would load itself in to the frames. The problem is that I don't know how you'd get that in to every page, and what you'd do if a page already had an "onload" attribute.
ETA: Maybe you could have a "start radio" link or button instead of having it load automatically? That might be easier to add to every page.