move associated topics from bottom to right.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   move associated topics from bottom to right.
stclem
CZ Super Newbie
Age: 46
Gender: Male
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 85
Points: 4,060
   
i have tryed to move the associated topics for the bottom and put it in right under the related topic.

this is the code i tryed to copy from associated.php, but i do not get it to work, do not understand how to put the code in the file right.

$boxtitle = ""._RELATED."";
$boxstuff = "<font class=\"content\">";
$result8 = $db->sql_query("select name, url from ".$prefix."_related where tid='$topic'");
while ($row8 = $db->sql_fetchrow($result8)) {
   $name = stripslashes($row8['name']);
   $url = stripslashes($row8['url']);
    $boxstuff .= "<strong><big>·;</big></strong> ;;<a href=\"$url\" target=\"new\">$name</a><br>\n";
}

{

    $asso_t = explode("-",$arow[associated]);
    for ($i=0; $i<sizeof($asso_t); $i++) {
   if ($asso_t[$i] != "") {
       $atop = $db->sql_fetchrow($db->sql_query("SELECT topicimage, topictext from ".$prefix."_topics WHERE topicid='$asso_t[$i]'"));
       echo "";
   }
    }
}


$boxstuff .= "<strong><big>·;</big></strong> ;;<a href=\"modules.php?name=News&amp;new_topic=$topic\">"._MOREABOUT." $topictext</a><br>\n";
// $boxstuff .= "<strong><big>·;</big></strong> ;;<a href=\"search.html&amp;author=$aid\">"._NEWSBY." $aid</a>\n";


$boxstuff .= "- <a href=\"modules.php?name=$module_name&new_topic=$asso_t[$i]\">$atop[topictext] sds</a><br>\n";

$boxstuff .= "</font><br><hr noshade width=\"95%\" size=\"1\"><center><font class=\"content\"><b>"._MOSTREAD." $topictext:</b><br>\n";



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum