$56 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.rohto.com.vn/wp-content/plugins/wccp-pro/

HOME
Current File : /home/bqrcodec/contact.rohto.com.vn/wp-content/plugins/wccp-pro//media_uploader_script.php
<?php
include_once "media_uploader_functions.php";
?>

<script language="javascript">
var WORDPRESS_VER = "<?php echo get_bloginfo("version") ?>";
var RCS_ADMIN_URL = '<?php echo admin_url() ?>';

function rcs_addImage_<?php echo $name; ?>(btn_id){
	
	var imageFormIndex = (new String(btn_id)).split('_').reverse()[0];
	jQuery('#imageFormIndex').val(imageFormIndex);
	jQuery('#imageEditorGoal').val('slide_image');
	jQuery('html').addClass('Image');
	
	
	var frame;
	if (WORDPRESS_VER >= "3.5") {
		
		
		if (frame) {
			
			frame.open();
			return;
		}
		
		frame = wp.media();
		frame.on("select", function(){
			var attachment = frame.state().get("selection").first();
			var fileurl = attachment.attributes.url;
			
			jQuery('#<?php echo $name; ?>').val(fileurl);
			frame.close();
			var img = jQuery('#image_holder_<?php echo $name; ?> img');
			if(img){
				img.remove();
			}
			
			rcs_addMediumImage_<?php echo $name; ?>(fileurl);
		
		});
		frame.open();
	}
	else {
		tb_show("", "media-upload.php?type=image&amp;TB_iframe=true&amp;tab=library");
		return false;
	}
}

//---------------------------------------------------------
function rcs_addMediumImage_<?php echo $name; ?>(attch_url){
	jQuery.ajax({
		type: 'POST',
		url: RCS_ADMIN_URL + 'admin-ajax.php',
		data: {
			action: 'RCS_GET_MEDIUM_IMG_I',
			attch_url: encodeURIComponent(attch_url)
		},
		success: function(data){
			var res = (new String(data)).split('--++##++--');
			jQuery('#image_holder_<?php echo $name; ?>').append('<img  src="' + attch_url + '" id="slide_image_<?php echo $name; ?>" />');
		}
	});
}
//---------------------------------------------------------
function rcs_addLargeImage(attch_url){
	jQuery.ajax({
		type: 'POST',
		url: RCS_ADMIN_URL + 'admin-ajax.php',
		data: {
			action: 'RCS_GET_LARGE_IMG_I',
			attch_url: encodeURIComponent(attch_url)
		},
		success: function(data){
			var res = (new String(data)).split('--++##++--');
			jQuery('#watermark_holder').append('<img src="' + res[1] + '" id="watermark" />');
			jQuery('#watermark_id').val(res[0]);
			jQuery('#deleteWatermark').css('display', 'block');
		}
	});
}
</script>


<style>
.image_holder {
	max-width:180px;
	max-height:80px
}
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#image_holder_dw_logo > img {
    border: 1px solid #f2f2f2;
    border-radius: 6px;
    height: auto;
    margin: auto;
    max-height: 79px;
    max-width: 180px;
    padding: 4px;
    vertical-align: middle;
    width: auto;
}
input[type="text"], input[type="search"], input[type="radio"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"], input[type="password"], input[type="checkbox"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], select2, select, textarea {
    box-shadow: none !important;
	font-size: 13px;
}
</style>

<div style="" class="col image_container<?php echo $name; ?>">
	<div class="align-items-center row">
	<div class="col-8">
	<div style="input-group form-row">
    <?php
			echo "<input style=\"float: left; width:85%;\" type=\"text\" placeholder=\"Choose a png transparent image\" class=\"form-control textbox_custom\" name=\"$name\" id=\"$name\"   value=\"$prev_saved_option_value\" size=\"25\">";
			?>
			<div class="input-group-prepend">
				<button style="float: left;margin: 4px;" type="button" class="button-secondary" id="add_image_<?php echo $name; ?>" onclick="rcs_addImage_<?php echo $name; ?>(this.id)"><?php _e('...', 'rc_slider') ?></button>
			</div>
	</div>
	</div>
	<?php
	
	$pluginsurl = plugins_url( '', __FILE__ );
	if($prev_saved_option_value == '') $prev_saved_option_value = $pluginsurl . '/images/no-logo-avaliable.gif?x=wccp_pro_watermark_pass';
	?>
	<div class="col-4" style="padding-bottom: 5px;">
		<div class="image_holder center-block" id="image_holder_<?php echo $name; ?>">
			<img id="slide_image_<?php echo $name; ?>" src="<?php echo $prev_saved_option_value; ?>?x=wccp_pro_watermark_pass">
		</div>
	</div>
	</div>
</div>

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
20 Mar 2026 9.46 AM
bqrcodec / bqrcodec
0755
.git
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
Help - read first!!
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
bootstrap
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
css
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
fonts
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
framework
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
image-picker
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
images
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
js
--
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0755
languages
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
plugin-update-checker
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
#### Safari users - Help ####.txt
0.404 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
Austrise.ttf
144.199 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
README.md
0.021 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
admin_help.php
9.481 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
admin_script.js
0.431 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
admin_settings.php
59.397 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
common-functions.php
17.153 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
controls-functions.php
35.962 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
css-protect.css
1.588 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
css_functions.php
0.741 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
functions.php
41.324 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
index.htm
0 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
index.js
6.612 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
js_functions.php
40.09 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
loop.php
7.623 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
media_uploader_functions.php
1.247 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
media_uploader_script.php
4.135 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
my_loggg.txt
0 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
no-js.php
0.12 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
play_functions.php
6.56 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
preventer-index.php
7.404 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
private-functions.php
10.711 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
readme.txt
18.825 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
the_globals.php
0.111 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
watermark.php
22.49 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
watermark.png
10.792 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644
watermarking-parameters.php
0.84 KB
16 Mar 2026 5.33 PM
bqrcodec / bqrcodec
0644
word2uni.php
10.018 KB
13 May 2025 5.01 PM
bqrcodec / bqrcodec
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF