HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/default.php.tar
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/recent-posts/tpl/default.php000064400000002353151544521760033014 0ustar00var/www/vhosts<?php
if ( $query->have_posts() ) {
	do_action( 'siteorigin_widgets_recent_posts_title_before', $instance );

	if ( ! empty( $instance['title'] ) ) {
		echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
	}

	do_action( 'siteorigin_widgets_recent_posts_loop_before', $instance );
	?>
	<ul class="sow-recent-posts">
		<?php
		while( $query->have_posts() ) {
			$query->the_post();
			?>
			<li class="sow-recent-posts-item">
				<div class="sow-recent-posts-item-inner">
					<?php do_action( 'siteorigin_widgets_recent_posts_item_start', $instance ); ?>
					<?php SiteOrigin_Widget_Recent_Posts_Widget::featured_image( $settings ); ?>

					<div class="sow-recent-posts-item-hgroup">
						<?php
						SiteOrigin_Widget_Recent_Posts_Widget::post_title( $settings );
						SiteOrigin_Widget_Recent_Posts_Widget::post_date( $settings );
						SiteOrigin_Widget_Recent_Posts_Widget::content( $settings );
						SiteOrigin_Widget_Recent_Posts_Widget::read_more( $settings );
						?>
					</div>
					<?php do_action( 'siteorigin_widgets_recent_posts_item_end', $instance ); ?>
				</div>
			</li>
			<?php
		}
		wp_reset_postdata();
		?>
	</ul>
	<?php
	do_action( 'siteorigin_widgets_recent_posts_loop_after', $instance );
}
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/social-media-buttons/tpl/default.php000064400000003650151545147220034406 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
/**
 * @var $networks array
 */
?>

<?php if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
} ?>

<div class="social-media-button-container">
	<?php foreach ( $networks as $network ) {
		$classes = array();

		if ( ! empty( $instance['design']['hover'] ) ) {
			$classes[] = 'ow-button-hover';
		}
		$classes[] = 'sow-social-media-button-' . sanitize_html_class( $network['css_class_name'] );
		$classes[] = 'sow-social-media-button';

		if ( empty( $network['icon_title'] ) ) {
			if ( $network['name'] == 'email' || $network['name'] == 'phone' ) {
				$title = sprintf(
					__( '%s %s', 'so-widgets-bundle' ),
					ucfirst( $network['name'] ),
					get_bloginfo( 'name' )
				);
			} else {
				$title = sprintf(
					__( '%s on %s', 'so-widgets-bundle' ),
					get_bloginfo( 'name' ),
					ucwords( str_replace( '-', ' ', $network['name'] ) )
				);
			}
		} else {
			$title = $network['icon_title'];
		}
		$button_attributes = array(
			'class' => esc_attr( implode( ' ', $classes ) ),
			'title' => $title,
			'aria-label' => $title,
		);

		if ( ! empty( $instance['design']['new_window'] ) && $network['name'] != 'phone' ) {
			$button_attributes['target'] = '_blank';
			$button_attributes['rel'] = 'noopener noreferrer';
		}

		if ( ! empty( $network['url'] ) ) {
			$button_attributes['href'] = sow_esc_url( trim( $network['url'] ) );
		}
		?>

		<a <?php foreach ( $button_attributes as $name => $val ) {
			echo siteorigin_sanitize_attribute_key( $name ) . '="' . esc_attr( $val ) . '" ';
		} ?>>
			<span>
				<?php if ( ! empty( $network['is_custom'] ) ) {
					echo '<!-- premium-' . siteorigin_sanitize_attribute_key( $network['name'] ) . ' -->';
				} ?>
				<?php echo siteorigin_widget_get_icon( $network['icon_name'] ); ?>
				<?php if ( ! empty( $network['is_custom'] ) ) {
					echo '<!-- endpremium -->';
				} ?>
			</span>
		</a>
	<?php } ?>
</div>
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/simple-masonry/tpl/default.php000064400000004747151545412650033354 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
/**
 * @var $args array
 * @var $items array
 * @var $layouts array
 */
?>

<?php if ( ! empty( $instance['widget_title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['widget_title'] ) . $args['after_title'];
} ?>

<?php if ( $preloader_enabled ) { ?>
	<div class="sow-masonry-grid-preloader"><div></div><div></div><div></div><div></div></div>
<?php } ?>
<div class="sow-masonry-grid"
	 data-layouts="<?php echo esc_attr( json_encode( $layouts ) ); ?>" data-layout-origin-left="<?php echo esc_attr( $layout_origin_left ); ?>" <?php echo ! empty( $preloader_enabled ) ? 'style="opacity: 0;"' : ''; ?>>
	<?php
	if ( ! empty( $items ) ) {
		foreach ( $items as $item ) {
			$attr = array();
			$attr['class'] = 'sow-masonry-grid-image';
			$src = wp_get_attachment_image_src( $item['image'], 'full' );
			$src = empty( $src ) ? '' : $src[0];
			$attr['title'] = empty( $item['title'] ) ? '' : $item['title'];
			$url = empty( $item['url'] ) ? '' : $item['url'];
			?>
			<div class="sow-masonry-grid-item" data-col-span="<?php echo esc_attr( $item['column_span'] ); ?>"
			     data-row-span="<?php echo esc_attr( $item['row_span'] ); ?>">
				<?php if ( ! empty( $url ) ) { ?>
					<a href="<?php echo sow_esc_url( $url ); ?>"
					<?php foreach ( $item['link_attributes'] as $att => $val ) { ?>
						<?php if ( ! empty( $val ) ) { ?>
							<?php echo siteorigin_sanitize_attribute_key( $att ) . '="' . esc_attr( $val ) . '" '; ?>
						<?php } ?>
					<?php } ?>>
				<?php } ?>

				<?php
				if (
					! empty( $instance['title'] ) &&
					! empty( $item['title'] ) &&
					! empty( $instance['title']['display'] ) &&
					$instance['title']['position'] == 'above'
				) {
					?>
					<span class="image-title">
						<?php echo wp_kses_post( $item['title'] ); ?>
					</span>
				<?php } ?>

				<?php
				echo siteorigin_widgets_get_attachment_image(
					$item['image'],
					'full',
					! empty( $item['image_fallback'] ) ? $item['image_fallback'] : '',
					siteorigin_loading_optimization_attributes(
						$attr,
						'masonry_grid',
						$instance,
						$this
					)
				);
				?>

				<?php
				if (
					! empty( $instance['title'] ) &&
					! empty( $item['title'] ) &&
					! empty( $instance['title']['display'] ) &&
					$instance['title']['position'] == 'below'
				) {
					?>
					<span class="image-title">
						<?php echo wp_kses_post( $item['title'] ); ?>
					</span>
				<?php } ?>

				<?php if ( ! empty( $url ) ) { ?>
					</a>
				<?php } ?>
			</div>
			<?php
		}
	}
?>

</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/contact/tpl/default.php000064400000006372151545557650032036 0ustar00var/www/vhosts<?php
$this->instance_hash = $storage_hash;
$short_hash = substr( $this->instance_hash, 0, 4 );

// Display the title.
if ( $instance['display_title'] && ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
}

if ( is_array( $result ) && $result['status'] == 'success' ) {
	// Display the success message
	?>
	<div class="sow-contact-form-success" id="contact-form-<?php echo esc_attr( $short_hash ); ?>">
		<?php echo wp_kses_post( apply_filters( 'siteorigin_widgets_contact_success_message', $instance['settings']['success_message'] ) ); ?>
	</div>
	<?php
} else {
	if ( $recaptcha && ! empty( $recaptcha_v2 ) ) {
		$settings = array(
			'sitekey' => $recaptcha_config['site_key'],
			'theme'   => $recaptcha_config['theme'],
			'type'    => $recaptcha_config['type'],
			'size'    => $recaptcha_config['size'],
		);
	}
	$global_settings = $this->get_global_settings();
	?>
	<form
		action="<?php echo esc_url( add_query_arg( null, null ) ); ?>"
		method="POST"
		class="sow-contact-form<?php echo ! empty( $global_settings['scrollto'] ) && ! empty( $result ) ? ' sow-contact-submitted' : ''; ?>"
		id="contact-form-<?php echo esc_attr( $short_hash ); ?>"
	>

		<?php if ( ! empty( $result['errors']['_general'] ) ) { ?>
			<ul class="sow-error">
				<?php foreach ( $result['errors']['_general'] as $type => $message ) { ?>
					<li><?php echo esc_html( $message ); ?></li>
				<?php } ?>
			</ul>
		<?php } ?>

		<?php
		$this->render_form_fields( $instance['fields'], $result, $instance );

		if ( $template_vars['honeypot'] ) {
			?>
			<input
				type="text"
				name="sow-name"
				class="sow-text-field"
				style="display: none !important; visibility: hidden !important;"
				autocomplete="off"
				aria-hidden="true"
			>
		<?php } ?>

		<?php if ( $recaptcha ) { ?>
			<div class="sow-recaptcha"
				<?php if ( ! empty( $recaptcha_v2 ) ) { ?>
					data-config="<?php echo esc_attr( json_encode( $recaptcha_v2 ) ); ?>"
				<?php } ?>
			></div>
			<?php
		}

		if ( ! empty( $really_simple_spam ) ) {
			if ( $really_simple_spam == 'missing' ) {
				esc_html_e( 'Unable to detect Really Simple CAPTCHA plugin.', 'so-widgets-bundle' );
			} else {
				require 'simple.php';
			}
		}

		do_action( 'siteorigin_widgets_contact_before_submit', $instance, $result );
		?>

		<div class="sow-submit-wrapper <?php if ( $instance['design']['submit']['styled'] ) {
			echo 'sow-submit-styled';
		} ?>">

			<button
				type="submit"
				class="sow-submit<?php
				if ( $recaptcha && empty( $recaptcha_v2 ) ) {
					echo ' g-recaptcha';
				}
				?>"
				<?php
				foreach ( $submit_attributes as $name => $val ) {
					echo siteorigin_sanitize_attribute_key( $name ) . '="' . esc_attr( $val ) . '" ';
				}

				if ( ! empty( $onclick ) ) {
					echo 'onclick="' . siteorigin_widget_onclick( $onclick ) . '"';
				}
				?>
			>
				<?php echo esc_html( $instance['settings']['submit_text'] ); ?>
			</button>
		</div>
		<?php
		do_action( 'siteorigin_widgets_contact_after_submit', $instance, $result );
		?>
		<input
			type="hidden"
			name="<?php echo esc_attr( $this->name_from_label( 'instance_hash' ) ); ?>"
			value="<?php echo esc_attr( $this->instance_hash ); ?>"
		/>

		<?php wp_nonce_field( '_contact_form_submit' ); ?>
	</form>
	<?php
}
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/lottie-player/tpl/default.php000064400000001754151545650620033163 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
if ( empty( $file ) ) {
	esc_html_e( 'Unable to display Lottie Player.', 'so-widgets-bundle' );

	return;
}
?>

<div class="sow-lottie-player" <?php if ( ! empty( $url ) ) { ?>style="position: relative;"<?php } ?>>
	<?php if ( ! empty( $url ) ) { ?>
		<?php $bottom = ! empty( $attributes['controls'] ) ? '35px' : 0; ?>
		<a
			href="<?php echo sow_esc_url( $url ); ?>"
			style="position: absolute; top: 0; right: 0; left: 0; bottom: <?php echo $bottom; ?>; z-index: 1;"
			<?php echo $new_window ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>
		>
			&nbsp;
		</a>
	<?php } ?>
	<lottie-player
		class="sow-lottie-player"
		<?php
		foreach ( $attributes as $name => $value ) {
			if ( ! empty( $value ) ) {
				if ( $value === true ) {
					echo siteorigin_sanitize_attribute_key( $name ) . ' ';
				} else {
					echo siteorigin_sanitize_attribute_key( $name ) . '="' . esc_attr( $value ) . '" ';
				}
			}
		}
		?>
		src="<?php echo sow_esc_url( $file ); ?>"
	>
	</lottie-player>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/author-box/tpl/default.php000064400000004770151546170230032455 0ustar00var/www/vhosts<div class="sow-author-box">
	<?php do_action( 'siteorigin_widgets_author_box_before', $instance ); ?>
	<?php if ( $show_avatar ) { ?>
		<?php $avatar_image_size = apply_filters( 'siteorigin_widgets_avatar_size', (int) $avatar_image_size ); ?>
		<div class="sow-author-box-avatar" style="max-width: <?php echo esc_attr( $avatar_image_size ); ?>px;">
			<?php do_action( 'siteorigin_widgets_author_box_avatar_above', $instance ); ?>
			<?php if ( $link_avatar ) { ?>
				<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
			<?php
			}

			echo get_avatar(
				get_the_author_meta( 'ID' ),
				$avatar_image_size * 2
			);

			if ( $link_avatar ) {
				?>
				</a>
			<?php } ?>
			<?php do_action( 'siteorigin_widgets_author_box_avatar_below', $instance ); ?>
		</div>
	<?php } ?>
	<div class="sow-author-box-description">
		<?php do_action( 'siteorigin_widgets_author_box_description_above', $instance ); ?>

		<div class="sow-author-box-title-wrapper">
			<<?php echo esc_html( $title_tag ); ?> class="sow-author-box-title">
				<?php if ( $link_name ) { ?>
					<a href="<?php echo esc_urL( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>"  class="sow-author-box-author">
					<?php
				}
				echo get_the_author();

				if ( $link_name ) {
					?>
					</a>
				<?php } ?>
			</<?php echo esc_html( $title_tag ); ?>>

			<?php
			ob_start();
			do_action( 'siteorigin_widgets_author_box_description_inline', $instance );
			$inline_html_action = ob_get_clean();
			?>
			<?php if ( ! empty( $inline_html_action ) ) { ?>
				<div class="sow-author-box-inline-title">
					<?php echo $inline_html_action; ?>
				</div>
			<?php } ?>
		</div>

		<div class="sow-author-box-info">
			<?php if ( $link_all_posts ) { ?>
				<a href="<?php echo esc_urL( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" class="sow-author-box-author-all">
					<?php esc_html_e( sprintf( 'View posts by %s', get_the_author() ), 'so-widgets-bundle' ); ?>
				</a>
			<?php } ?>
		</div>

		<?php if ( $author_bio ) { ?>
			<div class="sow-author-box-bio">
				<?php do_action( 'siteorigin_widgets_author_box_description_bio_before', $instance ); ?>
				<?php echo wp_kses_post( get_the_author_meta( 'description' ), null ); ?>
			</div>
			<?php do_action( 'siteorigin_widgets_author_box_description_bio_after', $instance ); ?>
		<?php } ?>

		<?php do_action( 'siteorigin_widgets_author_box_description_below', $instance ); ?>
	</div>
	<?php do_action( 'siteorigin_widgets_author_box_after', $instance ); ?>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/button-grid/tpl/default.php000064400000000507151546236460032625 0ustar00var/www/vhosts<?php
if ( ! empty( $instance['buttons'] ) ) {
	global $wp_widget_factory;
	?>
	<div class="sow-buttons-grid">
		<?php
		$the_widget = $wp_widget_factory->widgets['SiteOrigin_Widget_Button_Widget'];
		foreach ( $instance['buttons'] as $button ) {
			$the_widget->widget( array(), $button['widget'] );
		}
		?>
	</div>
	<?php
}
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/taxonomy/tpl/default.php000064400000002154151546300300032226 0ustar00var/www/vhosts<?php
/**
 * @var $title
 * @var $post
 * @var $taxonomy_name
 * @var $label
 * @var $display_format
 */

if ( ! empty( $title ) ) {
	echo $args['before_title'] . wp_kses_post( $title ) . $args['after_title'];
}
?>

<div class="sow-taxonomy">

	<?php if ( ! empty( $label ) ) { ?>
		<label class="sow-taxonomy-label"><?php echo esc_html( $label ); ?></label>
	<?php } ?>

	<?php
	if ( $display_format == 'text' || $display_format == 'links' ) {
		echo '<p>';
	}
	?>

		<?php foreach ( get_the_terms( $post->ID, $taxonomy_name ) as $term ) { ?>
			<?php if ( $display_format == 'text' ) { ?>
				<span class="so-taxonomy-text" ref="tag"><?php echo esc_html( $term->name ); ?></span>
			<?php } else { ?>
				<a class="so-taxonomy-<?php echo esc_attr( $display_format ); ?>" href="<?php echo esc_url( get_term_link( $term, $taxonomy_name ) ); ?>" rel="tag"  <?php if ( ! empty( $new_window ) ) {
					echo 'target="_blank" rel="noopener noreferrer"';
				} ?>><?php echo esc_html( $term->name ); ?></a>
			<?php } ?>
		<?php } ?>

	<?php
	if ( $display_format == 'text' || $display_format == 'links' ) {
		echo '</p>';
	}
	?>

</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/headline/tpl/default.php000064400000002503151546432400032126 0ustar00var/www/vhosts<div class="sow-headline-container <?php if ( $instance['fittext'] ) {
	;
} ?>">
	<?php
	foreach ( $order as $item ) {
		unset( $text );

		switch( $item ) {
			case 'headline':
				case 'headline':
					$text = $headline;
					$tag = $headline_tag;
					$destination_url = $headline_destination_url;
					$new_window = $headline_new_window;
					$class = 'sow-headline';
				case 'sub_headline':
					if ( ! isset( $text ) ) {
						$text = $sub_headline;
						$tag = $sub_headline_tag;
						$destination_url = $sub_headline_destination_url;
						$new_window = $sub_headline_new_window;
						$class = 'sow-sub-headline';
					}

					if ( ! empty( $text ) ) {
						?>
						<<?php echo esc_attr( $tag ); ?> class="<?php echo $class; ?>">
						<?php
						if ( ! empty( $destination_url ) ) { ?>
							<a href="<?php echo sow_esc_url( $destination_url ); ?>" <?php echo (bool) $new_window ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>>
								<?php
						}

						echo wp_kses_post( $text );

						if ( ! empty( $destination_url ) ) {
							echo '</a>';
						}
						?>
						</<?php echo esc_attr( $tag ); ?>>
						<?php
					}
				break;

			case 'divider':
				if ( $has_divider ) {
					?>
					<div class="decoration">
						<div class="decoration-inside"></div>
					</div>
					<?php
				}
				break;
		}
	}
	?>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/image-grid/tpl/default.php000064400000002633151546752310032373 0ustar00var/www/vhosts<?php
/**
 * @var $images array
 * @var $max_height int
 * @var $max_width int
 * @var $title_position string
 */
?>
<?php if ( ! empty( $images ) ) { ?>
	<div
		class="sow-image-grid-wrapper"
		<?php if ( ! empty( $max_width ) ) {
			echo 'data-max-width="' . (int) $max_width . '"';
		} ?>
		<?php if ( ! empty( $max_height ) ) {
			echo 'data-max-height="' . (int) $max_height . '"';
		} ?>
	>
		<?php foreach ( $images as $image ) { ?>
			<div class="sow-image-grid-image">
				<?php if ( ! empty( $title_position ) && ! empty( $image['title'] ) && $title_position == 'above' ) { ?>
					<div class="image-title">
						<?php echo wp_kses_post( $image['title'] ); ?>
					</div>
				<?php } ?>
				<?php if ( ! empty( $image['url'] ) ) { ?>
					<a href="<?php echo sow_esc_url( $image['url'] ); ?>"
					<?php foreach ( $image['link_attributes'] as $attr=> $val ) { ?>
						<?php if ( ! empty( $val ) ) { ?>
							<?php echo siteorigin_sanitize_attribute_key( $attr ) . '="' . esc_attr( $val ) . '" '; ?>
						<?php } ?>
					<?php } ?>>
				<?php } ?>
				<?php echo $image['image_html']; ?>
				<?php if ( ! empty( $image['url'] ) ) { ?>
					</a>
				<?php } ?>
				<?php if ( ! empty( $title_position ) && ! empty( $image['title'] ) && $title_position == 'below' ) { ?>
					<div class="image-title">
						<?php echo wp_kses_post( $image['title'] ); ?>
					</div>
				<?php } ?>
			</div>
		<?php } ?>
	</div>
<?php } ?>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/features/tpl/default.php000064400000013600151547122450032175 0ustar00var/www/vhosts<?php
$feature_width = $this->calculate_feature_width( $instance );

$tag = siteorigin_widget_valid_tag(
	$instance['fonts']['title_options']['tag'],
	'h5'
);
?>

<div class="sow-features-list <?php if ( $instance['responsive'] ) {
	echo 'sow-features-responsive';
} ?>">

	<?php if ( isset( $instance['features'] ) ) { ?>
		<?php foreach ( $instance['features'] as $i => $feature ) { ?>
			<?php
			$right_left_read_more = ! empty( $feature['more_text'] ) &&
			(
				empty( $instance['more_text_bottom_align'] ) ||
				(
					$feature['container_position'] == 'right' ||
					$feature['container_position'] == 'left'
				)
			);
			?>
			<div
				class="sow-features-feature sow-icon-container-position-<?php echo esc_attr( $feature['container_position'] ); ?>"
				style="display: flex; flex-direction: <?php echo $this->get_feature_flex_direction( $feature['container_position'], ! empty( $instance['more_text_bottom_align'] ) ); ?>; width: <?php echo esc_attr( $feature_width ); ?>;"
			>
			<?php if ( $right_left_read_more ) { ?>
				<div class="sow-features-feature-right-left-container" style="display: flex; flex-direction: inherit;">
			<?php } ?>

				<?php if ( ! empty( $feature['more_url'] ) && $instance['icon_link'] && empty( $instance['link_feature'] ) ) { ?>
					<a
						href="<?php echo sow_esc_url( $feature['more_url'] ); ?>"
						<?php echo (bool) $instance['new_window'] ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>
					>
				<?php } ?>
				<div
					class="sow-icon-container <?php echo ! empty( $instance['container_shape'] ) ? 'sow-container-' . esc_attr( $instance['container_shape'] ) : 'sow-container-none'; ?>"
					style="color: <?php echo esc_attr( $feature['container_color'] ); ?>; "
					<?php echo ! empty( $feature['icon_title'] ) ? 'title="' . esc_attr( $feature['icon_title'] ) . '"' : ''; ?>
				>
					<?php
					$icon_styles = array();

					if ( ! empty( $feature['icon_image'] ) || ! empty( $feature['icon_image_fallback'] ) ) {
						$size = empty( $feature['icon_image_size'] ) ? 'thumbnail' : $feature['icon_image_size'];
						$attachment = siteorigin_widgets_get_attachment_image_src(
							$feature['icon_image'],
							$size,
							! empty( $feature['icon_image_fallback'] ) ? $feature['icon_image_fallback'] : false
						);

						if ( ! empty( $attachment ) ) {
							$icon_styles[] = 'background-image: url(' . sow_esc_url( $attachment[0] ) . ')';

							if ( ! empty( $instance['icon_size'] ) ) {
								$icon_styles[] = 'font-size: ' . (int) $instance['icon_size'] . esc_attr( $instance['icon_size_unit'] );
							}

							?><div class="sow-icon-image" style="<?php echo implode( '; ', $icon_styles ); ?>"></div><?php
						}
					} else {
						if ( ! empty( $instance['icon_size'] ) ) {
							$icon_styles[] = 'font-size: ' . (int) $instance['icon_size'] . esc_attr( $instance['icon_size_unit'] );
						}

						if ( ! empty( $feature['icon_color'] ) ) {
							$icon_styles[] = 'color: ' . esc_attr( $feature['icon_color'] );
						}

						echo siteorigin_widget_get_icon( $feature['icon'], $icon_styles );
					}
					?>
				</div>
				<?php
				if (
					! empty( $feature['more_url'] ) &&
					$instance['icon_link'] &&
					empty( $instance['link_feature'] )
				) {
					?>
					</a>
					<?php
				}
				?>

				<div class="textwidget">
					<?php if ( $right_left_read_more ) { ?>
						<div class="sow-features-feature-content">
					<?php } ?>

					<?php if ( ! empty( $feature['title'] ) ) { ?>
						<<?php echo esc_html( $tag ); ?> class="sow-features-feature-title">
							<?php if ( ! empty( $feature['more_url'] ) && $instance['title_link'] && empty( $instance['link_feature'] ) ) { ?>
								<a
									href="<?php echo sow_esc_url( $feature['more_url'] ); ?>"
									<?php echo (bool) $instance['new_window'] ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>
								>
							<?php } ?>

							<?php echo wp_kses_post( $feature['title'] ); ?>
							<?php if ( ! empty( $feature['more_url'] ) && $instance['title_link'] && empty( $instance['link_feature'] ) ) { ?>
								</a>
							<?php } ?>
						</<?php echo esc_html( $tag ); ?>>
					<?php } ?>

					<?php if ( ! empty( $feature['text'] ) ) { ?>
						<div class="sow-features-feature-text">
						<?php echo wp_kses_post( do_shortcode( $feature['text'] ) ); ?>
						</div>
					<?php } ?>

					<?php if ( $right_left_read_more ) { ?>
						</div>
						<p class="sow-more-text">
							<?php if ( ! empty( $feature['more_url'] ) ) {
								echo '<a href="' . sow_esc_url( $feature['more_url'] ) . '" ' . ( (bool) $instance['new_window'] ? 'target="_blank" rel="noopener noreferrer"' : '' ) . '>';
							} ?>
							<?php echo wp_kses_post( $feature['more_text'] ); ?>
							<?php if ( ! empty( $feature['more_url'] ) ) {
								echo '</a>';
							} ?>
						</p>
					<?php } ?>
				</div>
				<?php if ( $right_left_read_more ) { ?>
					</div>
				<?php } ?>
				<?php
				if (
					! empty( $feature['more_text'] ) &&
					! empty( $instance['more_text_bottom_align'] ) &&
					(
						$feature['container_position'] == 'top' ||
						$feature['container_position'] == 'bottom'
					)
				) { ?>
					<p class="sow-more-text">
						<?php if ( ! empty( $feature['more_url'] ) ) {
							echo '<a href="' . sow_esc_url( $feature['more_url'] ) . '" ' . ( (bool) $instance['new_window'] ? 'target="_blank" rel="noopener noreferrer"' : '' ) . '>';
						} ?>
						<?php echo wp_kses_post( $feature['more_text'] ); ?>
						<?php if ( ! empty( $feature['more_url'] ) ) {
							echo '</a>';
						} ?>
					</p>
				<?php } ?>

				<?php if ( ! empty( $instance['link_feature'] ) && ! empty( $feature['more_url'] ) ) { ?>
					<a
						href="<?php echo sow_esc_url( $feature['more_url'] ); ?>"
						<?php echo (bool) $instance['new_window'] ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>
						class="sow-features-feature-linked-column"
					>
						&nbsp;
					</a>
				<?php } ?>
			</div>

		<?php } ?>
	<?php } ?>

</div>
vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/hero/tpl/default.php000064400000000142151547462140031314 0ustar00var/www<?php

$this->render_template( $instance['controls'], $instance['frames'], $instance['layout'] );
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/layout-slider/tpl/default.php000064400000000142151550107700033144 0ustar00var/www/vhosts/uyarreklam.com.tr<?php

$this->render_template( $instance['controls'], $instance['frames'], $instance['layout'] );
vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/image/tpl/default.php000064400000002340151550110110031420 0ustar00var/www<?php
/**
 * @var $title
 * @var $title_position
 * @var $url
 * @var $link_attributes
 * @var $link_title
 * @var $new_window
 * @var $attributes
 * @var $classes
 */

// Don't output an empty image.
if ( empty( $attributes['src'] ) ) {
	return;
}

if ( $title_position == 'above' ) {
	echo $args['before_title'];

	if ( $link_title && ! empty( $url ) ) {
		echo $this->generate_anchor_open( $url, $link_attributes ) . wp_kses_post( $title ) . '</a>';
	} else {
		echo wp_kses_post( $title );
	}
	echo $args['after_title'];
}
?>

<div class="sow-image-container">
	<?php if ( ! empty( $url ) ) {
		$this->generate_anchor_open( $url, $link_attributes );
	} ?>
	<img <?php foreach ( $attributes as $n => $v ) {
		if ( $n === 'alt' || ! empty( $v ) ) {
			echo siteorigin_sanitize_attribute_key( $n ) . '="' . esc_attr( $v ) . '" ';
		}
	} ?>
		class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>"/>
	<?php if ( ! empty( $url ) ) { ?></a><?php } ?>
</div>

<?php
if ( $title_position == 'below' ) {
	echo $args['before_title'];

	if ( $link_title && ! empty( $url ) ) {
		echo $this->generate_anchor_open( $url, $link_attributes ) . wp_kses_post( $title ) . '</a>';
	} else {
		echo wp_kses_post( $title );
	}
	echo $args['after_title'];
}
?>
vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/tabs/tpl/default.php000064400000002473151550110310031300 0ustar00var/www<?php
/**
 * @var array $args
 * @var array $instance
 * @var array $tabs
 * @var array $initial_tab_index
 */
if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
}
?>
<div class="sow-tabs">
	<div class="sow-tabs-tab-container" role="tablist">
	<?php foreach ( $tabs as $i => $tab ) { ?>
		<div
			class="sow-tabs-tab<?php if ( $i == $initial_tab_index ) {
				echo ' sow-tabs-tab-selected';
			} ?>"
			role="tab"
			data-anchor-id="<?php echo esc_attr( sanitize_title( $tab['anchor'] ) ); ?>"
			aria-selected="<?php echo $i == $initial_tab_index ? 'true' : 'false'; ?>"
			tabindex="0"
		>
			<div class="sow-tabs-title <?php echo empty( $tab['after_title'] ) ? 'sow-tabs-title-icon-left' : 'sow-tabs-title-icon-right'; ?>">
				<?php echo $tab['before_title']; ?>
				<?php echo wp_kses_post( $tab['title'] ); ?>
				<?php echo $tab['after_title']; ?>
			</div>
		</div>
	<?php } ?>
	</div>

	<div class="sow-tabs-panel-container">
	<?php foreach ( $tabs as $i => $tab ) { ?>
		<div class="sow-tabs-panel">
			<div
				class="sow-tabs-panel-content"
				role="tabpanel"
				aria-hidden="<?php echo $i != $initial_tab_index ? 'true' : 'false'; ?>"
			>
				<?php $this->render_panel_content( $tab, $instance ); ?>
			</div>
		</div>
	<?php } ?>
	</div>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/editor/tpl/default.php000064400000000334151550156270031646 0ustar00var/www/vhosts<?php if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
} ?>

<div class="siteorigin-widget-tinymce textwidget">
	<?php echo $text; ?>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/testimonial/tpl/default.php000064400000005341151550237440032712 0ustar00var/www/vhosts<?php
/**
 * @var $design
 * @var $settings
 * @var $testimonials
 */
if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
}
?>
<div class="sow-testimonials">
	<?php foreach ( $testimonials as $testimonial ) { ?>
		<?php
		$url = $testimonial['url'];
		$new_window = $testimonial['new_window'];
		$location = $testimonial['location'];
		$image_id = $testimonial['image'];
		$fallback_image_id = ! empty( $testimonial['image_fallback'] ) ? $testimonial['image_fallback'] : false;
		$has_image = ! empty( $image_id ) || ! empty( $fallback_image_id );
		$link_location = ! empty( $url );
		$link_name = $has_image && ! empty( $url );
		$link_image = $has_image && ! empty( $url );
		?>
		<div class="sow-testimonial-wrapper <?php echo $this->testimonial_wrapper_class( $design ); ?>">
			<div class="sow-testimonial">
				<?php if ( strpos( $design['layout'], '_above' ) !== false ) { ?>
					<div class="sow-testimonial-text">
						<?php echo wp_kses_post( $testimonial['text'] ); ?>
					</div>
				<?php } ?>

				<div class="sow-testimonial-user">
					<?php if ( $has_image ) { ?>
					<div class="sow-image-wrapper sow-image-wrapper-shape-<?php echo esc_attr( $design['image']['image_shape'] ); ?>">
						<?php if ( $link_image ) { ?>
						<a href="<?php echo sow_esc_url( $url ); ?>" <?php if ( ! empty( $new_window ) ) {
							echo 'target="_blank" rel="noopener noreferrer"';
						} ?>>
						<?php } ?>
						<?php echo $this->testimonial_user_image( $image_id, $design, $fallback_image_id ); ?>
						<?php if ( $link_image ) { ?>
						</a>
						<?php } ?>
					</div>
					<?php } ?>

					<div class="sow-text">
						<?php if ( $link_name ) { ?>
						<a href="<?php echo sow_esc_url( $url ); ?>" <?php if ( ! empty( $new_window ) ) {
							echo 'target="_blank" rel="noopener noreferrer"';
						} ?>>
						<?php } ?>
							<span class="sow-testimonial-name"><strong><?php echo esc_html( $testimonial['name'] ); ?></strong></span>
						<?php if ( $link_name ) { ?>
						</a>
						<?php } ?>
						<?php if ( $link_location ) { ?>
							<a href="<?php echo sow_esc_url( $url ); ?>" <?php if ( ! empty( $new_window ) ) {
								echo 'target="_blank" rel="noopener noreferrer"';
							} ?>>
						<?php } ?>
						<?php if ( ! empty( $location ) ) { ?>
							<span class="sow-testimonial-location"><?php echo esc_html( $location ); ?></span>
						<?php } ?>
						<?php if ( $link_location ) { ?>
							</a>
						<?php } ?>
					</div>
				</div>

				<?php if ( strpos( $design['layout'], '_above' ) === false ) { ?>
					<div class="sow-testimonial-text">
						<?php echo wp_kses_post( $testimonial['text'] ); ?>
					</div>
				<?php } ?>
			</div>
		</div>
	<?php } ?>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/button/tpl/default.php000064400000002665151550250630031677 0ustar00var/www/vhosts<?php
/**
 * @var array  $button_attributes
 * @var string $href
 * @var string $onclick
 * @var string $align
 * @var string $icon_image_url
 * @var string $icon
 * @var string $icon_color
 * @var string $text
 */

$add_anchor = ! empty( $href ) ||
	apply_filters( 'siteorigin_widgets_button_always_add_anchor', true );
?>
<div class="ow-button-base ow-button-align-<?php echo esc_attr( $align ); ?>"<?php
	if ( $align === 'justify' ) {
		echo ' style="display: block;"';
	}
?>>
	<?php if ( $add_anchor ) { ?>
		<a
		<?php if ( ! empty( $href ) ) { ?>
			href="<?php echo sow_esc_url( do_shortcode( $href ) ); ?>"
			<?php
		}
	} else {
		?>
		<div
	<?php } ?>
		<?php
		foreach ( $button_attributes as $name => $val ) {
			echo siteorigin_sanitize_attribute_key( $name ) . '="' . esc_attr( $val ) . '" ';
		}

		if ( ! empty( $on_click ) ) {
			echo 'onclick="' . siteorigin_widget_onclick( $on_click ) . '"';
		} ?>
	>
		<span>
			<?php
			if ( ! empty( $icon_image_url ) ) {
				?><div class="sow-icon-image" style="<?php echo 'background-image: url(' . sow_esc_url( $icon_image_url ) . ')'; ?>"></div><?php
			} else {
				$icon_styles = array();

				if ( ! empty( $icon_color ) ) {
					$icon_styles[] = 'color: ' . esc_attr( $icon_color );
				}
				echo siteorigin_widget_get_icon( $icon, $icon_styles );
			}
			?>

			<?php echo wp_kses_post( $text ); ?>
		</span>
	<?php if ( $add_anchor ) { ?>
		</a>
	<?php } else { ?>
		</div>
	<?php } ?>
</div>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/slider/tpl/default.php000064400000000153151550331000031623 0ustar00var/www/vhosts<?php
/**
 * @var $controls array
 * @var $frames array
 */

$this->render_template( $controls, $frames );
vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/video/tpl/default.php000064400000003526151551303760031473 0ustar00var/www<?php
/**
 * @var $instance
 * @var $args
 * @var $player_id
 * @var $autoplay
 * @var $skin_class
 * @var $is_skinnable_video_host
 * @var $sources
 * @var $src
 * @var $video_type
 * @var $fitvids
 * @var $hide_controls
 */
if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
}

$video_args = array(
	'id'      => $player_id,
	'class'   => 'sow-video-widget',
	'preload' => 'auto',
	'style'   => 'width:100%;height:100%;',
);

if ( $autoplay ) {
	$video_args['autoplay'] = '';
	$video_args['playsinline'] = '';
	// In most browsers, Videos need to be muted to autoplay.
	if ( apply_filters( 'sow_video_autoplay_mute_self_hosted', true ) ) {
		$video_args['muted'] = true;
	}
}

if ( $loop ) {
	$video_args['loop'] = 'true';
}

if ( ! empty( $poster ) ) {
	$video_args['poster'] = esc_url( $poster );
}

if ( $skin_class != 'default' ) {
	$video_args['class'] = 'mejs-' . $skin_class;
}

if ( ! $hide_controls ) {
	$video_args['controls'] = '';
}

$so_video = new SiteOrigin_Video();

do_action( 'siteorigin_widgets_sow-video_before_video', $instance );
?>

<div class="sow-video-wrapper<?php
if ( $fitvids ) {
	echo ' use-fitvids';
}
?>">
	<?php if ( $is_skinnable_video_host ) { ?>
		<video
			<?php
			foreach ( $video_args as $k => $v ) {
				echo siteorigin_sanitize_attribute_key( $k );

				if ( empty( $v ) ) {
					echo ' ';
					continue;
				}
				
				echo '="' . esc_attr( $v ) . '" ';
			}
			?>
		>
			<?php foreach ( $sources as $source ) { ?>
				<source type="<?php echo esc_attr( $source['video_type'] ); ?>" src="<?php echo esc_url( $source['src'] ); ?>"/>
			<?php } ?>
		</video>
	<?php } else { ?>
		<?php echo $so_video->get_video_oembed( $src, $autoplay, false, $loop, true ); ?>
	<?php } ?>
</div>
<?php do_action( 'siteorigin_widgets_sow-video_after_video', $instance ); ?>
uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/accordion/tpl/default.php000064400000004137151551754140032327 0ustar00var/www/vhosts<?php
/**
 * @var array  $instance
 * @var array  $panels
 * @var string $icon_open
 * @var string $icon_close
 */
if ( ! empty( $instance['title'] ) ) {
	echo $args['before_title'] . wp_kses_post( $instance['title'] ) . $args['after_title'];
}
?>
<div>
	<div class="sow-accordion">
	<?php foreach ( $panels as $panel ) { ?>
		<div class="sow-accordion-panel<?php if ( $panel['initial_state'] == 'open' ) {
			echo ' sow-accordion-panel-open';
		} ?>"
			 data-anchor-id="<?php echo esc_attr( sanitize_title( $panel['anchor'] ) ); ?>">
				<div class="sow-accordion-panel-header-container" role="heading" aria-level="2">
					<div class="sow-accordion-panel-header" tabindex="0" role="button" id="accordion-label-<?php echo sanitize_title_with_dashes( $panel['anchor'] ); ?>" aria-controls="accordion-content-<?php echo sanitize_title_with_dashes( $panel['anchor'] ); ?>" aria-expanded="<?php echo $panel['initial_state'] == 'open' ? 'true' : 'false'; ?>">
						<div class="sow-accordion-title <?php echo empty( $panel['after_title'] ) ? 'sow-accordion-title-icon-left' : 'sow-accordion-title-icon-right'; ?>">
							<?php echo $panel['before_title']; ?>
							<?php echo wp_kses_post( $panel['title'] ); ?>
							<?php echo $panel['after_title']; ?>
						</div>
						<div class="sow-accordion-open-close-button">
							<div class="sow-accordion-open-button">
								<?php echo siteorigin_widget_get_icon( $icon_open ); ?>
							</div>
							<div class="sow-accordion-close-button">
								<?php echo siteorigin_widget_get_icon( $icon_close ); ?>
							</div>
						</div>
					</div>
				</div>

			<div
				class="sow-accordion-panel-content"
				role="region"
				aria-labelledby="accordion-label-<?php echo sanitize_title_with_dashes( $panel['anchor'] ); ?>"
				id="accordion-content-<?php echo sanitize_title_with_dashes( $panel['anchor'] ); ?>"
				<?php
				if ( $panel['initial_state'] == 'closed' ) {
					echo 'style="display: none;"';
				}
				?>
			>
				<div class="sow-accordion-panel-border">
					<?php $this->render_panel_content( $panel, $instance ); ?>
				</div>
			</div>
		</div>
	<?php } ?>
	</div>
</div>
httpdocs/wp-content/plugins/so-widgets-bundle/widgets/anything-carousel/tpl/default.php000064400000000150151554213530034005 0ustar00var/www/vhosts/uyarreklam.com.tr<?php

if ( ! empty( $settings['items'] ) ) {
	$this->render_template( $settings, $args, $instance );
}
httpdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/sitemap/xml/default.php000064400000003620151554616040033562 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
/**
 * XML template for our sitemap index pages.
 *
 * @since 4.0.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// phpcs:disable
?>
<urlset
	xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
<?php if ( ! aioseo()->sitemap->helpers->excludeImages() ): ?>
	xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
<?php endif; ?>
>
<?php foreach ( $entries as $entry ) {
	if ( empty( $entry['loc'] ) ) {
		continue;
	}
	?>
	<url>
		<loc><?php aioseo()->sitemap->output->escapeAndEcho( $entry['loc'] ); ?></loc><?php
	if ( ! empty( $entry['lastmod'] ) ) {
			?>

		<lastmod><?php aioseo()->sitemap->output->escapeAndEcho( $entry['lastmod'] ); ?></lastmod><?php
	}
	if ( ! empty( $entry['changefreq'] ) ) {
			?>

		<changefreq><?php aioseo()->sitemap->output->escapeAndEcho( $entry['changefreq'] ); ?></changefreq><?php
	}
	if ( isset( $entry['priority'] ) ) {
			?>

		<priority><?php aioseo()->sitemap->output->escapeAndEcho( $entry['priority'] ); ?></priority><?php
	}
	if ( ! empty( $entry['languages'] ) ) {
		foreach ( $entry['languages'] as $subentry ) {
			if ( empty( $subentry['language'] ) || empty( $subentry['location'] ) ) {
				continue;
			}
		?>

		<xhtml:link rel="alternate" hreflang="<?php echo esc_attr( $subentry['language'] ); ?>" href="<?php echo esc_url( $subentry['location'] ); ?>" /><?php
		}
	}
	if ( ! aioseo()->sitemap->helpers->excludeImages() && ! empty( $entry['images'] ) ) {
			foreach ( $entry['images'] as $image ) {
				$image = (array) $image;
			?>

		<image:image>
			<image:loc>
				<?php
				if ( aioseo()->helpers->isRelativeUrl( $image['image:loc'] ) ) {
					$image['image:loc'] = aioseo()->helpers->makeUrlAbsolute( $image['image:loc'] );
				}

				aioseo()->sitemap->output->escapeAndEcho( $image['image:loc'] );
				?>
			</image:loc>
		</image:image><?php
		}
	}
	?>

	</url>
<?php } ?>
</urlset>
httpdocs/wp-content/plugins/woocommerce/includes/admin/importers/mappings/default.php000064400000010566151555020270033641 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
/**
 * Default mappings
 *
 * @package WooCommerce\Admin\Importers
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Importer current locale.
 *
 * @since 3.1.0
 * @return string
 */
function wc_importer_current_locale() {
	$locale = get_locale();
	if ( function_exists( 'get_user_locale' ) ) {
		$locale = get_user_locale();
	}

	return $locale;
}

/**
 * Add English mapping placeholders when not using English as current language.
 *
 * @since 3.1.0
 * @param array $mappings Importer columns mappings.
 * @return array
 */
function wc_importer_default_english_mappings( $mappings ) {
	if ( 'en_US' === wc_importer_current_locale() && is_array( $mappings ) && count( $mappings ) > 0 ) {
		return $mappings;
	}

	$weight_unit    = get_option( 'woocommerce_weight_unit' );
	$dimension_unit = get_option( 'woocommerce_dimension_unit' );
	$new_mappings   = array(
		'ID'                                      => 'id',
		'Type'                                    => 'type',
		'SKU'                                     => 'sku',
		'Name'                                    => 'name',
		'Published'                               => 'published',
		'Is featured?'                            => 'featured',
		'Visibility in catalog'                   => 'catalog_visibility',
		'Short description'                       => 'short_description',
		'Description'                             => 'description',
		'Date sale price starts'                  => 'date_on_sale_from',
		'Date sale price ends'                    => 'date_on_sale_to',
		'Tax status'                              => 'tax_status',
		'Tax class'                               => 'tax_class',
		'In stock?'                               => 'stock_status',
		'Stock'                                   => 'stock_quantity',
		'Backorders allowed?'                     => 'backorders',
		'Low stock amount'                        => 'low_stock_amount',
		'Sold individually?'                      => 'sold_individually',
		sprintf( 'Weight (%s)', $weight_unit )    => 'weight',
		sprintf( 'Length (%s)', $dimension_unit ) => 'length',
		sprintf( 'Width (%s)', $dimension_unit )  => 'width',
		sprintf( 'Height (%s)', $dimension_unit ) => 'height',
		'Allow customer reviews?'                 => 'reviews_allowed',
		'Purchase note'                           => 'purchase_note',
		'Sale price'                              => 'sale_price',
		'Regular price'                           => 'regular_price',
		'Categories'                              => 'category_ids',
		'Tags'                                    => 'tag_ids',
		'Shipping class'                          => 'shipping_class_id',
		'Images'                                  => 'images',
		'Download limit'                          => 'download_limit',
		'Download expiry days'                    => 'download_expiry',
		'Parent'                                  => 'parent_id',
		'Upsells'                                 => 'upsell_ids',
		'Cross-sells'                             => 'cross_sell_ids',
		'Grouped products'                        => 'grouped_products',
		'External URL'                            => 'product_url',
		'Button text'                             => 'button_text',
		'Position'                                => 'menu_order',
	);

	return array_merge( $mappings, $new_mappings );
}
add_filter( 'woocommerce_csv_product_import_mapping_default_columns', 'wc_importer_default_english_mappings', 100 );

/**
 * Add English special mapping placeholders when not using English as current language.
 *
 * @since 3.1.0
 * @param array $mappings Importer columns mappings.
 * @return array
 */
function wc_importer_default_special_english_mappings( $mappings ) {
	if ( 'en_US' === wc_importer_current_locale() && is_array( $mappings ) && count( $mappings ) > 0 ) {
		return $mappings;
	}

	$new_mappings = array(
		'Attribute %d name'     => 'attributes:name',
		'Attribute %d value(s)' => 'attributes:value',
		'Attribute %d visible'  => 'attributes:visible',
		'Attribute %d global'   => 'attributes:taxonomy',
		'Attribute %d default'  => 'attributes:default',
		'Download %d ID'        => 'downloads:id',
		'Download %d name'      => 'downloads:name',
		'Download %d URL'       => 'downloads:url',
		'Meta: %s'              => 'meta:',
	);

	return array_merge( $mappings, $new_mappings );
}
add_filter( 'woocommerce_csv_product_import_mapping_special_columns', 'wc_importer_default_special_english_mappings', 100 );
httpdocs/wp-content/plugins/sayfa-olusturucu/widgets/widgets/animated-image/tpl/default.php000064400000000221151555432140034660 0ustar00var/www/vhosts/uyarreklam.com.tr<img src="<?php echo esc_url($instance['image']) ?>" style="visibility:hidden" data-animation="<?php echo esc_attr($instance['animation']) ?>" />httpdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/sitemap/xsl/default.php000064400000031502151561631070033566 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
/**
 * XSL stylesheet for the sitemap.
 *
 * @since 4.0.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// phpcs:disable
$utmMedium = 'xml-sitemap';
if ( '/sitemap.rss' === $sitemapPath ) {
	$utmMedium = 'rss-sitemap';
}
?>
<xsl:stylesheet
	version="2.0"
	xmlns:html="http://www.w3.org/TR/html40"
	xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
	xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
	<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>

	<xsl:template match="/">
		<xsl:variable name="fileType">
			<xsl:choose>
				<xsl:when test="//channel">RSS</xsl:when>
				<xsl:when test="//sitemap:url">Sitemap</xsl:when>
				<xsl:otherwise>SitemapIndex</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<html xmlns="http://www.w3.org/1999/xhtml">
			<head>
				<title>
					<xsl:choose>
						<xsl:when test="$fileType='Sitemap' or $fileType='RSS'"><?php echo $title; ?></xsl:when>
						<xsl:otherwise><?php _e( 'Sitemap Index', 'all-in-one-seo-pack' ); ?></xsl:otherwise>
					</xsl:choose>
				</title>
				<meta name="viewport" content="width=device-width, initial-scale=1" />
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<?php aioseo()->templates->getTemplate( 'sitemap/xsl/styles.php' ); ?>
			</head>
			<body>
				<xsl:variable name="amountOfURLs">
					<xsl:choose>
						<xsl:when test="$fileType='RSS'">
							<xsl:value-of select="count(//channel/item)"></xsl:value-of>
						</xsl:when>
						<xsl:when test="$fileType='Sitemap'">
							<xsl:value-of select="count(sitemap:urlset/sitemap:url)"></xsl:value-of>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="count(sitemap:sitemapindex/sitemap:sitemap)"></xsl:value-of>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:variable>

				<xsl:call-template name="Header">
					<xsl:with-param name="title"><?php echo $title; ?></xsl:with-param>
					<xsl:with-param name="amountOfURLs" select="$amountOfURLs"/>
					<xsl:with-param name="fileType" select="$fileType"/>
				</xsl:call-template>

				<div class="content">
					<div class="container">
						<xsl:choose>
							<xsl:when test="$amountOfURLs = 0"><xsl:call-template name="emptySitemap"/></xsl:when>
							<xsl:when test="$fileType='Sitemap'"><xsl:call-template name="sitemapTable"/></xsl:when>
							<xsl:when test="$fileType='RSS'"><xsl:call-template name="sitemapRSS"/></xsl:when>
							<xsl:otherwise><xsl:call-template name="siteindexTable"/></xsl:otherwise>
						</xsl:choose>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>

	<xsl:template name="siteindexTable">
		<?php
		$sitemapIndex = aioseo()->sitemap->helpers->filename( 'general' );
		$sitemapIndex = $sitemapIndex ? $sitemapIndex : 'sitemap';
		aioseo()->templates->getTemplate(
			'sitemap/xsl/partials/breadcrumb.php',
			[
				'items' => [
					[ 'title' => __( 'Sitemap Index', 'all-in-one-seo-pack' ), 'url' => $sitemapUrl ],
				]
			]
		);
		?>
		<div class="table-wrapper">
			<table cellpadding="3">
				<thead>
				<tr>
					<th class="left">
						<?php _e( 'URL', 'all-in-one-seo-pack' ); ?>
					</th>
					<th><?php _e( 'URL Count', 'all-in-one-seo-pack' ); ?></th>
					<th>
						<?php
						aioseo()->templates->getTemplate(
							'sitemap/xsl/partials/sortable-column.php',
							[
								'parameters' => $sitemapParams,
								'sitemapUrl' => $sitemapUrl,
								'column'     => 'date',
								'title'      => __( 'Last Updated', 'all-in-one-seo-pack' )
							]
						);
						?>
					</th>
				</tr>
				</thead>
				<tbody>
				<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
				<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
				<xsl:for-each select="sitemap:sitemapindex/sitemap:sitemap">
					<?php
					aioseo()->templates->getTemplate(
						'sitemap/xsl/partials/xsl-sort.php',
						[
							'parameters' => $sitemapParams,
							'node'       => 'sitemap:lastmod',
						]
					);
					?>
					<tr>
						<xsl:if test="position() mod 2 != 0">
							<xsl:attribute name="class">stripe</xsl:attribute>
						</xsl:if>
						<td class="left">
							<a>
								<xsl:attribute name="href">
									<xsl:value-of select="sitemap:loc" />
								</xsl:attribute>
								<xsl:value-of select="sitemap:loc"/>
							</a>
						</td>
						<td>
							<?php if ( ! empty( $xslParams['counts'] ) ) : ?>
							<div class="item-count">
							<xsl:choose>
								<?php foreach ( $xslParams['counts'] as $slug => $count ) : ?>
									<xsl:when test="contains(sitemap:loc, '<?php echo $slug; ?>')"><?php echo $count; ?></xsl:when>
								<?php endforeach; ?>
								<xsl:otherwise><?php echo $linksPerIndex; ?></xsl:otherwise>
							</xsl:choose>
							</div>
							<?php endif; ?>
						</td>
						<td class="datetime">
							<?php
							if ( ! empty( $xslParams['datetime'] ) ) {
								aioseo()->templates->getTemplate(
									'sitemap/xsl/partials/date-time.php',
									[
										'datetime' => $xslParams['datetime'],
										'node'     => 'sitemap:loc'
									]
								);
							}
							?>
						</td>
					</tr>
				</xsl:for-each>
				</tbody>
			</table>
		</div>
	</xsl:template>

	<xsl:template name="sitemapRSS">
		<?php
		aioseo()->templates->getTemplate(
			'sitemap/xsl/partials/breadcrumb.php',
			[
				'items' => [
					[ 'title' => $title, 'url' => $sitemapUrl ],
				]
			]
		);
		?>
		<div class="table-wrapper">
			<table cellpadding="3">
				<thead>
					<tr>
						<th class="left"><?php _e( 'URL', 'all-in-one-seo-pack' ); ?></th>
						<th>
							<?php
							aioseo()->templates->getTemplate(
								'sitemap/xsl/partials/sortable-column.php',
								[
									'parameters' => $sitemapParams,
									'sitemapUrl' => $sitemapUrl,
									'column'     => 'date',
									'title'      => __( 'Publication Date', 'all-in-one-seo-pack' )
								]
							);
							?>
						</th>
					</tr>
				</thead>
				<tbody>
				<xsl:for-each select="//channel/item">
					<?php
					if ( ! empty( $sitemapParams['sitemap-order'] ) ) {
						aioseo()->templates->getTemplate(
							'sitemap/xsl/partials/xsl-sort.php',
							[
								'parameters' => $sitemapParams,
								'node'       => 'pubDate',
							]
						);
					}
					?>
					<tr>
						<xsl:if test="position() mod 2 != 0">
							<xsl:attribute name="class">stripe</xsl:attribute>
						</xsl:if>
						<td class="left">
							<a>
								<xsl:attribute name="href">
									<xsl:value-of select="link" />
								</xsl:attribute>
								<xsl:value-of select="link"/>
							</a>
						</td>
						<td class="datetime">
							<?php
							if ( ! empty( $xslParams['datetime'] ) ) {
								aioseo()->templates->getTemplate(
									'sitemap/xsl/partials/date-time.php',
									[
										'datetime' => $xslParams['datetime'],
										'node'     => 'link'
									]
								);
							}
							?>
						</td>
					</tr>
				</xsl:for-each>
				</tbody>
			</table>
		</div>
	</xsl:template>

	<xsl:template name="sitemapTable">
		<?php
		$sitemapIndex  = aioseo()->sitemap->helpers->filename( 'general' );
		$sitemapIndex  = $sitemapIndex ?: 'sitemap';
		$excludeImages = isset( $excludeImages ) ? $excludeImages : aioseo()->sitemap->helpers->excludeImages();
		aioseo()->templates->getTemplate(
			'sitemap/xsl/partials/breadcrumb.php',
			[
				'items' => [
					[ 'title' => __( 'Sitemap Index', 'all-in-one-seo-pack' ), 'url' => home_url( "/$sitemapIndex.xml" ) ],
					[ 'title' => $title, 'url' => $sitemapUrl ],
				]
			]
		);
		?>
		<div class="table-wrapper">
			<table cellpadding="3">
				<thead>
					<tr>
						<th class="left">
							<?php _e( 'URL', 'all-in-one-seo-pack' ); ?>
						</th>
						<?php if ( ! $excludeImages ) : ?>
							<th>
								<?php
								aioseo()->templates->getTemplate(
									'sitemap/xsl/partials/sortable-column.php',
									[
										'parameters' => $sitemapParams,
										'sitemapUrl' => $sitemapUrl,
										'column'     => 'image',
										'title'      => __( 'Images', 'all-in-one-seo-pack' )
									]
								);
								?>
							</th>
						<?php endif; ?>
						<th>
							<?php
							aioseo()->templates->getTemplate(
								'sitemap/xsl/partials/sortable-column.php',
								[
									'parameters' => $sitemapParams,
									'sitemapUrl' => $sitemapUrl,
									'column'     => 'changefreq',
									'title'      => __( 'Change Frequency', 'all-in-one-seo-pack' )
								]
							);
							?>
						</th>
						<th>
							<?php
							aioseo()->templates->getTemplate(
								'sitemap/xsl/partials/sortable-column.php',
								[
									'parameters' => $sitemapParams,
									'sitemapUrl' => $sitemapUrl,
									'column'     => 'priority',
									'title'      => __( 'Priority', 'all-in-one-seo-pack' )
								]
							);
							?>
						</th>
						<th>
							<?php
							aioseo()->templates->getTemplate(
								'sitemap/xsl/partials/sortable-column.php',
								[
									'parameters' => $sitemapParams,
									'sitemapUrl' => $sitemapUrl,
									'column'     => 'date',
									'title'      => __( 'Last Updated', 'all-in-one-seo-pack' )
								]
							);
							?>
						</th>
					</tr>
				</thead>
				<tbody>
				<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
				<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
				<xsl:for-each select="sitemap:urlset/sitemap:url">
					<?php
					if ( ! empty( $sitemapParams['sitemap-order'] ) ) {
						switch ( $sitemapParams['sitemap-order'] ) {
							case 'image':
								$node = 'count(image:image)';
								break;
							case 'date':
								$node = 'sitemap:lastmod';
								break;
							default:
								$node = 'sitemap:' . $sitemapParams['sitemap-order'];
								break;
						}
						aioseo()->templates->getTemplate(
							'sitemap/xsl/partials/xsl-sort.php',
							[
								'parameters' => $sitemapParams,
								'node'       => $node,
							]
						);
					}
					?>
					<tr>
						<xsl:if test="position() mod 2 != 0">
							<xsl:attribute name="class">stripe</xsl:attribute>
						</xsl:if>

						<td class="left">
							<xsl:variable name="itemURL">
								<xsl:value-of select="sitemap:loc"/>
							</xsl:variable>

							<xsl:choose>
								<xsl:when test="count(./*[@rel='alternate']) > 0">
									<xsl:for-each select="./*[@rel='alternate']">
										<xsl:if test="position() = last()">
											<a href="{current()/@href}" class="localized">
												<xsl:value-of select="@href"/>
											</a> &#160;&#8594; <xsl:value-of select="@hreflang"/>
										</xsl:if>
									</xsl:for-each>
								</xsl:when>
								<xsl:otherwise>
									<a href="{$itemURL}">
										<xsl:value-of select="sitemap:loc"/>
									</a>
								</xsl:otherwise>
							</xsl:choose>

							<xsl:for-each select="./*[@rel='alternate']">
								<br />
								<xsl:if test="position() != last()">
									<a href="{current()/@href}" class="localized">
										<xsl:value-of select="@href"/>
									</a> &#160;&#8594; <xsl:value-of select="@hreflang"/>
								</xsl:if>
							</xsl:for-each>
						</td>
						<?php if ( ! $excludeImages ) : ?>
						<td>
							<div class="item-count">
								<xsl:value-of select="count(image:image)"/>
							</div>
						</td>
						<?php endif; ?>
						<td>
							<xsl:value-of select="concat(translate(substring(sitemap:changefreq, 1, 1),concat($lower, $upper),concat($upper, $lower)),substring(sitemap:changefreq, 2))"/>
						</td>
						<td>
							<xsl:if test="string(number(sitemap:priority))!='NaN'">
								<xsl:call-template name="formatPriority">
									<xsl:with-param name="priority" select="sitemap:priority"/>
								</xsl:call-template>
							</xsl:if>
						</td>
						<td class="datetime">
							<?php
							if ( ! empty( $xslParams['datetime'] ) ) {
								aioseo()->templates->getTemplate(
									'sitemap/xsl/partials/date-time.php',
									[
										'datetime' => $xslParams['datetime'],
										'node'     => 'sitemap:loc'
									]
								);
							}
							?>
						</td>
					</tr>
				</xsl:for-each>
				</tbody>
			</table>
		</div>
		<?php
		if ( ! empty( $xslParams['pagination'] ) ) {
			aioseo()->templates->getTemplate(
				'sitemap/xsl/partials/pagination.php',
				[
					'sitemapUrl'    => $sitemapUrl,
					'currentPage'   => $currentPage,
					'linksPerIndex' => $linksPerIndex,
					'total'         => $xslParams['pagination']['total'],
					'showing'       => $xslParams['pagination']['showing']
				]
			);
		}
		?>
	</xsl:template>

	<?php aioseo()->templates->getTemplate( 'sitemap/xsl/templates/header.php', [ 'utmMedium' => $utmMedium ] ); ?>
	<?php aioseo()->templates->getTemplate( 'sitemap/xsl/templates/format-priority.php' ); ?>
	<?php
	aioseo()->templates->getTemplate( 'sitemap/xsl/templates/empty-sitemap.php', [
		'utmMedium' => $utmMedium,
		'items'     => [
			[ 'title' => __( 'Sitemap Index', 'all-in-one-seo-pack' ), 'url' => $sitemapUrl ]
		]
	] );
	?>
</xsl:stylesheet>