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/welcome.php.tar
httpdocs/wp-content/plugins/google-analytics-for-wordpress/lite/includes/admin/welcome.php000064400000014463151544732220034502 0ustar00var/www/vhosts/uyarreklam.com.tr<?php

/**
 * Class MonsterInsights_Welcome
 */
class MonsterInsights_Welcome {

	/**
	 * MonsterInsights_Welcome constructor.
	 */
	public function __construct() {

		// If we are not in admin or admin ajax, return
		if ( ! is_admin() ) {
			return;
		}

		// If user is in admin ajax or doing cron, return
		if ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
			return;
		}

		// If user is not logged in, return
		if ( ! is_user_logged_in() ) {
			return;
		}

		// If user cannot manage_options, return
		if ( ! current_user_can( 'manage_options' ) ) {
			return;
		}

		add_action( 'admin_init', array( $this, 'maybe_redirect' ), 9999 );

		add_action( 'admin_menu', array( $this, 'register' ) );
		// Add the welcome screen to the network dashboard.
		add_action( 'network_admin_menu', array( $this, 'register' ) );

		add_action( 'admin_head', array( $this, 'hide_menu' ) );

		add_action( 'admin_enqueue_scripts', array( $this, 'welcome_scripts' ) );
	}

	/**
	 * Register the pages to be used for the Welcome screen.
	 *
	 * These pages will be removed from the Dashboard menu, so they will
	 * not actually show. Sneaky, sneaky.
	 *
	 * @since 1.0.0
	 */
	public function register() {

		// Getting started - shows after installation.
		add_dashboard_page(
			esc_html__( 'Welcome to MonsterInsights', 'google-analytics-for-wordpress' ),
			esc_html__( 'Welcome to MonsterInsights', 'google-analytics-for-wordpress' ),
			apply_filters( 'monsterinsights_welcome_cap', 'manage_options' ),
			'monsterinsights-getting-started',
			array( $this, 'welcome_screen' )
		);
	}

	/**
	 * Removed the dashboard pages from the admin menu.
	 *
	 * This means the pages are still available to us, but hidden.
	 *
	 * @since 1.0.0
	 */
	public function hide_menu() {
		remove_submenu_page( 'index.php', 'monsterinsights-getting-started' );
	}


	/**
	 * Check if we should do any redirect.
	 */
	public function maybe_redirect() {

		// Bail if no activation redirect.
		if ( ! get_transient( '_monsterinsights_activation_redirect' ) || isset( $_GET['monsterinsights-redirect'] ) ) {
			return;
		}

		// Delete the redirect transient.
		delete_transient( '_monsterinsights_activation_redirect' );

		// Bail if activating from network, or bulk.
		if ( isset( $_GET['activate-multi'] ) ) {
			return;
		}

		$upgrade            = get_option( 'monsterinsights_version_upgraded_from', false );
		$skip_wizard        = get_option( 'monsterinsights_skip_wizard', false );
		// if it is an upgrade (a version_from is present) or the option for skip wizard is set, skip wizard
		$run_wizard         = ! ( $skip_wizard || false !== $upgrade ) ;
		$do_redirect        = apply_filters( 'monsterinsights_enable_onboarding_wizard', $run_wizard ); // default true
		if ( $do_redirect ) {
			$path     = 'index.php?page=monsterinsights-getting-started&monsterinsights-redirect=1';
			$redirect = is_network_admin() ? network_admin_url( $path ) : admin_url( $path );
			wp_safe_redirect( $redirect );
			exit;
		}
	}

	/**
	 * Scripts for loading the welcome screen Vue instance.
	 */
	public function welcome_scripts() {

		$current_screen = get_current_screen();
		$screens        = array(
			'dashboard_page_monsterinsights-getting-started',
			'index_page_monsterinsights-getting-started-network',
		);

		if ( empty( $current_screen->id ) || ! in_array( $current_screen->id, $screens, true ) ) {
			return;
		}

		$version_path = monsterinsights_is_pro_version() ? 'pro' : 'lite';
		if ( ! defined( 'MONSTERINSIGHTS_LOCAL_JS_URL' ) ) {
			MonsterInsights_Admin_Assets::enqueue_script_specific_css( 'src/modules/wizard-onboarding/wizard.js' );
		}

		$app_js_url = MonsterInsights_Admin_Assets::get_js_url( 'src/modules/wizard-onboarding/wizard.js' );
		wp_register_script( 'monsterinsights-vue-script', $app_js_url, array( 'wp-i18n' ), monsterinsights_get_asset_version(), true );
		wp_enqueue_script( 'monsterinsights-vue-script' );

		$user_data = wp_get_current_user();

		wp_localize_script(
			'monsterinsights-vue-script',
			'monsterinsights',
			array(
				'ajax'                 => add_query_arg( 'page', 'monsterinsights-onboarding', admin_url( 'admin-ajax.php' ) ),
				'nonce'                => wp_create_nonce( 'mi-admin-nonce' ),
				'network'              => is_network_admin(),
				'assets'               => plugins_url( $version_path . '/assets/vue', MONSTERINSIGHTS_PLUGIN_FILE ),
				'roles'                => monsterinsights_get_roles(),
				'roles_manage_options' => monsterinsights_get_manage_options_roles(),
				'wizard_url'           => is_network_admin() ? network_admin_url( 'index.php?page=monsterinsights-onboarding' ) : admin_url( 'index.php?page=monsterinsights-onboarding' ),
				'shareasale_id'        => monsterinsights_get_shareasale_id(),
				'shareasale_url'       => monsterinsights_get_shareasale_url( monsterinsights_get_shareasale_id(), '' ),
				// Used to add notices for future deprecations.
				'versions'             => monsterinsights_get_php_wp_version_warning_data(),
				'plugin_version'       => MONSTERINSIGHTS_VERSION,
				'first_name'           => ! empty( $user_data->first_name ) ? $user_data->first_name : '',
				'exit_url'             => add_query_arg( 'page', 'monsterinsights_settings', admin_url( 'admin.php' ) ),
				'had_ecommerce'        => monsterinsights_get_option( 'gadwp_ecommerce', false ),
			)
		);

		$text_domain = monsterinsights_is_pro_version() ? 'google-analytics-premium' : 'google-analytics-for-wordpress';

		wp_scripts()->add_inline_script(
			'monsterinsights-vue-script',
			monsterinsights_get_printable_translations( $text_domain ),
			'translation'
		);
	}

	/**
	 * Load the welcome screen content.
	 */
	public function welcome_screen() {
		do_action( 'monsterinsights_head' );

		monsterinsights_settings_error_page( $this->get_screen_id() );
		monsterinsights_settings_inline_js();
	}

	/**
	 * Get the screen id to control which Vue component is loaded.
	 *
	 * @return string
	 */
	public function get_screen_id() {
		$screen_id = 'monsterinsights-welcome';

		if ( defined( 'EXACTMETRICS_VERSION' ) && function_exists( 'ExactMetrics' ) ) {
			$migrated = monsterinsights_get_option( 'gadwp_migrated', 0 );
			if ( time() - $migrated < HOUR_IN_SECONDS || isset( $_GET['monsterinsights-migration'] ) ) {
				$screen_id = 'monsterinsights-migration-wizard';
			}
		}

		return $screen_id;
	}
}

new MonsterInsights_Welcome();
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/code-snippets/php/views/welcome.php000064400000015547151545242020027353 0ustar00<?php
/**
 * HTML for the welcome page.
 *
 * @package    Code_Snippets
 * @subpackage Views
 */

namespace Code_Snippets;

/**
 * Loaded from the Welcome_Menu class.
 *
 * @var Welcome_Menu $this
 */

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

$hero = $this->api->get_hero_item();

$changelog_sections = [
	'Added'    => [
		'title' => __( 'New features', 'code-snippets' ),
		'icon'  => 'lightbulb',
	],
	'Improved' => [
		'title' => __( 'Improvements', 'code-snippets' ),
		'icon'  => 'chart-line',
	],
	'Fixed'    => [
		'title' => __( 'Bug fixes', 'code-snippets' ),
		'icon'  => 'buddicons-replies',
	],
	'Other'    => [
		'title' => __( 'Other', 'code-snippets' ),
		'icon'  => 'open-folder',
	],
];

$plugin_types = [
	'core' => _x( 'Core', 'badge label', 'code-snippets' ),
	'pro'  => _x( 'Pro', 'badge label', 'code-snippets' ),
];

?>

<div class="csp-welcome-wrap">
	<div class="csp-welcome-header">
		<header class="csp-welcome-logo">
			<img width="50px"
			     src="<?php echo esc_url( plugins_url( 'assets/icon.svg', PLUGIN_FILE ) ); ?>"
			     alt="<?php esc_attr_e( 'Code Snippets Logo', 'code-snippets' ); ?>">
			<h1>
				<?php echo wp_kses( __( "Resources and <span>What's New</span>", 'code-snippets' ), [ 'span' => [] ] ); ?>
			</h1>
		</header>
		<ul class="csp-welcome-nav">
			<?php foreach ( $this->get_header_links() as $link_name => $link_info ) { ?>
				<li>
					<a href="<?php echo esc_url( $link_info['url'] ); ?>" target="_blank"
					   class="csp-link-<?php echo esc_attr( $link_name ); ?>">
						<span><?php echo esc_html( $link_info['label'] ); ?></span>

						<?php if ( 'discord' === $link_info['icon'] ) { ?>
							<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36">
								<path d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z" />
							</svg>
						<?php } else { ?>
							<span class="dashicons dashicons-<?php echo esc_attr( $link_info['icon'] ); ?>"></span>
						<?php } ?>
					</a>
				</li>
			<?php } ?>
		</ul>
	</div>

	<section class="csp-section-changes">
		<h1>📰 <?php esc_html_e( 'Latest news', 'code-snippets' ); ?></h1>
		<div class="csp-cards">
			<a class="csp-card" href="<?php echo esc_url( $hero['follow_url'] ); ?>" target="_blank"
			   title="<?php esc_html_e( 'Read more', 'code-snippets' ); ?>">
				<header>
					<span class="dashicons dashicons-external"></span>
					<h2><?php echo esc_html( $hero['name'] ); ?></h2>
				</header>
				<figure>
					<div id="csp-loading-spinner" class="csp-loading-spinner"></div>
					<img id="csp-changes-img"
					     onload="hideLoadingAnimation()"
					     src="<?php echo esc_url( $hero['image_url'] ); ?>"
					     alt="<?php esc_attr_e( 'Latest news image', 'code-snippets' ); ?>);">
				</figure>
			</a>

			<a class="csp-card" href="https://wordpress.org/plugins/code-snippets/changelog" target="_blank"
			   title="<?php esc_html_e( 'Read the full changelog', 'code-snippets' ); ?>">
				<header>
					<span class="dashicons dashicons-external"></span>
					<h2><?php esc_html_e( 'Latest changes', 'code-snippets' ); ?></h2>
				</header>
				<div class="csp-section-changelog">
					<?php foreach ( $this->api->get_changelog() as $version => $version_changes ) { ?>
						<h3><?php echo esc_html( $version ); ?></h3>
						<article>
							<?php
							foreach ( $changelog_sections as $section_key => $section ) {
								if ( empty( $version_changes[ $section_key ] ) ) {
									continue;
								}
								?>
								<h4>
									<span class="dashicons dashicons-<?php echo esc_attr( $section['icon'] ); ?>"></span>
									<?php echo esc_html( $section['title'] ); ?>
								</h4>
								<ul>
									<?php
									foreach ( $plugin_types as $plugin_type => $type_label ) {
										if ( empty( $version_changes[ $section_key ][ $plugin_type ] ) ) {
											continue;
										}

										foreach ( $version_changes[ $section_key ][ $plugin_type ] as $change ) {
											?>
											<li>
												<span class="badge <?php echo esc_attr( $plugin_type ); ?>-badge">
													<?php echo esc_html( $type_label ); ?>
												</span>
												<span><?php echo esc_html( $change ); ?></span>
											</li>
											<?php
										}
									}
									?>
								</ul>
							<?php } ?>
						</article>
					<?php } ?>
				</div>
			</a>
		</div>
	</section>

	<section class="csp-section-articles csp-section-links">
		<h1>🛟 <?php esc_html_e( 'Helpful articles', 'code-snippets' ); ?></h1>
		<div class="csp-cards">
			<?php foreach ( $this->api->get_features() as $feature ) { ?>
				<a class="csp-card"
				   href="<?php echo esc_url( $feature['follow_url'] ); ?>" target="_blank"
				   title="<?php esc_html_e( 'Read more', 'code-snippets' ); ?>">
					<figure>
						<img src="<?php echo esc_url( $feature['image_url'] ); ?>"
						     alt="<?php esc_attr_e( 'Feature image', 'code-snippets' ); ?>">
					</figure>
					<header>
						<h2><?php echo esc_html( $feature['title'] ); ?></h2>
						<p class="csp-card-item-description"><?php echo esc_html( $feature['description'] ); ?></p>
					</header>
					<footer>
						<p class="csp-card-item-category"><?php echo esc_html( $feature['category'] ); ?></p>
						<span class="dashicons dashicons-external"></span>
					</footer>
				</a>
			<?php } ?>
		</div>
	</section>

	<section class="csp-section-links csp-section-partners">
		<h1>🚀 <?php esc_html_e( 'Partners and apps', 'code-snippets' ); ?></h1>
		<div class="csp-cards">
			<?php foreach ( $this->api->get_partners() as $partner ) { ?>
				<a class="csp-card"
				   href="<?php echo esc_url( $partner['follow_url'] ); ?>" target="_blank"
				   title="<?php esc_attr_e( 'Go to Partner', 'code-snippets' ); ?>">
					<figure>
						<img src="<?php echo esc_url( $partner['image_url'] ); ?>"
						     alt="<?php esc_attr_e( 'Partner image', 'code-snippets' ); ?>">
					</figure>
					<header>
						<span class="dashicons dashicons-external"></span>
						<h2><?php echo esc_html( $partner['title'] ); ?></h2>
					</header>
				</a>
			<?php } ?>
		</div>
	</section>
</div>

<script type="text/javascript">
	function hideLoadingAnimation() {
		const spinner = document.getElementById<HTMLDivElement>('csp-loading-spinner')
		const image = document.getElementById<HTMLDivElement>('csp-changes-img')

		spinner.style.display = 'none'
		image.style.display = 'block'
	}
</script>
www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/sayfa-olusturucu/settings/tpl/welcome.php000064400000006115151546415530030565 0ustar00var<h1><?php esc_html_e( 'Welcome To SiteOrigin Page Builder', 'siteorigin-panels' ); ?></h1>

<p>
	<?php esc_html_e( 'Page Builder by SiteOrigin makes it easy to create responsive column based content, using the widgets you know and love. Your content will accurately adapt to all mobile devices, ensuring your site is mobile-ready.', 'siteorigin-panels' ); ?>
</p>

<p>
	<?php printf( esc_html__( "Page Builder works with standard WordPress widgets, so you’ll always find the widget you need. We've also created the %s to give you a wide range of additional functionality. All the widgets are built on our powerful framework, giving you advanced forms, unlimited colours and 1500+ icons.", 'siteorigin-panels' ), '<a href="https://wordpress.org/plugins/so-widgets-bundle/" target="_blank">SiteOrigin Widgets Bundle</a>' ); ?>
</p>

<h2><?php esc_html_e( 'Simple Drag and Drop', 'siteorigin-panels' ); ?></h2>

<p>
	<?php esc_html_e( "Reorder rows, move widgets, resize columns and build your page, all with your mouse. Page Builder makes it easy to nudge every detail into place, no matter how often you change your mind. We've meticulously crafted each and every interaction to make sure they all feel natural. It's intuitive content editing that doesn't sacrifice on functionality.", 'siteorigin-panels' ); ?>
</p>

<h2><?php esc_html_e( 'Live Editing', 'siteorigin-panels' ); ?></h2>

<p>
	<?php esc_html_e( 'The live editor gives you an exact preview of your content, that you can edit in real-time. You can use this to pin-point the sections and widgets you want to edit, then see those edits without leaving the page. Create content in a fraction of the time.', 'siteorigin-panels' ); ?>
</p>

<h2><?php esc_html_e( 'History Browser', 'siteorigin-panels' ); ?></h2>

<p>
	<?php esc_html_e( 'Worry free editing is having the freedom to experiment without fearing mistakes. The History Browser lets you roll forward and back through your changes. Preview changes, then roll back to that version without skipping a beat. Your personal safety net.', 'siteorigin-panels' ); ?>
</p>

<h2><?php esc_html_e( 'Row and Widget Styles', 'siteorigin-panels' ); ?></h2>

<p>
	<?php esc_html_e( 'Row and widget styles give you all the control you need to make your content uniquely your own. Change attributes like paddings, background colours and column spacing. You can also enter custom CSS and CSS classes if you need even finer grained control.', 'siteorigin-panels' ); ?>
</p>

<h2><?php esc_html_e( 'Get More Features', 'siteorigin-panels' ); ?></h2>

<p>
	<?php printf( esc_html__( '%s is a single plugin that adds additional settings and functionality to Page Builder, SiteOrigin widgets and SiteOrign themes. SiteOrigin Premium also includes our next level email support service. If you need expert advice and quick replies, consider SiteOrigin Premium.', 'siteorigin-panels' ), '<a href="https://siteorigin.com/downloads/premium/" target="_blank">SiteOrigin Premium</a>' ); ?>
</p>

<iframe src="https://player.vimeo.com/video/314964526" width="800" height="450" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>