Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / search / report_sql.html
1 <% include('/elements/header.html', 'SQL Query' ) %>
2
3 <FORM ACTION="sql.html" METHOD="GET">
4
5 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
6   <TR>
7     <TD ALIGN="right" VALIGN="top">SELECT </TD>
8     <TD><TEXTAREA NAME="sql"></TEXTAREA></TD>
9   </TR>
10 </TABLE>
11
12 <BR>
13 <INPUT TYPE="submit" VALUE="Query">
14
15 </FORM>
16
17 <% include('/elements/footer.html') %>
18 <%init>
19
20 die "access denied"
21   unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL');
22
23 </%init>