Location: PHPKode > projects > Neobill > NeoBill0.5.6/install/pages/welcome.php
<?php
/*
 * @(#)install/pages/welcome.php
 *
 *    Version: 0.50.20090327
 * Written by: John Diamond <mailto:hide@address.com>
 * Written by: Yves Kreis <mailto:hide@address.com>
 *
 * Copyright (C) 2006-2008 by John Diamond
 * Copyright (C) 2009 by Yves Kreis
 *
 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program; if not, write to the 
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
*/

$languages = get_languages_installer();
?>
<script type="text/javascript" src="javascript/language.js"></script>
<h2><?php echo _INSTALLERWELCOME; ?></h2>
<br />
<form action="index.php" method="post">
    <div>
        <div>
            <?php echo _INSTALLERCHOOSELANGUAGE; ?> :
            <select name="language" onchange="_language();" onkeyup="_language();">
                <?php
                foreach($languages as $key=>$value) {
                    echo '                <option value="', $value, '"';
                    if (isset($_POST['language'])) {
                        if ($_POST['language'] == $value) {
                            echo ' selected="selected"';
                        }
                    } else if (isset($_COOKIE['language'])) {
                        if ($_COOKIE['language'] == $value) {
                            echo ' selected="selected"';
                        }
                    } else {
                        if ('english' == $value) {
                            echo ' selected="selected"';
                        }
                    }
                    echo '>', ucfirst($value), '</option>', "\n";
                }
                ?>
            </select>
        </div>
        <div class="submit">
            <input type="hidden" name="install_step" value="1" />
            <input type="submit" value="<?php echo _INSTALLERNEXT; ?>" />
        </div>
    </div>
</form>
Return current item: Neobill