if (!$kmCategory) { $kmCategory = $indCategory; } } ?> </SELECT> </TD> <? } else { echo "No Category entered <BR>"; exit; } if ($kmCategory) { $totalAppClass = get_total_application($kmCategory); if (count ($totalAppClass)) { ?> <TD> <SELECT name = "appSelected" onChange ="submit()"> <? $applicationSet = 0; foreach ($totalAppClass as $indApp) { if ($appSelected == $indApp) { echo "<OPTION value = \"$indApp\" SELECTED>$indApp"; $applicationSet = 1; } else { echo "<OPTION value = \"$indApp\">$indApp";
$categoryTypeDisp = $row[2]; if ($catLabelId == $categoryType) { continue; } } debug_var("Result of category label grep",$catLabelRow); if ($categoryDescription == "") { $categoryDescriptionDisp = "Not Entered"; } else { $categoryDescriptionDisp = $categoryDescription; } # We need to loop and get all the app classes $allAppClass = get_total_application($categoryName); $allAppClass = implode (",", $allAppClass); $allCategoriesString = $allCategoriesString . "," . $categoryName; ?> <TR><TD><a href="javascript:populate_categories('<? print "$categoryName', '$categoryType','$allAppClass', '$categoryDescription"; ?>')"</a><? print "$categoryName"; ?></TD> <TD><? print "$categoryTypeDisp"; ?></TD><TD><? print "$categoryDescriptionDisp"; ?></TD></TR> <? } ?> </TABLE> <? if ($hideOutOfBox == 1) { ?> <input class="submit-button" name = "showOutOfTheBox" type="button" onClick="hide_outofbox('0');" value="Show all"> <?