Guest User

Untitled

a guest
Jul 23rd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. $stads= array("MIRANDA", "AMAZONA", "ANZOATEGUI"," APURE"," ARAGUA"," BARINAS"," CARABOBO"," COJEDES"," DELTA AMACURO"," DISTRITO CAPITAL"," CARACAS"," FALCON"," LARA"," MERIDA"," MONAGAS"," NUEVA ESPARTA"," PORTUGUESA","SUCRE","TACHIRA"," TRUJILLO"," VARGAS"," YARACUY"," ZULIA ");
  2. $arrlength= count($stads);
  3. echo "
  4. <div class='col-md-3'>
  5. <div class='form-group'>
  6. <label for='cuadro1'>Estados:</label>
  7. <select class='form-control' id='cuadro1' name='taskOption'>
  8. ";
  9.  
  10. echo "<option value='' id='cuadro2'></option>";
  11. for ($x=0; $x < $arrlength ; $x++) {
  12. if ($stads [$x]!=null ) {
  13. $cc= $stads[$x];
  14.  
  15. echo "<option value='$cc' id='cuadro2'>$cc</option>";
  16. }
  17. }
  18. echo " </select>
  19. </div>
  20. </div>";
  21.  
  22.  
  23.  
  24. //y este es el arreglo que se muestran en los card ..
  25.  
  26.  
  27.  
  28. for ($i=1; $i < $arrayres ; $i++) {
  29. if ($arrayPal [$i]!=null ) {
  30. $ah = explode(';',$arrayPal[$i]);
  31. //print_r($ah[1]);
  32. $cd = $ah[1];
  33. $ef = $ah[2];
  34. $as = $ah[18];
  35. $a3= ucfirst(strtolower($ah[25]));
  36. if ($cd=='LEGAL_PERSON') {
  37. /*
  38. echo "
  39. <div class='col-sm-4'>
  40. <div class='w3-card-4'>
  41. <header class='w3-container w3-light-grey' style=' width: 350px; overflow:hidden; text-overflow:ellipsis; height:60px;' >
  42. <h5 style='color:#0D47A1;' > $ah[2]</h5>
  43. </header>
  44. <br>
  45. <div class='w3-container'>
  46. <img src='' alt='Avatar' class='w3-left w3-circle w3-margin-right' style='width:60px; height:70px;'>
  47. <div class'b' style=' height: 71px; overflow:hidden; text-overflow:ellipsis; color:#424242; ' > $a3</div>
  48. </div>
  49. </div>
  50. <br>
  51. </div>
  52. ";
  53.  
  54. */
  55. } else{
  56. $a4= strtoupper($ah[3]);
  57.  
  58. /*
  59. echo "
  60. <div class='col-sm-4'>
  61. <div class='w3-card-4'>
  62. <header class='w3-container w3-light-grey' style='width: 350px; overflow:hidden; text-overflow:ellipsis; height:60px;'>
  63. <h5 style='color:#0D47A1;'> $a4 </h5>
  64. </header>
  65. <br>
  66. <div class='w3-container'>
  67. <img src='' alt='Avatar' class='w3-left w3-circle w3-margin-right' style='width:60px;'>
  68. <div class'b' style='height: 71px; overflow:hidden; text-overflow:ellipsis;color:#424242;' >
  69. $a3</div>
  70. </div>
  71. </div>
  72. <br>
  73. </div>
  74. "; */
Add Comment
Please, Sign In to add comment