Server IP : 213.176.29.180  /  Your IP : 3.140.195.8
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/webtaragh.ir/../whmcs/templates/twenty-one/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/webtaragh.ir/../whmcs/templates/twenty-one/configuressl-complete.tpl
{if $errormessage}

    {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage textcenter=true}

{else}

    <div class="card py-3">
        <div class="card-body">
            {include file="$template/includes/alert.tpl" type="success" msg="{lang key='sslconfigcomplete'}" textcenter=true}

            <h4 class="text-center">{lang key='ssl.nextSteps'}</h4>

            {if is_null($authData) || (!is_null($authData) && $authData->methodNameConstant() == 'emailauth')}
                {include file="$template/includes/alert.tpl" type="info" msg="{lang key='ssl.emailSteps'}"}
                {if !is_null($authData)}
                    <div class="pb-3 text-center">{lang key='ssl.emailInformation'}</div>
                    <div class="form-group row">
                        <label for="emailApprover" class="control-label col-md-4 col-form-label text-md-right">{lang key='email'}</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" id="emailApprover" value="{$authData->email}" readonly/>
                        </div>
                    </div>
                {/if}
            {elseif !is_null($authData) && $authData->methodNameConstant() == 'dnsauth'}
                {include file="$template/includes/alert.tpl" type="info" msg="{lang key='ssl.dnsSteps'}"}
                <div class="pb-3 text-center">{lang key='ssl.dnsRecordInformation'}</div>
                <div class="form-group row">
                    <label for="recordType" class="control-label col-md-4 col-form-label text-md-right">{lang key='ssl.type'}</label>
                    <div class="col-md-8">
                        <input type="text" class="form-control" id="recordType" value="{$authData->type}" readonly/>
                    </div>
                </div>
                <div class="form-group row">
                    <label for="host" class="control-label col-md-4 col-form-label text-md-right">{lang key='ssl.host'}</label>
                    <div class="col-md-8">
                        <div class="input-group">
                            <input type="text" class="form-control" id="host" value="{$authData->host}" readonly/>
                            <div class="input-group-append">
                                <button type="button" class="btn btn-default btn-sm copy-to-clipboard" data-clipboard-target="#host">
                                    <img src="{$WEB_ROOT}/assets/img/clippy.svg" alt="Copy to clipboard" width="15">
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group row">
                    <label for="dnsContents" class="control-label col-md-4 col-form-label text-md-right">{lang key='ssl.value'}</label>
                    <div class="col-md-8">
                        <div class="input-group">
                            <input type="text" class="form-control" id="dnsContents" value="{$authData->value}" readonly/>
                            <div class="input-group-append">
                                <button type="button" class="btn btn-default btn-sm copy-to-clipboard" data-clipboard-target="#dnsContents">
                                    <img src="{$WEB_ROOT}/assets/img/clippy.svg" alt="Copy to clipboard" width="15">
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            {elseif !empty($authData) && $authData->methodNameConstant() == 'fileauth'}
                {include file="$template/includes/alert.tpl" type="info" msg="{lang key='ssl.fileSteps'}"}
                <div class="pb-3 text-center">{lang key='ssl.fileInformation'}</div>
                <div class="form-group row">
                    <label for="fileName" class="control-label col-md-4 col-form-label text-md-right">{lang key='ssl.url'}</label>
                    <div class="col-md-8">
                        <input type="text" class="form-control" id="fileName"
                               value="http://&lt;domain&gt;/{$authData->filePath()}" readonly/>
                    </div>
                </div>
                <div class="form-group row">
                    <label for="fileContents" class="control-label col-md-4 col-form-label text-md-right">{lang key='ssl.value'}</label>
                    <div class="col-md-8">
                        <div class="input-group">
                            <input type="text" class="form-control" id="fileContents" value="{$authData->contents}" readonly/>
                            <div class="input-group-append">
                                <button type="button" class="btn btn-default btn-sm copy-to-clipboard" data-clipboard-target="#fileContents">
                                    <img src="{$WEB_ROOT}/assets/img/clippy.svg" alt="Copy to clipboard" width="15">
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            {/if}

            <form method="post" action="clientarea.php?action=productdetails">
                <input type="hidden" name="id" value="{$serviceid}" />
                <p class="text-center mt-3">
                    <button type="submit" class="btn btn-default">
                        {lang key='invoicesbacktoclientarea'}
                    </button>
                </p>
            </form>
        </div>
    </div>
{/if}