403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/thevoux-wp/vc_templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/vc_templates/thb_contentbox.php
<?php function thb_contentbox( $atts, $content = null ) {
  $atts = vc_map_get_attributes( 'thb_contentbox', $atts );
  extract( $atts );
	$href = vc_build_link( $link );
	// Image
	if ($image) {
		$img_id = preg_replace('/[^\d]/', '', $image);
		$img = wp_get_attachment_image($img_id, 'full', false, array(
			'alt'   => trim(strip_tags( get_post_meta($img_id, '_wp_attachment_image_alt', true) )),
		));
	} else {
		$img = '';	
	}
	
	// Link
	$link_to = '';
	if (!empty($href)) {
		$link_to = $href['url'] ? $href['url'] : '';
	}
	// Content
	$out  = '<div class="contentbox '.$animation.'">';
		$out .= $link ? '<a href="'.esc_url($link_to).'" '. ($href['target'] ? ' target="'.$href['target'].'"' : '') . ($href['title'] ? ' title="'.$href['title'].'"' : '') .'>' : '';
		$out .= '<figure>'.$img.'</figure>';
		$out .= '<div class="content"' . ($content_color ? ' style="color: '.$content_color.'"' : '').'>';
			$out .= '<h6' . ($heading_color ? ' style="color: '.$heading_color.'"' : '').'>'.$heading.'</h6>';
			$out .= $content;
		$out .= '</div>';
		$out .= $link ? '</a>' : '';
	$out .= '</div>';
  return $out;
}
thb_add_short('thb_contentbox', 'thb_contentbox');

Youez - 2016 - github.com/yon3zu
LinuXploit