/* * JSP generated by Resin 2.1.6 (built Fri Nov 8 08:18:18 PST 2002) */ import javax.servlet.*; import javax.servlet.jsp.*; import javax.servlet.http.*; import java.lang.Float; import java.math.BigDecimal; import java.text.NumberFormat; public class _order__jsp extends com.caucho.jsp.JavaPage{ private boolean _caucho_isDead; public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true); javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut(); javax.servlet.ServletConfig config = getServletConfig(); javax.servlet.Servlet page = this; javax.servlet.http.HttpSession session = pageContext.getSession(); javax.servlet.ServletContext application = pageContext.getServletContext(); response.setContentType("text/html"); try { pageContext.write(_jsp_string0, 0, _jsp_string0.length); coupons.OrderBean OrderBeanId; OrderBeanId = (coupons.OrderBean) pageContext.getAttribute("OrderBeanId"); if (OrderBeanId == null) { OrderBeanId = new coupons.OrderBean(); pageContext.setAttribute("OrderBeanId", OrderBeanId); } pageContext.write(_jsp_string1, 0, _jsp_string1.length); { java.lang.String _jspParam; _jspParam = request.getParameter("sample"); if (_jspParam != null && ! _jspParam.equals("")) OrderBeanId.setSample(_jspParam); } pageContext.write(_jsp_string1, 0, _jsp_string1.length); coupons.couponBean couponBeanID; couponBeanID = (coupons.couponBean) pageContext.getAttribute("couponBeanID"); if (couponBeanID == null) { couponBeanID = new coupons.couponBean(); pageContext.setAttribute("couponBeanID", couponBeanID); } pageContext.write(_jsp_string1, 0, _jsp_string1.length); { java.lang.String _jspParam; _jspParam = request.getParameter("sample"); if (_jspParam != null && ! _jspParam.equals("")) couponBeanID.setSample(_jspParam); } pageContext.write(_jsp_string1, 0, _jsp_string1.length); String code = request.getParameter("code"); String result = couponBeanID.vailidateCode(code); NumberFormat formatter = NumberFormat.getCurrencyInstance(java.util.Locale.US); NumberFormat percentFormatter = NumberFormat.getPercentInstance(); String discount = ""; float discountAmount = 0; if (result.equalsIgnoreCase("0.0")) { request.setAttribute("code",code); request.setAttribute("result",result); response.sendRedirect("Error.jsp"); }else { discount = result; discountAmount = 1 - Float.parseFloat(discount); } pageContext.write(_jsp_string2, 0, _jsp_string2.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 16.99))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string4, 0, _jsp_string4.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 16.99))); pageContext.write(_jsp_string5, 0, _jsp_string5.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 16.99))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string6, 0, _jsp_string6.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 16.99))); pageContext.write(_jsp_string7, 0, _jsp_string7.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 14.99))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string8, 0, _jsp_string8.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 14.99))); pageContext.write(_jsp_string9, 0, _jsp_string9.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 39.99))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string10, 0, _jsp_string10.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 39.99))); pageContext.write(_jsp_string11, 0, _jsp_string11.length); out.print(( code)); pageContext.write(_jsp_string12, 0, _jsp_string12.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 10.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string13, 0, _jsp_string13.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 10.00))); pageContext.write(_jsp_string11, 0, _jsp_string11.length); out.print(( code)); pageContext.write(_jsp_string14, 0, _jsp_string14.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 30.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string15, 0, _jsp_string15.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 30.00))); pageContext.write(_jsp_string16, 0, _jsp_string16.length); out.print(( code)); pageContext.write(_jsp_string17, 0, _jsp_string17.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 15.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string18, 0, _jsp_string18.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 15.00))); pageContext.write(_jsp_string19, 0, _jsp_string19.length); out.print(( code)); pageContext.write(_jsp_string20, 0, _jsp_string20.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 30.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string21, 0, _jsp_string21.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 30.00))); pageContext.write(_jsp_string22, 0, _jsp_string22.length); out.print(( code)); pageContext.write(_jsp_string23, 0, _jsp_string23.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 15.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string24, 0, _jsp_string24.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 15.00))); pageContext.write(_jsp_string11, 0, _jsp_string11.length); out.print(( code)); pageContext.write(_jsp_string25, 0, _jsp_string25.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 35.00))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string26, 0, _jsp_string26.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 35.00))); pageContext.write(_jsp_string11, 0, _jsp_string11.length); out.print(( code)); pageContext.write(_jsp_string27, 0, _jsp_string27.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 17.95))); pageContext.write(_jsp_string3, 0, _jsp_string3.length); out.print(( percentFormatter.format(Float.parseFloat(discount)))); pageContext.write(_jsp_string28, 0, _jsp_string28.length); out.print(( formatter.getCurrencyInstance(java.util.Locale.US).format(discountAmount * 17.95))); pageContext.write(_jsp_string11, 0, _jsp_string11.length); out.print(( code)); pageContext.write(_jsp_string29, 0, _jsp_string29.length); } catch (java.lang.Throwable _jsp_e) { pageContext.handlePageException(_jsp_e); } finally { JspFactory.getDefaultFactory().releasePageContext(pageContext); } } private com.caucho.java.LineMap _caucho_line_map; private java.util.ArrayList _caucho_depends = new java.util.ArrayList(); public boolean _caucho_isModified() { if (_caucho_isDead) return true; if (com.caucho.util.CauchoSystem.getVersionId() != 2057024148) return true; for (int i = _caucho_depends.size() - 1; i >= 0; i--) { com.caucho.vfs.Depend depend; depend = (com.caucho.vfs.Depend) _caucho_depends.get(i); if (depend.isModified()) return true; } return false; } public long _caucho_lastModified() { return 0; } public com.caucho.java.LineMap _caucho_getLineMap() { return _caucho_line_map; } public void destroy() { _caucho_isDead = true; super.destroy(); } public void init(com.caucho.java.LineMap lineMap, com.caucho.vfs.Path appDir) throws javax.servlet.ServletException { com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome(); com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath(); mergePath.addMergePath(appDir); mergePath.addMergePath(resinHome); mergePath.addClassPath(getClass().getClassLoader()); _caucho_line_map = new com.caucho.java.LineMap("_order__jsp.java", "/coupon/Order.jsp"); _caucho_line_map.add(1, 1); _caucho_line_map.add(1, 28); _caucho_line_map.add(10, 29); _caucho_line_map.add(11, 36); _caucho_line_map.add(12, 43); _caucho_line_map.add(13, 50); _caucho_line_map.add(14, 57); _caucho_line_map.add(56, 76); _caucho_line_map.add(56, 78); _caucho_line_map.add(64, 80); _caucho_line_map.add(85, 82); _caucho_line_map.add(85, 84); _caucho_line_map.add(93, 86); _caucho_line_map.add(117, 88); _caucho_line_map.add(117, 90); _caucho_line_map.add(125, 92); _caucho_line_map.add(149, 94); _caucho_line_map.add(149, 96); _caucho_line_map.add(157, 98); _caucho_line_map.add(176, 102); _caucho_line_map.add(176, 104); _caucho_line_map.add(184, 106); _caucho_line_map.add(203, 110); _caucho_line_map.add(203, 112); _caucho_line_map.add(226, 114); _caucho_line_map.add(227, 116); _caucho_line_map.add(246, 118); _caucho_line_map.add(246, 120); _caucho_line_map.add(255, 122); _caucho_line_map.add(277, 126); _caucho_line_map.add(277, 128); _caucho_line_map.add(285, 130); _caucho_line_map.add(307, 134); _caucho_line_map.add(307, 136); _caucho_line_map.add(315, 138); _caucho_line_map.add(336, 142); _caucho_line_map.add(336, 144); _caucho_line_map.add(344, 146); _caucho_line_map.add(367, 150); _caucho_line_map.add(367, 152); _caucho_line_map.add(375, 154); com.caucho.vfs.Depend depend; depend = new com.caucho.vfs.Depend(appDir.lookup("Order.jsp"), 1124081543350L, 25371L); _caucho_depends.add(depend); } private static byte []_jsp_string13; private static byte []_jsp_string5; private static byte []_jsp_string17; private static byte []_jsp_string27; private static byte []_jsp_string4; private static byte []_jsp_string14; private static byte []_jsp_string18; private static byte []_jsp_string7; private static byte []_jsp_string6; private static byte []_jsp_string22; private static byte []_jsp_string25; private static byte []_jsp_string28; private static byte []_jsp_string12; private static byte []_jsp_string11; private static byte []_jsp_string19; private static byte []_jsp_string1; private static byte []_jsp_string0; private static byte []_jsp_string3; private static byte []_jsp_string2; private static byte []_jsp_string20; private static byte []_jsp_string26; private static byte []_jsp_string10; private static byte []_jsp_string9; private static byte []_jsp_string29; private static byte []_jsp_string24; private static byte []_jsp_string21; private static byte []_jsp_string8; private static byte []_jsp_string15; private static byte []_jsp_string16; private static byte []_jsp_string23; static { _jsp_string13 = " Off!\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n

\r\n HWE2010\r\n \r\n

Austrian Holiday: A Day in the Country with Super Soldiers

\r\n

An adventure and a source book containing the beginning of the story of Dr. Holdst and his supernatural experiments with the Beast. Lorelei, his daughter, needs your help to rescue him. Will you rise to the challenge?

\r\n

This\r\n book is dual statted with Iridium System and OGL Modern. It also include 11"x17" color maps,\r\n color interior and setting characters.

\r\n

56 pages, Saddle Stitch, Color Interior

\r\n

".getBytes(); _jsp_string17 = "\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n HWE1100\r\n \r\n

Tales of Gaea

\r\n
Another Man's Treasure
\r\n

This is a guide to Shadazar including additions to rules like new\r\n classes, skills friends and foes. This is the first supplement for Tales\r\n of Gaea.

\r\n

64 pages, Soft Cover, B&W interior

\r\n

".getBytes(); _jsp_string27 = "\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n HWE3100\r\n \r\n

\r\n Back In The Corps Again

\r\n

Learn more about the Merchant Armed Services in the universe of\r\n Nebuleon SFRPG. This book contains detailed information about the\r\n Andromedaens, the armed forces that serve them, plus new equipment,\r\n classes, templates, beasts, and a complete adventure. This book has\r\n something for players and GMs.

\r\n

80 pages, soft cover, B&W interior

\r\n

".getBytes(); _jsp_string4 = " Off!

\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n

\r\n HWE1000\r\n \r\n

Tales of Gaea

\r\n

Tales of Gaea is a Fantasy Role Playing Game with extensive free\r\n online support.

\r\n

324 page, Soft Cover, B&W interior

\r\n

".getBytes(); _jsp_string18 = " Off!

\r\n

 \r\n \r\n \r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n

\r\n HWE2570\r\n \r\n

Turris Lemurum: Tower of Ghosts

\r\n

Turris Lemurum is the first supplement for Roma Imperious. An adventure\r\n to save young Postumus from his abductors before they can slay him.

\r\n

This\r\n book is dual statted with Iridium System and the most popular 20-sided\r\n dice system in the world. It also include 11"x17" color maps,\r\n color interior and setting characters.

\r\n

44 pages, Saddle Stitch, Color Interior

\r\n

".getBytes(); _jsp_string6 = " Off!

\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n HWE3000\r\n \r\n

\r\n Nebuleon SFRPG

\r\n

Nebuleon is our Science Fiction core rules for the Iridium System. The setting material, which is included, details on eleven races, several sub\r\nspecies, over forty pages of equipment, governments, megacorps, nine worlds,\r\nA.I. construction rules, Psi rules and much more. This does not bind you to a meta plot, though, but allows a high level of customization.

\r\n

240 pages, hard cover, B&W interior

\r\n

".getBytes(); _jsp_string28 = " Off!

\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n HWE2510\r\n \r\n

\r\n Roma Imperious: Map of the Empire

\r\n

See the Empire in all its glory! With an inset of the word as the Romans know it, you can always know where you stand.

\r\n

24\" h x 36\" w, Color

\r\n

".getBytes(); _jsp_string11 = "\">\r\n \r\n \r\n \r\n \r\n\r\n\r\n".getBytes(); _jsp_string3 = " ".getBytes(); _jsp_string2 = "\r\n\r\n\r\n

Coupon Order Catalog\"Official

\r\n

Please email sales if you are\r\noutside the continental United States and interested in purchasing our products.\r\nWithin the continental U.S. shipping is free.  

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n

HWE1010\r\n

Circuses & Carnivals: Run Away with the Circus!

\r\n

Banqueria is a large empire with many needs, entertainment is but one of them. With Circuses and Carnivals you get a glimpse into the heart of these operations with magic items, games, maps, history, foes and character and campaign seeds. Everything you need to run a character for the campaign or simply introduce some spice into your normal game. Come run away with the circus!

\r\n

This\r\n book is dual statted with Iridium System and OGL Modern. It also includes 11"x17" color maps,\r\n color interior and setting characters.

\r\n

32 pages, Saddle Stitch, Color Interior

\r\n

".getBytes(); _jsp_string20 = "\">\r\n \r\n \r\n \r\n \r\n

\r\n \r\n HWE2000\r\n

\r\n Shades Of Earth

\r\n

Shades of Earth is an Alternate History Role-Playing Game that can be\r\n customized to any time period. This book is the only book you need and\r\n the setting included with it is based in the 1930s. Shades of Earth uses\r\n the Iridium System from HinterWelt Enterprises.

\r\n

240 pages, Soft Cover, B&W interior

\r\n

".getBytes(); _jsp_string26 = " Off!

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n HWE2500\r\n

\r\n Roma Imperious Package

\r\n

While supplies last, receive an Authentic Roman Coin from the third century with the purchase of\r\n the Roma Imperious Role-Playing game. But that is not all, also receive a free 24\"x36\" poster map of the Empire as it stands today.

\r\n

Roma Imperious is set on earth with a Roman Empire that turned to magic...and found it fit all their needs! Come to a world where the Celtic druids foment rebellion, Romans seek to expand their empire, barbarians to the north explore new lands and the Jade Emperor sits on his\r\n immortal throne contemplating the west.

\r\n

336 pages, hard cover, B&W interior

\r\n

".getBytes(); _jsp_string29 = "\">\r\n \r\n \r\n \r\n \r\n \r\n

\r\n\r\n\r\n\r\n".getBytes(); _jsp_string24 = " Off!\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n HWE2100\r\n \r\n

\r\n House of Vega

\r\n

House of Vega is the first supplement for Shades of Earth Alternate\r\n History RPG. Set in the Spanish Civil War, House of Vega contains a\r\n complete adventure, skills, spells, classes, and new equipment. The\r\n year is 1937 and Don de la Vega needs the help of people outside his\r\n own organization and has called in favors to help out.

\r\n

64 pages, soft cover, B&W interior

\r\n

".getBytes(); } }