<%@language = "javascript" %>
<% /*
     $Revision$
     $Id$

    File:               fac_print_qrcode.asp
    Description:        Toont de persoonlijk QR-authenticatiecode van de bookmark
    Parameters:
    Context:
    Note:
*/ %>

<!--#include file="../Shared/common.inc"-->
<!--#include file="../../appl/shared/iface.inc"-->
<!--#include file="../../appl/FAC/fac.inc" -->

<%
var bkm_id = getQParam("bkm_id");

var sql = "SELECT fac_bookmark_naam"
        + "  FROM fac_bookmark"
        + " WHERE fac_bookmark_id = " + safe.quoted_sql(bkm_id);
var oRs = Oracle.Execute(sql);

var bkm_naam = oRs("fac_bookmark_naam").value;
%>

<html>
  <head>
<%  FCLTHeader.Generate(); %>
  </head>

  <body class="modal" id="authQR" scroll="no">
<%  var buttons = {};
    IFRAMER_HEADER(bkm_naam, buttons); %>
    <center><img class="QRC" src='../shared/qrcode.asp?size=4&text=<%=Server.URLEncode("/?u=" + bkm_id)%>'></center>
  </body>
</html>
