summaryrefslogtreecommitdiff
path: root/httemplate/search/report_sql.html
blob: 99533089414154f21b7877d2bb32ba5a661e8543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<% include('/elements/header.html', 'SQL Query' ) %>

<FORM ACTION="sql.html" METHOD="GET">

<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
  <TR>
    <TD ALIGN="right" VALIGN="top">SELECT </TD>
    <TD><TEXTAREA NAME="sql"></TEXTAREA></TD>
  </TR>
</TABLE>

<BR>
<INPUT TYPE="submit" VALUE="Query">

</FORM>

<% include('/elements/footer.html') %>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL');

</%init>