<div id="mycssadmin" >
	<h4><{$smarty.const.MYCSSADMIN_BLOCK_CSS_SETTING}>
	<{if $current_module.name != ''}>&nbsp;(<{$current_module.name}>)&nbsp;<{/if}></h4>
	<{if $block_count > 0 }>
		<form action="<{$action}>" method="post" >
			<div id="CssadminBlocks">
				<table summary='CSS setting of blocks of Module'>
				<thead>
					<tr>
						<th class="head">
							<{$smarty.const.MYCSSADMIN_BLOCKNAME}>
						</th>
						<th class="head">
							<{$smarty.const.MYCSSADMIN_CSSFILE}>
						</th>
					</tr>
					</thead>
					<tbody>
					<{foreach from=$blocks item=itm_blocks name=fe_blocks}>
<{strip}>
						<{if $itm_blocks.title != '' }>
							<tr>
								<td>
									<label for="BlockCssId<{$itm_blocks.bid}>"><{$itm_blocks.title}></label>
								</td>
								<td>
									<select name="BlockCssId<{$itm_blocks.bid}>" id="BlockCssId<{$itm_blocks.bid}>">
										<option value="" ><{$smarty.const.MYCSSADMIN_NO_CSS}></option>
									 	<{foreach from=$itm_blocks.css item=itm_blocks_css name=fe_blocks_css}>
											<{if $itm_blocks_css != '' && $itm_blocks_css == $itm_blocks.selected }>
												<option value="<{$itm_blocks_css}>" selected="selected" ><{$itm_blocks_css}></option>
											<{elseif $itm_blocks_css != '' }>
												<option value="<{$itm_blocks_css}>" ><{$itm_blocks_css}></option>
											<{/if}>
										<{/foreach}>
									 </select>
								</td>
							</tr>
						<{/if}>
<{/strip}>
					<{/foreach}>
					</tbody>
				</table>
				<{$ticket}>
				<input type="submit" name="btnCssadmin" id="btnCssadmin" value="<{$smarty.const.MYCSSADMIN_UPDATE}>" />
			</div>
		</form>
	<{/if}>
</div>