<table cellspacing=0 cellpadding=0 width=170 border=0>
                <tbody> 
                <tr> 
                  <td colspan=2>
				  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
            <TR> 
              <TD height="20" align="center" bgcolor="#ffcc00">商品搜索</TD>
           </TR></TBODY></TABLE> 
                    <table width=170 border=1 align="center" cellPadding=1 cellSpacing=0 borderColor=#f6f6f6 borderColorLight=#ffcc00>
                    <tbody> 
          <tr> 
                        <td valign="top" height="34"><br>
              <table class=newjoyo_02 cellspacing=0 cellpadding=0 rules=none 
            width="100%" border=0>
                <tbody> 
<form id=form2 name=form2 action=sresult.php method=post>
                <tr> 
                                <td align=right width="34%" height=32>类别: </td>
                  <td width="66%" height=32> 
                    <select id=kind 
                  style="FONT-SIZE: 12px" name=classid>
                      <option value="" 
                    selected>所有类别</option>
                      <?
$result = $DB->query("select classid,classname from buys_class where class2id='0'",$dbbase);
while($key=mysql_fetch_array($result))
{
 echo "<option value=$key[classid]>$key[classname]</option>";
                     }
?>
                    </select>
                  </td>
                </tr>
                <tr> 
                  <td align=right width="34%" height=32>查询方式:</td>
                  <td width="66%" height=32> 
                    <select name="skind" style="FONT-SIZE: 12px">
                      <option value="productname" selected>商品名</option>
                      <option value="productinfo">商品简介</option>
                    </select>
                  </td>
                </tr>
                <tr> 
                  <td align=right width="34%" height=32>关键字: </td>
                                <td width="66%" height=32> <input id=vname size=10 name=skey style="FONT-SIZE: 12px"></td>
                </tr>
                <tr> 
                  <td colspan=2> 
                    <div align=center> 
					<INPUT type=image height=20 width=34 src="mainimg/serarch.gif" border=0 name=Submit2>
                    </div>
                  </td>
                </tr>
              </form>
              </table>
            </td>
          </tr>     
        </table> 
      </td>
        </tr>
          </table>