| 1 |
<?php |
| 2 |
// @codingStandardsIgnoreFile |
| 3 |
/** |
| 4 |
* Getting Started. |
| 5 |
* |
| 6 |
* Copyright: © 2009-2022 |
| 7 |
* {@link http://wpsharks.com WP Sharks} |
| 8 |
* (coded in the USA) |
| 9 |
* |
| 10 |
* Released under the terms of the GNU General Public License. |
| 11 |
* You should have received a copy of the GNU General Public License, |
| 12 |
* along with this software. In the main directory, see: /licensing/ |
| 13 |
* If not, see: {@link http://www.gnu.org/licenses/}. |
| 14 |
* |
| 15 |
* @package s2Member\Menu_Pages |
| 16 |
* @since 3.0 |
| 17 |
*/ |
| 18 |
if(!defined('WPINC')) // MUST have WordPress. |
| 19 |
exit ("Do not access this file directly."); |
| 20 |
|
| 21 |
if (!class_exists ("c_ws_plugin__s2member_menu_page_start")) |
| 22 |
{ |
| 23 |
/** |
| 24 |
* Getting Started. |
| 25 |
* |
| 26 |
* @package s2Member\Menu_Pages |
| 27 |
* @since 110531 |
| 28 |
*/ |
| 29 |
class c_ws_plugin__s2member_menu_page_start |
| 30 |
{ |
| 31 |
public function __construct () |
| 32 |
{ |
| 33 |
echo '<div class="wrap ws-menu-page">' . "\n"; |
| 34 |
|
| 35 |
echo '<div class="wp-header-end"></div>'."\n"; |
| 36 |
|
| 37 |
echo '<div class="ws-menu-page-toolbox">'."\n"; |
| 38 |
c_ws_plugin__s2member_menu_pages_tb::display (); |
| 39 |
echo '</div>'."\n"; |
| 40 |
|
| 41 |
echo '<h2>Quick Start</h2>' . "\n"; |
| 42 |
|
| 43 |
echo '<table class="ws-menu-page-table">' . "\n"; |
| 44 |
echo '<tbody class="ws-menu-page-table-tbody">' . "\n"; |
| 45 |
echo '<tr class="ws-menu-page-table-tr">' . "\n"; |
| 46 |
echo '<td class="ws-menu-page-table-l">' . "\n"; |
| 47 |
|
| 48 |
do_action("ws_plugin__s2member_during_start_page_before_left_sections", get_defined_vars()); |
| 49 |
|
| 50 |
echo |
| 51 |
'<div class="ws-menu-page-group" title="Getting Started Quick and Easy" default-state="open">',"\n", |
| 52 |
'<div class="ws-menu-page-section ws-plugin--s2member-quick-start-section">',"\n", |
| 53 |
'<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PL8gPolqFnYqtBVz0nVeN2sJgRVednq0jw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>',"\n", |
| 54 |
'</div>',"\n", |
| 55 |
'</div>',"\n"; |
| 56 |
|
| 57 |
echo '</td>' . "\n"; |
| 58 |
|
| 59 |
echo '<td class="ws-menu-page-table-r">' . "\n"; |
| 60 |
c_ws_plugin__s2member_menu_pages_rs::display (); |
| 61 |
echo '</td>' . "\n"; |
| 62 |
|
| 63 |
echo '</tr>' . "\n"; |
| 64 |
echo '</tbody>' . "\n"; |
| 65 |
echo '</table>' . "\n"; |
| 66 |
|
| 67 |
echo '</div>' . "\n"; |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
new c_ws_plugin__s2member_menu_page_start (); |
| 73 |
|