• Philipp A. Baer
Bark Beetle (Scolytinae) Gallery

2007-01-23: New WP 2.1 Database Structure

In order to distinguish pages and posts in WP < 2.1, it was necessary to query the post_status column:

$result = $wpdb->get_results("SELECT post_status ...");
if ($result) {
    if ($result->post_status == "static") {
        echo "PAGE";
    } else {
        echo "POST";
    }
}

In WP >= 2.1 the database schema changed. The new column post_type was introduced:

$result = $wpdb->get_results("SELECT post_type ...");
if ($result) {
    if ($result->post_type == "page") {
        echo "PAGE";
    } else if ($result->post_type == "post") {
        echo "POST";
    }
}

CN: RoboCup2009

  • Third RR Group A
  • Second RR Group A
    • TU (12)
    • CN (6)
    • MRL (4)
    • Water (4)
    • MH (0)
  • First RR Group B
  • Wed, 01. July 2009
    • CN:HM0:0
    • CN:MRL – 0:3
    • CN:1.RFC1:4
  • Thu, 02. July 2009
  • Fri, 03. July 2009
    • CN:HKD – resigned
    • CN:Water – 1:0
    • CN:MH3:0
  • Sat, 04. July 2009
    • CN:MRL – 0:1
    • CN:TU0:3
    • CN:1.RFC1:3
    • CN:TU1:4
For all team-realted issues, please have a look at the Carpe Noctem Website.
For the current results, please have a look at Tech United's web page.