" class="mc_preload wp-post-image" alt="<?php 
    echo $row['deskripsi'];
    ?>
" title="" style="display: block;">
  <?php 
}
if ($edited) {
    ?>
  <a data-toggle="modal" class="btn btn-warning" href="javascript:void('')" data-target="#myModal">File Manager</a>
  <?php 
}
?>
  </td>
</tr>
<tr><td class="td-label">Deskripsi</td><td><?php 
echo UI::createTextArea('deskripsi', $row['deskripsi'], '', '', $edited, $class = 'form-control');
?>
</td></tr>
<tr><td class="td-label">Tampil Didepan</td><td><?php 
echo UI::createCheckBox('is_aktif', 1, $row['is_aktif'], $edited, $class = '');
?>
</td></tr>
<?php 
if ($edited) {
    ?>
<tr><td></td><td><?php 
    echo UI::showButtonMode('save', null, $edited);
    ?>
</td></tr>
<?php 
}
示例#2
0
<?php 
echo $this->FlashMsg();
?>
        <br/>
<table class="table table-form">
<tr><td class="td-label">Nama</td><td><?php 
echo UI::createTextBox('nama', $row['nama'], '', '', $edited, $class = 'form-control');
?>
</td></tr>
<tr><td class="td-label">Alamat</td><td><?php 
echo UI::createTextArea('alamat', $row['alamat'], '', '', $edited, 'form-control');
?>
</td></tr>
<tr><td class="td-label">Telephone</td><td><?php 
echo UI::createTextBox('telp', $row['telp'], '', '', $edited, 'form-control');
?>
</td></tr>
<tr><td class="td-label">Username</td><td><?php 
echo UI::createTextBox('username', $row['username'], '', '', $edited, $class = 'form-control');
?>
</td></tr>
<?php 
if ($edited) {
    ?>
<tr><td></td><td>Kosongkan password apabila Anda tidak ingin merubahnya</td></tr>
<tr><td class="td-label">Password</td><td><?php 
    echo UI::createTextPassword('password', '', '', '', $edited, $class = 'form-control');
    ?>
</td></tr>
<tr><td class="td-label">Confirm Password</td><td><?php 
<?php 
echo $this->FlashMsg();
?>
<div style="text-align:right">
<?php 
echo UI::showButtonMode($mode, $row[$pk]);
?>
</div>
        <br/>
<table class="table table-form">
<tr><td class="td-label">Nama Dokter</td><td><?php 
echo UI::createTextBox('nama', $row['nama'], '', '', $edited, 'form-control');
?>
</td></tr>
<tr><td class="td-label">Isi</td><td><?php 
echo UI::createTextArea('isi', $row['isi'], 50, '', $edited, 'form-control contents');
?>
</td></tr>
<?php 
if ($edited) {
    ?>
<tr><td></td><td><?php 
    echo UI::showButtonMode('save', null, $edited);
    ?>
</td></tr>
<?php 
}
?>
</table>
<?php 
echo $this->FlashMsg();
?>
<div style="text-align:right">
<?php 
echo UI::showButtonMode($mode, $row[$pk]);
?>
</div>
        <br/>
<table class="table table-form">
<tr><td class="td-label">Judul</td><td><?php 
echo UI::createTextBox('nama', $row['nama'], '', '', $edited, $class = 'form-control');
?>
</td></tr>
<tr><td class="td-label">Isi</td><td><?php 
echo UI::createTextArea('isi', $row['isi'], '20', '', $edited, $class = 'form-control contents');
?>
</td></tr>
<?php 
if ($edited) {
    ?>
<tr><td></td><td><?php 
    echo UI::showButtonMode('save', null, $edited);
    ?>
</td></tr>
<?php 
}
?>
</table>
示例#5
0
?>
</td>
</tr>

<tr>
<td class="td-label"> Bahasa</td>
<td class="td-input" colspan="5"><?php 
echo UI::createSelect('id_bahasa', $bahasaarr, $row['id_bahasa'], $edited, $class = 'form-control ', "style='width:25%'");
?>
</td>
</tr>

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

<tr>
<td class="td-label"> Kategori</td>
<td class="td-input" colspan="5"><?php 
echo UI::createSelect('id_kategori', $kategoriarr, $row['id_kategori'], $edited, $class = 'form-control ', "style='width:25%'");
?>
</td>
</tr>

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