Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. <div class="card">
  2. <div class="card-header py-3 bg-warning">
  3. <?php $i = 1; ?> <?php foreach ($pertanyaan as $p) : ?><?php if ($p['nameKriteria'] =='QUALITY') :?>
  4. <div class="container">
  5. <h5 class="m-0 font-weight-bold text-white text-center"> <?= $p['nameKriteria']; ?> </h5>
  6. </div>
  7. </div><br>
  8.  
  9. <div class="card-body">
  10.  
  11. <div class="container">
  12.  
  13. <?php if ($p['idPertanyaan'] == '1'): ?>
  14. <h5><label> <?php echo $i++; ?>&nbsp;<?= $p['pertanyaan']; ?></label></h5>
  15.  
  16. <span><label class="choice"> <input type="radio" name="as1" style="height:17px; width:17px;" required value="1">Sangat Buruk</label></span><br>
  17. <span><label class="choice"> <input type="radio" name="as2" style="height:17px; width:17px;" required value="2">Buruk</label></span><br>
  18. <span><label class="choice"> <input type="radio" name="as3" style="height:17px; width:17px;" required value="3">Cukup</label></span><br>
  19. <span><label class="choice"> <input type="radio" name="as4" style="height:17px; width:17px;" required value="4">Baik</label></span><br>
  20. <span><label class="choice"> <input type="radio" name="as5" style="height:17px; width:17px;" required value="5">Sangat Baik</label></span><br>
  21.  
  22. <div class="form-group ">
  23. <textarea class="form-control" id="exampleFormControlTextarea1" rows="1" placeholder="Catatan"></textarea>
  24. </div>
  25. <?php endif ; ?>
  26. <?php if ($p['idPertanyaan'] == '2'): ?>
  27. <h5><label> <?php echo $i++; ?>&nbsp;<?= $p['pertanyaan']; ?></label></h5>
  28.  
  29. <span><label class="choice"> <input type="radio" name="as1" style="height:17px; width:17px;" required value="1"><?= $p['bobot1']; ?></label></span><br>
  30. <span><label class="choice"> <input type="radio" name="as2" style="height:17px; width:17px;" required value="2">2</label></span><br>
  31. <span><label class="choice"> <input type="radio" name="as3" style="height:17px; width:17px;" required value="3"><?= $p['bobot3']; ?></label></span><br>
  32. <span><label class="choice"> <input type="radio" name="as4" style="height:17px; width:17px;" required value="4"><?= $p['bobot4']; ?></label></span><br>
  33. <span><label class="choice"> <input type="radio" name="as5" style="height:17px; width:17px;" required value="5"><?= $p['bobot5']; ?></label></span><br>
  34.  
  35. <div class="form-group ">
  36. <textarea class="form-control" id="exampleFormControlTextarea1" rows="1" placeholder="Catatan"></textarea>
  37. </div>
  38. <?php endif ; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement