jQuery()->onLoadCaptureStart(); ?>
$('#sqltextarea').bind('keyup', function(e){
if (e.which == 13 && e.ctrlKey) {
$('#execsql').trigger('click');
}
});
jQuery()->onLoadCaptureEnd(); ?>
lang->L_SQLBOX;?>
sqlHeadNavi(); ?>
jQuery()->javascriptCaptureStart();
if (isset($this->errorMessage)) {
$this->popUpMessage()->addMessage(
'SqlError',
$this->lang->L_ERROR,
$this->errorMessage,
array(
'modal' => true,
'height' => 220,
'width' => 400,
'dialogClass' => 'error'
)
);
}
?>
function setShowTableQuery()
{
query = $('#selectTable').attr('value');
query = 'SELECT * FROM `' + query + '`;';
$('#sqltextarea').val(query);
$('#myForm').submit();
}
jQuery()->javascriptCaptureEnd();
if (isset($this->resultset) && is_array($this->resultset)) {
$res = $this->resultset;
if (count($res)>0) {
$fieldNames = array_keys($res[0]);
$i = 1;
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
?>
# |
' . $field .'';
}
?>
numberFormat($i);?>. |
' . $data . '';
} else {
echo '' . $this->out($data) . ' | ';
}
}
echo '
';
$i++;
}
?>
' . $this->lang->L_NO_ENTRIES . '';
}
}
if (isset($this->resultSummary)) {
$i = 1;
$totalQueries = 0;
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
?>
lang->L_RESULT;?>: |
# |
lang->L_QUERY_TYPE;?> |
lang->L_NR_OF_QUERIES;?> |
resultSummary as $type => $count) {
$totalQueries += $count;
?>
numberFormat($i);?>. |
|
numberFormat($count);?> |
|
lang->L_SUM_TOTAL;;?> |
numberFormat($totalQueries);?> |