Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card">
- <div class="card-header py-3 bg-warning">
- <?php $i = 1; ?> <?php foreach ($pertanyaan as $p) : ?><?php if ($p['nameKriteria'] =='QUALITY') :?>
- <div class="container">
- <h5 class="m-0 font-weight-bold text-white text-center"> <?= $p['nameKriteria']; ?> </h5>
- </div>
- </div><br>
- <div class="card-body">
- <div class="container">
- <?php if ($p['idPertanyaan'] == '1'): ?>
- <h5><label> <?php echo $i++; ?> <?= $p['pertanyaan']; ?></label></h5>
- <span><label class="choice"> <input type="radio" name="as1" style="height:17px; width:17px;" required value="1">Sangat Buruk</label></span><br>
- <span><label class="choice"> <input type="radio" name="as2" style="height:17px; width:17px;" required value="2">Buruk</label></span><br>
- <span><label class="choice"> <input type="radio" name="as3" style="height:17px; width:17px;" required value="3">Cukup</label></span><br>
- <span><label class="choice"> <input type="radio" name="as4" style="height:17px; width:17px;" required value="4">Baik</label></span><br>
- <span><label class="choice"> <input type="radio" name="as5" style="height:17px; width:17px;" required value="5">Sangat Baik</label></span><br>
- <div class="form-group ">
- <textarea class="form-control" id="exampleFormControlTextarea1" rows="1" placeholder="Catatan"></textarea>
- </div>
- <?php endif ; ?>
- <?php if ($p['idPertanyaan'] == '2'): ?>
- <h5><label> <?php echo $i++; ?> <?= $p['pertanyaan']; ?></label></h5>
- <span><label class="choice"> <input type="radio" name="as1" style="height:17px; width:17px;" required value="1"><?= $p['bobot1']; ?></label></span><br>
- <span><label class="choice"> <input type="radio" name="as2" style="height:17px; width:17px;" required value="2">2</label></span><br>
- <span><label class="choice"> <input type="radio" name="as3" style="height:17px; width:17px;" required value="3"><?= $p['bobot3']; ?></label></span><br>
- <span><label class="choice"> <input type="radio" name="as4" style="height:17px; width:17px;" required value="4"><?= $p['bobot4']; ?></label></span><br>
- <span><label class="choice"> <input type="radio" name="as5" style="height:17px; width:17px;" required value="5"><?= $p['bobot5']; ?></label></span><br>
- <div class="form-group ">
- <textarea class="form-control" id="exampleFormControlTextarea1" rows="1" placeholder="Catatan"></textarea>
- </div>
- <?php endif ; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement