Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table border="0" width="100%">
- <tr>
- <td align="right" width="25%">
- <font face=arial color="blue" size=2>Marca :</font>
- </td>
- <td>
- <?
- $w_querybusca="select * from sai_tb_marc order by desc_marc;";
- $w_queryresultado=f_class_conecta_bd($w_querybusca);
- if (pg_num_rows($w_queryresultado) == 0)
- {
- print("<SCRIPT language=javascript> alert("Cadastre uma marca.");
- parent.location.replace("../sai_prin/sai_menu0.php");</SCRIPT>");
- }
- print('<select name="nm_cb_fk_seq_marc" id="id_cb_fk_seq_marc" onchange="f_le_modelo(this.form.name);" onclick="f_limpa();" style="font-size:11; color:black; width:200">>'."n");
- print('<option value="0"> ==>Selecione a Marca<==</option>'."n");
- while($w_registro = pg_fetch_object($w_queryresultado))
- {
- print('<option value="'.$w_registro->seq_marc.'">'.trim($w_registro->desc_marc).'</option>'."n");
- }
- print ("</select>");
- ?>
- </td>
- </tr>
- <tr>
- <td align=right width=10% >
- <font face=arial color=blue size=2>Modelo :</font>
- </td>
- <td id="td_fk_seq_mode" colspan="3">
- <select name="nm_cb_fk_seq_mode" id="id_cb_fk_seq_mode" style="font-size:13; color:#FF7F00;" width="250">
- <option id="opc_fk_seq_mode" value="0"> ==>Selecione o Modelo<==
- </option>
- </select>
- </td>
- </tr>
- </table>
- <table border="0" width="100%">
- <tr>
- <td>
- <iframe frameborder="0" id="ifrm_mode" width="100%" height="240" scrolling="auto">
- </iframe>
- </td>
- </tr>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement