PluginProbe
Float menu – awesome floating side menu / 4.2
Float menu – awesome floating side menu v4.2
7.2.5 trunk 2.1 2.2 3.0.1 3.1 3.2.2 3.3.1 3.5 3.5.1 3.5.2 3.5.3. 3.5.4 4.0 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 5.0 5.0.1 5.0.2 5.0.3 5.1 All 57 releases
float-menu / includes / about / main.php

main.php in Float menu – awesome floating side menu 4.2, at includes/about/main.php

142 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main Page
4 *
5 * @package Wow_Plugin
6 * @subpackage Wow-Company/Main
7 * @author Dmytro Lobov <givememony1982@gmail.com>
8 * @copyright 2019 Dmytro Lobov (Wow-Company)
9 * @license GNU Public License
10 * @version 0.1
11 */
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 $items = get_transient( 'wow_items_code' );
18 $items = false;
19
20 if ( $items == false ) {
21 $url = 'https://wow-estore.com/a-plugins/';
22 $request_args = array(
23 'method' => 'POST',
24 'timeout' => 20,
25 'redirection' => 5,
26 'httpversion' => '1.0',
27 'blocking' => true,
28 'headers' => array(
29 'content-type' => 'application/json'
30 ),
31 'body' => '',
32 );
33 $request = wp_remote_post( $url, $request_args );
34 $items = unserialize( $request['body'] );
35 set_transient( 'wow_items_code', $items, 604800 );
36 }
37
38 ?>
39
40 <style>
41 .height_screen {
42 height: 270px;
43 background: #fff;
44 }
45
46 .height_screen img {
47 max-width: 100%;
48 }
49
50 .height_screen span {
51 padding: 10px;
52 font-size: 16px;
53 font-weight: 500;
54 display: block;
55 }
56
57 .height_screen a {
58 color: #000;
59 text-decoration: none;
60 }
61
62 .themes {
63 overflow: hidden;
64 }
65
66 .theme-actions {
67 background: rgba(244, 244, 244, 1) !important;
68 }
69
70 .theme-name {
71 text-align: left !important;
72 }
73
74 .install {
75 float: right;
76 }
77 </style>
78
79
80 <div class="wrap full-width-layout">
81 <div class="about-wrap">
82
83
84 <h1><?php esc_attr_e( 'Welcome', $this->plugin['text'] ); ?> </h1>
85
86 <p class="about-text">
87 <?php esc_attr_e( 'Congratulations! You are about to use one of the plugins from Wow-Company.', $this->plugin['text'] ); ?>
88 </p>
89
90 <h3>Several plugins below has free and pro versions you can install it and hopefully useful. Enjoy it.</h3>
91
92 </div>
93 <?php
94
95 ?>
96
97 <div class="theme-browser">
98 <div class="themes">
99 <?php
100 $image = 'https://wow-estore.com/a-plugins/img/';
101 foreach ( $items as $key => $value ) { ?>
102
103 <div class="theme">
104 <div class="height_screen">
105 <a target="_blank" href="<?php echo esc_url( $value[3] ); ?>" target="_blank"><img
106 src="<?php echo esc_url( $image . $value[2] ); ?>"/>
107 <span><?php echo esc_attr( $value[1] ); ?></span>
108 </a>
109 </div>
110 <div class="theme-author"></div>
111 <div class="theme-id-container">
112 <h2 class="theme-name">
113 <span><?php echo esc_attr( $value[0] ); ?></span>
114 <?php if ( ! empty( $value[5] ) ) : ?>
115 <span class="install"><?php echo esc_attr( $value[5] ); ?>+ <?php _e( 'Active Installs' ); ?></span>
116 <?php endif; ?>
117 </h2>
118 <div class="theme-actions">
119 <?php if ( ! empty( $value[3] ) ) : ?>
120 <a class="button activate" href="<?php echo esc_url( $value[3] ); ?>">Try FREE</a>
121 <?php endif; ?>
122 <?php if ( ! empty( $value[4] ) ) : ?>
123 <a class="button button-primary" href="<?php echo esc_url( $value[4] ); ?>"
124 target="_blank">Get PRO</a>
125 <?php endif; ?>
126 </div>
127 </div>
128 </div>
129 <?php } ?>
130 </div>
131 </div>
132
133 <p class="wow-thank-you">
134 <span class="thank-line">= = = = = = =</span><br/>
135 Thank you for choosing 'Wow Plugin'<br/>
136 Dmyto Lobov<br/>
137 <a href="https://wow-estore.com" target="_blank">Wow-Estore.com</a>
138 </p>
139 </div>
140
141
142