Changeset 3032 for trunk/wp-admin/edit.php
- Timestamp:
- 11/10/2005 11:36:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r2832 r3032 82 82 </form> 83 83 84 <?php $arc_result = $wpdb->get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts ORDER BY post_date DESC"); 85 if ( count($arc_result) ) { ?> 86 84 87 <form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;"> 85 88 <fieldset> … … 87 90 <select name='m'> 88 91 <?php 89 $arc_result=$wpdb->get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts ORDER BY post_date DESC");90 92 foreach ($arc_result as $arc_row) { 91 93 $arc_year = $arc_row->yyear; … … 106 108 </fieldset> 107 109 </form> 110 111 <?php } ?> 108 112 109 113 <br style="clear:both;" />
Note: See TracChangeset
for help on using the changeset viewer.