<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{*
for creating a custom template copy this file and rename to webview.tpl.html
for creating language specific templates copy this file an rename to e.g. webview_german.tpl.html
*}
{config_load file="$language.conf" section="webview"}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="noindex">

    <link rel="stylesheet" type="text/css" media="print, projection, screen"
          href="{mh_cfg key='MH_CATALOG_SERVER'}{mh_cfg key='MH_DIR_WS_CATALOG'}{mh_cfg key='MH_ROOT_PATH'}common/vendor/bootstrap/css/bootstrap.min.css">
    <title>{#title#}</title>
    {literal}
        <style type="text/css">
            #module_name {
                font-weight: bold;
                padding: 10px;
            }
        </style>
    {/literal}

    {if ($mode eq 'block_confirm')}
        {* avoid unsubscribes by bots *}
        <script type="application/javascript">
            window.location.replace("{$block_confirmed_url}");
        </script>
    {/if}
</head>

<body>
<div class="container-fluid">
    {if ($mode eq 'block_confirm')}
        {*
                block confirm: {$block_confirmed_url}
        *}
    {else}
        <div class="row" style="padding-top: 30px">
            <div class="col col-xs-12 col-sm-6 col-sm-offset-3 ">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">{#title#}</h3>
                    </div>
                    <div class="panel-body text-center">
                        {#greeting#},
                        <br/>
                        <br/>

                        {if ($mode == 'block')}
                            <!-- output block -->

                            {if ($result == 'ok') }
                                <!-- block ok-->

                                {if $behaviour == 'Global' || $module == 'ALL'}

                                    {#block_ok_all#}<!--you will no longer receive any Email.-->

                                {else}

                                    {#block_ok_module#|sprintf:$module}
                                    <!--you will no longer receive any Email of type <b>{$module}</b>.-->

                                {/if}

                            {elseif ($result == -1) }
                                <!-- was already blocked-->

                                {if $behaviour == 'Global' || $module == 'ALL'}

                                    {#block_ok_repeat_all#}
                                    <!--you will no longer receive any Email.<br>We have already blocked your address.-->

                                {else}

                                    {#block_ok_repeat_module#|sprintf:$module}
                                    <!--you will no longer receive any Email of type <b>{$module}</b>.<br>We have already blocked this module for you.-->

                                {/if}

                            {elseif ($result == 'failed') }
                                <!-- failure -->

                                {#email_not_found#}<!--we can't find your email in our system, please contact our support.-->

                            {/if}

                        {elseif ($mode == 'unblock')}
                            <!-- output unblock -->

                            {if ($result == 'ok') }
                                <!-- unblock ok-->

                                {if $behaviour == 'Global' || $module == 'ALL'}

                                    {#unblock_ok_all#}<!--you will again receive all Emails.-->

                                {else}

                                    {#unblock_ok_module#|sprintf:$module}
                                    <!--you will again receive all Emails of type <b>{$module}</b>.-->

                                {/if}


                            {elseif ($result == -1) }
                                <!-- was already unblocked-->

                                {if $behaviour == 'Global' || $module == 'ALL'}

                                    {#unblock_ok_repeat_all#}
                                    <!--you will again receive all Emails.<br/>We have already unblocked your address.-->

                                {else}

                                    {#unblock_ok_repeat_module#|sprintf:$module}
                                    <!--you will again receive all Emails of type <b>{$module}</b>.<br/>We have already unblocked this module for you.-->


                                {/if}


                            {elseif ($result == 'failed') }
                                <!-- failure -->

                                {#email_not_found#}<!--we can't find your email in our system, please contact our support.-->
                            {/if}


                        {elseif ($mode == 'unblock')}
                            <!-- output noblock -->
                            <!-- should not happen-->
                            You can not block this module

                        {/if}


                        <br/>
                        <br/>
                        <br/>
                        <br/>
                        {if ($mode == 'block')}
                            <a href="{$unblock_url}" class="btn btn-danger">{#unblock_me#}</a>
                        {/if}
                        <br/>
                        <br/>


                    </div>

                    {if $options}
                        <div class="panel-footer text-center" style="padding: 20px;">
                            {$options}
                        </div>
                    {/if}


                </div>
            </div>
        </div>
    {/if}
    <!-- please keep this link -->
    <div class="row" style="text-align:center; -padding: 10px;">
        <div class="col col-md-6 col-md-offset-3 text-muted text-white-50">
            <small>
                <small>
                    {*            <img src="{$smarty.const.MH_CATALOG_SERVER}{$smarty.const.MH_DIR_WS_CATALOG}{$smarty.const.MH_ROOT_PATH}common/images/been_tiny.gif"*}
                    {*                 border="0" hspace="0" vspace="0" width="33" height="28" align="absmiddle">*}
                    powered by <a href="https://www.MailBeez.com" target="_blank" class=" text-muted text-white-50">MailBeez.com</a>
                </small>
            </small>
        </div>
    </div>
</div>
</body>
</html>
