Lines Matching refs:tables
70 $tables = array();
113 if(!$tables[$col]) {
114 $tables[$col] = 'T' . (++$cnt);
115 … $from .= ' LEFT JOIN dataau AS ' . $tables[$col] . ' ON ' . $tables[$col] . '.pid = pages.pid';
116 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col);
119 $order = ', ' . $tables[$col] . '.value ' . $dataau['sort'][1];
139 if(!$tables[$col]) {
140 $tables[$col] = 'T' . (++$cnt);
141 … $from .= ' LEFT JOIN dataau AS ' . $tables[$col] . ' ON ' . $tables[$col] . '.pid = pages.pid';
142 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col);
145 … $where .= ' ' . $filter['logic'] . ' ' . $tables[$col] . '.value ' . $filter['compare'] .