Changeset 570 for trunk/wp-admin/edit.php
- Timestamp:
- 12/05/2003 01:27:00 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r560 r570 146 146 <?php 147 147 $categories = $wpdb->get_results("SELECT * FROM $tablecategories"); 148 $querycount++;149 148 $width = ($mode=="sidebar") ? "100%" : "170px"; 150 149 foreach ($categories as $category) { … … 165 164 if ($archive_mode == "monthly") { 166 165 echo "<select name=\"m\" style=\"width:120px;\">"; 167 $querycount++;168 166 $arc_result=$wpdb->get_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM $tableposts ORDER BY post_date DESC",ARRAY_A); 169 167 foreach ($arc_result as $arc_row) { … … 177 175 echo "<select name=\"d\" style=\"width:120px;\">"; 178 176 $archive_day_date_format = "Y/m/d"; 179 $querycount++;180 177 $arc_result=$wpdb->get_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date), DAYOFMONTH(post_date) FROM $tableposts ORDER BY post_date DESC", ARRAY_A); 181 178 foreach ($arc_result as $arc_row) { … … 195 192 $archive_week_end_date_format = "Y/m/d"; 196 193 $archive_week_separator = " - "; 197 $querycount++;198 194 $arc_result=$wpdb->geT_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date), DAYOFMONTH(post_date), WEEK(post_date) FROM $tableposts ORDER BY post_date DESC", ARRAY_A); 199 195 $arc_w_last = ''; … … 215 211 echo '<input type="hidden" name="more" value="1" />'; 216 212 echo '<select name="p" style="width:120px;">'; 217 $querycount++;218 213 $resultarc = $wpdb->get_results("SELECT ID,post_date,post_title FROM $tableposts ORDER BY post_date DESC"); 219 214 foreach ($resultarc as $row) { … … 269 264 270 265 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); 271 ++$querycount;272 266 if ($comments) { 273 267 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)