<{strip}>
<{* ブロック一覧表示用テンプレート *}>

<{foreach name="block" key="block_id" key=blockId item="block" from=$blocks}>
	<{if $block.module_id != 0 }>
		<{if ($block.block_name == "" )}>
			<{if ( $block.content != "" ) }>
				<{$block.content|smarty:nodefaults}>

				<{if ( $block.more_title != "" ) }>
					<a href="./?action=pages_view_mobile&amp;block_id=<{$block.block_id}><{$session_param}>">
						<{$block.more_title}>
					</a>
				<{/if}>
			<{else}>
				<a href="./?action=pages_view_mobile&amp;block_id=<{$block.block_id}><{$session_param}>">
					<{$block.module_name}>
				</a>
			<{/if}>
		<{else}>
			<a href="./?action=pages_view_mobile&amp;block_id=<{$block.block_id}><{$session_param}>">
				<{$block.block_name}>
			</a>
		<{/if}>
		<br />
	<{/if}>

	<{if !empty($action.blocks.$blockId|smarty:nodefaults)}>
		<{assign var="blocks" value=$action.blocks.$blockId}>
		<{include file="menu_mobile_recursive_block.html"}>
	<{/if}>
<{/foreach}>
<{/strip}>