<?php /************************************************************************/ /* SFORM Extender for NPDS USER */ /* =========================== */ /* NPDS Copyright (c) 2002-2015 by Philippe Brunier */ /* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/ /* Dont modify this file is you dont know what you make */ /************************************************************************/ $sform_path = "modules/sform/"; include_once $sform_path . "sform.php"; global $m; $m = new form_handler(); //******************** $m->add_form_title("Register"); $m->add_form_method("post"); $m->add_form_check("false"); $m->add_url("user.php"); /************************************************/ include $sform_path . "extend-user/mod_formulaire.php"; /************************************************/ echo $m->print_form('');
/* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/ /* Dont modify this file is you dont know what you make */ /************************************************************************/ global $ModPath, $ModStart; $sform_path = 'modules/sform/'; include_once $sform_path . 'sform.php'; global $m; $m = new form_handler(); //******************** $m->add_form_title('CONTACT'); $m->add_form_method('post'); $m->add_form_check('true'); $m->add_mess(utf8_java("[french] * désigne un champ obligatoire [/french][english] * indicate an obligatory field [/english]")); $m->add_submit_value('ok'); $m->add_url('modules.php'); $m->add_field('ModStart', '', $ModStart, 'hidden', false); $m->add_field('ModPath', '', $ModPath, 'hidden', false); /************************************************/ include $sform_path . 'contact/formulaire.php'; /************************************************/ // Manage the <form> switch ($ok) { case 'Soumettre': case 'Submit': if (!$sformret) { $m->make_response(); //anti_spambot
/* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/ /* Dont modify this file is you dont know what you make */ /************************************************************************/ global $ModPath, $ModStart; $sform_path = "modules/sform/"; include_once $sform_path . "sform.php"; global $m; $m = new form_handler(); //******************** $m->add_form_title("CONTACT"); $m->add_form_method("post"); $m->add_form_check("true"); $m->add_mess(utf8_java("[french] * désigne un champ obligatoire [/french][english] * indicate an obligatory field [/english]")); $m->add_submit_value("ok"); $m->add_url("modules.php"); $m->add_field("ModStart", "", $ModStart, 'hidden', false); $m->add_field("ModPath", "", $ModPath, 'hidden', false); /************************************************/ include $sform_path . "contact/formulaire.php"; /************************************************/ // Manage the <form> switch ($ok) { case 'Soumettre': case 'Submit': if (!$sformret) { $m->make_response(); //anti_spambot
<?php /************************************************************************/ /* SFORM Extender for NPDS USER . */ /* =========================== */ /* */ /* P. Brunier 2004 for NPDS V */ /* */ /* This program is free software. You can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License. */ /************************************************************************/ /* Dont modify this file is you dont know what you make */ /************************************************************************/ $sform_path = "modules/sform/"; include_once $sform_path . 'sform.php'; global $m; $m = new form_handler(); //******************** $m->add_form_title('Register'); $m->add_form_method('post'); $m->add_form_check('false'); $m->add_url('user.php'); /************************************************/ include $sform_path . 'extend-user/aff_formulaire.php'; /************************************************/ echo $m->aff_response('');