*firstly, puts it in [ php][/ php] tags*
PHP Code:
<table align="center" class="specialtable"> <tr> <td><?
include "nwc_admin/db.php";
$x1 = mysql_query("select * from linkscript_words order by rand()"); $row = mysql_fetch_array($x1);
echo "<span style=\"line-height: 200%; font-size: 14px; letter-spacing: 0.5px; word-spacing: 5px; margin-top: 5; margin-bottom: 5;\">";
while($row) { $wid = $row['wid']; $text = $row['text']; $taken = $row['taken']; if($taken==0) { $ahref = str_replace(" ","-",$text); $ahref= $wid . "-claim-" . $ahref . ".html"; echo "<a href=\"$ahref\">$text</a> "; } else { $var1 = mysql_query("select * from linkscript_addons where wid='$wid'"); $res = mysql_fetch_array($var1); $link = $res['link']; $mouseover = $res['mouseovertext']; $customcolor = $res['customcolor']; $fontcolor = $res['fontcolor']; $fontsize = $res['fontsize']; $name = $res['name']; $ahref = "<a href=\"$link\" title=\"$mouseover\" target=_blank>"; if($customcolor) $ahref .= "<font color=\"#" . $customcolor "\""; else if($fontcolor==1) $ahref#000000\#008080\#00FF00\#800000\#FF0000\#000080\#A8B7F2\#FF9900\#800080\""; if($fontsize==2); $fontdecoration = $res['fontdecoration']; if(strstr($fontdecoration,"1")) $f1 = 1;"2")) $f2 = 1;"3")) $f3 = 1;"4")) $f4 = 1; if(strstr($ahref,"><font")) $ahref .= " style=\""; else $ahref .= "<font style=\""; if($f1==1) $ahref .= "font-weight: bold;"; if($f2==1) if($f3==1) if($f4==1)>$text</font></font></a><font color=\"#" . $customcolor "\""; else if($fontcolor==1) $ahref#000000\#008080\#00FF00\#800000\#FF0000\#000080\#A8B7F2\#FF9900\#800080\""; if($fontsize==2); $fontdecoration = $res['fontdecoration']; if(strstr($fontdecoration,"1")) $f1 = 1;"2")) $f2 = 1;"3")) $f3 = 1;"4")) $f4 = 1; if(strstr($ahref,"> "; echo $ahref; } $row = mysql_fetch_array($x1); } echo "<p align=\"center\"><a href=\"suggest.php\"><font size=\"2\" color=\"#000000\">Suggest a word</font></a><p></p>"; echo "</font></span><font color=\"#" . $customcolor "\""; else if($fontcolor==1) $ahref#000000\#008080\#00FF00\#800000\#FF0000\#000080\#A8B7F2\#FF9900\#800080\""; if($fontsize==2); $fontdecoration = $res['fontdecoration']; if(strstr($fontdecoration,"1")) $f1 = 1;"2")) $f2 = 1;"3")) $f3 = 1;"4")) $f4 = 1; if(strstr($ahref,">";
?> <br /> <p align="center" class="specialtabletext">Powered by <a href="http://www.nichewordcloud.com/index.php?id=1" class="specialtablelink">Niche Word Cloud</a><p><p></p></td> </tr> </table></font>
What line does the error occur? You seemed to have put ... where the rest of the error thingy is.
__________________
My Blog/Site: Please login or register to view this content. Registration is FREE
Last edited by rogem002; 08-15-2008 at 06:13 PM..
|