start.php 816 B

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