


<!--#include virtual="/JBSX/include/config.asp"-->
<!--#include virtual="/JBSX/include/chkLogin.asp"-->
<!--#include virtual="/JBSX/include/function.asp"-->
<!--#include virtual="/JBSX/include/settings.asp"-->
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title><%=Application("JBSX_sSettings_SiteName")%></title>

</head>

<body>
<table cellSpacing="0" cellPadding="0" width="95%" border="0">
  <tr>
    <td align="Right" width="50%"><b><% = Application(getLang() & "_strJBS_00870") %>:</b> <%=Now()%></td>
    </tr>
</table>
<%
 strSQL = "SELECT * FROM JBS_Zones WHERE ZoneID = " & Request("ZoneID")
 Set objRS = Conn.Execute(strSQL)
%>

<table cellSpacing="0" cellPadding="0" width="95%" border="0">
  <tr>
    <td align="left" width="50%"><b>:: <% = Application(getLang() & "_strJBS_02080") %> ::</b></td>
    <td align="right" width="50%" height="19"></td>
  </tr>
</table>

<table cellSpacing="0" cellPadding="0" width="95%" bgColor="#CCCCCC" border="0">
  <tr>
    <td>
     <table border="0" cellspacing="1" width="100%">
        <tr>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_02030") %>:</b>
          <td bgcolor="#FFFFFF" height="19">&nbsp;<%=objRS("zName")%></td>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_02040") %>:</b></td>
          <td bgcolor="#FFFFFF" height="19">&nbsp;<%=objRS("zSize")%></td>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_00670") %>:</b></td>
          <td bgcolor="#FFFFFF" height="19"><% if objRS("zStatus") = "True" then response.write Application(getLang() & "_strJBS_00680") else response.write Application(getLang() & "_strJBS_00690") end if %></td>
        </tr>
        <tr>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_01670") %>:</b>
          <td bgcolor="#FFFFFF" colspan="5" height="19">&nbsp;<%=objRS("zDescription")%></td>
        </tr>
        <tr>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_02090") %> / <% = Application(getLang() & "_strJBS_02100") %></b></td>
          <td bgcolor="#FFFFFF" height="19">&nbsp;<%=objRS("zNoOfBanners")%> / <%=objRS("zNoOfBannerHoriPos")%></td>
          <td bgcolor="#F3F3F3" height="19"><b><% = Application(getLang() & "_strJBS_02060") %>:</b></td>
          <td bgcolor="#FFFFFF" height="19" colspan="3" align="right">&nbsp;&lt;% Call JBS(<%=objRS("ZoneID")%>) %&gt;&nbsp;</td>
        </tr>
        </table>

    </td>
  </tr>
</table>
<% objRS.Close : Set objRS = Nothing

strSQL = "SELECT bName, bStartDate, bEndDate, bStatus, bPaymentType, bUnitCost, bQuantityPurchased, bImpCount, bClickCount"
strSQL = strSQL & " FROM JBS_Banners WHERE bZoneID = " & Request("ZoneID") & " ORDER BY bName DESC"
Set objRS = Conn.Execute(strSQL)
%>
<table cellSpacing="0" cellPadding="0" width="95%" border="0">
  <tr>
    <td align="left" width="50%"><br><br><b>:: <% = Application(getLang() & "_strJBS_00440") %> ::</b><br></td>
    <td align="right" width="50%" height="19"></td>
  </tr>
</table>
<%
If objRS.EOF then
objRS.close : Set objRS = Nothing
%>
<table border="0" cellspacing="0" cellpadding="0" width="95%" style="border:0px solid #000000; background-color: #FFFFFF">
  <tr>
    <td align="left" width="50%" colspan="2"><br>
    <font color="#FF0000"><b><% = Application(getLang() & "_strJBS_01290") %>!</b></font><br>
    </td>
  </tr>
</table>
<% Else %>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" width="95%">
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="0" width="100%">
      <% Do Until objRS.EOF %>
      <tr>
		  <td height="19" bgcolor="#FFFFFF"><br><%=strFinancialReport(objRS("bName"),Clng(objRS("bPaymentType")),objRS("bUnitCost"),objRS("bQuantityPurchased"),objRS("bImpCount"),objRS("bClickCount"),objRS("bStartDate"),objRS("bEndDate"),objRS("bStatus"))%><br></td>
      </tr>
        <%
objRS.MoveNext
Loop
objRS.close : Set objRS = Nothing
End If
%>
    </table>
    </td>
  </tr>
</table>
<% Conn.Close : Set Conn = Nothing %>
</body>
</html>