| Server IP : 103.48.194.25 / Your IP : 216.73.216.231 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/ |
Upload File : |
<?=form_open_multipart(uri_string())?>
<table class="form" width="100%">
<tr>
<td class="label">Choose Picture</td>
<td><a class="lib_img" href="javascript:imgLib.openLib({width:'1000',height:'1000',return_tag:'lb_image',action:'imgcrop'});"></a>
<div class="lb_image">
<? if($rs->lb_image && file_exists(ROOT_IMG.'gallery/large/'.$rs->lb_image)){ ?>
<input type="hidden" name="lb_image" id="lb_image" value="" />
<a href="javascript:imgLib.openLib({dir_img:'gallery/large/<?=$rs->lb_image?>',width:'1000',height:'1000',method:'imgcrop',return_tag:'lb_image',action:'imgcrop'});">
<img src="<?=urlimg?>gallery/large/<?=$rs->lb_image?>" width="120px" />
</a>
<? } ?>
</div></td>
</tr>
<tr>
<td class="label">Main Category</td>
<td><select name="gcat_id" id="gcat_id" 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_id','<?=$rs->gcat_id?>');</script>
<tr>
<td class="label">Summary</td>
<td><input type="text" name="lb_title" id="lb_title"class="w350" value="<?=$rs->lb_title?>" /></td>
</tr>
<tr>
<td class="label">Link</td>
<td><input type="text" name="lb_url" id="lb_url"class="w350" value="<?=$rs->lb_url?>" /></td>
</tr>
<tr>
<td class="label">Status</td>
<td><input type="checkbox" name="bl_active" value="1" <?=($rs->bl_active == 1)? 'checked="checked"':'';?> />
<span style="margin-left:20px">Home : <input type="checkbox" name="is_home" value="1" <?=$rs->is_home? 'checked="checked"':'';?> /></span>
</td>
</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()?>