| 1 |
<table |
| 2 |
width="<?php esc_attr_e( $general_attrs['tableWidth'], 'woocommerce' ); ?>" |
| 3 |
cellspacing="0" |
| 4 |
cellpadding="0" |
| 5 |
border="0" |
| 6 |
align="center" |
| 7 |
style="display: table; <?php echo esc_attr( 'background-color: ' . $attrs['backgroundColor'] ); ?>; <?php echo ! $isInColumns ? esc_attr( 'min-width:' . $general_attrs['tableWidth'] . 'px' ) : esc_attr( 'width: 100%' ); ?>" |
| 8 |
class="web-main-row" |
| 9 |
id="web<?php echo esc_attr( $id ); ?>" |
| 10 |
> |
| 11 |
<tbody> |
| 12 |
<tr> |
| 13 |
<td |
| 14 |
id="web-<?php echo esc_attr( $id ); ?>-billing-address" |
| 15 |
class="web-billing-address" |
| 16 |
align="left" |
| 17 |
style='font-size: 13px; line-height: 22px; word-break: break-word; |
| 18 |
<?php echo 'font-family: ' . wp_kses_post( str_replace( '"', '', $attrs['family'] ) ); ?>; |
| 19 |
<?php echo esc_attr( 'color: ' . $attrs['textColor'] ); ?>; |
| 20 |
<?php echo esc_attr( 'padding: ' . $attrs['paddingTop'] . 'px ' . $attrs['paddingRight'] . 'px ' . $attrs['paddingBottom'] . 'px ' . $attrs['paddingLeft'] . 'px;' ); ?> |
| 21 |
' |
| 22 |
> |
| 23 |
<div style="min-height: 10px;height: 100%;display: inline-block;width: 100%;"> |
| 24 |
<div |
| 25 |
style="<?php echo esc_attr( 'color: ' . $attrs['titleColor'] ); ?>" |
| 26 |
> |
| 27 |
<?php if ( 'BillingShippingAddress' === $attrs['nameColumn'] ) : ?> |
| 28 |
<div> |
| 29 |
<table |
| 30 |
style='width: 100%; color: inherit; |
| 31 |
<?php echo esc_attr( 'color: ' . $attrs['titleColor'] ); ?>; |
| 32 |
<?php echo esc_attr( 'font-family: ' . str_replace( '"', '', $attrs['family'] ) ); ?>; |
| 33 |
' |
| 34 |
> |
| 35 |
<?php echo wp_kses_post( $attrs['contentTitle'] ); ?> |
| 36 |
</table> |
| 37 |
</div> |
| 38 |
<?php else : ?> |
| 39 |
<h2 style="color: inherit; display: block; font-size: 18px; font-weight: bold; line-height: 130%; margin: 0 0 18px;"> |
| 40 |
<?php echo wp_kses_post( $attrs['titleBilling'] ); ?> |
| 41 |
</h2> |
| 42 |
</div> |
| 43 |
<?php endif; ?> |
| 44 |
</div> |
| 45 |
<?php if ( 'BillingShippingAddress' === $attrs['nameColumn'] ) : ?> |
| 46 |
<div class="billing-shipping-address-container" style="<?php echo esc_attr( 'border-color: ' . $attrs['borderColor'] ); ?>" > |
| 47 |
<?php echo wp_kses_post( $attrs['content'] ); ?> |
| 48 |
</div> |
| 49 |
<?php else : ?> |
| 50 |
<div style="<?php echo esc_attr( 'border: 1px solid ' . $attrs['borderColor'] ); ?>"> |
| 51 |
<?php echo wp_kses_post( $attrs['content'] ); ?> |
| 52 |
</div> |
| 53 |
<?php endif; ?> |
| 54 |
</td> |
| 55 |
</tr> |
| 56 |
</tbody> |
| 57 |
</table> |
| 58 |
|