@@ -414,10 +459,10 @@
foreach ($varRow1 as $k => $v)
$varColumns[] = $k;
- $strRowClass = null;
- if (array_key_exists("rowclass", $varOptions))
- if (preg_match("/^col\-/i", $varOptions["rowclass"]))
- $strRowClass = $varOptions["rowclass"];
+ $strDisplayRowAs = null;
+ if (array_key_exists("displayrowas", $varOptions))
+ if (preg_match("/^col\-/i", $varOptions["displayrowas"]))
+ $strDisplayRowAs = $varOptions["displayrowas"];
?>
@@ -443,71 +488,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
= $varColumns[0]; ?>
-
= $r[$varColumns[0]]; ?>
-
-
-
-
-
-
-
-
-
-
-
= $col; ?>
-
= $r[$col]; ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
= $col; ?>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
= $varColumns[0]; ?>
+
= $r[$varColumns[0]]; ?>
+
+
+
+
+
+
+
+ 0)
+ $strCellClass = $strRowClass;
+
+ if (strlen($strNextCellClass) > 0)
+ $strCellClass = $strNextCellClass;
+
+ // Allow SQL data to controll next cell class with _next_cell_class column:
+ if (preg_match("/^_next_cell_class/i", $col))
+ $strNextCellClass = $r[$col];
+
+ // Hide columns that begin with underscore:
+ if ($col[0] == "_")
+ continue;
+ ?>
+
+
+
= $col; ?>
+
= $r[$col]; ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
0)
- $strCellClass = $strRowClass;
-
- if (strlen($strNextCellClass) > 0)
- $strCellClass = $strNextCellClass;
-
- // Allow SQL data to controll next cell class with _next_cell_class column:
- if (preg_match("/^_next_cell_class/i", $col))
- $strNextCellClass = $r[$col];
-
// Hide columns that begin with underscore:
if ($col[0] == "_")
continue;
?>
-
-
= $r[$col]; ?>
-
-
+
= $col; ?>
-
-
-
-
-
+
+
+
+
+
+
+
+ 0)
+ $strCellClass = $strRowClass;
+
+ if (strlen($strNextCellClass) > 0)
+ $strCellClass = $strNextCellClass;
+
+ // Allow SQL data to controll next cell class with _next_cell_class column:
+ if (preg_match("/^_next_cell_class/i", $col))
+ $strNextCellClass = $r[$col];
+
+ // Hide columns that begin with underscore:
+ if ($col[0] == "_")
+ continue;
+ ?>
+
+