<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Topic &#x27;Need some html help please&#x27; in forum &#x27;Webmasters and Developers&#x27; - dslreports.com</title>
<link>http://www.dslreports.com/forum/Need-some-html-help-please-22295398</link>
<description></description>
<language>en</language>
<pubDate>Tue, 21 May 2013 00:10:48 EDT</pubDate>
<lastBuildDate>Tue, 21 May 2013 00:10:48 EDT</lastBuildDate>

<item>
<title>Re: Need some html help please</title>
<link>http://www.dslreports.com/forum/Re-Need-some-html-help-please-27980980</link>
<description><![CDATA[Ashke posted : Just posting a cleaner entry of the OP's php...<br><br><pre class="brush: php">&lt;?php &#012;function main()&#012;{&#012;  &#012;//global $sbico_search;&#012;$config=mysql_fetch_array(mysql_query("select * from sb_host_config"));&#012;  &#012;$sb_cat_listing=$config&#91;"sb_cat_listing"&#93;;&#012;  &#012;$policies=mysql_fetch_array(mysql_query("select * from sb_host_policies"));&#012;$cid=0;&#012;  &#012;$sb_suspended_ids='-2';//'coz -1 is used 2 denote admin plans&#012;$sbq_sus="select * from sb_host_members where sb_suspended!='no'";&#012;$sbrs_sus=mysql_query($sbq_sus);&#012;while($sbrow_sus=mysql_fetch_array($sbrs_sus))&#012;$sb_suspended_ids.=", ".$sbrow_sus&#91;"sb_id"&#93;;&#012;  &#012;                   &#012;  &#012;?&gt;&#012;&lt;table width="100%" border="0" cellspacing="10" cellpadding="2" class="maintablestyle"&gt;&#012;&lt;tr&gt;&#012;    &lt;td valign="top"&gt;&lt;table width="95%" border="0" align="center" cellpadding="2" cellspacing="0" class="onepxtable"&gt;&#012;        &lt;tr&gt; &#012;            &lt;td align="justify" class="innertablestyle"&gt;&lt;?php&#012;echo $policies&#91;"sb_welcome_msg"&#93;;&#012;            ?&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt;&lt;table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="onepxtable"&gt;&#012;        &lt;tr&gt; &#012;          &lt;form name="form1" method="post" action="search_result.php"&gt;&#012;            &lt;td width="100%" align="center" valign="middle" class="innertablestyle"&gt;&#012; &#012;              &lt;input name="keyword" type="text" size="25"&gt;&#012;              &lt;select name="cid" id="cid" &gt;&#012;                &lt;option value="0"&gt;Choose a category&lt;/option&gt;&#012;                &lt;?php&#012;  &#012;$sbcat_arr=array();&#012;$sbord_arr=array();&#012;$rs_query=mysql_query("select * from sb_host_categories order by sb_pid");&#012;  &#012;while($rst=mysql_fetch_array($rs_query))&#012;{&#012;$cat_path="";&#012;$child=mysql_fetch_array(mysql_query("select * from sb_host_categories where sb_pid=".$rst&#91;"sb_id"&#93;));&#012;if($child)&#012;continue;&#012;$cat_path.=$rst&#91;"sb_cat_name"&#93;;&#012;$par=mysql_query("select * from sb_host_categories where sb_id=".$rst&#91;"sb_pid"&#93;);&#012;while($parent=mysql_fetch_array($par))&#012;{&#012;$cat_path=$parent&#91;"sb_cat_name"&#93;."-".$cat_path;&#012;$par=mysql_query("select * from sb_host_categories where sb_id=".$parent&#91;"sb_pid"&#93;);&#012;}&#012;$sbcat_arr&#91;$rst&#91;"sb_id"&#93;&#93;=$cat_path;&#012;$sbord_arr&#91;$rst&#91;"sb_id"&#93;&#93;=$rst&#91;"sb_order_index"&#93;;&#012;?&gt;&#012;&lt;!--option value="&lt;?php echo $rst&#91;"sb_id"&#93;;?&gt;" &gt;&lt;?php echo $cat_path;?&gt;&lt;/option--&gt;&#012;&lt;?php&#012;}&#012;if($sb_cat_listing=='alpha')&#012;{&#012;asort($sbcat_arr);&#012;foreach($sbcat_arr as $sbkey =&gt; $sbval)&#012;{&#012;echo '&lt;option value="'.$sbkey.'"';&#012;//echo($sbkey==$cats)?'selected':'';&#012;echo ' &gt;'.$sbval.'&lt;/option&gt;';&#012;}&#012;}&#012;else&#012;{&#012;asort($sbord_arr);&#012;foreach($sbord_arr as $sbkey =&gt; $sbval)&#012;{&#012;echo '&lt;option value="'.$sbkey.'"';&#012;//echo($sbkey==$cats)?'selected':'';&#012;echo ' &gt;'.$sbcat_arr&#91;$sbkey&#93;.'&lt;/option&gt;';&#012;}&#012;}&#012;  ?&gt;&#012;              &lt;/select&gt;&#012;              &lt;font class='normal'&gt;&amp;nbsp;              &lt;/font&gt;&#012;              &lt;input type="submit"  name="Submit" value="Search"&gt;&#012;              &lt;a href="advance_search.php" class="small_link"&gt;Advance Search&lt;/a&gt; &#012;              &#012; &#012;              &#012; &#012;            &lt;/td&gt;&#012;          &lt;/form&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;   &#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt; &lt;table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" &gt;&#012;        &lt;tr&gt; &#012;          &lt;td&gt;&lt;font class="normal"&gt;&lt;b&gt;Browse Category&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;        &lt;tr &gt; &#012;          &lt;td class="onepxtable"&gt;&lt;table width="100%" border="0" cellspacing="1" cellpadding="2" class="innertablestyle"&gt;&#012;              &lt;/tr&gt;&#012;  &lt;?php&#012;  &#012;  &#012;  &#012;  $cats_sql="select * from sb_host_categories where sb_pid=$cid ";&#012;if($config&#91;"sb_cat_listing"&#93;=="alpha")&#012;{&#012;$cats_sql.=" order by sb_cat_name";&#012;}&#012;else&#012;{&#012;$cats_sql.="  order by sb_order_index";&#012;}&#012;  &#012;$cats_query=mysql_query($cats_sql);&#012;$cnt=1;&#012;                   &#012;  &#012;   &#012;  &#012;while($cats=mysql_fetch_array($cats_query))&#012;{&#012;    &#012;  &#012;$rst_query=mysql_query("Select * from sb_host_categories where sb_pid=".$cats&#91;"sb_id"&#93; );&#012;$clist=$cats&#91;"sb_id"&#93;;&#012;while ( $rst=mysql_fetch_array($rst_query) )&#012;{&#012; $clist.="," . $rst&#91;"sb_id"&#93;;&#012;$thislist="-1," . $rst&#91;"sb_id"&#93;;&#012;while ( $rst=mysql_fetch_array($rst_query) )&#012;{ &#012;$clist.="," . $rst&#91;"sb_id"&#93;;&#012;$thislist.="," . $rst&#91;"sb_id"&#93;;&#012;//echo $rst&#91;"sbcat_id"&#93;;&#012;}&#012;   $rst_query=mysql_query("Select * from sb_host_categories where sb_pid in (" . $thislist . ")" );&#012;}&#012;  &#012;$sbcat_str= " and  sb_cat IN (" .$clist . ")" ;&#012;  &#012;$sbq_job_cat="select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) $sbcat_str and (auction_period= -1 or  UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now())) ";&#012;$sbtotal=mysql_num_rows(mysql_query($sbq_job_cat));&#012;  &#012;if($cnt%3==1)&#012;{&#012;  ?&gt;&#012;              &lt;tr&gt; &#012;                &lt;td width="20"&gt;&amp;nbsp;&lt;/td&gt;&#012;                &lt;?php&#012;  }&#012;  ?&gt;&#012;                &lt;td align="left"&gt;&lt;font class='normal'&gt; &lt;a href="&lt;?php echo cat_url($cats&#91;"sb_id"&#93;);?&gt;"&gt; &#012;                  &lt;?php echo $cats&#91;"sb_cat_name"&#93;; ?&gt;&lt;/a&gt;(&lt;?php echo $sbtotal; ?&gt;)&lt;/font&gt;&lt;?php&#012;  &#012;?&gt;&lt;/td&gt;&#012;                &lt;?php&#012;  if($cnt%3==0)&#012;  {&#012;  ?&gt;&#012;              &lt;/tr&gt;&#012;              &lt;?php&#012;  }&#012;  $cnt++;&#012;}&#012;?&gt;&#012;            &lt;/table&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt; &#012;&lt;?php  &#012;  &#012;                   &#012;  &#012;      $max_allowed=$config&#91;"sb_featured_cnt"&#93;;&#012;$sbq_plans="select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) and sb_ft_feature='yes' and (auction_period= -1 or UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now()))";&#012;//echo $sbq_plans;&#012;$ff_plans_q=mysql_query($sbq_plans);&#012;  &#012;  &#012;  $num_rows=mysql_num_rows($ff_plans_q);&#012;  &#012;  &#012;if(($config&#91;"sb_featured_cnt"&#93;!=0) &amp;&amp; ($num_rows!=0)) {?&gt;&#012;      &lt;table width="85%" border="0" align="center" cellpadding="0" cellspacing="1" class="onepxtable"&gt;&#012;        &lt;tr class="titlestyle"&gt; &#012;          &lt;td width="31%"&gt;&amp;nbsp;Featured Plans&lt;/td&gt;&#012;          &lt;td width="17%"&gt;&amp;nbsp;Monthly Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Setup Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Disk Space&lt;/td&gt;&#012;          &lt;td width="24%"&gt;&amp;nbsp;Bandwidth&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php //&#012;      // $ff_plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' and &#012;//sb_ft_feature='yes'");&#012;  &#012; // $num_rows=mysql_num_rows($ff_plans_q);&#012;  &#012;unset($number);&#012;$number&#91;0&#93;=-1;&#012;if($num_rows&gt;$max_allowed)&#012;{&#012;for($i=0;$i&lt;$max_allowed;$i++)&#012;{&#012;$unique=0;&#012;while($unique==0)&#012;{&#012;$j=rand(0,$num_rows-1);&#012;for($k=0;$k&lt;count($number);$k++)&#012;{&#012;  &#012;if($number&#91;$k&#93;==$j)&#012;break;&#012;}&#012;if($k&gt;(count($number)-1))&#012;{&#012;$unique=1;&#012;}&#012;}&#012;$number&#91;$i&#93;=$j;&#012;  &#012;}&#012;}&#012;  &#012;  &#012;  &#012;$row=0;&#012;$cnt=0;&#012;$ff_plans=mysql_fetch_array($ff_plans_q);&#012;while (($ff_plans)&amp;&amp;($cnt&lt;$max_allowed))&#012;{&#012;$display=0;&#012;if($num_rows&gt;$max_allowed)&#012;{&#012;for($k=0;$k&lt;count($number);$k++)&#012;{&#012;if($number&#91;$k&#93;==$row)&#012;{&#012;$display=1;&#012;}&#012;}&#012;}&#012;else&#012;{&#012;$display=1;&#012;}&#012;  &#012;  &#012;                   &#012;  &#012;  &#012;  &#012;  &#012;  &#012;  &#012;if($display==1)&#012;{&#012;$comp=mysql_fetch_array(mysql_query("select comp from sb_host_members where sb_id=".$ff_plans&#91;"sb_host_id"&#93;));&#012;//where sb_id=".$ff_plans&#91;"sb_company_id"&#93;));&#012;  &#012;$rec_class="innertablestyle";&#012;if($cnt%2==0)&#012;{ $rec_class="alternatecolor"; }&#012;if($ff_plans&#91;"sb_highlight"&#93;=="yes")&#012;{ &#012;$rec_class="highlighted";&#012;if($cnt%2==0)&#012;{ $rec_class="highlighted1"; }&#012;}&#012;  &#012;?&gt;&#012;        &lt;tr class="&lt;?php echo $rec_class;?&gt;" height="25"&gt; &#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;a href="&lt;?php echo item_url($ff_plans&#91;"sb_id"&#93;);?&gt;"&gt;&lt;?php&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if(strlen($ff_plans&#91;"sb_title"&#93;)&gt;40)&#012;   echo substr($ff_plans&#91;"sb_title"&#93;,0,40)."...";&#012;   else&#012;   echo $ff_plans&#91;"sb_title"&#93;;&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;   //die();&#012;   ?&gt;&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_mprice"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$ff_plans&#91;"sb_mprice"&#93;;&#012;  &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_setup_fee"&#93;== -1)&#012;   echo "Free Setup";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$ff_plans&#91;"sb_setup_fee"&#93;;&#012;  &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&#012;            &amp;nbsp;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_disk_space"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $ff_plans&#91;"sb_disk_space"&#93;." MB";&#012;  &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&#012;            &lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//$query=mysql_num_rows(mysql_query("select * from sb_host_plandatabase where sb_plan_id=".$ff_plans&#91;"sb_id"&#93;));&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;    if($ff_plans&#91;"sb_bandwidth"&#93;== -1)&#012;echo 'Unlimited';&#012;else&#012;echo $ff_plans&#91;"sb_bandwidth"&#93;." GB";&#012;//echo $ff_plans&#91;"sb_bandwidth"&#93;;&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&lt;?php&#012;$cnt++;&#012;}//if display&#012;$ff_plans=mysql_fetch_array($ff_plans_q);&#012;$row++;&#012;}// end while&#012;      ?&gt;&lt;/table&gt;&lt;?php  }?&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt;&lt;?php &#012;  &#012;  &#012;                   &#012;  &#012;$plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) and (auction_period= -1 or  UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now())) order by sb_id desc");&#012;$num_rows=mysql_num_rows($plans_q);&#012;  &#012;  &#012;  &#012;  &#012;if(($config&#91;"sb_featured_cnt"&#93;!=0) &amp;&amp; ($num_rows!=0)) { ?&gt;&#012;      &lt;table width="55%" border="0" align="center" cellpadding="0" cellspacing="1" class="onepxtable"&gt;&#012;        &lt;tr class="titlestyle"&gt; &#012;          &lt;td width="31%"&gt;&amp;nbsp;Latest Plans&lt;/td&gt;&#012;          &lt;td width="17%"&gt;&amp;nbsp;Monthly Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Setup Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Disk Space&lt;/td&gt;&#012;          &lt;td width="24%"&gt;&amp;nbsp;Bandwidth&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php&#012;        //$plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' order by sb_id desc");&#012;//$num_rows=mysql_num_rows($plans_q);&#012;$cnt=0;&#012;while (($plans=mysql_fetch_array($plans_q))&amp;&amp;($cnt&lt;$max_allowed))&#012;{ &#012;  &#012;$rec_class="innertablestyle";&#012;if($cnt%2==0)&#012;{ $rec_class="alternatecolor"; }&#012;if($plans&#91;"sb_highlight"&#93;=="yes")&#012;{ &#012;$rec_class="highlighted";&#012;if($cnt%2==0)&#012;{ $rec_class="highlighted1"; }&#012;}&#012;  &#012;?&gt;&#012;        &lt;tr class="&lt;?php echo $rec_class;?&gt;" height="25"&gt; &#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;a href="&lt;?php echo item_url($plans&#91;"sb_id"&#93;);?&gt;"&gt;&lt;?php&#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { &#012;   echo "&lt;b&gt;";}&#012;   if(strlen($plans&#91;"sb_title"&#93;)&gt;40)&#012;   echo substr($plans&#91;"sb_title"&#93;,0,40)."...";&#012;   else&#012;   echo $plans&#91;"sb_title"&#93;;&#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;   ?&gt;&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_mprice"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$plans&#91;"sb_mprice"&#93;;&#012;  &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_setup_fee"&#93;== -1)&#012;   echo "Free Setup";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$plans&#91;"sb_setup_fee"&#93;;&#012;  &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_disk_space"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $plans&#91;"sb_disk_space"&#93;." MB";&#012;  &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;// $query_l=mysql_num_rows(mysql_query("select * from sb_host_planlang where sb_plan_id=".$plans&#91;"sb_id"&#93;));&#012;  &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;    if($plans&#91;"sb_bandwidth"&#93;== -1)&#012;echo 'Unlimited';&#012;else&#012;echo $plans&#91;"sb_bandwidth"&#93;." GB";&#012;//echo $plans&#91;"sb_bandwidth"&#93;;&#012;  &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php&#012;$cnt++;&#012;}// end while&#012;      ?&gt;&#012;      &lt;/table&gt;&lt;?php }?&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;&lt;/table&gt;&lt;?php&#012;}&#012;include_once'template.php';&#012;?&gt;&#012; &#012;</pre><!--end code block--><small>--<br>-Ashke</small><br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Need-some-html-help-please-27980980</guid>
<pubDate>Tue, 05 Feb 2013 11:55:09 EDT</pubDate>
</item>

<item>
<title>Re: Need some html help please</title>
<link>http://www.dslreports.com/forum/Re-Need-some-html-help-please-27958410</link>
<description><![CDATA[nil posted : Bringing this thread back from the dead because someone would like to help. <br><br>To reply: press reply on my post. ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Need-some-html-help-please-27958410</guid>
<pubDate>Tue, 29 Jan 2013 13:34:23 EDT</pubDate>
</item>

<item>
<title>Re: Need some html help please</title>
<link>http://www.dslreports.com/forum/Re-Need-some-html-help-please-22299626</link>
<description><![CDATA[billybobthor posted : Here is the code, still looking for help on this please. I just need the two tables moved. I took care of the featured one.<br><br><pre class="brush: text">&lt;?php &#012;function main()&#012;{&#012; &#012;//global $sbico_search;&#012;$config=mysql_fetch_array(mysql_query("select * from sb_host_config"));&#012; &#012;$sb_cat_listing=$config&#91;"sb_cat_listing"&#93;;&#012; &#012;$policies=mysql_fetch_array(mysql_query("select * from sb_host_policies"));&#012;$cid=0;&#012; &#012;$sb_suspended_ids='-2';//'coz -1 is used 2 denote admin plans&#012;$sbq_sus="select * from sb_host_members where sb_suspended!='no'";&#012;$sbrs_sus=mysql_query($sbq_sus);&#012;while($sbrow_sus=mysql_fetch_array($sbrs_sus))&#012;$sb_suspended_ids.=", ".$sbrow_sus&#91;"sb_id"&#93;;&#012; &#012;                  &#012; &#012;?&gt;&#012;&lt;table width="100%" border="0" cellspacing="10" cellpadding="2" class="maintablestyle"&gt;&#012;&lt;tr&gt;&#012;    &lt;td valign="top"&gt;&lt;table width="95%" border="0" align="center" cellpadding="2" cellspacing="0" class="onepxtable"&gt;&#012;        &lt;tr&gt; &#012;            &lt;td align="justify" class="innertablestyle"&gt;&lt;?php&#012;echo $policies&#91;"sb_welcome_msg"&#93;;&#012;            ?&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt;&lt;table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="onepxtable"&gt;&#012;        &lt;tr&gt; &#012;          &lt;form name="form1" method="post" action="search_result.php"&gt;&#012;            &lt;td width="100%" align="center" valign="middle" class="innertablestyle"&gt;&lt;br&gt;&#012;              &lt;input name="keyword" type="text" size="25"&gt;&#012;              &lt;select name="cid" id="cid" &gt;&#012;                &lt;option value="0"&gt;Choose a category&lt;/option&gt;&#012;                &lt;?php&#012; &#012;$sbcat_arr=array();&#012;$sbord_arr=array();&#012;$rs_query=mysql_query("select * from sb_host_categories order by sb_pid");&#012; &#012;while($rst=mysql_fetch_array($rs_query))&#012;{&#012;$cat_path="";&#012;$child=mysql_fetch_array(mysql_query("select * from sb_host_categories where sb_pid=".$rst&#91;"sb_id"&#93;));&#012;if($child)&#012;continue;&#012;$cat_path.=$rst&#91;"sb_cat_name"&#93;;&#012;$par=mysql_query("select * from sb_host_categories where sb_id=".$rst&#91;"sb_pid"&#93;);&#012;while($parent=mysql_fetch_array($par))&#012;{&#012;$cat_path=$parent&#91;"sb_cat_name"&#93;."-".$cat_path;&#012;$par=mysql_query("select * from sb_host_categories where sb_id=".$parent&#91;"sb_pid"&#93;);&#012;}&#012;$sbcat_arr&#91;$rst&#91;"sb_id"&#93;&#93;=$cat_path;&#012;$sbord_arr&#91;$rst&#91;"sb_id"&#93;&#93;=$rst&#91;"sb_order_index"&#93;;&#012;?&gt;&#012;&lt;!--option value="&lt;?php echo $rst&#91;"sb_id"&#93;;?&gt;" &gt;&lt;?php echo $cat_path;?&gt;&lt;/option--&gt;&#012;&lt;?php&#012;}&#012;if($sb_cat_listing=='alpha')&#012;{&#012;asort($sbcat_arr);&#012;foreach($sbcat_arr as $sbkey =&gt; $sbval)&#012;{&#012;echo '&lt;option value="'.$sbkey.'"';&#012;//echo($sbkey==$cats)?'selected':'';&#012;echo ' &gt;'.$sbval.'&lt;/option&gt;';&#012;}&#012;}&#012;else&#012;{&#012;asort($sbord_arr);&#012;foreach($sbord_arr as $sbkey =&gt; $sbval)&#012;{&#012;echo '&lt;option value="'.$sbkey.'"';&#012;//echo($sbkey==$cats)?'selected':'';&#012;echo ' &gt;'.$sbcat_arr&#91;$sbkey&#93;.'&lt;/option&gt;';&#012;}&#012;}&#012;  ?&gt;&#012;              &lt;/select&gt;&#012;              &lt;font class='normal'&gt;&amp;nbsp;              &lt;/font&gt;&#012;              &lt;input type="submit"  name="Submit" value="Search"&gt;&#012;              &lt;a href="advance_search.php" class="small_link"&gt;Advance Search&lt;/a&gt; &#012;              &lt;br&gt;&#012;              &lt;br&gt;&#012;            &lt;/td&gt;&#012;          &lt;/form&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;  &#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt; &lt;table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" &gt;&#012;        &lt;tr&gt; &#012;          &lt;td&gt;&lt;font class="normal"&gt;&lt;b&gt;Browse Category&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;        &lt;tr &gt; &#012;          &lt;td class="onepxtable"&gt;&lt;table width="100%" border="0" cellspacing="1" cellpadding="2" class="innertablestyle"&gt;&#012;              &lt;/tr&gt;&#012;  &lt;?php&#012; &#012; &#012; &#012;  $cats_sql="select * from sb_host_categories where sb_pid=$cid ";&#012;if($config&#91;"sb_cat_listing"&#93;=="alpha")&#012;{&#012;$cats_sql.=" order by sb_cat_name";&#012;}&#012;else&#012;{&#012;$cats_sql.="  order by sb_order_index";&#012;}&#012; &#012;$cats_query=mysql_query($cats_sql);&#012;$cnt=1;&#012;                  &#012; &#012;  &#012; &#012;while($cats=mysql_fetch_array($cats_query))&#012;{&#012;   &#012; &#012;$rst_query=mysql_query("Select * from sb_host_categories where sb_pid=".$cats&#91;"sb_id"&#93; );&#012;$clist=$cats&#91;"sb_id"&#93;;&#012;while ( $rst=mysql_fetch_array($rst_query) )&#012;{&#012; $clist.="," . $rst&#91;"sb_id"&#93;;&#012;$thislist="-1," . $rst&#91;"sb_id"&#93;;&#012;while ( $rst=mysql_fetch_array($rst_query) )&#012;{ &#012;$clist.="," . $rst&#91;"sb_id"&#93;;&#012;$thislist.="," . $rst&#91;"sb_id"&#93;;&#012;//echo $rst&#91;"sbcat_id"&#93;;&#012;}&#012;   $rst_query=mysql_query("Select * from sb_host_categories where sb_pid in (" . $thislist . ")" );&#012;}&#012; &#012;$sbcat_str= " and  sb_cat IN (" .$clist . ")" ;&#012; &#012;$sbq_job_cat="select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) $sbcat_str and (auction_period= -1 or  UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now())) ";&#012;$sbtotal=mysql_num_rows(mysql_query($sbq_job_cat));&#012; &#012;if($cnt%3==1)&#012;{&#012;  ?&gt;&#012;              &lt;tr&gt; &#012;                &lt;td width="20"&gt;&amp;nbsp;&lt;/td&gt;&#012;                &lt;?php&#012;  }&#012;  ?&gt;&#012;                &lt;td align="left"&gt;&lt;font class='normal'&gt; &lt;a href="&lt;?php echo cat_url($cats&#91;"sb_id"&#93;);?&gt;"&gt; &#012;                  &lt;?php echo $cats&#91;"sb_cat_name"&#93;; ?&gt;&lt;/a&gt;(&lt;?php echo $sbtotal; ?&gt;)&lt;/font&gt;&lt;?php&#012; &#012;?&gt;&lt;/td&gt;&#012;                &lt;?php&#012;  if($cnt%3==0)&#012;  {&#012;  ?&gt;&#012;              &lt;/tr&gt;&#012;              &lt;?php&#012;  }&#012;  $cnt++;&#012;}&#012;?&gt;&#012;            &lt;/table&gt;&lt;/td&gt;&#012;        &lt;/tr&gt;&#012;      &lt;/table&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt; &#012;&lt;?php  &#012; &#012;                  &#012; &#012;      $max_allowed=$config&#91;"sb_featured_cnt"&#93;;&#012;$sbq_plans="select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) and sb_ft_feature='yes' and (auction_period= -1 or UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now()))";&#012;//echo $sbq_plans;&#012;$ff_plans_q=mysql_query($sbq_plans);&#012; &#012; &#012;  $num_rows=mysql_num_rows($ff_plans_q);&#012; &#012; &#012;if(($config&#91;"sb_featured_cnt"&#93;!=0) &amp;&amp; ($num_rows!=0)) {?&gt;&#012;      &lt;table width="85%" border="0" align="center" cellpadding="0" cellspacing="1" class="onepxtable"&gt;&#012;        &lt;tr class="titlestyle"&gt; &#012;          &lt;td width="31%"&gt;&amp;nbsp;Featured Plans&lt;/td&gt;&#012;          &lt;td width="17%"&gt;&amp;nbsp;Monthly Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Setup Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Disk Space&lt;/td&gt;&#012;          &lt;td width="24%"&gt;&amp;nbsp;Bandwidth&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php //&#012;      // $ff_plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' and &#012;//sb_ft_feature='yes'");&#012; &#012; // $num_rows=mysql_num_rows($ff_plans_q);&#012; &#012;unset($number);&#012;$number&#91;0&#93;=-1;&#012;if($num_rows&gt;$max_allowed)&#012;{&#012;for($i=0;$i&lt;$max_allowed;$i++)&#012;{&#012;$unique=0;&#012;while($unique==0)&#012;{&#012;$j=rand(0,$num_rows-1);&#012;for($k=0;$k&lt;count($number);$k++)&#012;{&#012; &#012;if($number&#91;$k&#93;==$j)&#012;break;&#012;}&#012;if($k&gt;(count($number)-1))&#012;{&#012;$unique=1;&#012;}&#012;}&#012;$number&#91;$i&#93;=$j;&#012; &#012;}&#012;}&#012; &#012; &#012; &#012;$row=0;&#012;$cnt=0;&#012;$ff_plans=mysql_fetch_array($ff_plans_q);&#012;while (($ff_plans)&amp;&amp;($cnt&lt;$max_allowed))&#012;{&#012;$display=0;&#012;if($num_rows&gt;$max_allowed)&#012;{&#012;for($k=0;$k&lt;count($number);$k++)&#012;{&#012;if($number&#91;$k&#93;==$row)&#012;{&#012;$display=1;&#012;}&#012;}&#012;}&#012;else&#012;{&#012;$display=1;&#012;}&#012; &#012; &#012;                  &#012; &#012; &#012; &#012; &#012; &#012; &#012;if($display==1)&#012;{&#012;$comp=mysql_fetch_array(mysql_query("select comp from sb_host_members where sb_id=".$ff_plans&#91;"sb_host_id"&#93;));&#012;//where sb_id=".$ff_plans&#91;"sb_company_id"&#93;));&#012; &#012;$rec_class="innertablestyle";&#012;if($cnt%2==0)&#012;{ $rec_class="alternatecolor"; }&#012;if($ff_plans&#91;"sb_highlight"&#93;=="yes")&#012;{ &#012;$rec_class="highlighted";&#012;if($cnt%2==0)&#012;{ $rec_class="highlighted1"; }&#012;}&#012; &#012;?&gt;&#012;        &lt;tr class="&lt;?php echo $rec_class;?&gt;" height="25"&gt; &#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;a href="&lt;?php echo item_url($ff_plans&#91;"sb_id"&#93;);?&gt;"&gt;&lt;?php&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if(strlen($ff_plans&#91;"sb_title"&#93;)&gt;40)&#012;   echo substr($ff_plans&#91;"sb_title"&#93;,0,40)."...";&#012;   else&#012;   echo $ff_plans&#91;"sb_title"&#93;;&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;   //die();&#012;   ?&gt;&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_mprice"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$ff_plans&#91;"sb_mprice"&#93;;&#012; &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_setup_fee"&#93;== -1)&#012;   echo "Free Setup";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$ff_plans&#91;"sb_setup_fee"&#93;;&#012; &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&#012;            &amp;nbsp;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($ff_plans&#91;"sb_disk_space"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $ff_plans&#91;"sb_disk_space"&#93;." MB";&#012; &#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&#012;            &lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//$query=mysql_num_rows(mysql_query("select * from sb_host_plandatabase where sb_plan_id=".$ff_plans&#91;"sb_id"&#93;));&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;    if($ff_plans&#91;"sb_bandwidth"&#93;== -1)&#012;echo 'Unlimited';&#012;else&#012;echo $ff_plans&#91;"sb_bandwidth"&#93;." GB";&#012;//echo $ff_plans&#91;"sb_bandwidth"&#93;;&#012;   if($ff_plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&lt;?php&#012;$cnt++;&#012;}//if display&#012;$ff_plans=mysql_fetch_array($ff_plans_q);&#012;$row++;&#012;}// end while&#012;      ?&gt;&lt;/table&gt;&lt;?php  }?&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;  &lt;tr&gt; &#012;    &lt;td valign="top"&gt;&lt;?php &#012; &#012; &#012;                  &#012; &#012;$plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' and sb_host_id not in ($sb_suspended_ids) and (auction_period= -1 or  UNIX_TIMESTAMP(DATE_ADD(sb_posted_on,INTERVAL auction_period DAY))&gt;UNIX_TIMESTAMP(now())) order by sb_id desc");&#012;$num_rows=mysql_num_rows($plans_q);&#012; &#012; &#012; &#012; &#012;if(($config&#91;"sb_featured_cnt"&#93;!=0) &amp;&amp; ($num_rows!=0)) { ?&gt;&#012;      &lt;table width="55%" border="0" align="center" cellpadding="0" cellspacing="1" class="onepxtable"&gt;&#012;        &lt;tr class="titlestyle"&gt; &#012;          &lt;td width="31%"&gt;&amp;nbsp;Latest Plans&lt;/td&gt;&#012;          &lt;td width="17%"&gt;&amp;nbsp;Monthly Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Setup Fee&lt;/td&gt;&#012;          &lt;td width="14%"&gt;&amp;nbsp;Disk Space&lt;/td&gt;&#012;          &lt;td width="24%"&gt;&amp;nbsp;Bandwidth&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php&#012;        //$plans_q=mysql_query("select * from sb_host_plans where sb_approved='yes' order by sb_id desc");&#012;//$num_rows=mysql_num_rows($plans_q);&#012;$cnt=0;&#012;while (($plans=mysql_fetch_array($plans_q))&amp;&amp;($cnt&lt;$max_allowed))&#012;{ &#012; &#012;$rec_class="innertablestyle";&#012;if($cnt%2==0)&#012;{ $rec_class="alternatecolor"; }&#012;if($plans&#91;"sb_highlight"&#93;=="yes")&#012;{ &#012;$rec_class="highlighted";&#012;if($cnt%2==0)&#012;{ $rec_class="highlighted1"; }&#012;}&#012; &#012;?&gt;&#012;        &lt;tr class="&lt;?php echo $rec_class;?&gt;" height="25"&gt; &#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;a href="&lt;?php echo item_url($plans&#91;"sb_id"&#93;);?&gt;"&gt;&lt;?php&#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { &#012;   echo "&lt;b&gt;";}&#012;   if(strlen($plans&#91;"sb_title"&#93;)&gt;40)&#012;   echo substr($plans&#91;"sb_title"&#93;,0,40)."...";&#012;   else&#012;   echo $plans&#91;"sb_title"&#93;;&#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;   ?&gt;&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&amp;nbsp;&lt;font class="normal"&gt;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_mprice"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$plans&#91;"sb_mprice"&#93;;&#012; &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_setup_fee"&#93;== -1)&#012;   echo "Free Setup";&#012;   else&#012;   echo $config&#91;"sb_fee_symbol"&#93;." ".$plans&#91;"sb_setup_fee"&#93;;&#012; &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;a href='view_profile.php?id=".$comp&#91;"sb_id"&#93;."'&gt;";} &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;   if ($plans&#91;"sb_disk_space"&#93;== -1)&#012;   echo "Unlimited";&#012;   else&#012;   echo $plans&#91;"sb_disk_space"&#93;." MB";&#012; &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;//if($comp&#91;"sb_show_profile"&#93;=="yes")&#012;//{ echo "&lt;/a&gt;";} &#012;  ?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;td&gt;&lt;font class="normal"&gt;&amp;nbsp;&lt;?php &#012;// $query_l=mysql_num_rows(mysql_query("select * from sb_host_planlang where sb_plan_id=".$plans&#91;"sb_id"&#93;));&#012; &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;b&gt;";}&#012;    if($plans&#91;"sb_bandwidth"&#93;== -1)&#012;echo 'Unlimited';&#012;else&#012;echo $plans&#91;"sb_bandwidth"&#93;." GB";&#012;//echo $plans&#91;"sb_bandwidth"&#93;;&#012; &#012;   if($plans&#91;"sb_bold"&#93;=="yes")&#012;   { echo "&lt;/b&gt;";}&#012;?&gt;&lt;/font&gt;&lt;/td&gt;&#012;          &lt;!--td&gt;&amp;nbsp;&lt;/td--&gt;&#012;        &lt;/tr&gt;&#012;        &lt;?php&#012;$cnt++;&#012;}// end while&#012;      ?&gt;&#012;      &lt;/table&gt;&lt;?php }?&gt;&lt;/td&gt;&#012;  &lt;/tr&gt;&#012;&lt;/table&gt;&lt;?php&#012;}&#012;include_once'template.php';&#012;?&gt;&#012; &#012;</pre><!--end code block-->]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Need-some-html-help-please-22299626</guid>
<pubDate>Sun, 26 Apr 2009 19:58:04 EDT</pubDate>
</item>

<item>
<title>Re: Need some html help please</title>
<link>http://www.dslreports.com/forum/Re-Need-some-html-help-please-22295617</link>
<description><![CDATA[billybobthor posted : PM Sent]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Need-some-html-help-please-22295617</guid>
<pubDate>Sat, 25 Apr 2009 18:52:47 EDT</pubDate>
</item>

<item>
<title>Re: Need some html help please</title>
<link>http://www.dslreports.com/forum/Re-Need-some-html-help-please-22295478</link>
<description><![CDATA[twizlar posted : Post a link to the page, or the code.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Need-some-html-help-please-22295478</guid>
<pubDate>Sat, 25 Apr 2009 18:20:04 EDT</pubDate>
</item>

<item>
<title>Need some html help please</title>
<link>http://www.dslreports.com/forum/Need-some-html-help-please-22295398</link>
<description><![CDATA[billybobthor posted : Ok I suck at HTML and I suck even more when it comes to tables. I have a already coded html page that I need to make a few changes to. Basically I need the search box and the browse category box sized down and placed side by side. I have attached a image. IF you can help me out realy quick would be great<br><br><br><br><br><br><br><br><br><br><IMG SRC="http://www.hostingbabble.com/images/changes.jpg">]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Need-some-html-help-please-22295398</guid>
<pubDate>Sat, 25 Apr 2009 18:02:42 EDT</pubDate>
</item>

</channel>
</rss>
