php​2latte

PHP file - try to edit it!
<h1><span><?= $lang_common['User list'] ?></span></h1>

<div class="blockform">
	<form id="userlist" method="get" action="userlist.php">
		<div class="infldset">
			<select name="show_group">
				<option value="-1"<?php if ($show_group == -1) {
	echo ' selected="selected"';
} ?>><?= $lang_ul['All users'] ?></option>

<?php

foreach ($result as $cur_group) {
	if ($cur_group['g_id'] == $show_group) {
		echo "\n\t\t" . '<option value="' . $cur_group['g_id'] . '" selected="selected">'
			. htmlspecialchars($cur_group['g_title']) . '</option>';
	} else {
		echo "\n\t\t" . '<option value="' . $cur_group['g_id'] . '">'
			. htmlspecialchars($cur_group['g_title']) . '</option>';
	}
}
?>

			</select>
			<p class="clearb"><?= $lang_ul['User search info'] ?></p>
		</div>
	</form>
</div>
<h1><span>{$lang_common['User list']}</span></h1>

<div class="blockform">
	<form id="userlist" method="get" action="userlist.php">
		<div class="infldset">
			<select name="show_group">
				<option value="-1"{if $show_group == -1} selected="selected"
{/if}>{$lang_ul['All users']}</option>

{foreach $result as $cur_group}
    {if $cur_group[g_id] == $show_group}
		<option value="{$cur_group[g_id]}" selected="selected">{$cur_group[g_title]}</option>
     {else}
		<option value="{$cur_group[g_id]}">{$cur_group[g_title]}</option>
    {/if}
{/foreach}
			</select>
			<p class="clearb">{$lang_ul['User search info']}</p>
		</div>
	</form>
</div>