retrieve_content_time_where( $table_name, $pk, (int)$_GET['s'] ) ) ) { $serno = (int)$_GET['s']; } else if ( $pvw ) { $serno = (int)$_GET['s']; $data = $sql->retrieve_content( $table_name, $pk, $serno, true ); } else { echo ""; exit; } function nl2li( $str, $css_class = "none", $ordered = 0, $type = "1" ) { //check if its ordered or unordered list, set tag accordingly if ( $ordered ) { $tag = "ol"; //specify the type $tag_type = "type=$type"; } else { $tag = "ul"; //set $type as NULL $tag_type = null; } $str = "
  • " . $str . "
  • "; $str = str_replace( "\n", "
  • ", $str ); return $str; } ?> TWI

    '; ?>