$row) { $subcat[$tag]=$subcat_row[$row]; } } else { foreach ($Map as $tag => $row) { $subcat[$tag]=""; } } $o_subcat=$subcat; } else { $subcat=GetTags($Len); $o_subcat=GetTags($Len, "_ORIG"); } $e_subcat=ErrTags($E_Map); $e_str=ErrStr($e_subcat); ?>

Subcategory '.disp_cat($TypeSeq, $Cat, $SubCat)."\n"; } ?>


'."\n"; echo ''."\n"; echo ''."\n"; } echo ''."\n"; echo ''."\n"; if ($NoSubs) { echo ' '."\n"; } else { echo 'Sub-Category Description'."\n"; } echo ''."\n"; echo ''."\n"; echo ''."\n"; if (!$NoSubs && ErrChk($e_str, 'CAT_DESC')) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } if ($Comp_SG == '2015') { echo ''."\n"; echo ''."\n"; echo 'Require Color'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } else { echo ''."\n"; echo ''."\n"; } if (ErrChk($e_str, 'REQ_COLOR')) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if ($Comp_SG == '2015') { echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } else { echo ''."\n"; echo ''."\n"; } if (ErrChk($e_str, 'REQ_DESC')) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?>
Required fields are indicated in this way
'."\n"; if ($e_subcat['INSERT']) { echo 'Problem Creating Sub-Category Information - Please Try Again
'."\n"; } if ($e_subcat['UPDATE']) { echo 'Problem Updating Sub-Category Information - Please Try Again
'."\n"; } echo '
'."\n"; echo ''."\n"; if ($NoSubs) { echo ''."\n"; } else { echo ''."\n"; } echo '
'."\n"; if ($e_subcat['CAT_DESC_C']) { echo 'Sub-Category Description changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['CAT_DESC_1']) { echo 'Sub-Category Description is a Duplicate
'."\n"; } if ($e_subcat['CAT_DESC_R']) { echo 'Sub-Category Description is a Required entry
'."\n"; } echo '
Note Number
'."\n"; if ($e_subcat['NOTE_NUM_C']) { echo 'Note Number changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['NOTE_NUM_1']) { echo 'Note Number is does not exist
'."\n"; } echo '
Require Comment
'."\n"; if ($e_subcat['REQ_COMMENT_C']) { echo 'Require Comment changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_COMMENT_1']) { echo 'Require Comment must be Yes, Optional or No
'."\n"; } if ($e_subcat['REQ_COMMENT_R']) { echo 'Require Comment is a Required entry
'."\n"; } echo '
> Require Base Style '."\n"; } else { echo ''."\n"; echo ''."\n"; } ?>
'."\n"; if ($e_subcat['REQ_BASE_C']) { echo 'Require Base Style changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_BASE_1']) { echo 'Require Base Style must be Yes, Optional or No
'."\n"; } if ($e_subcat['REQ_BASE_R']) { echo 'Require Base Style is a Required entry
'."\n"; } echo '
> Require Strength '."\n"; } else { echo ''."\n"; echo ''."\n"; } ?>
'."\n"; if ($e_subcat['REQ_STRENGTH_C']) { echo 'Require Strength changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_STRENGTH_1']) { echo 'Require Strength must be Yes or No
'."\n"; } if ($e_subcat['REQ_STRENGTH_R']) { echo 'Require Strength is a Required entry
'."\n"; } echo '
Require Sweetness Level '."\n"; echo ''."\n"; echo ''."\n"; if ($Comp_SG == '2015') { $Values=($CatType == 'C' ? array('1', '2', '3', '4', '5', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I') : array('1', '3', '5', 'B', 'F', 'H')); } else { $Values=($Extended ? array('0', '1', '2', '3', '4', '5', '6', '7', '8') : array('1', '2', '3', '5', '6', '7', '8')); } foreach ($Values as $Sweet) { echo ''."\n"; } echo ''."\n"; ?>
'."\n"; if ($e_subcat['REQ_SWEETNESS_C']) { echo 'Require Sweetness Level changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_SWEETNESS_1']) { echo 'Require Sweetness Level has an Invalid value
'."\n"; } if ($e_subcat['REQ_SWEETNESS_R']) { echo 'Require Sweetness Level is a Required entry
'."\n"; } echo '
Require Carbonation Level '."\n"; echo ''."\n"; echo ''."\n"; if ($Comp_SG == '2015') { $Values=array('1', '2', '3', 'A', 'B', 'C', 'D'); } else { $Values=array('1', '2', '3', '4', '5', '6', '7'); } foreach ($Values as $Carb) { echo ''."\n"; } echo ''."\n"; ?>
'."\n"; if ($e_subcat['REQ_CARBONATION_C']) { echo 'Require Carbonation Level changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_CARBONATION_1']) { echo 'Require Carbonation Level has an Invalid value
'."\n"; } if ($e_subcat['REQ_CARBONATION_R']) { echo 'Require Carbonation Level is a Required entry
'."\n"; } echo '
'."\n"; echo ''."\n"; if ($CatType != 'B') { echo '—'."\n"; echo ''."\n"; } else { echo ''."\n"; } echo '
'."\n"; if ($e_subcat['REQ_COLOR_C']) { echo 'Require Color changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_COLOR_1']) { echo 'Require Color has an Invalid value
'."\n"; } if ($e_subcat['REQ_COLOR_R']) { echo 'Require Color is a Required entry
'."\n"; } echo '
'."\n"; echo 'Require Description'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; if ($e_subcat['REQ_DESC_C']) { echo 'Require Description changed before Update, please Reload and try again
'."\n"; } if ($e_subcat['REQ_DESC_1']) { echo 'Require Description must be Yes, Optional or No
'."\n"; } if ($e_subcat['REQ_DESC_R']) { echo 'Require Description is a Required entry
'."\n"; } echo '

'."\n"; echo ''."\n"; echo ''."\n"; } ?>