Links:
".stripslashes($row["CatName"])."\n"; print "
\n"; // Next loop: links // First, English links $sqlstmt2="SELECT LinkName,URL,LinkDesc FROM links WHERE CatID='".$row["ID"]."' AND Language='' ORDER BY sortorder ASC"; @$result2=mysql_query($sqlstmt2); if (mysql_num_rows($result2)!=0) { while ($row2=mysql_fetch_assoc($result2)) { if ($row2["LinkName"]!="") { print "".$row2["LinkName"].""; } if ($row2["LinkDesc"]!="") { if ($row["ID"]==2) // Promotions/Concerts { print "\n"; } } ?>
\n"; } else { print " - "; } print nl2br(stripslashes($row2["LinkDesc"]))."
\n"; } if ($row2["LinkDesc"]=="") { print "
\n"; } } } // Then, foreign links $sqlstmt2="SELECT LinkName,URL,LinkDesc,Language FROM links WHERE CatID='".$row["ID"]."' AND Language<>'' ORDER BY Language, sortorder ASC"; @$result2=mysql_query($sqlstmt2); if (mysql_num_rows($result2)!=0) { $currlang=""; while ($row2=mysql_fetch_assoc($result2)) { if ($currlang!=$row2["Language"]) { print "
".$row2["Language"]." Sites:
"; $currlang=$row2["Language"]; } print " ".$row2["LinkName"].""; if ($row2["LinkDesc"]!="") { print "
\n".nl2br(stripslashes($row2["LinkDesc"])); } print "
\n"; } } print "
This Petra Webring site is owned by
Curtis Jones.
This Webring is made
possible by our friends at
[Join] [Skip Previous] [Previous] [Next] [Skip Next]
[Random Site] [Next 5] [List Sites] [Ring Statistics]