| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/pundarikanail.com-bk/wadmin/components/gallery/views/cat/ |
Upload File : |
<?=form_open(uri_string())?>
<table class="form" width="100%">
<tr>
<td class="label">Main Category</td>
<td><select name="gcat_parent" id="gcat_parent" class="w350">
<option value="0"> - Select - </option>
<?php foreach ($list_cat as $cat) :?>
<option value="<?=$cat->gcat_id?>"> <?=$cat->gcat_name?> </option>
<?php endforeach ;?>
</select></td>
</tr>
<script language="javascript">mkselected('gcat_parent','<?=$rs->gcat_parent?>');</script>
<tr>
<td class="label">Category Name</td>
<td><input type="text" name="gcat_name" id="gcat_name"class="w350" value="<?=$rs->gcat_name?>" /></td>
</tr>
<tr>
<td class="label">Summary</td>
<td><textarea style="width: 500px;height: 100px;" name="gcat_summary" id="gcat_summary"><?=$rs->gcat_summary?></textarea></td>
</tr>
<tr>
<td class="label">Orther</td>
<td><input type="text" name="nb_order" id="nb_order"class="w350" value="<?=$rs->nb_order?>" /></td>
</tr>
<tr>
<td class="label">Status</td>
<td><input type="checkbox" name="bl_active" value="1" <?=($rs->bl_active == 1)? 'checked="checked"':'';?>>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="bt_submit" value="Cập nhật" class="capnhat"></td>
</tr>
</table>
<?=form_close()?>