# wpschoolpress/2.2.43/pages/wpsp-documents.php

School Management System – WPSchoolPress, version 2.2.43. 21 lines.

- Page: https://pluginprobe.com/plugins/wpschoolpress/2.2.43/code/pages/wpsp-documents.php
- Raw: https://pluginprobe.com/plugins/wpschoolpress/2.2.43/raw/pages/wpsp-documents.php
- Modified: 2023-04-14T12:04:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpschoolpress/2.2.43/code/pages/wpsp-documents.php#L10-L20`.

```php
<?php
if (!defined( 'ABSPATH' ) )exit('No Such File');
wpsp_header();
	if( is_user_logged_in() ) {
		global $current_user, $wpdb;
		$current_user_role=$current_user->roles[0];
		wpsp_topbar();
		wpsp_sidebar();
		wpsp_body_start();
		$filename	=	'';
		$header	=	'Documents';

		do_action('wpspsmpro_documents_list_html');

		wpsp_body_end();
		wpsp_footer();
	} else {
		include_once( WPSP_PLUGIN_PATH .'/includes/wpsp-login.php');
	}
?>

```
