Example #1
0
function _getWHLanguage()
{
    switch (_getAMLanguage()) {
        case "ru_RU":
            /* RUSSIAN */
            return "ru";
        case "fr_FR":
            /* FRENCH */
            return "fr";
        case "de_DE":
            /* GERMAN */
            return "de";
        case "es_ES":
            /* SPANISH - SPAIN */
        /* SPANISH - SPAIN */
        default:
            return "es";
        case "en_US":
            /* ENGLISH */
        /* ENGLISH */
        default:
            return "old";
    }
}
Example #2
0
    echo "\n                                    <li><a href = '_userside.php'>" . $L[4] . "</a></li>\n                                    <li><a href = '_logout.php'>" . $L[5] . "</a></li>";
    $connection = _MySQLConnect($AccountDBHost, $DBUser, $DBPassword, $AccountDB);
    $query = mysql_query("SELECT `myth_coins` FROM `account_details` WHERE `id` = " . _getAccountID() . " ;", $connection) or die(mysql_error());
    $row = mysql_fetch_array($query);
    echo "<li><a href = '_acc_history.php'><i class = 'icon-white icon-fire'></i>" . $row[0] . " " . $L[37] . "</a></li>";
    mysql_close($connection) or die(mysql_error());
}
?>
                            <li><a href = '__online_statistic.php'><?php 
echo $L[250];
?>
</a></li>
                            <li>
                                <form style = 'display:inline; position:relative; left: 5px; top:5px;' id = 'LSF' method = 'post'>
                                    <div class = 'bfh-selectbox bfh-languages' data-language = '<?php 
echo _getAMLanguage();
?>
' data-available = '<?php 
echo $AvailableLanguages;
?>
' data-flags = 'true'>
                                        <input onchange = '_languageSubmit();' type = 'hidden' name = 'LSec' value = ''>
                                        <a class = 'bfh-selectbox-toggle' role = 'button' data-toggle = 'bfh-selectbox' href = '#'>
                                        <span class = 'bfh-selectbox-option input-medium' data-option = ''></span>
                                        <b class = 'caret'></b>
                                        </a>
                                        <div class = 'bfh-selectbox-options'>
                                            <div role = 'listbox'>
                                                <ul role = 'option'></ul>
                                            </div>
                                        </div>