Server IP : 213.176.29.180  /  Your IP : 18.119.166.141
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 (0750) :  /home/webtaragh/public_html/wp-admin/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/wp-admin/../0536f8b741ca42f29f57bea8083f464b224402c5_0.string.php.tar
home/webtaragh/public_html/whmcs/templates_c/0536f8b741ca42f29f57bea8083f464b224402c5_0.string.php000064400000021251147361201370025042 0ustar00<?php
/* Smarty version 3.1.36, created on 2023-09-24 06:38:21
  from '0536f8b741ca42f29f57bea8083f464b224402c5' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.36',
  'unifunc' => 'content_650fd95d38a353_73519742',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_650fd95d38a353_73519742 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="alert alert-info info-alert"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.sellingWebHosting"),$_smarty_tpl ) );?>
</div>

<div class="form-horizontal">
    <div class="form-group">
        <label for="inputControlPanel" class="col-sm-3 control-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"fields.controlpanel"),$_smarty_tpl ) );?>
</label>
        <div class="col-sm-9">

            <div style="margin-bottom:5px;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.serverTypeNotListed"),$_smarty_tpl ) );?>
</div>

            <input type="hidden" name="module" value="" id="inputModule" />
            <div class="server-module-select">
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['autoConfigServers']->value, 'server');
$_smarty_tpl->tpl_vars['server']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['server']->value) {
$_smarty_tpl->tpl_vars['server']->do_else = false;
?>

                    <span data-module="<?php echo $_smarty_tpl->tpl_vars['server']->value;?>
">
                        <img src="../modules/servers/<?php echo $_smarty_tpl->tpl_vars['server']->value;?>
/logo.png" height="22" />
                    </span>

                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="inputHostname" class="col-sm-3 control-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"fields.hostnameip"),$_smarty_tpl ) );?>
</label>
        <div class="col-sm-9">
            <input id="inputHostname" type="text" name="hostname" class="form-control" placeholder="server1.example.com">
        </div>
    </div>
    <div class="form-group">
        <label for="inputServerUsername" class="col-sm-3 control-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"fields.username"),$_smarty_tpl ) );?>
</label>
        <div class="col-sm-3">
            <input id="inputServerUsername" type="text" name="username" class="form-control" placeholder="root">
        </div>
        <label for="inputPassword" class="col-sm-2 control-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"fields.password"),$_smarty_tpl ) );?>
</label>
        <div class="col-sm-4">
            <input id="inputPassword" type="password" name="password" class="form-control">
        </div>
    </div>
</div>

<div style="background-color:#f8f8f8;margin:15px 0 12px 0;padding:10px;text-align:left;">
    <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.testServerConnectionDescription"),$_smarty_tpl ) );?>

    <div class="pull-right" style="margin-top:-2px;">
    <button type="button" class="btn btn-primary btn-xs" id="btnVerifyConnection">
        <span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.verifyConnection"),$_smarty_tpl ) );?>
</span>
        <span class="hidden"><i class="fas fa-spinner fa-spin"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.verifyConnectionConnecting"),$_smarty_tpl ) );?>
</span>
    </button>
    </div>
</div>

<div class="row">
    <div class="col-sm-6">
        <div class="form-group">
            <label for="inputServerName"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.serverName"),$_smarty_tpl ) );?>
 <span class="field-desc"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.serverNameDesc"),$_smarty_tpl ) );?>
</span></label>
            <input type="text" name="name" class="form-control" id="inputServerName" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.serverNameExample"),$_smarty_tpl ) );?>
" value="">
        </div>
        <div class="form-group">
            <label for="inputNameserver1"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"configservers.primarynameserver"),$_smarty_tpl ) );?>
</label>
            <input type="text" name="nameserver1" class="form-control" id="inputNameserver1" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"configservers.primarynameserverexample"),$_smarty_tpl ) );?>
" value="">
        </div>
    </div>
    <div class="col-sm-6">
        <div class="form-group">
            <label for="inputPrimaryIp"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.serverPrimaryIp"),$_smarty_tpl ) );?>
 <span class="field-desc"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"wizard.displayedInWelcomeEmails"),$_smarty_tpl ) );?>
</span></label>
            <input type="text" name="primaryip" class="form-control" id="inputPrimaryIp" placeholder="xx.xxx.xx.xx" value="">
        </div>
        <div class="form-group">
            <label for="inputNameserver2"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"configservers.secondarynameserver"),$_smarty_tpl ) );?>
</label>
            <input type="text" name="nameserver2" class="form-control" id="inputNameserver2" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"configservers.secondarynameserverexample"),$_smarty_tpl ) );?>
" value="">
        </div>
    </div>
</div>

<?php echo '<script'; ?>
>

var verifyButtonLabel;

$(document).ready(function() {
    $(".server-module-select span").click(function() {
        $("#inputModule").val($(this).data("module"));
        $(".server-module-select span").removeClass('active');
        $(this).addClass('active');
    });
    $(".server-module-select span:first-child").click();

    $('#btnVerifyConnection').click(function() {
        var requestVars = 'module=' + $('#inputModule').val()
            + '&hostname=' + $('#inputHostname').val()
            + '&username=' + $('#inputServerUsername').val()
            + '&password=' + $('#inputPassword').val();

        $('#btnVerifyConnection span:first-child').hide();
        $('#btnVerifyConnection span:last-child').removeClass('hidden').show();
        wizardCall('verifyConnection', requestVars, function(data){
            $('#btnVerifyConnection span:first-child').show();
            $('#btnVerifyConnection span:last-child').hide();
            if (data.error) {
                wizardError(data.error);
            } else {
                $('.info-alert:visible').html('<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>strtr("wizard.testConnectionSuccessful", array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ))),$_smarty_tpl ) );?>
').removeClass('alert-info').removeClass('alert-danger').addClass('alert-success');
                $('#inputServerName').val(data.serverName);
                $('#inputPrimaryIp').val(data.primaryIp);
                $('#inputNameserver1').val(data.nameservers[0]);
                $('#inputNameserver2').val(data.nameservers[1]);
            }
        });
    });
});
<?php echo '</script'; ?>
>
<?php }
}