<table style="background:#f3f3f3;border-collapse:collapse;border-spacing:0;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;height:100%;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;width:100%">
    <tbody>
        <tr style="padding:0;text-align:left;vertical-align:top">
            <td align="center" valign="top" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
                <center style="min-width:600px;width:100%">
                    <table align="center" style="background:#f2f2f2;border-collapse:collapse;border-spacing:0;float:none;margin:0 auto 0 auto;padding:0;text-align:center;vertical-align:top;width:600px">
                        <tbody>
                            <tr style="padding:0;text-align:left;vertical-align:top">
                                <td style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
                                    <table style="background:#f2f2f2;border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                        <tbody>
                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                <td height="56" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:56px;font-weight:400;line-height:56px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                            </tr>
                                        </tbody>
                                    </table>

                                    <table style="background:#f2f2f2;border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                        <tbody>
                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                <td height="36" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:36px;font-weight:400;line-height:36px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                            </tr>
                                        </tbody>
                                    </table>

                                </td>
                            </tr>
                        </tbody>
                    </table>

                    <table align="center" style="background:#fefefe;border-collapse:collapse;border-radius:3px !important;border-spacing:0;float:none;margin:0 auto 0 auto;padding:0;text-align:center;vertical-align:top;width:600px">
                        <tbody>
                            <tr style="padding:0;text-align:left;vertical-align:top">
                                <td style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">

                                    <table style="border-collapse:collapse;border-spacing:0;display:table;padding:0;text-align:left;vertical-align:top;width:100%">
                                        <tbody>
                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                <th style="color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0 auto 0 auto;padding:0 40px 16px 40px;text-align:left;width:576px">

                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                <th style="color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">

                                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                                        <tbody>
                                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                                <td height="40" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:40px;font-weight:400;line-height:40px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>

                                                                    <p style="color:#373b42;font-family:'roboto', 'helvetica', sans-serif;font-size:30px;font-weight:500 !important;line-height:1.3;margin:0;padding:0;text-align:left">Daily Subscription Statistics</p>

                                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                                        <tbody>
                                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                                <td height="32" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:32px;font-weight:400;line-height:32px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>

                                                                    <table style="border-collapse:collapse;border-spacing:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;padding:0;text-align:left;vertical-align:top;width:auto">
                                                                        <tbody>
                                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                                <td style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
                                                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                                                        <tbody>
                                                                                            <tr>
                                                                                                <th rowspan="2" style="border: 1px solid #373b42;width: 100px;text-align: center;">Date</th>
                                                                                                <th colspan="4" style="border: 1px solid #373b42;width: 200px;text-align: center;">Apple</th>
                                                                                                <th colspan="4" style="border: 1px solid #373b42;width: 200px;text-align: center;">Android</th>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <!-- Apple -->
                                                                                                <td colspan="2" style="border: 1px solid #373b42;text-align: center;font: weight 600">Paid</td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">Trial</td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">expired</td>
                                                                                                <!-- Android -->
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">Paid</td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">Trial</td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">expired</td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;"><?php echo date('d-M-Y',strtotime($date)); ?></td>

                                                                                                <!-- Apple -->

                                                                                                <td colspan="2" style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php 
                                                                                                        if(isset($apple_data->paid_subscribers)){
                                                                                                            echo $apple_data->paid_subscribers; 
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }                                             
                                                                                                    ?>
                                                                                                </td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php
                                                                                                        if(isset($apple_data->trial_subscribers)){
                                                                                                            echo $apple_data->trial_subscribers;
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }      
                                                                                                    ?>
                                                                                                </td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php
                                                                                                        if(isset($apple_data->expired_subscribers)){
                                                                                                            echo $apple_data->expired_subscribers;
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }      
                                                                                                    ?>
                                                                                                </td>

                                                                                                <!-- Android -->
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php
                                                                                                        if(isset($android_data->paid_subscribers)){
                                                                                                            echo $android_data->paid_subscribers;
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }      
                                                                                                    ?>
                                                                                                </td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php
                                                                                                        if(isset($android_data->trial_subscribers)){
                                                                                                            echo $android_data->trial_subscribers;
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }      
                                                                                                    ?></td>
                                                                                                <td style="border: 1px solid #373b42;text-align: center;">
                                                                                                    <?php
                                                                                                        if(isset($android_data->expired_subscribers)){
                                                                                                            echo $android_data->expired_subscribers;
                                                                                                        }                                       
                                                                                                        else{
                                                                                                            echo "-";
                                                                                                        }      
                                                                                                    ?>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </tbody>
                                                                                    </table>
                                                                                </td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>

                                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                                        <tbody>
                                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                                <td height="24" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:24px;font-weight:400;line-height:24px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>

                                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                                        <tbody>
                                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                                <td height="24" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:24px;font-weight:400;line-height:24px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>

                                                                </th>
                                                            </tr>
                                                        </tbody>
                                                    </table>

                                                </th>
                                            </tr>
                                        </tbody>
                                    </table>

                                </td>
                            </tr>
                        </tbody>
                    </table>

                    <table style="border-collapse:collapse;border-spacing:0;float:none;margin:0 auto 0 auto;padding:0;text-align:center;vertical-align:top;width:100%">
                        <tbody>
                            <tr style="padding:0;text-align:left;vertical-align:top">
                                <td height="40" style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:40px;font-weight:400;line-height:40px;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word"></td>
                            </tr>
                        </tbody>
                    </table>

                    <table style="background:#f2f2f2;border-collapse:collapse;border-spacing:0;float:none;margin:0 auto 0 auto;padding:0;text-align:center;vertical-align:top;width:600px">
                        <tbody>
                            <tr style="padding:0;text-align:left;vertical-align:top">
                                <td style="border-collapse:collapse !important;color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">

                                    <table style="border-collapse:collapse;border-spacing:0;display:table;padding:0;text-align:left;vertical-align:top;width:100%">
                                        <tbody>
                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                <th style="color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0 auto 0 auto;padding-bottom:16px;padding-left:0 !important;padding-right:0 !important;padding-top:0;text-align:left;width:576px">

                                                    <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
                                                        <tbody>
                                                            <tr style="padding:0;text-align:left;vertical-align:top">
                                                                <th style="color:#0a0a0a;font-family:'roboto', 'helvetica', sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left">

                                                                    <p style="color:#acb0b6;font-family:'roboto', 'helvetica', sans-serif;font-size:12px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:center">
                                                                        &copy; <?= date('Y'); ?> <a href="<?= WEBSITE_URL; ?>" style="color:#acb0b6;font-family:'roboto', 'helvetica', sans-serif;font-size:12px;font-weight:400;line-height:1.3;margin:0;padding:0;text-align:left; text-decoration:underline" target="_blank" rel="noopener noreferrer"><?= WEBSITE_TITLE; ?></a>. All rights reserved.
                                                                    </p>

                                                                </th>
                                                            </tr>
                                                        </tbody>
                                                    </table>

                                                </th>
                                            </tr>
                                        </tbody>
                                    </table>

                                </td>
                            </tr>
                        </tbody>
                    </table>

                </center>

            </td>
        </tr>
    </tbody>
</table>