'; $i++; } echo '
'Home' and xgroup='Home' order by xposition asc"; $result=mysql_query($sql,$db); while ($myrow=mysql_fetch_array($result)) { switch ($i){ case '1': $lmargin='8px'; $tmargin='3px'; break; case '2': $lmargin='51px'; $tmargin='12px'; break; case '3': $lmargin='76px'; $tmargin='17px'; break; case '4': $lmargin='84px'; $tmargin='22px'; break; case '5': $lmargin='78px'; $tmargin='28px'; break; case '6': $lmargin='59px'; $tmargin='21px'; break; case '7': $lmargin='23px'; $tmargin='19px'; break; default: $lmargin='1px'; $tmargin='1px'; break; } $safepage=urlencode($myrow['pagename']); $introlinks.='
'.$myrow['pagename'].'
'.$introlinks.'
'; ?>