<%
String strArr[][] = new String[4][2];
int intArr[][] = new int [4][3];
rSet = stmt.executeQuery("select CMCat_Id,CSCat_Id,Card_Id,CTitle,Card_Icon from cardmaster where Card_Priority='E'");
//reitializing the variable
counter = 0;
if (rSet != null) {
while (rSet.next()){
if (counter >=4) {
break;
}
strArr[counter][0] = rSet.getString("CTitle");
strArr[counter][1] = rSet.getString("Card_Icon");
intArr[counter][0] = rSet.getInt("CMCat_Id");
intArr[counter][1] = rSet.getInt("CSCat_Id");
intArr[counter][2] = rSet.getInt("Card_Id");
counter++;
}
}
%> | |
<%
strArr = new String[2][3];
intArr = new int [2][3];
rSet = stmt.executeQuery("select CMCat_Id,CSCat_Id,Card_Id,CTitle,Card_Icon,Card_Desrp from cardmaster where Card_Priority='N'");
//reitializing the variable
counter = 0;
if (rSet != null) {
while (rSet.next()){
if (counter >=2) {
break;
}
strArr[counter][0] = rSet.getString("CTitle");
strArr[counter][1] = rSet.getString("Card_Icon");
strArr[counter][2] = rSet.getString("Card_Desrp");
intArr[counter][0] = rSet.getInt("CMCat_Id");
intArr[counter][1] = rSet.getInt("CSCat_Id");
intArr[counter][2] = rSet.getInt("Card_Id");
counter++;
}
}
%>
 | |
<%
strArr = new String[2][3];
intArr = new int [2][3];
rSet = stmt.executeQuery("select * from csubcat ORDER BY CSCat_Des");
//reitializing the variable
int totSize = 0;
if (rSet != null) {
while (rSet.next()){
totSize++;
}
}
String desArr[] = new String[totSize];
int idArr[][] = new int[totSize][2];
rSet = stmt.executeQuery("select * from csubcat ORDER BY CSCat_Des");
counter =0;
if (rSet != null) {
while (rSet.next()){
desArr[counter] = rSet.getString("CSCat_Des");
idArr[counter][0] = rSet.getInt("CMCat_Id");
idArr[counter][1] = rSet.getInt("CSCat_Id");
counter++;
}
}
%>  | |
| <%
strArr = new String[2][3];
intArr = new int [2][3];
rSet = stmt.executeQuery("select CMCat_Id,CSCat_Id,Card_Id,CTitle,Card_Icon from cardmaster where Card_Priority='L'");
//reitializing the variable
counter = 0;
if (rSet != null) {
while (rSet.next()){
if (counter >=2) {
break;
}
strArr[counter][0] = rSet.getString("CTitle");
strArr[counter][1] = rSet.getString("Card_Icon");
intArr[counter][0] = rSet.getInt("CMCat_Id");
intArr[counter][1] = rSet.getInt("CSCat_Id");
intArr[counter][2] = rSet.getInt("Card_Id");
counter++;
}
}
%> | <%
strArr = new String[2][3];
intArr = new int [2][3];
rSet = stmt.executeQuery("select CMCat_Id,CSCat_Id,Card_Id,CTitle,Card_Icon from cardmaster where Card_Priority='P'");
//reitializing the variable
counter = 0;
if (rSet != null) {
while (rSet.next()){
if (counter >=2) {
break;
}
strArr[counter][0] = rSet.getString("CTitle");
strArr[counter][1] = rSet.getString("Card_Icon");
intArr[counter][0] = rSet.getInt("CMCat_Id");
intArr[counter][1] = rSet.getInt("CSCat_Id");
intArr[counter][2] = rSet.getInt("Card_Id");
counter++;
}
}
%> |
|  |  |  |
Check here! our new upcoming love Cards. | | | | Don't
worry kids, we are doing very special for you. |  |
|  |  |
 |  | |
Get 5 MB free Disk space for album(s). | |
Manage your images easily anytime from anywhere. | |
Create album(s) and share with your family & friends. | |
Share your album(s) with others. |
| | |  | |
|