103 |
- |
1 |
<div class="container col-md-10">
|
|
|
2 |
<h2 class="public_head">
|
|
|
3 |
<i class="fas fa-money-check-alt"></i>
|
|
|
4 |
<?php echo $spTextSubscription['Plans and Pricing']?>
|
|
|
5 |
</h2>
|
|
|
6 |
<div class="public_form">
|
|
|
7 |
|
|
|
8 |
<table id="cust_tab">
|
|
|
9 |
|
|
|
10 |
<tr style="font-size: 18px;">
|
|
|
11 |
<?php $width = 100 / (count($list) + 1); ?>
|
|
|
12 |
<th style="width: <?php echo $width?>%"><?php echo $spText['label']["Feature"];?></th>
|
|
|
13 |
<?php foreach ($list as $listInfo) {?>
|
|
|
14 |
<th style="text-align: center; width: <?php echo $width?>%"><?php echo ucwords($listInfo['user_type'])?></th>
|
|
|
15 |
<?php }?>
|
|
|
16 |
</tr>
|
|
|
17 |
|
|
|
18 |
<tr>
|
|
|
19 |
<th style="font-weight: normal;"><?php echo $spText['common']["Details"];?></th>
|
|
|
20 |
<?php foreach ($list as $listInfo) {?>
|
|
|
21 |
<td align="center"><p><?php echo $listInfo['description']?></p></td>
|
|
|
22 |
<?php }?>
|
|
|
23 |
</tr>
|
|
|
24 |
|
|
|
25 |
<?php
|
|
|
26 |
foreach ($utypeSpecList as $specName => $specLabel) {
|
|
|
27 |
$boolVal = (stristr($specName, 'plugin_') || stristr($specName, 'seotool_')) ? true : false;
|
|
|
28 |
?>
|
|
|
29 |
<tr>
|
|
|
30 |
<th style="font-weight: normal;"><?php echo $specLabel?></th>
|
|
|
31 |
<?php foreach ($list as $listInfo) {?>
|
|
|
32 |
<td align="center">
|
|
|
33 |
<?php
|
|
|
34 |
if ($specName == 'free_trial_period') {
|
|
|
35 |
$days = intval($listInfo[$specName]);
|
|
|
36 |
echo !empty($days) ? $days . " {$spText['label']['Days']}" : "-";
|
|
|
37 |
} else if ($specName == 'price') {
|
|
|
38 |
$orderLink = SP_WEBPATH . '/register.php?utype_id=' . $listInfo['id'];
|
|
|
39 |
?>
|
|
|
40 |
<b style="font-size: 18px;color: #FF6600;">
|
|
|
41 |
<?php
|
|
|
42 |
if (!empty($listInfo[$specName])) {
|
|
|
43 |
echo $currencyList[SP_PAYMENT_CURRENCY]['symbol'] . floatval($listInfo[$specName]) . "<font style='font-size: 12px;font-weight: normal;'>/" . $spText['label']['Monthly'] . "</font>";
|
|
|
44 |
} else {
|
|
|
45 |
echo $spText['label']['Free'];
|
|
|
46 |
}
|
|
|
47 |
?>
|
|
|
48 |
</b>
|
|
|
49 |
<br><br>
|
|
|
50 |
<a class="btn btn-success" href="<?php echo $orderLink; ?>" style="font-size: 16px;"><?php echo $spText['common']['Sign Up']; ?> >></a>
|
|
|
51 |
<br><br>
|
|
|
52 |
<?php
|
|
|
53 |
} else {
|
|
|
54 |
if ($boolVal) {
|
|
|
55 |
echo $listInfo[$specName] ? "<font class='success'>{$spText['common']['Yes']}</font>" : "<font class='error'>{$spText['common']['No']}</font>";
|
|
|
56 |
} else {
|
|
|
57 |
echo $listInfo[$specName];
|
|
|
58 |
}
|
|
|
59 |
}
|
|
|
60 |
?>
|
|
|
61 |
</td>
|
|
|
62 |
<?php }?>
|
|
|
63 |
|
|
|
64 |
</tr>
|
|
|
65 |
<?php
|
|
|
66 |
}
|
|
|
67 |
?>
|
|
|
68 |
|
|
|
69 |
<tr>
|
|
|
70 |
<th> </th>
|
|
|
71 |
<?php foreach ($list as $listInfo) {
|
|
|
72 |
$orderLink = SP_WEBPATH . '/register.php?utype_id=' . $listInfo['id'];
|
|
|
73 |
?>
|
|
|
74 |
<td align="center">
|
|
|
75 |
<br>
|
|
|
76 |
<a class="btn btn-success" href="<?php echo $orderLink; ?>"><?php echo $spText['common']['Sign Up']; ?> >></a>
|
|
|
77 |
<br><br>
|
|
|
78 |
</td>
|
|
|
79 |
<?php }?>
|
|
|
80 |
</tr>
|
|
|
81 |
|
|
|
82 |
</table>
|
|
|
83 |
|
|
|
84 |
</div>
|
|
|
85 |
</div>
|