View Single Post
  #2 (permalink)  
Old 05-20-2003, 02:15 PM
BlueDry BlueDry is offline
Junior Member
 
Join Date: Apr 2003
Posts: 7
You just need to create a new block and put it into you block directory and enable it after. Your block could look like this :

Code:
<?php

if (eregi("block-Local_radio.php", $PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi, $admin;

    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/module.php")) {
	include("themes/$ThemeSel/module.php");
	if (is_active("$default_module") AND file_exists("modules/$default_module/index.php")) {
	    $def_module = $default_module;
	} else {
	    $def_module = "";
	}
    }


    /* Now we make the Modules block with the correspondent links */


	$content .= "<big>&</big>&<a href=\"modules.php?name=Web_Links&l_op=viewlink&cid=3\">Local Radio</a>
\n";



?>

BlueDry
Reply With Quote