</td>
    <td valign="top" width="33%" align="right">
    <form name="viewarc" action="" method="get">
<?php 
if ($GLOBALS['archive_mode'] == "monthly") {
    ?>
		<select name="m" style="width:120px;">
			<option value="">All Months</option>
			<?php 
    wp_dropdown_month(test_param('m') ? get_param('m') : '');
} elseif ($GLOBALS['archive_mode'] == "daily") {
    ?>
		<select name="m" style="width:120px;">
			<option value="">All Days</option>
			<?php 
    wp_dropdown_daily(test_param('m') ? get_param('m') : '');
} elseif ($GLOBALS['archive_mode'] == "weekly") {
    ?>
		<select name="w" style="width:120px;">
			<option value="">All Weeks</option>
			<?php 
    wp_dropdown_weekly(test_param('w') ? get_param('w') : '');
} elseif ($GLOBALS['archive_mode'] == "postbypost") {
    ?>
		<input type="hidden" name="more" value="1" />
		<select name="p" style="width:120px;">
			<option value="">All Posts</option>
			<?php 
    wp_dropdown_postbypost(test_param('p') ? get_param('p') : '');
}
?>
    </td>
    <td valign="top" width="33%" align="right">
    <form name="viewarc" action="" method="get">
<?php 
if ($archive_mode == "monthly") {
    ?>
		<select name="m" style="width:120px;">
			<option value="">All Months</option>
			<?php 
    wp_dropdown_month(isset($m) ? $m : "");
} elseif ($archive_mode == "daily") {
    ?>
		<select name="m" style="width:120px;">
			<option value="">All Days</option>
			<?php 
    wp_dropdown_daily(isset($m) ? $m : "");
} elseif ($archive_mode == "weekly") {
    ?>
		<select name="w" style="width:120px;">
			<option value="">All Weeks</option>
			<?php 
    wp_dropdown_weekly(isset($w) ? $w : "");
} elseif ($archive_mode == "postbypost") {
    ?>
		<input type="hidden" name="more" value="1" />
		<select name="p" style="width:120px;">
			<option value="">All Posts</option>
			<?php 
    wp_dropdown_postbypost(isset($p) ? $p : "");
}
?>