$d .= '<a href="' . $p . '&mode=emptyk" onclick="if(!confirm(\'' . sprintf($lang['L_ASKTABLEEMPTYKEYS'], $tablename) . '\')) return false;">' . $icon['table_truncate_reset'] . '</a> ' . $nl . $nl; $d .= '<a href="' . $p . '&mode=kill" onclick="if(!confirm(\'' . sprintf($lang['L_ASKDELETETABLE'], $tablename) . '\')) return false;">' . $icon['delete'] . '</a> ' . $nl . $nl; } else { $d .= '<a href="' . $p . '&mode=kill_view" onclick="if(!confirm(\'' . sprintf($lang['L_ASKDELETETABLE'], $tablename) . '\')) return false;">' . $icon['delete'] . '</a> ' . $nl . $nl; } } } $d .= '</td><td valign="top" class="small" style="text-align:right">' . $rownr . '. </td>'; $rownr++; $erste_spalte = 0; } $d .= '<td valign="top" class="small" nowrap="nowrap">'; $divstart = '<div' . ($tdcompact == 1 ? ' class="tdcompact" ' : ' class="tdnormal"') . '>'; $divend = '</div>'; if ($bb == $spalte) { $data = convert_to_utf8(simple_bbcode_conversion($rowval)); } else { if ($showtables == 0) { if (isset($fdesc[$rowkey]['type'])) { $data = $fdesc[$rowkey]['type'] == 'string' || $fdesc[$rowkey]['type'] == 'blob' ? convert_to_utf8($rowval) : $rowval; } } else { if (isset($temp[$i][$rowkey])) { $data = $fdesc[$rowkey]['type'] == 'string' || $fdesc[$rowkey]['type'] == 'blob' ? convert_to_utf8($temp[$i][$rowkey]) : $temp[$i][$rowkey]; } else { $data = ''; } if (in_array($rowkey, $byte_output)) { $data = byte_output($data); } }
$d .= '<a href="' . $p . '&mode=kill" onclick="if(!confirm(\'' . $lang['askdeleterecord'] . '\')) return false;"><img src="' . $config['files']['iconpath'] . 'delete.gif" alt="delete" width="11" height="13" border="0"></a>'; } else { if ($tabellenansicht == 1) { $d .= '<a href="sql.php?db=' . $db . '&dbid=' . $dbid . '&tablename=' . $row[0] . '&context=2"><img src="' . $config['files']['iconpath'] . 'edit.gif" width="12" height="13" alt="' . $lang['edit'] . '" title="' . $lang['edit'] . '" border="0"></a> ' . $nl . $nl; $d .= '<a href="' . $p . '&mode=empty" onclick="if(!confirm(\'' . sprintf($lang['asktableempty'], $row[0]) . '\')) return false;"><img src="' . $config['files']['iconpath'] . 'empty.gif" alt="' . $lang['empty'] . '" title="' . $lang['empty'] . '" width="11" height="13" border="0"></a> ' . $nl . $nl; $d .= '<a href="' . $p . '&mode=emptyk" onclick="if(!confirm(\'' . sprintf($lang['asktableemptykeys'], $row[0]) . '\')) return false;"><img src="' . $config['files']['iconpath'] . 'emptykeys.gif" alt="' . $lang['emptykeys'] . '" title="' . $lang['emptykeys'] . '" width="11" height="13" border="0"></a> ' . $nl . $nl; $d .= '<a href="' . $p . '&mode=kill" onclick="if(!confirm(\'' . sprintf($lang['askdeletetable'], $row[0]) . '\')) return false;"><img src="' . $config['files']['iconpath'] . 'delete.gif" alt="' . $lang['delete'] . '" title="' . $lang['delete'] . '" width="11" height="13" border="0"></a> ' . $nl . $nl; } } $d .= '</td>'; } $d .= '<td valign="top" class="small">'; $divstart = '<div' . ($tdcompact == 1 ? ' class="tdcompact"' : ' class="tdnormal"') . '>'; $divend = '</div>'; if ($bb == $x) { $data = simple_bbcode_conversion($row[$x]); } else { $data = $fdesc[$x]['type'] == 'string' || $fdesc[$x]['type'] == 'blob' ? strip_tags($row[$x]) : $row[$x]; } $d .= $tabellenansicht == 1 && $x == 0 ? "{$divstart}<a href=\"sql.php?db={$db}&tablename={$row['0']}&dbid={$dbid}\" title=\"{$data}\">{$data}</a>{$divend}" : $divstart . $data . $divend; $d .= '</td>'; } if ($i == 0) { echo '<tr>' . $t . '</tr>'; } echo "\n\n" . '<tr class="' . $cl . '">' . $d . '</tr>' . "\n\n"; $d = ""; } } echo '</table>'; if ($showtables == 0) {