
ive got this block im using ya can view it on my site. http://cod4domain.net its the last one on the left showing scrolly links.
Anyways the code is.
Code: Select all
<script type="text/javascript" src="includes/visible.js"></script>
<?php
if ( !defined('BLOCK_FILE') ) {
die("Illegal Block File Access");
}
global $prefix, $db, $nukeurl, $sitename;
$row = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_linkus"));
$conf = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_linkus_conf"));
/****[ Settings Start ]****/
$height = $conf['height'];
$amount = $conf['amount'];
$direction = $conf['direction'];
$fade = $conf['fade'];
$marquee = $conf['marquee'];
$seperation = $conf['seperation'];
$site_image = $conf['site_image'];
if($fade == 1){
$settings = 'width="88" height="31" border="0" style="filter:alpha(opacity=60);-moz-opacity:0.6" onMouseOver="makevisible(this,0)" onMouseOut="makevisible(this,1)"';
}else{
$settings = 'width="88" height="31" border="0"';
}
$ourlink = '<a href="'.$nukeurl.'" target="_blank"><img border=0 src="'.$site_image.'" alt="'.$sitename.'" title="'.$sitename.'" width=88 height=31></a><br>';
/****[ Settings End ]****/
$content .= '<center><img src="'.$site_image.'"></center><br />';
$content .= '<center><span class="content"><textarea name="text" rows="4" cols="15">'.$ourlink.'</textarea></span></center><br><hr noshade>';
if($marquee == 1){
$content .= "<marquee direction='".$direction."' scrollamount='".$amount."' height='".$height."' onMouseover='this.stop()' onMouseout='this.start()'>";
}
$sql = "SELECT id, image, link FROM ".$prefix."_linkus";
$result = $db->sql_query($sql);
while (list($id, $image, $link) = $db->sql_fetchrow($result)) {
$content .= "<br><center><a href='".$link."'><img src='".$image."' ".$settings."></a><br>".$seperation."</center>";}
if($marquee == 1){
$content .= "</marquee>";
}
$content .= "<br><div align='right'>© <a href='http://www.darkforgegfx.com' alt='DarkForge GFX' title='DarkForge GFX' target='_blank'>DarkForgeGFX</a></div>";
$content .= "<br><div align='right'>© <a href='<a href="http://www.codjumper.com" target="_blank"><img src="http://www.codjumper.com/images/codjumper_88x31.gif" border="0" alt="CoDJumper.com - For all your CoDJumping needs!"></a><br>
?>
Code: Select all
<a href="http://www.codjumper.com" target="_blank"><img src="http://www.codjumper.com/images/codjumper_88x31.gif" border="0" alt="CoDJumper.com - For all your CoDJumping needs!"></a>
Do you know of any good working PHP-Block Link scripts i can use.??? IVer tried several myself and each one i use does the same thing.
Hope ya can help


Steve