PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 1.3.0
Backup Migration v1.3.0
2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / banner / views / index.php
backup-backup / includes / banner / views Last commit date
projects 2 years ago static 2 years ago index.php 2 years ago
index.php
148 lines
1 <?php
2
3 /**
4 * Main renderer for the Carousel
5 *
6 * @category Child Plugin
7 * @author iClyde <kontakt@iclyde.pl>
8 */
9
10 // Namespace
11 namespace Inisev\Subs;
12
13 // Disallow direct access
14 if (!defined('ABSPATH')) exit;
15 ?>
16
17 <section class="ci-carrinis-wrapper">
18 <section class="ci-carrinis" id="carrinis">
19 <h1>Like this plugin?</h1>
20 <h1>Then you'll LOVE our others too :)</h1>
21 <div class="ci-carousel">
22 <?php $this->_include('static/tabs'); ?>
23 <div class="ci-project-content">
24 <?php
25
26 $bmi_free = $this->is_plugin_installed($this->bmi_slug);
27 $bmi_pro = $this->is_plugin_installed($this->bmi_premium);
28 $bmi_state = (!$bmi_free || (!$bmi_free && $bmi_pro)) ? 'install' : (($bmi_free && !$bmi_pro) ? 'upgrade' : 'already-installed')
29
30 ?>
31 <div class="ci-project ci-project-BackupMigration <?php echo 'ci-'.$bmi_state.'-state-visible'; ?>">
32 <?php
33
34 if (!$bmi_free || (!$bmi_free && $bmi_pro)) {
35 $this->_include('projects/bmi/install');
36 } elseif ($bmi_free && !$bmi_pro) {
37 $this->_include('projects/bmi/upgrade');
38 } elseif ($bmi_free && $bmi_pro) {
39 $this->_include('projects/bmi/installed');
40 }
41
42 ?>
43 <div class="ci-right-part">
44 <img src="<?php $this->_asset('/projects/bmi/imgs/background-images.png'); ?>" class="ci-main-image">
45 </div>
46 </div>
47 <?php
48
49 $mpu_plugin = $this->is_plugin_installed($this->mpu_slug);
50 $mpu_state = $mpu_plugin ? 'already-installed' : 'install';
51
52 ?>
53 <div class="ci-project ci-project-MyPopups <?php echo 'ci-'.$mpu_state.'-state-visible'; ?>">
54 <?php
55
56 if ($mpu_plugin) {
57 $this->_include('projects/mpu/installed');
58 } else {
59 $this->_include('projects/mpu/install');
60 }
61
62 ?>
63 <div class="ci-right-part">
64 <img src="<?php $this->_asset('/projects/mpu/imgs/background-images.png'); ?>" class="ci-main-image">
65 <img src="<?php $this->_asset('/projects/mpu/imgs/background-texture-green.png'); ?>" class="ci-secondary-image">
66 </div>
67 </div>
68 <?php
69
70 $cdp_free = $this->is_plugin_installed($this->cdp_slug);
71 $cdp_pro = $this->is_plugin_installed($this->cdp_premium);
72 $cdp_state = (!$cdp_free || (!$cdp_free && $cdp_pro)) ? 'install' : (($cdp_free && !$cdp_pro) ? 'upgrade' : 'already-installed');
73
74 ?>
75 <div class="ci-project ci-project-CopyDeletePosts <?php echo 'ci-'.$cdp_state.'-state-visible'; ?>">
76 <?php
77
78 if (!$cdp_free || (!$cdp_free && $cdp_pro)) {
79 $this->_include('projects/cdp/install');
80 } elseif ($cdp_free && !$cdp_pro) {
81 $this->_include('projects/cdp/upgrade');
82 } elseif ($cdp_free && $cdp_pro) {
83 $this->_include('projects/cdp/installed');
84 }
85
86 ?>
87 <div class="ci-right-part">
88 <img src="<?php $this->_asset('/projects/cdp/imgs/secondary-background-image.svg'); ?>" class="ci-secondary-image">
89 <img src="<?php $this->_asset('/projects/cdp/imgs/main-background-image.png'); ?>" class="ci-main-image">
90 </div>
91 </div>
92 <?php
93
94 $redi_plugin = $this->is_plugin_installed($this->redi_slug);
95 $redi_state = $redi_plugin ? 'already-installed' : 'install';
96
97 ?>
98 <div class="ci-project ci-project-redRed ci-<?php echo $redi_state; ?>-state-visible">
99 <?php
100 if ($redi_state == 'install') {
101 $this->_include('projects/red/install');
102 } else {
103 $this->_include('projects/red/installed');
104 }
105 ?>
106 </div>
107 <div class="ci-project ci-project-TasteWP ci-install-state-visible">
108 <?php $this->_include('projects/twp/install'); ?>
109 <div class="ci-right-part">
110 <img src="<?php $this->_asset('/projects/twp/imgs/background-image-1.svg'); ?>">
111 <img src="<?php $this->_asset('/projects/twp/imgs/background-image-2.svg'); ?>">
112 <img src="<?php $this->_asset('/projects/twp/imgs/background-image-3.svg'); ?>">
113 </div>
114 </div>
115 <?php
116
117 $usm_free = $this->is_plugin_installed($this->usm_slug);
118 $usm_pro = $this->is_plugin_installed($this->usm_premium);
119 $usm_state = (!$usm_free || (!$usm_free && $usm_pro)) ? 'install' : (($usm_free && !$usm_pro) ? 'upgrade' : 'already-installed');
120
121 ?>
122 <div class="ci-project ci-project-SocialShare <?php echo 'ci-'.$usm_state.'-state-visible'; ?>">
123 <?php
124
125 if (!$usm_free || (!$usm_free && $usm_pro)) {
126 $this->_include('projects/usm/install');
127 $this->_include('projects/usm/part-install');
128 } elseif ($usm_free && !$usm_pro) {
129 $this->_include('projects/usm/upgrade');
130 $this->_include('projects/usm/part-upgrade');
131 } elseif ($usm_free && $usm_pro) {
132 $this->_include('projects/usm/part-install');
133 $this->_include('projects/usm/installed');
134 }
135
136 ?>
137 </div>
138 <div class="ci-project ci-project-followIt ci-install-state-visible">
139 <?php $this->_include('projects/fit/install'); ?>
140 </div>
141 </div>
142 </div>
143 <div class="ci-all-projects">
144 <a class="ci-see-all-projects" href="https://inisev.com/?utm_source=plugin_footer&utm_campaign=CDP&utm_medium=carrousel" target="_blank">See all projects</a>
145 </div>
146 </section>
147 </section>
148