<{strip}>
<{* 携帯用改ページ部分 *}>
<{* @author T.Hashimoto,R.Fujiwara /@copyright 2009 AllCreator Co., Ltd. / @license NetCommons License *}>
<{if $action.prev_link}>
  	<a href="?action=multidatabase_view_main_init&amp;multidatabase_id=<{$action.multidatabase_id}>&amp;now_page=<{$action.now_page-1}>&amp;block_id=<{$action.block_id}><{$session_param}>">
		<{$lang._btn_prev_arrow|smarty:nodefaults}>
  	</a>
	&nbsp;
<{/if}>
<{section name=cnt loop=$action.link_array}>
	<{* PCだとsection name=cnt loop～が２重LOOPだが、ここは1重LOOPでいいので携帯版は修正した。PCも１重でいいはず *}>
	<{if $action.total_page > 1}>
		<{if $action.now_page==$action.link_array[cnt]}>
			<{* 現在のページ *}>
			<{$action.link_array[cnt]}>
			&nbsp;
		<{else}>
  			<a href="?action=multidatabase_view_main_init&amp;multidatabase_id=<{$action.multidatabase_id}>&amp;now_page=<{$action.link_array[cnt]}>&amp;block_id=<{$action.block_id}><{$session_param}>">
				<{$action.link_array[cnt]}>
			</a>
			&nbsp;
		<{/if}>
	<{/if}>
<{/section}>
<{if $action.next_link}>
  	<a href="?action=multidatabase_view_main_init&amp;multidatabase_id=<{$action.multidatabase_id}>&amp;now_page=<{$action.now_page+1}>&amp;block_id=<{$action.block_id}><{$session_param}>">
		<{$lang._btn_next_arrow|smarty:nodefaults}>
  	</a>
<{/if}>
<{/strip}>
