/var/www/html_us/wp-content/plugins/yaymail/includes/Templates/Elements/YayMail/FourColumn.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
    $cloneAttrs 
$attrs;
?>
<table
    width="<?php esc_attr_e$general_attrs['tableWidth'], 'woocommerce' ); ?>"
    cellspacing="0"
    cellpadding="0"
    border="0"
    align="center"
    style="display: table;
    <?php echo esc_attr'background-color: ' $attrs['backgroundColor'] ); ?>;
    <?php echo esc_attr'background-position: ' $attrs['backgroundPosition'] ); ?>;
    <?php echo esc_attr'background-size: ' $attrs['backgroundSize'] ); ?>;
    <?php echo esc_attr'background-repeat: ' $attrs['backgroundRepeat'] ); ?>;
    <?php echo esc_attr'width: ' $general_attrs['tableWidth'] ); ?>;
    <?php echo ! $isInColumns esc_attr'min-width:' $general_attrs['tableWidth'] . 'px' ) : ''?>
    "
    class="web-main-row nta-row-four-column"
    id="web<?php echo esc_attr$id ); ?>"
    background="<?php echo esc_attr$attrs['backgroundImage'] ); ?>"
  >
    <tbody>
      <tr>
        <td
          id="web-<?php echo esc_attr$id ); ?>-four-columns"
          class="web-four-columns"
          align="left"
          style='font-size: 13px;  line-height: 22px; word-break: break-word;
          font-family: <?php echo wp_kses_poststr_replace'"'''$attrs['family'] ) ); ?>;
          <?php echo esc_attr'color: ' $attrs['textColor'] ); ?>;
          <?php echo esc_attr'max-width: ' $general_attrs['tableWidth'] ); ?>;
          <?php echo esc_attr'padding: ' $attrs['paddingTop'] . 'px ' $attrs['paddingRight'] . 'px ' $attrs['paddingBottom'] . 'px ' $attrs['paddingLeft'] . 'px;' ); ?>
          '
        >
          <div class="web-four-columns-row" style="min-height: 10px">
            <table style="width: 100%">
              <tr>
                <td valign="top" 
                    class="nta-four-column-items"  
                    style="min-width: 25px;position: relative;min-height: 1px;
                    <?php echo esc_attr'width: ' $attrs['widthCol1'] . '%' ); ?>;
                    " 
                >
                 <?php
                    
foreach ( $attrs['column1'] as $key => $el ) {
                        
do_action'Yaymail' $el['type'], $args$el['settingRow'], $general_attrs$el['id'], ''$isInColumns true );
                    }
                    
?>
                </td>
                <td valign="top" 
                    class="nta-four-column-items" 
                    style="min-width: 25px;position: relative;min-height: 1px;
                    <?php echo esc_attr'width: ' $attrs['widthCol2'] . '%' ); ?>
                    " 
                >
                    <?php
                    
foreach ( $attrs['column2'] as $key => $el ) {
                        
do_action'Yaymail' $el['type'], $args$el['settingRow'], $general_attrs$el['id'], ''$isInColumns true );
                    }
                    
?>
                </td>
                <td valign="top" 
                    class="nta-four-column-items" 
                    style="min-width: 25px;position: relative;min-height: 1px;
                    <?php echo esc_attr'width: ' $attrs['widthCol3'] . '%' ); ?>
                    " 
                >
                    <?php
                    
foreach ( $attrs['column3'] as $key => $el ) {
                        
do_action'Yaymail' $el['type'], $args$el['settingRow'], $general_attrs$el['id'], ''$isInColumns true );
                    }
                    
?>
                </td>
                <td valign="top" 
                    class="nta-four-column-items" 
                    style="min-width: 25px;position: relative;min-height: 1px;
                    <?php echo esc_attr'width: ' $attrs['widthCol4'] . '%' ); ?>
                    " 
                >
                    <?php
                    
foreach ( $attrs['column4'] as $key => $el ) {
                        
do_action'Yaymail' $el['type'], $args$el['settingRow'], $general_attrs$el['id'], ''$isInColumns true );
                    }
                    
?>
                </td>
              </tr>
            </table>
          </div>
        </td>
      </tr>
    </tbody>
  </table>