| Server IP : 103.48.194.25 / Your IP : 216.73.217.33 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/hocthongminh.net-bk/public_html/webadmin/components/banner/views/ |
Upload File : |
<script language="javascript">
var width = <?=$width?>;
var height = <?=$height?>;
$(document).ready(function(e) {
$('#kind').change(function(e) {
var value = $(this).val();
var arr = value.split("x");
width = arr[0];
height = arr[1];
$('#width').val(width);
$('#height').val(height);
});
});
</script>
<?=form_open(uri_string());?>
<input type="hidden" name="width" id="width" value="<?=$width?>" />
<input type="hidden" name="height" id="height" value="<?=$height?>" />
<table class="form">
<tr>
<td class="label required">Vị trí</td>
<td><select name="kind" id="kind" class="w200">
<?php
$position = $this->config->item('pos_banner') ;
foreach($position as $key=>$value) :
?>
<option value="<?=$key?>"><?=$value?></option>
<? endforeach; ?>
</select></td>
</tr>
<script language="javascript">mkselected('kind','');</script>
<tr>
<td class="w150 label required">Hình ảnh</td>
<td>
<a class="lib_img" href="javascript:imgLib.openLib({width:width,height:height,return_tag:'lb_image',action:'imgcrop'});" title="Chọn File"></a>
<div class="lb_image"><input type="hidden" name="lb_image" value="" id="lb_image"></div>
</td>
</tr>
<tr>
<td class="w150 label">Title</td>
<td><input type="text" name="lb_title" id="lb_title" class="w300" value=""></td>
</tr>
<tr>
<td class="w150 label">Link</td>
<td><input type="text" name="lb_url" id="lb_url" class="w300" value=""></td>
</tr>
<tr>
<td class="w150 label">Thứ tự</td>
<td><input type="text" name="nb_order" id="nb_order" class="w100" value=""></td>
</tr>
<tr>
<td class="label">Trạng thái</td>
<td><input type="checkbox" name="bl_active" id="bl_active" value="1" checked="checked"></td>
</tr>
<tr>
<td class="label"></td>
<td class="footer"><input type="submit" name="bt_submit" class="themmoi"></td>
</tr>
</table>
<?=form_close();?>