Commit c90edc7f authored by Nico Schallehn's avatar Nico Schallehn

test

parent 0c095dea
...@@ -34,7 +34,9 @@ function TableRowRights($Api, $Data = null){ ...@@ -34,7 +34,9 @@ function TableRowRights($Api, $Data = null){
$ret .= '<td>Nein</td>'; $ret .= '<td>Nein</td>';
} }
} }
$ret .= '<td>Nein</td>';
$ret .= '<td>Nein</td>';
$ret .= '<td>Nein</td>';
$ret .= '</tr>'; $ret .= '</tr>';
return $ret; return $ret;
} }
...@@ -149,13 +151,17 @@ if($_GET["action"] == "filme"){ ...@@ -149,13 +151,17 @@ if($_GET["action"] == "filme"){
$content .= '<div style="width: 100%; overflow: auto;"><table border="1">'.PHP_EOL; $content .= '<div style="width: 100%; overflow: auto;"><table border="1">'.PHP_EOL;
$content .= '<tr><th rowspan="2">Von</th> <th rowspan="2"> Bis</th> $content .= '<tr><th rowspan="2">Von</th> <th rowspan="2"> Bis</th>
<th colspan="'.count($API->SpaltenFilme).'"> SpaltenFilme</th> <th colspan="'.count($API->SpaltenFilme).'"> SpaltenFilme</th>
<th colspan="'.count($API->SpaltenEpisoden).'"> SpaltenEpisoden</th></tr>'; <th colspan="'.count($API->SpaltenEpisoden).'"> SpaltenEpisoden</th>
<th colspan="3"> Sonstige</th></tr>';
foreach ($API->SpaltenFilme as $value) { foreach ($API->SpaltenFilme as $value) {
$content .= '<th>'.$value.'</th>'; $content .= '<th>'.$value.'</th>';
} }
foreach ($API->SpaltenEpisoden as $value) { foreach ($API->SpaltenEpisoden as $value) {
$content .= '<th>'.$value.'</th>'; $content .= '<th>'.$value.'</th>';
} }
$content .= '<th>Webapp</th>';
$content .= '<th>Update</th>';
$content .= '<th>Debug</th>';
$content .= '</tr>'.PHP_EOL; $content .= '</tr>'.PHP_EOL;
foreach ($Data as $value) { foreach ($Data as $value) {
$content .= TableRowRights($API, $value); $content .= TableRowRights($API, $value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment