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
|
<?php $cloneAttrs = $attrs; ?> <table width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>" width="tableWidth" 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 ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : ''; ?> " class="web-main-row nta-row-two-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 ); ?>-two-columns" class="web-two-columns" align="left" style='font-size: 13px; line-height: 22px; word-break: break-word; font-family: <?php echo wp_kses_post( str_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-two-columns-row" style="min-height: 10px"> <table style="width: 100%"> <tr> <td valign="top" class="nta-two-column-items nta-two-column-left" 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-two-column-items nta-two-column-right" 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> </tr> </table> </div> </td> </tr> </tbody> </table>
|