SILENT KILLERPanel

Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > jetpack > modules > shortcodes


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/shortcodes

NameTypeSizeLast ModifiedActions
css Directory - -
images Directory - -
img Directory - -
js Directory - -
archives.php File 2076 bytes October 14 2024 11:06:00.
audio.php File 12887 bytes October 14 2024 11:06:00.
bandcamp.php File 7419 bytes October 14 2024 11:06:00.
blip.php File 2136 bytes October 14 2024 11:06:00.
cartodb.php File 603 bytes October 14 2024 11:06:00.
codepen.php File 229 bytes October 14 2024 11:06:00.
dailymotion.php File 10716 bytes October 14 2024 11:06:00.
diggthis.php File 163 bytes October 14 2024 11:06:00.
facebook.php File 3229 bytes October 14 2024 11:06:00.
flickr.php File 7129 bytes October 14 2024 11:06:00.
gist.php File 2854 bytes October 14 2024 11:06:00.
googlemaps.php File 6485 bytes October 14 2024 11:06:00.
googleplus.php File 1188 bytes October 14 2024 11:06:00.
googlevideo.php File 1436 bytes October 14 2024 11:06:00.
houzz.php File 845 bytes October 14 2024 11:06:00.
instagram.php File 8678 bytes October 14 2024 11:06:00.
medium.php File 1952 bytes October 14 2024 11:06:00.
mixcloud.php File 2133 bytes October 14 2024 11:06:00.
polldaddy.php File 17010 bytes October 14 2024 11:06:00.
presentations.php File 14320 bytes October 14 2024 11:06:00.
recipe.php File 4065 bytes October 14 2024 11:06:00.
scribd.php File 1741 bytes October 14 2024 11:06:00.
slideshare.php File 3332 bytes October 14 2024 11:06:00.
slideshow.php File 10347 bytes October 14 2024 11:06:00.
soundcloud.php File 10115 bytes October 14 2024 11:06:00.
ted.php File 2305 bytes October 14 2024 11:06:00.
twitchtv.php File 3394 bytes October 14 2024 11:06:00.
twitter-timeline.php File 1247 bytes October 14 2024 11:06:00.
videopress.php File 88 bytes October 14 2024 11:06:00.
vimeo.php File 8604 bytes October 14 2024 11:06:00.
vine.php File 2172 bytes October 14 2024 11:06:00.
wufoo.php File 3472 bytes October 14 2024 11:06:00.
youtube.php File 15352 bytes October 14 2024 11:06:00.

Reading File: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/shortcodes/wufoo.php

<?php
/*
Plugin Name: Wufoo Shortcode Plugin
Description: Enables shortcode to embed Wufoo forms. Usage: [wufoo username="chriscoyier" formhash="x7w3w3" autoresize="true" height="458" header="show" ssl="true"]
Author: Chris Coyier / Wufoo, evansolomon

Based on http://wordpress.org/extend/plugins/wufoo-shortcode/
http://wufoo.com/docs/code-manager/wordpress-shortcode-plugin/
*/


function wufoo_shortcode( $atts ) {
	$attr = shortcode_atts(
		array(
			'username'   => '',
			'formhash'   => '',
			'autoresize' => true,
			'height'     => '500',
			'header'     => 'show',
			'ssl'        => '',
		), $atts
	);

	// Check username and formhash to ensure they only have alphanumeric characters or underscores, and aren't empty.
	if ( ! preg_match( '/^[a-zA-Z0-9_]+$/', $attr['username'] ) || ! preg_match( '/^[a-zA-Z0-9_]+$/', $attr['formhash'] ) ) {

		/**
		 * Return an error to the users with instructions if one of these params is invalid
		 * They don't have default values because they are user/form-specific
		 */
		$return_error = sprintf( __( 'Something is wrong with your Wufoo shortcode. If you copy and paste it from the %sWufoo Code Manager%s, you should be golden.', 'jetpack' ), '<a href="http://wufoo.com/docs/code-manager/">', '</a>' );

		return '
			<div style="border: 20px solid red; border-radius: 40px; padding: 40px; margin: 50px 0 70px;">
				<h3>Uh oh!</h3>
				<p style="margin: 0;">' . $return_error . '</p>
			</div>';
	}

	/**
	 * Required parameters are present.
	 * An error will be returned inside the form if they are invalid.
	 */
	$js_embed = '<script type="text/javascript">var host = (("https:" == document.location.protocol) ? "https://secure." : "http://");document.write(unescape("%3Cscript src=\'" + host + "wufoo.com/scripts/embed/form.js\'  type=\'text/javascript\'%3E%3C/script%3E"));</script>';
	$js_embed .= "<script type='text/javascript'>";
	$js_embed .= 'var wufoo_' . $attr['formhash'] . ' = new WufooForm();';
	$js_embed .= 'wufoo_' . $attr['formhash'] . ' .initialize({';
	$js_embed .= "'userName':'" . $attr['username'] . "', ";
	$js_embed .= "'formHash':'" . $attr['formhash'] . "', ";
	$js_embed .= "'autoResize':" . (bool) ( $attr['autoresize'] ) . ',';
	$js_embed .= "'height':'" . (int) $attr['height'] . "',";
	$js_embed .= "'header':'" . esc_js( $attr['header'] ) . "' ";

	/**
	 * Only output SSL value if passes as param.
	 * Lower tier plans don't show this param (don't offer SSL).
	 */
	$js_embed .= ( $attr['ssl'] ) ? ",'ssl':" . (bool) $attr['ssl'] : '';
	$js_embed .= '});';
	$js_embed .= 'wufoo_' . $attr['formhash'] . '.display();';
	$js_embed .= '</script>';

	/**
	 * iframe embed, loaded inside <noscript> tags.
	 */
	$iframe_embed = '<iframe ';
	$iframe_embed .= 'height="' . (int) $attr['height'] . '" ';
	$iframe_embed .= 'allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none;"';
	$iframe_embed .= 'src="https://' . $attr['username'] . '.wufoo.com/embed/' . $attr['formhash'] . '/">';
	$iframe_embed .= '<a href="https://' . $attr['username'] . '.wufoo.com/forms/' . $attr['formhash'] . '/" ';
	$iframe_embed .= 'rel="nofollow">Fill out my Wufoo form!</a></iframe>';

	/** This action is already documented in modules/widgets/gravatar-profile.php */
	do_action( 'jetpack_stats_extra', 'embeds', 'wufoo' );

	/**
	 * Return embed in JS and iframe.
	 */
	return "$js_embed <noscript> $iframe_embed </noscript>";
}

add_shortcode( 'wufoo', 'wufoo_shortcode' );

SILENT KILLER Tool