<tr id="site_create_new_row" class="hidden">
					<td></td>
					<td></td>
					<td><input id="new_site_name" type="text" class="text" value="" /></td>
					<td><input id="new_site_extension" type="text" class="text_abbr" value="" /></td>
					<td>
						<select id="new_site_page_template_id" class="select">
							<?php 
print_template_selectbox($default_page_template_id, 'page');
?>
						</select>
					</td>
					<td>
						<select id="new_site_content_template_id" class="select">
							<?php 
print_template_selectbox($default_content_template_id, 'content');
?>
						</select>
					</td>
					<td>
						<select id="new_site_encoding" class="select">
						<?php 
foreach ($encodings as $encoding) {
    ?>
							<option value="<?php 
    echo $encoding;
    ?>
"<?php 
    echo $encoding == 'UTF-8' ? ' selected="selected"' : '';
    ?>
><?php 
				<td nowrap><?php 
    echo $site->sys_sona(array(sona => "tyyp_" . $type[nimi], tyyp => "system"));
    ?>
</td>
				<td>&nbsp;</td>

				<td>
					<select name="tyyp_id<?php 
    echo $type[tyyp_id];
    ?>
" class='scms_flex_input' style='max-width: 334px'>

					<?php 
    # print selectbox option rows and get selected template array, fn() in classes/adminpage.inc
    $ttyyp = print_template_selectbox($type['ttyyp_id'], 'object');
    ?>
					</select>
				  </td>

				</tr>
		<?php 
}
// while
?>
			  </table>
		</div>
	</td>
</tr>
</table>