Show posts:
0) { ?>
 
 to    
"; $querycount++; $arc_result=$wpdb->get_results("SELECT DISTINCT YEAR(post_date), MONTH(post_date) FROM $tableposts ORDER BY post_date DESC",ARRAY_A); foreach ($arc_result as $arc_row) { $arc_year = $arc_row["YEAR(post_date)"]; $arc_month = $arc_row["MONTH(post_date)"]; echo "\n"; } } elseif ($archive_mode == "daily") { echo ""; if (!isset($start_of_week)) { $start_of_week = 1; } $archive_week_start_date_format = "Y/m/d"; $archive_week_end_date_format = "Y/m/d"; $archive_week_separator = " - "; $querycount++; $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); $arc_w_last = ''; foreach ($arc_result as $arc_row) { $arc_year = $arc_row["YEAR(post_date)"]; $arc_w = $arc_row["WEEK(post_date)"]; if ($arc_w != $arc_w_last) { $arc_w_last = $arc_w; $arc_ymd = $arc_year."-".zeroise($arc_row["MONTH(post_date)"],2)."-" .zeroise($arc_row["DAYOFMONTH(post_date)"],2); $arc_week = get_weekstartend($arc_ymd, $start_of_week); $arc_week_start = date($archive_week_start_date_format, $arc_week['start']); $arc_week_end = date($archive_week_end_date_format, $arc_week['end']); echo "\n"; } } } elseif ($archive_mode == "postbypost") { echo ''; echo '"; ?>

[ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo " - Edit"; echo " - Delete "; } if ('private' == $post->post_status) echo ' - Private'; ?> ]
by (), in

get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date"); if ($comments) { ?>

Comments

  1. ( / ) (IP: ) @ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "[ comment_ID."\">Edit"; echo " - ID."&comment=".$commentdata->comment_ID."\">Delete ]"; } // end if any comments to show ?>
  2. '; }//end if comments if ($comment_error) echo "

    Error: please fill the required fields (name & comment)

    "; ?>

    Leave Comment

    " />




    No results found.

Show posts:
-1) { ?>
 
 to