Languages :: PHP :: Mod please help |
|||
| By: Tool123 |
Date: 21/09/2003 00:00:00 |
Points: 125 | Status: Answered Quality : Excellent |
|
<div align=center> <center> <table border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=" . $tableborder . " width=500> <tr> <td width=100% bgcolor=" . $tableheader . "><center><font color=" . $tableheadfont . "><b>" . $lang['recommended'] . ":</b></font></td> </tr> <tr> <td width=100% bgcolor=" . $tablebody . ">"; if($cat == ""){ $cat = "1"; } $wyn = "SELECT * FROM toplista WHERE active='y' && banner<>'' && category='$cat' ORDER BY RAND() LIMIT 1"; $wykonaj = mysql_query($wyn); $znaleziono = mysql_num_rows($wykonaj); $tab = mysql_fetch_row($wykonaj); $urlb = $tab[1]; print "<center> <a href=out.php?id=".$tab[7]."&url=".$tab[1]." target=_blank><img src=".$tab[3]." border=0></a> </b></td></tr></table>"; ?> as you guys can see that there is a table called recommended and a banner inside now it has it set up for the person who has the most incoming can u guys alter it to have the banner <A HREF="http://blueshadowz.com">http://blueshadowz.com</a> and url for img <A HREF="http://blueshadowz.com/rope2.gif">http://blueshadowz.com/rope2.gif</a> if u guys are confused i mean "<center> <a href=out.php?id=".$tab[7]."&url=".$tab[1]." target=_blank><img src=".$tab[3]." border=0></a> </b></td></tr></table>"; that part looks like the banner part thanks |
|||
| By: VGR | Date: 21/09/2003 00:37:00 | Type : Answer |
|
| sure :D <div align=center> <center> <table border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=" . $tableborder . " width=500> <tr> <td width=100% bgcolor=" . $tableheader . "><center><font color=" . $tableheadfont . "><b>" . $lang['recommended'] . ":</b></font></td> </tr> <tr> <td width=100% bgcolor=" . $tablebody . ">"; if($cat == ""){ $cat = "1"; } $wyn = "SELECT * FROM toplista WHERE active='y' && banner<>'' && category='$cat' ORDER BY RAND() LIMIT 1"; $wykonaj = mysql_query($wyn); $znaleziono = mysql_num_rows($wykonaj); $tab = mysql_fetch_row($wykonaj); $urlb = $tab[1]; // hardcoded modification $tab[3]='<A HREF="http://blueshadowz.com/rope2.gif">http://blueshadowz.com/rope2.gif</a>'; // below was : out.php?id=".$tab[7]."&url=".$tab[1]." //EoHardcode print "<center> <a href=<A HREF="http://blueshadowz.com">http://blueshadowz.com</a> target=_blank><img src=".$tab[3]." border=0></a> </b></td></tr></table>"; ?> |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








