forked from MiguelAxcar/PHP-MSSQL-Server-Admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.footer.php
executable file
·30 lines (26 loc) · 1.06 KB
/
common.footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div id="footer">
<p>Copyleft © 2009 - PHP Query Analyzer is under <a href='COPYING'>GNU GPL V3</a>.<br>Written by <a href="Stuff-and-contact.php">Luiz Miguel Axcar</a>. Layout kindly designed by <a href="http://www.freecsstemplates.org">Free CSS Templates</a></p>
</div>
<script type="text/javascript">
var editor = CodeMirror.fromTextArea(document.getElementById("textareaQuery"), {
lineNumbers: true,
mode: 'text/x-sql',
indentWithTabs: true,
smartIndent: true,
lineNumbers: true,
matchBrackets : true,
autofocus: true,
extraKeys: {"Ctrl-Space": "autocomplete"},
hintOptions: {tables: {
users: {name: null, score: null, birthDate: null},
countries: {name: null, population: null, size: null}
}}
});
editor.setOption("theme", "eclipse");
function setCode(value) {
editor.setValue(value);
}
function getCode() {
return editor.getValue();
}
</script>