<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>New Comment</title>
</head>
<body style="margin: 0; padding: 0; background: #ccc; font-family: 'Roboto', sans-serif; font-weight: 300; box-sizing: border-box;">
    <center style="width: 100%;">
        <table  align="center" border="1" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; background: #fff; border:1px solid #f2f2f2;">
            <tr style="border-bottom: 1px solid #f2f2f2;">
                <td style="padding: 50px;">
                    <table  style="margin-right: 20px;">
                        <tr>
                            <td>
                                <img
                                    style="
                                        outline: none;
                                        text-decoration: none;
                                        height: 48px;
                                        width: 48px;
                                        border-radius: 50%;
                                        outline: none;
                                    "
                                    src="<?php echo esc_url( $creator['data']['avatar_url'] ); ?>"
                                    alt="<?php echo esc_attr( $creator['data']['display_name'] ); ?>"
                                    title="<?php echo esc_attr( $creator['data']['display_name'] ); ?>"
                                />
                            </td>
                            <td>
                                <div style="margin-left: 10px;">
                                    <h1 style="margin: 0 0 7px; font-weight: bold; font-size: 18px; color: #000000; letter-spacing: 0.16px; line-height: 22px;">
                                        <?php
                                            echo esc_html( ucfirst( $creator['data']['display_name'] ) );
                                            esc_html_e( ' commented on ', 'wedevs-project-manager' );
                                            echo esc_html( strtolower( $commnetable_type ) );
                                        ?>
                                    </h1>
                                    <a
                                        style="
                                            text-decoration: none;
                                            font-size: 15px;
                                            color: #0676D4;
                                            letter-spacing: 0.14px;
                                            line-height: 22px;"
                                        href="<?php echo esc_url( $comment_link ); ?>"
                                        target="_blank"
                                    >
                                        <?php esc_html_e( 'View this comment', 'wedevs-project-manager' ); ?>
                                    </a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="padding: 50px;">
                    <table>
                        <tr>
                            <td>
                                <p style="font-size: 16px; line-height: 30px; margin: 0; color: #7E8690;">
                                    <?php echo esc_html( $commnetable_type ) ?>
                                </p>
                                <h2 style="font-size: 16px; color: #000; margin: 0; font-weight: 400;">
                                    <?php echo esc_html( $commnetable_title ); ?>
                                </h2>
                                &nbsp;
                            </td>
                        </tr>

                        <tr>
                            <td>
                                <p style="font-size: 16px; line-height: 30px; margin: 0; color: #7E8690;">
                                    <?php esc_html_e( 'Created at', 'wedevs-project-manager' ) ?>
                                </p>
                                <h2 style="font-size: 16px; color: #000; margin: 0; font-weight: 400;">
                                     <?php $wedevs_pm_comment_date = empty( $created_at ) ? '&#x02013;&#x02013;' : wedevs_pm_date_format( esc_html( $created_at ) ); ?>
                                    <?php echo esc_html( $wedevs_pm_comment_date ); ?>
                                </h2>
                                &nbsp;
                            </td>
                        </tr>

                        <tr>
                            <td>
                                <p style="font-size: 16px; line-height: 30px; margin: 0; color: #7E8690;">
                                    <span><?php esc_html_e( 'Comment', 'wedevs-project-manager' ); ?></span>
                                </p>
                                <div style="padding: 5px 15px; background: #edeef45e; border: 1px solid #f2f2f2; border-radius: 5px; margin-bottom: 30px; line-height: 26px; margin-top: 10px;">
                                    <?php echo wp_kses_data( $content ); ?>
                                </div>
                            </td>
                        </tr>

                        <tr>
                            <td>
                                &nbsp;
                                <a style="
                                    text-decoration: none;
                                    color: #0676D4;
                                    display: inline-block;
                                    padding: 9px 24px;
                                    font-size: 15px;
                                    color: #FFFFFF;
                                    letter-spacing: 0.14px;
                                    line-height: 30px;
                                    transition: opacity .2s;
                                    background: #7D60FF;
                                    border-radius: 3px;"

                                    href="<?php echo esc_url( $comment_link ); ?>"
                                    target="_blank"
                                >
                                    <?php esc_html_e( 'Reply', 'wedevs-project-manager'); ?>
                                </a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </center>
    <?php require_once dirname(__FILE__) . '/footer.php'; ?>
</body>
</html>
