<?php
global $userdata, $wpdb;
$obo_table_width = obo_table_width;
if(obo_view_column1)$obo_table_width += obo_column_width; $obo_col_num = 1;
if(obo_view_column2)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column3)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column4)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column5)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column6)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column7)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column8)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column9)$obo_table_width += obo_column_width; $obo_col_num += 1;
if(obo_view_column10)$obo_table_width += obo_column_width; $obo_col_num += 1;
$text .= "<div id='obo_table'>";
$text .= "<form method='post' action='".$_SERVER['REQUEST_URI']."'>";
$text .= "<table class='frontendtable' style='width:".$obo_table_width."px;'>";
$text .= "<tr>";
$text .= "<td class='frontendlisthead'>Von:</td>";
$text .= "<td class='frontendlisthead' colspan=$obo_col_num>";
$text .= "<select></select>";
$text .= "</td>";
$text .= "</tr>";
$text_head .= "<tr>";
$text_head .= "<td class='frontendlisthead' align='left' width=".obo_table_width.">" . __('Date','online_booking') . "</td>";
if(obo_view_column1) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column1."</td>";
if(obo_view_column2) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column2."</td>";
if(obo_view_column3) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column3."</td>";
if(obo_view_column4) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column4."</td>";
if(obo_view_column5) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column5."</td>";
if(obo_view_column6) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column6."</td>";
if(obo_view_column7) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column7."</td>";
if(obo_view_column8) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column8."</td>";
if(obo_view_column9) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column9."</td>";
if(obo_view_column10) $text_head .= "<td class='frontendlisthead' width=".obo_column_width.">".obo_view_column10."</td>";
$text_head .= "</tr>";
$text .= $text_head;
$text .= $text_head;
$text .= "</table>";
$text .= "</form>";
$text .= "</div>";
?>