Example #1
0
    save_language($cont1);
    //Redirect user.
    show_error($lang['language']['saved'], 3);
    redirect('?action=options', 2);
    include_once 'data/inc/footer.php';
    exit;
}
//Introduction text.
?>
<p>
	<strong><?php 
echo $lang['language']['choose'];
?>
</strong>
</p>
<form action="" method="post">
	<p>
		<select name="cont1">
			<option selected="selected" value="0"><?php 
echo $lang['general']['choose'];
?>
</option>
			<?php 
read_lang_files(LANG_FILE);
?>
		</select>
	</p>
	<?php 
show_common_submits('?action=options');
?>
</form>
Example #2
0
        ?>
" />
				<?php 
        if (isset($error['email'])) {
            echo $error['email'];
        }
        ?>
			</p>
			<p>
				<label class="kop2" for="cont3"><?php 
        echo $lang['language']['title'];
        ?>
</label>
				<select name="cont3" id="cont3">
					<?php 
        read_lang_files($langpref);
        ?>
				</select>
			</p>
			<p>
				<label class="kop2" for="cont4"><?php 
        echo $lang['login']['password'];
        ?>
</label>
				<input name="cont4" id="cont4" type="password" />
			</p>
			<p>
				<label class="kop2" for="cont5"><?php 
        echo $lang['changepass']['repeat'];
        ?>
</label>