- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
<% ServicePackage servicePackage = null; %>
<% char fi [] = {'g', 'v', 'p'}; %>
<% int ni [] = {3, 7, 11}; %>
<% for(int i = 0; i < fi.length; i++)
for(int j = 1; j <= ni[i]; j++)
{
String id = "", name = null, brief = null, price = null;
id += (char)fi[i];
if (j >= 10)
id += (char)('0' + j / 10);
id += (char)('0' + j % 10);
servicePackage = AllServicePackages.map.get(id);
if (servicePackage != null)
{
name = servicePackage.getName();
brief = servicePackage.getBrief();
price = servicePackage.getPrise();
}
%>
<% } %>
SmackMyBitchUp 03.07.2011 10:56 # 0
roman-kashitsyn 06.07.2011 09:43 # 0