37 include_once (
"Class.SubForm.php");
38 include_once (
"Class.Param.php");
47 if ($creation ==
"Y") {
50 $ParamCour =
new Param(
$action->GetParam(
"CORE_DB") , array(
55 $ParamCour->key = $style_id;
58 if ($creation ==
"Y") {
59 $res = $ParamCour->Add();
61 $txt =
$action->text(
"err_add_param") .
" : $res";
62 $action->Register(
"err_add_parameter", AddSlashes($txt));
65 $res = $ParamCour->Modify();
67 $txt =
$action->text(
"err_mod_param") .
" : $res";
68 $action->Register(
"err_add_parameter", AddSlashes($txt));
71 redirect(
$action,
"APPMNG",
"STYLELIST");