Esempio n. 1
0
<td class="td-label">Untuk Umum ?</td>
<td class="td-input"><?php 
echo UI::createCheckBox('jenis_pesan', 1, $row['jenis_pesan'], $edited, $class = 'form-control ', "style='width:10px'");
?>
</td>
</tr>

<tr id="listsiswa" <?php 
if ($row['jenis_pesan'] == 1) {
    echo 'style="display:none"';
}
?>
>
<td class="td-label"> Siswa</td>
<td class="td-input"><?php 
echo UI::createSelectMultiple('id_siswa[]', $elearningsiswaarr, $row['id_siswa'], $edited, $class = 'form-control ', "style='width:100%'");
?>
</td>
</tr>

<?php 
if ($edited) {
    ?>
<tr><td></td><td><?php 
    echo UI::showButtonMode('save', null, $edited);
    ?>
</td></tr>
<?php 
}
?>
</table>
Esempio n. 2
0
?>
</div>
<br/>
<table class="table table-form">
<tr>
<td class="td-label">Nama</td>
<td class="td-input" colspan="5"><?php 
echo UI::createTextBox('nama', $row['nama'], '100', '100', $edited, $class = 'form-control ', "style='width:50%'");
?>
</td>
</tr>

<tr>
<td class="td-label"> Pengarang</td>
<td class="td-input" colspan="5"><?php 
echo UI::createSelectMultiple('id_pengarang', $pengarangarr, $row['id_pengarang'], $edited, $class = 'form-control ', "style='width:100%'");
?>
</td>
</tr>

<tr>
<td class="td-label">Pernyataan</td>
<td class="td-input" colspan="5"><?php 
echo UI::createTextBox('pernyataan', $row['pernyataan'], '50', '50', $edited, $class = 'form-control ', "style='width:75%'");
?>
</td>
</tr>

<tr>
<td class="td-label">Edisi</td>
<td class="td-input" colspan="5"><?php