/>
$per_page)) { $showall = ''; } else { $showall = ''; } $session_max_rows = $per_page; $pageNow = @floor($pos / $session_max_rows) + 1; $nbTotalPage = @ceil($the_total / $session_max_rows); if ($the_total > $per_page) { $gotopage = '
' . $GLOBALS['strPageNumber'] . ''; echo $header; if (isset($disp) && $disp) { $count = 0; while ($relrow = @PMA_mysql_fetch_array($disp)) { $count++; $bgcolor = ($count % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; $key = $relrow[$foreign_field]; if (strlen($relrow[$foreign_display]) <= $cfg['LimitChars']) { $value = (($foreign_display != FALSE) ? htmlspecialchars($relrow[$foreign_display]) : ''); $vtitle = ''; } else { $vtitle = htmlspecialchars($relrow[$foreign_display]); $value = (($foreign_display != FALSE) ? htmlspecialchars(substr($vtitle, 0, $cfg['LimitChars']) . '...') : ''); } if ($cfg['RepeatCells'] > 0 && $count > $cfg['RepeatCells']) { echo $header; $count = -1; } $key_equals_data = isset($data) && $key == $data; ?>
' . $strKeyname . ' ' . $strDescription . ' ' . $showall . ' ' . $gotopage . ' ' . $strDescription . ' ' . $strKeyname . '
' : '') . '' . htmlspecialchars($key) . '' . ($key_equals_data ? '' : ''); ?> ' : '') . '' . $value . '' . ($key_equals_data ? '' : ''); ?> ' : '') . '' . $value . '' . ($key_equals_data ? '' : ''); ?> ' : '') . '' . htmlspecialchars($key) . '' . ($key_equals_data ? '' : ''); ?>