PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / 2.8.1
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts v2.8.1
2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 1.1.1 All 147 releases
content-blocks-builder / vendor / freemius / templates / email.php

email.php in Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts 2.8.1, at vendor/freemius/templates/email.php

49 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Freemius
4 * @copyright Copyright (c) 2015, Freemius, Inc.
5 * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
6 * @since 1.1.1
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 /**
14 * @var array $VARS
15 */
16 $sections = $VARS['sections'];
17 ?>
18 <table>
19 <?php
20 foreach ( $sections as $section_id => $section ) {
21 ?>
22 <thead>
23 <tr><th colspan="2" style="text-align: left; background: #333; color: #fff; padding: 5px;"><?php echo esc_html($section['title']) ?></th></tr>
24 </thead>
25 <tbody>
26 <?php
27 foreach ( $section['rows'] as $row_id => $row ) {
28 $col_count = count( $row );
29 ?>
30 <tr>
31 <?php
32 if ( 1 === $col_count ) { ?>
33 <td style="vertical-align: top;" colspan="2"><?php echo $row[0] ?></td>
34 <?php
35 } else { ?>
36 <td style="vertical-align: top;"><b><?php echo esc_html($row[0]) ?>:</b></td>
37 <td><?php echo $row[1]; ?></td>
38 <?php
39 }
40 ?>
41 </tr>
42 <?php
43 }
44 ?>
45 </tbody>
46 <?php
47 }
48 ?>
49 </table>