Index: trunk/blocks/archives_block.php
===================================================================
--- trunk/blocks/archives_block.php	(revision 110)
+++ trunk/blocks/archives_block.php	(revision 120)
@@ -19,9 +19,9 @@
 	{
 		$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
-		$type = empty( $options[1] ) ? false : true ;
-		$limit = empty( $options[2] ) ? '10' : $options[2] ;
-		$show_post_count = empty( $options[3] ) ? false : true ;		
-		$drop_down = empty( $options[4] ) ? false : true ;
-		$this_template = empty( $options[5] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[3] );
+		$this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_category.html' : trim( $options[1] );
+		$type = empty( $options[2] ) ? false : true ;
+		$limit = empty( $options[3] ) ? '10' : $options[3] ;
+		$show_post_count = empty( $options[4] ) ? false : true ;		
+		$drop_down = empty( $options[5] ) ? false : true ;
 		
 		require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php');
@@ -32,7 +32,7 @@
 
 		$form .= "<br />" . yes_no_radio_option('options[1]', _MB_XPRESS_ARC_TYPE , $type,$a_month,$a_week);
-		$form .= "<br />" . _MB_XPRESS_COUNT . "  <input type='text' name='options[2]' value='" . $limit . "' />";
-		$form .= "<br />" . yes_no_radio_option('options[3]', _MB_XPRESS_SHOW_NUM_OF_POST , $show_post_count);
-		$form .= "<br />" . yes_no_radio_option('options[4]', _MB_XPRESS_SHOW_DROP_DOWN , $drop_down);
+		$form .= "<br />" . _MB_XPRESS_COUNT . "  <input type='text' name='options[3]' value='" . $limit . "' />";
+		$form .= "<br />" . yes_no_radio_option('options[4]', _MB_XPRESS_SHOW_NUM_OF_POST , $show_post_count);
+		$form .= "<br />" . yes_no_radio_option('options[5]', _MB_XPRESS_SHOW_DROP_DOWN , $drop_down);
 //	    $form .="<br /><input type='text' size='60' name='options[5]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' />";
 	    
