PluginProbe
School Management System – WPSchoolPress / 2.2.43
School Management System – WPSchoolPress v2.2.43
2.2.48 2.2.47 2.2.46 2.2.45 2.2.44 2.2.43 2.2.42 2.2.41 2.2.40 2.2.39 2.2.38 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 All 103 releases
wpschoolpress / pages / wpsp-paymentdetail.php

wpsp-paymentdetail.php in School Management System – WPSchoolPress 2.2.43, at pages/wpsp-paymentdetail.php

36 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined( 'ABSPATH' ) )exit('No Such File');
3 wpsp_header();
4 if( is_user_logged_in() ) {
5 wpsp_topbar();
6 wpsp_sidebar();
7 wpsp_body_start();
8 $proversion = wpsp_check_pro_version( 'wpsp_payment_version' );
9 $proclass = !$proversion['status'] && isset( $proversion['class'] )? $proversion['class'] : '';
10 $protitle = !$proversion['status'] && isset( $proversion['message'] )? $proversion['message'] : '';
11
12 ?>
13 <section class="content-header">
14 <h1><?php esc_html_e( 'Payment', 'wpschoolpress' ); ?></h1>
15 <ol class="breadcrumb">
16 <li><a href="<?php echo esc_url(site_url('sch-dashboard')); ?> "><i class="fa fa-dashboard"></i> <?php esc_html_e( 'Dashboard', 'wpschoolpress' ); ?></a></li>
17 <li><a href="<?php echo esc_url(site_url('sch-payment')); ?>"><?php esc_html_e( 'Payment', 'wpschoolpress' ); ?></a></li>
18 </ol>
19 </section>
20
21
22 <?php
23 if( !empty( $protitle ) ){
24 echo '<h2>To use this feature upgrade to pro version</h2>';
25 } else {
26 do_action( 'wpsp_payment_service' );
27 }
28 wpsp_body_end();
29 wpsp_footer();
30 }
31 else{
32 //Include Login Section
33 include_once( WPSP_PLUGIN_PATH .'/includes/wpsp-login.php');
34 }
35 ?>
36