angelovcom.net

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

start.php (984B)


      1 <?php
      2 
      3 //phpcs:disable VariableAnalysis
      4 // There are "undefined" variables here because they're defined in the code that includes this file as a template.
      5 
      6 ?>
      7 <div id="akismet-plugin-container">
      8 	<div class="akismet-masthead">
      9 		<div class="akismet-masthead__inside-container">
     10 			<div class="akismet-masthead__logo-container">
     11 				<img class="akismet-masthead__logo" src="<?php echo esc_url( plugins_url( '../_inc/img/logo-full-2x.png', __FILE__ ) ); ?>" alt="Akismet" />
     12 			</div>
     13 		</div>
     14 	</div>
     15 	<div class="akismet-lower">
     16 		<?php Akismet_Admin::display_status();?>
     17 		<div class="akismet-boxes">
     18 			<?php
     19 
     20 			if ( Akismet::predefined_api_key() ) {
     21 				Akismet::view( 'predefined' );
     22 			} elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) {
     23 				Akismet::view( 'connect-jp', compact( 'akismet_user' ) );
     24 			} else {
     25 				Akismet::view( 'activate' );
     26 			}
     27 
     28 			?>
     29 		</div>
     30 	</div>
     31 </div>