Untitled
unknown
plain_text
2 years ago
4.9 kB
3
Indexable
<?php echo "<div class='col-md-12'> <div class='box box-info'> <div class='box-header with-border'> <h3 class='box-title'>UPDATE HELPDESK</h3> </div> <div class='box-body'>"; $attributes = array('class'=>'form-horizontal','role'=>'form'); echo form_open_multipart($this->uri->segment(1).'/helpdesk_ticket',$attributes); echo "<div class='col-md-12'> <table class='table table-condensed table-bordered'> <tbody> <tr style='display: none;'> <th width='120px' scope='row'>NO TIKET</th> <td><input type='hidden' class='form-control' name='ide' value='$no_tiket' readonly></td> </tr> <tr><th width='120px' scope='row'>Nama Karyawan</th> <td><select name='a' class='combobox form-control' onchange=\"changeValue(this.value)\" autofocus> <option value='' selected>Cari Karyawan</option>"; foreach ($karyawan as $rows){ echo "<option value='$rows[nik]'>$rows[nama_karyawan]</option>"; } echo "</select></td> </tr> <tr> <th scope='row'>Lokasi</th> <td> <select class='form-control' name='lokasi' id=''> <option value='Workshop' <?php if ($rows[lokasi] == 'Laptop') echo 'selected'; ?>Workshop</option> <option value='Insitu' <?php if ($rows[lokasi] == 'Insitu') echo 'selected'; ?>Insitu</option> <option value='Offshore' <?php if ($rows[lokasi] == 'Offshore') echo 'selected'; ?>Offshore</option> </select> </td> </tr> <tr> <th scope='row'>Jenis Asset</th> <td> <select class='form-control' name='ka2' id=''> <option value='Laptop' <?php if ($rows[type_asset] == 'Laptop') echo 'selected'; ?>Laptop</option> <option value='Printer' <?php if ($rows[type_asset] == 'Printer') echo 'selected'; ?>Printer</option> <option value='Komputer' <?php if ($rows[type_asset] == 'Komputer') echo 'selected'; ?>Komputer</option> <option value='Software' <?php if ($rows[type_asset] == 'Software') echo 'selected'; ?>Software</option> </select> </td> </tr> <tr><th width='120px' scope='row'>Kode Asset</th> <td><input type='text' class='form-control' name='kode' value='$rows[kode_asset]'></td> </tr> <tr><th scope='row' hidden>Tanggal</th> <td><input type='hidden' class='form-control' name='c' value='<?php echo $tgl_helpdesk; ?>'></td> </tr> <tr><th width='120px' scope='row'>Email User</th> <td><input type='text' class='form-control' name='c1' value='$rows[email_user]'></td> </tr> <tr> <th scope='row'>Keterangan</th> <td> <textarea class='form-control' name='f1' style='height:60px'>$rows[keluhan_user]</textarea> </td> </tr> <tr> <td style='text-align: right;'> $image <input type='text' class='form-control' name='security_code' placeholder='Security Code' required> </td> </tr> </tbody> </table> </div> <div class='box-footer'> <button type='submit' name='submit' class='btn btn-info' id='submit-button'>Proses</button> <a href='".base_url().$this->uri->segment(1)."main'><button type='button' class='btn btn-default pull-right'>Cancel</button></a> </div> </div> </div> </div>"; echo form_close(); ?>
Editor is loading...