Location: PHPKode > projects > Viscacha > templates/1/editprofile/settings.html
<form name="form2" method="post" action="editprofile.php?action=settings2<?php echo SID2URL_x; ?>">
<div class="border">
	<h3><img src="<?php echo $tpl->img('user'); ?>" alt="" /> <?php echo $lang->phrase('editprofile_settings'); ?></h3>
	<div class="bbody">
		<label for="location">
			<?php echo $lang->phrase('timezone'); ?><br />
			<span class="stext"><?php echo $lang->phrase('timezone_desc'); ?></span>
		</label>
			<select class="label" id="location" name="location">
				<option value="-12"<?php selectTZ($my->timezone, -12); ?>><?php echo $lang->phrase('timezone_n12'); ?></option>
				<option value="-11"<?php selectTZ($my->timezone, -11); ?>><?php echo $lang->phrase('timezone_n11'); ?></option>
				<option value="-10"<?php selectTZ($my->timezone, -10); ?>><?php echo $lang->phrase('timezone_n10'); ?></option>
				<option value="-9"<?php selectTZ($my->timezone, -9); ?>><?php echo $lang->phrase('timezone_n9'); ?></option>
				<option value="-8"<?php selectTZ($my->timezone, -8); ?>><?php echo $lang->phrase('timezone_n8'); ?></option>
				<option value="-7"<?php selectTZ($my->timezone, -7); ?>><?php echo $lang->phrase('timezone_n7'); ?></option>
				<option value="-6"<?php selectTZ($my->timezone, -6); ?>><?php echo $lang->phrase('timezone_n6'); ?></option>
				<option value="-5"<?php selectTZ($my->timezone, -5); ?>><?php echo $lang->phrase('timezone_n5'); ?></option>
				<option value="-4"<?php selectTZ($my->timezone, -4); ?>><?php echo $lang->phrase('timezone_n4'); ?></option>
				<option value="-3.5"<?php selectTZ($my->timezone, -3.5); ?>><?php echo $lang->phrase('timezone_n35'); ?></option>
				<option value="-3"<?php selectTZ($my->timezone, -3); ?>><?php echo $lang->phrase('timezone_n3'); ?></option>
				<option value="-2"<?php selectTZ($my->timezone, -2); ?>><?php echo $lang->phrase('timezone_n2'); ?></option>
				<option value="-1"<?php selectTZ($my->timezone, -1); ?>><?php echo $lang->phrase('timezone_n1'); ?></option>
				<option value="0"<?php selectTZ($my->timezone, 0); ?>><?php echo $lang->phrase('timezone_0'); ?></option>
				<option value="+1"<?php selectTZ($my->timezone, 1); ?>><?php echo $lang->phrase('timezone_p1'); ?></option>
				<option value="+2"<?php selectTZ($my->timezone, 2); ?>><?php echo $lang->phrase('timezone_p2'); ?></option>
				<option value="+3"<?php selectTZ($my->timezone, 3); ?>><?php echo $lang->phrase('timezone_p3'); ?></option>
				<option value="+3.5"<?php selectTZ($my->timezone, 3.5); ?>><?php echo $lang->phrase('timezone_p35'); ?></option>
				<option value="+4"<?php selectTZ($my->timezone, 4); ?>><?php echo $lang->phrase('timezone_p4'); ?></option>
				<option value="+4.5"<?php selectTZ($my->timezone, 4.5); ?>><?php echo $lang->phrase('timezone_p45'); ?></option>
				<option value="+5"<?php selectTZ($my->timezone, 5); ?>><?php echo $lang->phrase('timezone_p5'); ?></option>
				<option value="+5.5"<?php selectTZ($my->timezone, 5.5); ?>><?php echo $lang->phrase('timezone_p55'); ?></option>
				<option value="+5.75"<?php selectTZ($my->timezone, 5.75); ?>><?php echo $lang->phrase('timezone_p575'); ?></option>
				<option value="+6"<?php selectTZ($my->timezone, 6); ?>><?php echo $lang->phrase('timezone_p6'); ?></option>
				<option value="+6.5"<?php selectTZ($my->timezone, 6.5); ?>><?php echo $lang->phrase('timezone_p65'); ?></option>
				<option value="+7"<?php selectTZ($my->timezone, 7); ?>><?php echo $lang->phrase('timezone_p7'); ?></option>
				<option value="+8"<?php selectTZ($my->timezone, 8); ?>><?php echo $lang->phrase('timezone_p8'); ?></option>
				<option value="+9"<?php selectTZ($my->timezone, 9); ?>><?php echo $lang->phrase('timezone_p9'); ?></option>
				<option value="+9.5"<?php selectTZ($my->timezone, 9.5); ?>><?php echo $lang->phrase('timezone_p95'); ?></option>
				<option value="+10"<?php selectTZ($my->timezone, 10); ?>><?php echo $lang->phrase('timezone_p10'); ?></option>
				<option value="+11"<?php selectTZ($my->timezone, 11); ?>><?php echo $lang->phrase('timezone_p11'); ?></option>
				<option value="+12"<?php selectTZ($my->timezone, 12); ?>><?php echo $lang->phrase('timezone_p12'); ?></option>
			</select>
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_0"><?php echo $lang->phrase('editprofile_editor'); ?></label>
		<select id="opt_0" class="label" name="opt_0">
		<option<?php echo iif($my->opt_textarea == 0,' selected="selected"'); ?> value="0"><?php echo $lang->phrase('editprofile_editor_simple'); ?></option>
		<option<?php echo iif($my->opt_textarea == 1,' selected="selected"'); ?> value="1"><?php echo $lang->phrase('editprofile_editor_extended'); ?></option>
		</select>
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_1"><?php echo $lang->phrase('editprofile_emailpn'); ?></label>
		<input type="checkbox" name="opt_1" id="opt_1" <?php echo iif($my->opt_pmnotify == 1,' checked="checked"'); ?> value="1" />
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_2"><?php echo $lang->phrase('editprofile_bad'); ?></label>
		<input type="checkbox" name="opt_2" id="opt_2" <?php echo iif($my->opt_hidebad == 1,' checked="checked"'); ?> value="1" />
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_7"><?php echo $lang->phrase('editprofile_showsig'); ?></label>
		<input type="checkbox" name="opt_7" id="opt_7" <?php echo iif($my->opt_showsig == 1,' checked="checked"'); ?> value="1" />
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_3"><?php echo $lang->phrase('editprofile_showmail'); ?></label>
		<select name="opt_3" id="opt_3" class="label">
		<option<?php echo iif($my->opt_hidemail == 0,' selected="selected"'); ?> value="0"><?php echo $lang->phrase('editprofile_showmail_0'); ?></option>
		<option<?php echo iif($my->opt_hidemail == 1,' selected="selected"'); ?> value="1"><?php echo $lang->phrase('editprofile_showmail_1'); ?></option>
		<option<?php echo iif($my->opt_hidemail == 2,' selected="selected"'); ?> value="2"><?php echo $lang->phrase('editprofile_showmail_2'); ?></option>
		</select>
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_6"><?php echo $lang->phrase('editprofile_newsletter'); ?></label>
		<select name="opt_6" id="opt_6" class="label">
		<option<?php echo iif($my->opt_newsletter == 0,' selected="selected"'); ?> value="0"><?php echo $lang->phrase('editprofile_newsletter_0'); ?></option>
		<option<?php echo iif($my->opt_newsletter == 1,' selected="selected"'); ?> value="1"><?php echo $lang->phrase('editprofile_newsletter_1'); ?></option>
		<option<?php echo iif($my->opt_newsletter == 2,' selected="selected"'); ?> value="2"><?php echo $lang->phrase('editprofile_newsletter_2'); ?></option>
		</select>
		<?php if (count($design) > 0 && $config['hidedesign'] == 0) { ?>
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_4"><?php echo $lang->phrase('editprofile_design'); ?></label>
		<?php if (count($design) > 1) { ?>
		<select name="opt_4" id="opt_4" class="label">
			<option selected="selected" value="<?php echo $my->template; ?>"><?php echo $lang->phrase('editprofile_design_current'); ?></option>
			<?php foreach ($design as $row) { ?>
			<option value="<?php echo $row['id']; ?>"><?php echo $row['name']; ?></option>
			<?php } ?>
		</select>
		<?php } else { ?>
		<span class="label"><?php echo $mydesign; ?></span>
		<?php } } if (count($language) > 0 && $config['hidelanguage'] == 0) { ?>
		<br class="newinput" /><hr class="formsep" />
		<label for="opt_5"><?php echo $lang->phrase('editprofile_language'); ?></label>
		<?php if (count($language) > 1) { ?>
		<select name="opt_5" id="opt_5" class="label">
			<option selected="selected" value="<?php echo $my->language; ?>"><?php echo $lang->phrase('editprofile_language_current'); ?></option>
			<?php foreach ($language as $row) { ?>
			<option value="<?php echo $row['id']; ?>"><?php echo $row['language']; ?></option>
			<?php } ?>
		</select>
		<?php } else { ?>
		<span class="label"><?php echo $mylanguage; ?></span>
		<?php } } foreach ($customfields as $row) { ?>
		<br class="newinput" /><hr class="formsep" />
		  <label for="<?php echo $row['field']; ?>"><?php echo $row['name'] . iif(!empty($row['description']), '<br /><span class="stext">'.$row['description'].'</span>'); ?></label>
		  <?php echo $row['input']; } ?>
		<br class="newinput" /><br class="iefix_br" />
	</div>
	<div class="bfoot center"><input accesskey="s" type="submit" name="Submit1" value="<?php echo $lang->phrase('submit_form'); ?>" /></div>
</div>
</form>
Return current item: Viscacha