LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / kurumsal14.snrsoft.com.tr / datainclude / | Server Ip : 104.21.78.54 |
Filename | |
Size | 989 |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 10-Oct-2022 14:04 |
Last accessed | 05-Apr-2025 07:32 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<li class="has-dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle menu-item">
<i class='flag-icon flag-icon-<?php echo $getLangCheck['country_code']; ?>'></i>
</a>
<ul class="dropdown-menu">
<?php
while ($langCheck=$langAsk->fetch(PDO::FETCH_ASSOC)){
$langCodeAsk=$db->prepare("SELECT * FROM countries where alpha=:alpha");
$langCodeAsk->execute(array(
'alpha' => $langCheck['country_code']
));
$langCodeCheck=$langCodeAsk->fetch(PDO::FETCH_ASSOC);
?>
<li class="dropdown">
<a href="<?php echo $generalSettingCheck['site_url']; ?>?lang=<?php echo $langCheck['country_code']; ?>" class="dropdown-item <?php echo $getLangCheck['country_code'] == $langCheck["country_code"] ? 'active' : ''; ?>">
<i class='flag-icon flag-icon-<?php echo $langCheck['country_code'] ?> mr-2'></i> <?php echo $langCodeCheck['country'] ?>
</a>
</li>
<?php } ?>
</ul>
</li>
<a href="#" data-toggle="dropdown" class="dropdown-toggle menu-item">
<i class='flag-icon flag-icon-<?php echo $getLangCheck['country_code']; ?>'></i>
</a>
<ul class="dropdown-menu">
<?php
while ($langCheck=$langAsk->fetch(PDO::FETCH_ASSOC)){
$langCodeAsk=$db->prepare("SELECT * FROM countries where alpha=:alpha");
$langCodeAsk->execute(array(
'alpha' => $langCheck['country_code']
));
$langCodeCheck=$langCodeAsk->fetch(PDO::FETCH_ASSOC);
?>
<li class="dropdown">
<a href="<?php echo $generalSettingCheck['site_url']; ?>?lang=<?php echo $langCheck['country_code']; ?>" class="dropdown-item <?php echo $getLangCheck['country_code'] == $langCheck["country_code"] ? 'active' : ''; ?>">
<i class='flag-icon flag-icon-<?php echo $langCheck['country_code'] ?> mr-2'></i> <?php echo $langCodeCheck['country'] ?>
</a>
</li>
<?php } ?>
</ul>
</li>