Permalink
Browse files

debug

  • Loading branch information...
1 parent e9143c0 commit c37df32b398bb56b553b16579299b396fda8165f @xianglei committed Sep 3, 2012
Showing with 8 additions and 15 deletions.
  1. +0 −3 config.inc.php
  2. +8 −12 metaDetails.php
View
@@ -101,7 +101,4 @@
#--------------------------------------------------------------------------------------------------
$env['showTables'] = 'show tables';
-$env['bodyColor'] = '#EFEFEF';
-$env['trColor1'] = '#AFAFAF';
-$env['trColor2'] = '#DFDFDF';
View
@@ -11,6 +11,8 @@
}
else
{
+ echo '<div class="container">';
+ echo '<div class="span10">';
switch (@$_GET['detail']) {
case 'dbs':
$sql = "select * from DBS";
@@ -46,20 +48,12 @@
$records_per_page
);
- echo "<a href=metaSummury.php>".$lang['back']."</a><br><br>";
- echo "<table border=1 cellspacing=1 cellpadding=3>";
+ echo "<a href=metaSummury.php><i class=icon-backward></i> ".$lang['back']."</a><br><br>";
+ echo "<table class=\"table table-bordered table-striped table-hover\">";
$i = 0;
foreach (@$arr as $k => $v)
{
- if(($i % 2) == 0)
- {
- $color = "bgcolor=\"".$env['trColor1']."\"";
- }
- else
- {
- $color = "bgcolor=\"".$env['trColor2']."\"";
- }
- echo "<tr ".$color.">\n";
+ echo "<tr>\n";
foreach ($v as $kk => $vv)
{
echo "<td>";
@@ -72,6 +66,8 @@
echo "</table>";
$pagination->render();
echo "<br>";
- echo "<a href=metaSummury.php>".$lang['back']."</a><br>";
+ echo "<a href=metaSummury.php><i class=icon-backward></i> ".$lang['back']."</a><br>";
+ echo "</div>";
+ echo "</div>";
}
?>

0 comments on commit c37df32

Please sign in to comment.