Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. <table border="0" width="100%">
  2. <tr>
  3. <td align="right" width="25%">
  4. <font face=arial color="blue" size=2>Marca :</font>
  5. </td>
  6. <td>
  7. <?
  8. $w_querybusca="select * from sai_tb_marc order by desc_marc;";
  9. $w_queryresultado=f_class_conecta_bd($w_querybusca);
  10. if (pg_num_rows($w_queryresultado) == 0)
  11. {
  12. print("<SCRIPT language=javascript> alert("Cadastre uma marca.");
  13. parent.location.replace("../sai_prin/sai_menu0.php");</SCRIPT>");
  14. }
  15. 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");
  16. print('<option value="0"> ==>Selecione a Marca<==</option>'."n");
  17. while($w_registro = pg_fetch_object($w_queryresultado))
  18. {
  19. print('<option value="'.$w_registro->seq_marc.'">'.trim($w_registro->desc_marc).'</option>'."n");
  20. }
  21. print ("</select>");
  22. ?>
  23. </td>
  24. </tr>
  25. <tr>
  26. <td align=right width=10% >
  27. <font face=arial color=blue size=2>Modelo :</font>
  28. </td>
  29. <td id="td_fk_seq_mode" colspan="3">
  30. <select name="nm_cb_fk_seq_mode" id="id_cb_fk_seq_mode" style="font-size:13; color:#FF7F00;" width="250">
  31. <option id="opc_fk_seq_mode" value="0"> ==>Selecione o Modelo<==
  32. </option>
  33. </select>
  34. </td>
  35. </tr>
  36. </table>
  37. <table border="0" width="100%">
  38. <tr>
  39. <td>
  40. <iframe frameborder="0" id="ifrm_mode" width="100%" height="240" scrolling="auto">
  41. </iframe>
  42. </td>
  43. </tr>
  44. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement