0); if (!$GoodAcct) { $Page='0;url=failed.php'; } else { $Page=($GoodType ? '90' : '').'0;url=type_list.php?k='.$Key; } $query='select count(*) from style where sg="'.$Comp_SG.'" and type_seq="'.$TypeSeq.'"'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); $UseCnt=$cnt_row[0]; $RemOK=($cnt_row[0] == 0); ?>

'.$type_row['type_desc']."\n"; ?>

'."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?>
/>
'."\n"; echo 'Style Type '.$TypeSeq.' is used by the following Categor'.($UseCnt > 1 ? 'ies' : 'y')."\n"; echo '

'."\n"; $query='select type_seq, cat, cat_desc from style where sg="'.$Comp_SG.'" and type_seq="'.$TypeSeq.'"'; $cat_res=mysqli_query($db, $query); echo ''."\n"; echo ''."\n"; while ($cat_row = mysqli_fetch_assoc($cat_res)) { echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } echo '
'."\n"; echo disp_cat($cat_row['type_seq'], $cat_row['cat'])."\n"; echo ''."\n"; echo ' – '."\n"; echo ''."\n"; echo $cat_row['cat_desc']."\n"; echo '
'."\n"; } ?>