?> <input type="hidden" id="requestGenModuleId" value="<?php echo $_REQUEST['id']; ?> "> <input type="hidden" id="requestGenModuleoldTable" value="<?php echo $old_Table_name; ?> "> <?php $form = new GenerateFormField(); $values = $fpdo->from($db_table)->where('id', $_REQUEST['id'])->fetch(); $Congrats = $utils->create_gen_path($_REQUEST['table_id'], $array_steps, $array_steps_pages) . "<div class='col-sm-12'><h3 style='margin-top:130px;margin-bottom:60px;text-align:center'>" . $utils->getConstant("Publish_clause") . "</h3></div>" . '<div class="col-sm-12" style="margin-bottom:130px;text-align:center">' . '<button type="submit" class="btn btn-submit" name="saveContinue" value="saveContinue">' . $utils->getConstant("Publish_module") . '</button> ' . ' <a href="' . $pageList . '" class="btn btn-back " >' . $utils->getConstant("Close") . '</a> ' . '</div>'; $form->setColumns(); $form->setTypes($types); $form->setValues($values); $form->setRequireds($required); $form->setExtendTables($source); $form->setIdForm('genModulesTitle'); $form->setDescription($description_array); $form->setExtra($extra); $form->setClasses(''); $form->setCountCell(1); $form->setCellClassWithCount('col-sm-12'); $form->stepsModule($stepsModule); $form->setAppendToForm($Congrats); //$form->stepsModule(true, $array_steps, $array_steps_pages); $form->setBackBtn(false); $form->setSubmit(false); echo $ob_roles->getUpdateRole($grp_id, $form, $module_id); include_once '../../common/footer.php';
include '../../common/header.php'; include 'config.php'; $wizard = $utils->lookupField('cms_modules', 'id', 'wizard', $_REQUEST['table_id']); if ($wizard == "") { if (isset($_REQUEST) && $_REQUEST['action'] == 'Edit') { $_REQUEST['id'] = $_REQUEST['table_id']; $save_ob = new saveform($db_table_wizard, $_REQUEST, $cols_wizard, "id", $order_field, $map_field); $utils->redirect($pageList); } $form = new GenerateFormField(); $form->setColumns($cols_wizard); $form->setTypes($type_cols_wizard); $form->setRequireds($cols_required_wizard); $form->setExtendTables(); $form->setDescription(); $form->setExtra($extra_cols_wizard); $form->setClasses(''); $form->setCountCell(1); $form->setCellClassWithCount('col-sm-12'); echo $ob_roles->getUpdateRole($grp_id, $form, $module_id); } else { ?> <style> #fieldsGroupDivs .panel .panel-heading,.connectUl.ui-sortable{cursor:move;} .placeholder { border: 1px solid green; background-color: greenyellow; -webkit-box-shadow: 0px 0px 10px #888; -moz-box-shadow: 0px 0px 10px #888; box-shadow: 0px 0px 10px #888;