Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : admin-rate.php
<?php
/**
 * The template to display Admin notices
 *
 * @package SPIN
 * @since SPIN 1.0.1
 */

$spin_theme_slug = get_option( 'template' );
$spin_theme_obj  = wp_get_theme( $spin_theme_slug );

?>
<div class="spin_admin_notice spin_rate_notice notice notice-info is-dismissible" data-notice="rate">
	<?php
	// Theme image
	$spin_theme_img = spin_get_file_url( 'screenshot.jpg' );
	if ( '' != $spin_theme_img ) {
		?>
		<div class="spin_notice_image"><img src="<?php echo esc_url( $spin_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'spin' ); ?>"></div>
		<?php
	}

	// Title
	?>
	<h3 class="spin_notice_title"><a href="<?php echo esc_url( spin_storage_get( 'theme_rate_url' ) ); ?>" target="_blank">
		<?php
		echo esc_html(
			sprintf(
				// Translators: Add theme name and version to the 'Welcome' message
				__( 'Rate our theme "%s", please', 'spin' ),
				$spin_theme_obj->get( 'Name' ) . ( SPIN_THEME_FREE ? ' ' . __( 'Free', 'spin' ) : '' )
			)
		);
		?>
	</a></h3>
	<?php

	// Description
	?>
	<div class="spin_notice_text">
		<p><?php echo wp_kses_data( __( "We are glad you chose our WP theme for your website. You've done well customizing your website and we hope that you've enjoyed working with our theme.", 'spin' ) ); ?></p>
		<p><?php echo wp_kses_data( __( "It would be just awesome if you spend just a minute of your time to rate our theme or the customer service you've received from us.", 'spin' ) ); ?></p>
		<p class="spin_notice_text_info"><?php echo wp_kses_data( __( '* We love receiving your reviews! Every time you leave a review, our CEO Henry Rise gives $5 to homeless dog shelter! Save the planet with us!', 'spin' ) ); ?></p>
	</div>
	<?php

	// Buttons
	?>
	<div class="spin_notice_buttons">
		<?php
		// Link to the theme download page
		?>
		<a href="<?php echo esc_url( spin_storage_get( 'theme_rate_url' ) ); ?>" class="button button-primary" target="_blank"><i class="dashicons dashicons-star-filled"></i> 
			<?php
			// Translators: Add theme name
			echo esc_html( sprintf( __( 'Rate theme %s', 'spin' ), $spin_theme_obj->name ) );
			?>
		</a>
		<?php
		// Link to the theme support
		?>
		<a href="<?php echo esc_url( spin_storage_get( 'theme_support_url' ) ); ?>" class="button" target="_blank"><i class="dashicons dashicons-sos"></i> 
			<?php
			esc_html_e( 'Support', 'spin' );
			?>
		</a>
		<?php
		// Link to the theme documentation
		?>
		<a href="<?php echo esc_url( spin_storage_get( 'theme_doc_url' ) ); ?>" class="button" target="_blank"><i class="dashicons dashicons-book"></i> 
			<?php
			esc_html_e( 'Documentation', 'spin' );
			?>
		</a>
	</div>
</div>
© 2026 GrazzMean-Shell