Files
roi-theme/wp-content/plugins/wp-marketing-automations/templates/emails/admin-email-report-highlight.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

153 lines
13 KiB
PHP
Executable File

<?php
$bg_color = '#EBF7FF';
$text_color = '#000000';
$btn_bg_color = '#09B29C';
$btn_text_color = '#fff';
if ( 'dark' === $theme ) {
$bg_color = '#131144';
$text_color = '#fff';
$btn_bg_color = '#FFC65C';
$btn_text_color = '#000';
}
?>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="" align="center" role="presentation"
class="bwfbe-block-section-container bwfbe-block-section bwfbe-block-4bf2f08"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: 640px;"
width="640">
<tbody>
<tr style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; background-color: <?php echo esc_html( $bg_color ); ?>;"
bgcolor="<?php echo esc_html( $bg_color ); ?>">
<!--[if mso | IE]>
<table cellpadding="0" cellspacing="0" border="0" align="center" style="width:100%" role="presentation" width="640">
<tr>
<td style="line-height:0;font-size:0;-mso-line-height-rule:exactly"><![endif]-->
<div class="bwfbe-block-section-outer-container"
style="margin: 0 auto; width: 640px; background-color: <?php echo esc_html( $bg_color ); ?>;">
<table cellpadding="0" cellspacing="0" border="0" align="center"
style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; line-height: normal; background-color: <?php echo esc_html( $bg_color ); ?>; width: 100%; border-collapse: separate;"
role="presentation" width="100%" class="bwfbe-block-section-inner-container" bgcolor="<?php echo esc_html( $bg_color ); ?>">
<tbody>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td
style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; font-size: 0px; border-collapse: separate; padding: 36px; mso-padding-alt: 36px;">
<!--[if mso | IE]>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:separate" role="presentation">
<tbody>
<tr><![endif]--><!--[if mso | IE]>
<td style="width: 568px;vertical-align: top;" valign="top"><![endif]-->
<div class="bwf-email-inner-column-wrapper bwf-email-inner-column-wrapper-a8a472e"
style="font-size: 0px; border-collapse: separate; display: table-cell; vertical-align: top; mso-border-alt: none; width: 568px;">
<table cellpadding="0" cellspacing="0" border="0"
style="border-spacing: 0px; border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;"
role="presentation"
class="bwf-email-inner-column bwf-email-inner-column-a8a472e" width="100%">
<tbody>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td class="bwf-email-text bwf-email-text-15ea1e0"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 0px 8px 0px; word-break: break-word;">
<div class="bwf-block-text-container"
style="text-align: center; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5; color: #ff6900;">
<p class="bwf-block-text-inner-container"
style="margin: 0; mso-line-height-alt: 150%; word-break: break-word; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5;">
<span
style="mso-line-height-alt: 150%; background-color: rgba(0, 0, 0, 0); color: <?php echo esc_html( $text_color ); ?>;"
class="has-inline-color">
<strong>
<span
style="mso-line-height-alt: 150%; font-size: 16px;"
class="has-font-size">
<?php echo $date; //phpcs:ignore WordPress.Security.EscapeOutput ?>
</span>
</strong>
</span>
</p>
</div>
</td>
</tr>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td class="bwf-email-text bwf-email-text-abfa5fc"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 0px 8px 0px; word-break: break-word;">
<div class="bwf-block-text-container"
style="text-align: center; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5; color: #ff6900;">
<p class="bwf-block-text-inner-container"
style="margin: 0; mso-line-height-alt: 150%; word-break: break-word; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5;">
<span
style="mso-line-height-alt: 150%; background-color: rgba(0, 0, 0, 0); color: <?php echo esc_html( $text_color ); ?>;"
class="has-inline-color"><span
style="mso-line-height-alt: 150%; font-size: 36px;"
class="has-font-size">
<strong><?php echo wp_strip_all_tags( $title ); //phpcs:ignore WordPress.Security.EscapeOutput ?></strong>
</span>
</span>
</p>
</div>
</td>
</tr>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td class="bwf-email-text bwf-email-text-2cfd4a0"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 0px 0px 8px 0px; word-break: break-word;">
<div class="bwf-block-text-container"
style="text-align: center; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5; color: #ff6900;">
<p class="bwf-block-text-inner-container"
style="margin: 0; mso-line-height-alt: 150%; word-break: break-word; font-size: 14px; font-family: arial,helvetica,sans-serif; line-height: 1.5;">
<span
style="mso-line-height-alt: 150%; background-color: rgba(0, 0, 0, 0); color: <?php echo esc_html( $text_color ); ?>;"
class="has-inline-color">
<span
style="mso-line-height-alt: 150%; font-size: 16px;"
class="has-font-size"><?php echo wp_strip_all_tags( $subtitle );//phpcs:ignore WordPress.Security.EscapeOutput ?>
</span>
</span>
</p>
</div>
</td>
</tr>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td class="bwfbe-block-btn bwfbe-block-btn-b434bf2" align="center"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; padding: 18px 16px 0 16px; mso-padding-alt: 18px 16px 0px 16px;">
<!--[if mso | IE]><span style="margin-left:16px"><![endif]-->
<table cellpadding="0" cellspacing="0" border="0"
style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; width: auto; border-collapse: separate;"
role="presentation" class="bwfbe-block-btn-container">
<tbody>
<tr
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px;">
<td class="bwfbe-btn-text-wrap"
style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0px; font-size: 16px; cursor: auto; border-style: none; background-color: <?php echo esc_html( $btn_bg_color ); ?>; font-size: 16px; border-radius: 8px; mso-padding-alt: 10px 20px; mso-padding-alt: 10px 24px 10px 24px; text-align: center; line-height: 1.5;"
bgcolor="<?php echo esc_html( $btn_bg_color ); ?>" align="center">
<a
href="<?php echo esc_url( $button_url ); ?>" target="_blank"
class="bwfbe-block-btn-content"
style="line-height: 1.5; text-decoration: none; padding: 10px 20px; padding: 10px 24px 10px 24px; mso-padding-alt: 0; background-color: <?php echo esc_html( $btn_bg_color ); ?>; font-size: 16px; font-family: arial,helvetica,sans-serif; display: inline-block; text-decoration: none; text-transform: none; color: <?php echo esc_html( $btn_text_color ) ?>; border-radius: 8px;">
<strong><?php echo wp_strip_all_tags( $button_text ); //phpcs:ignore WordPress.Security.EscapeOutput ?></strong>
</a>
</td>
</tr>
</tbody>
</table>
<!--[if mso | IE]></span><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td><![endif]--><!--[if mso | IE]></tr></tbody></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!--[if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>