2023-10-13 17:46:44 +00:00
|
|
|
<div class="tab-pane active" id="providerclient">
|
2023-10-16 08:46:15 +00:00
|
|
|
<h4 class="mt-3"><?php echo sprintf(_("%s settings"), $providerName) ;?></h4>
|
2023-10-13 17:46:44 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<div class="row mb-2">
|
|
|
|
<div class="col-lg-12 mt-2 mb-2">
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="row ms-1">
|
2024-10-31 07:19:53 +00:00
|
|
|
<div class="info-item col-3">
|
2024-10-24 07:06:13 +00:00
|
|
|
<i class="fas fa-globe-americas me-1"></i><?php echo _("IPv4 Address"); ?>
|
2023-10-15 19:26:58 +00:00
|
|
|
</div>
|
2024-10-31 07:19:53 +00:00
|
|
|
<div class="info-value col-4">
|
2024-10-24 07:06:13 +00:00
|
|
|
<?php echo htmlspecialchars($publicIP, ENT_QUOTES); ?><a class="text-gray-500" href="https://ipapi.co/<?php echo($publicIP); ?>" target="_blank" rel="noopener noreferrer"><i class="fas fa-external-link-alt ms-2"></i></a>
|
2023-10-15 19:26:58 +00:00
|
|
|
</div>
|
2023-10-13 17:46:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-10-15 19:26:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-10-25 13:00:58 +00:00
|
|
|
<?php if (!empty($accountInfo)) : ?>
|
2023-10-15 19:26:58 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6 mt-1">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5><?php echo _("Account details"); ?></h5>
|
|
|
|
<?php foreach ($accountInfo as $item) {
|
|
|
|
echo '<small>'. $item .'</small><br>';
|
|
|
|
} ?>
|
2024-10-24 07:06:13 +00:00
|
|
|
<a href="<?php echo($accountLink); ?>" target="_blank" class="btn btn-warning btn-sm mt-2"><i class="fas fa-external-link-alt ms-1 me-1"></i><?php echo _("My account") ?></a>
|
2023-10-15 19:26:58 +00:00
|
|
|
</div><!-- /.card-body -->
|
|
|
|
</div><!-- /.card -->
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-10-25 13:00:58 +00:00
|
|
|
<?php endif; ?>
|
2023-10-15 19:26:58 +00:00
|
|
|
<div class="row">
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="mb-3 col-md-6 mt-3">
|
2023-10-15 19:26:58 +00:00
|
|
|
<h5><?php echo _("Server location"); ?></h5>
|
2023-10-27 10:22:18 +00:00
|
|
|
<div>
|
2023-10-18 07:50:57 +00:00
|
|
|
<small><?php echo _("Choosing <strong>Save settings</strong> will connect to the selected country."); ?></small>
|
|
|
|
</div>
|
2023-10-27 10:22:18 +00:00
|
|
|
<div class="mb-2">
|
|
|
|
<small><?php echo sprintf(_("Choosing <strong>Connect %s</strong> will connect to a recommended server."), $providerName); ?></small>
|
|
|
|
</div>
|
2023-10-15 19:26:58 +00:00
|
|
|
<label for="cbxhwmode"><?php echo _("Country") ;?></label>
|
2023-10-18 07:50:57 +00:00
|
|
|
<?php SelectorOptions('country', $countries, $country, 'cbxcountry'); ?>
|
2023-10-15 19:26:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-10-13 17:46:44 +00:00
|
|
|
</div><!-- /.tab-pane | general tab -->
|
|
|
|
|