Posts

Go to: Post/Edit | Posts | Comments

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"); ++$querycount; if ($comments) { ?>

Comments

  1. @ $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "[ comment_ID."\">Edit"; echo " - ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete "; if ( ('none' != get_settings("comment_moderation")) && ($user_level >= 3) ) { if ('approved' == wp_get_comment_status($comment->comment_ID)) { echo " - ID."&comment=".$comment->comment_ID."\">Unapprove "; } else { echo " - ID."&comment=".$comment->comment_ID."\">Approve "; } } echo " ]"; } // end if any comments to show ?>
    ( / ) (IP: )
  2. '; }//end if comments if ($comment_error) echo "

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

    "; ?>

    Leave Comment

    " />




    No results found.