| #* |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| *# |
| #parse("view/velocity/IncludeTop.vm") |
| |
| <table align="left" bgcolor="#008800" border="0" cellspacing="2" cellpadding="2"> |
| <tr><td bgcolor="#FFFF88"> |
| <a href="viewProduct.do?productId=$product.productId"><b><font color="BLACK" size="2"><< $product.name</font></b></a> |
| </td></tr> |
| </table> |
| |
| <p> |
| |
| |
| <table align="center" bgcolor="#008800" cellspacing="2" cellpadding="3" border="0" width="60%"> |
| <tr bgcolor="#FFFF88"> |
| <td bgcolor="#FFFFFF"> |
| $product.descn</image> |
| </td> |
| </tr> |
| <tr bgcolor="#FFFF88"> |
| <td width="100%" bgcolor="#cccccc"> |
| <b>$item.itemId</b> |
| </td> |
| </tr><tr bgcolor="#FFFF88"> |
| <td> |
| <b><font size="4"> |
| $item.attr1 |
| $!item.attr2 |
| $!item.attr3 |
| $!item.attr4 |
| $!item.attr5 |
| $!item.product.name |
| </font></b> |
| </td></tr> |
| <tr bgcolor="#FFFF88"><td> |
| <font size="3"><i>$product.name</i></font> |
| </td></tr> |
| <tr bgcolor="#FFFF88"><td> |
| #if ($quantity.intValue() <= 0) |
| <font color="RED" size="2"><i>Back ordered.</i></font> |
| #else |
| <font size="2">$quantity.intValue() in stock.</font> |
| #end |
| </td></tr> |
| <tr bgcolor="#FFFF88"><td> |
| $fmt.formatNumber($item.listPrice, '$#,##0.00') |
| </td></tr> |
| |
| <tr bgcolor="#FFFF88"><td> |
| <a href="addItemToCart.do?itemId=$item.itemId" > |
| <img border="0" src="images/button_add_to_cart.gif" /></a> |
| </td></tr> |
| </table> |
| |
| </p> |
| #parse ("view/velocity/IncludeBottom.vm") |
| |
| |