Exemplo n.º 1
0
<?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('');
Exemplo n.º 2
0
<?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("class=\"ligna\"");
Exemplo n.º 3
0
/* SFORM Extender for NPDS SABLE Contact Example .                      */
/* ===========================                                          */
/*                                                                      */
/* P. Brunier 2002 - 2011                                               */
/*                                                                      */
/* 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&#x00E9;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':
Exemplo n.º 4
0
/************************************************************************/
/* SFORM Extender for NPDS V Forum .                                    */
/* ===========================                                          */
/*                                                                      */
/* P. Brunier 2002 - 2011                                               */
/*                                                                      */
/* 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("Bugs_Report");
$m->add_form_method("post");
$m->add_form_check("false");
$m->add_mess(" * désigne un champ obligatoire ");
$m->add_submit_value("submitS");
$m->add_url("newtopic.php");
/************************************************/
include $sform_path . "forum/{$formulaire}";
/************************************************/
if (!$submitS) {
    echo $m->print_form("class=\"ligna\"");
} else {
    $message = $m->aff_response("class=\"ligna\"", "not_echo", "");
}
Exemplo n.º 5
0
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
global $ModPath, $ModStart;
$pos = strpos($ModPath, "/admin");
if ($pos > 0) {
    $ModPathX = substr($ModPath, 0, $pos);
} else {
    $ModPathX = $ModPath;
}
global $sform_path;
$sform_path = "modules/sform/";
include_once $sform_path . "sform.php";
//********************
global $m;
$m = new form_handler();
//********************
$m->add_form_title($ModPathX);
$m->add_form_method("get");
$m->add_form_check("true");
$m->add_field($ModPathX . "_id", $ModPathX . "_id", "{$browse_key}", 'text', true, 11, "", "a-9");
$m->add_key($ModPathX . "_id");
$m->add_url("modules.php");
$m->add_submit_value("modifylinkrequest_adv_infos");
$m->add_field("ModStart", "", $ModStart, 'hidden', false);
$m->add_field("ModPath", "", $ModPath, 'hidden', false);
if (isset($author)) {
    $m->add_field("author", "", $author, 'hidden', false);
}
$m->add_field("op", "", "modifylinkrequest", 'hidden', false);
$m->add_field("lid", "", $browse_key, 'hidden', false);
Exemplo n.º 6
0
<?php

/************************************************************************/
/* SFORM Extender for NPDS USER                                         */
/* ===========================                                          */
/* NPDS Copyright (c) 2002-2009 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("admin.php");
/************************************************/
include $sform_path . "extend-user/adm_formulaire.php";
/************************************************/
echo $m->print_form("class=\"ligna\"");
Exemplo n.º 7
0
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
global $ModPath, $ModStart;
$pos = strpos($ModPath, "/admin");
if ($pos > 0) {
    $ModPathX = substr($ModPath, 0, $pos);
} else {
    $ModPathX = $ModPath;
}
global $sform_path;
$sform_path = "modules/sform/";
include_once $sform_path . "sform.php";
//********************
global $m;
$m = new form_handler();
//********************
$m->add_form_title($ModPathX);
$m->add_field($ModPathX . "_id", $ModPathX . "_id", "", 'text', true, 11, "", "a-9");
$m->add_key($ModPathX . "_id");
$m->add_submit_value("link_fiche_detail");
$m->add_url("modules.php?ModStart={$ModStart}&ModPath={$ModPath}");
/************************************************/
include_once $sform_path . $ModPathX . "/formulaire.php";
/************************************************/
// Fabrique le formulaire et assure sa gestion
switch ($link_fiche_detail) {
    case 'fiche_detail':
        if ($m->sform_read_mysql($browse_key)) {
            $m->add_extra("<tr><td colspan=\"2\" align=\"center\">");
            $m->add_extra("<a href=\"javascript: history.go(-1)\" class=\"noir\">[ " . translate("Go Back") . " ]</a>");
Exemplo n.º 8
0
/************************************************************************/
/* SFORM Extender for Dune comments.                                    */
/* ===========================                                          */
/*                                                                      */
/* P. Brunier 2002 - 2009                                               */
/*                                                                      */
/* 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                 */
/************************************************************************/
include_once "modules/sform/sform.php";
global $m;
$m = new form_handler();
//********************
$m->add_form_title("coolsus");
$m->add_form_method("post");
$m->add_form_check("false");
$m->add_mess("[french]* désigne un champ obligatoire[/french][english]* mandatory field[/english]");
$m->add_submit_value("submitS");
$m->add_url("modules.php");
/************************************************/
include "modules/comments/{$formulaire}";
/************************************************/
if (!isset($GLOBALS["submitS"])) {
    echo aff_langue($m->print_form("class=\"ligna\""));
} else {
    $message = aff_langue($m->aff_response("class=\"ligna\"", "not_echo", ""));
}
Exemplo n.º 9
0
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
global $ModPath, $ModStart;
$pos = strpos($ModPath, '/admin');
if ($pos > 0) {
    $ModPathX = substr($ModPath, 0, $pos);
} else {
    $ModPathX = $ModPath;
}
global $sform_path;
$sform_path = 'modules/sform/';
include_once $sform_path . 'sform.php';
//********************
global $m;
$m = new form_handler();
//********************
$m->add_form_title($ModPathX);
$m->add_field($ModPathX . '_id', $ModPathX . '_id', '', 'text', true, 11, '', 'a-9');
$m->add_key($ModPathX . '_id');
$m->add_submit_value('link_fiche_detail');
$m->add_url("modules.php?ModStart={$ModStart}&ModPath={$ModPath}");
/************************************************/
include_once $sform_path . $ModPathX . '/formulaire.php';
/************************************************/
// Fabrique le formulaire et assure sa gestion
switch ($link_fiche_detail) {
    case 'fiche_detail':
        if ($m->sform_read_mysql($browse_key)) {
            $m->add_extra("<tr><td colspan=\"2\" align=\"center\">");
            $m->add_extra('<a href="javascript: history.go(-1)" class="btn btn-primary">' . translate("Go Back") . '</a>');
Exemplo n.º 10
0
/* SFORM Extender for NPDS Contact Example .                            */
/* ===========================                                          */
/*                                                                      */
/* P. Brunier 2002 - 2015                                               */
/*                                                                      */
/* 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&#x00E9;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':
Exemplo n.º 11
0
<?php

/************************************************************************/
/* SFORM Extender for NPDS USER                                         */
/* ===========================                                          */
/* NPDS Copyright (c) 2002-2009 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("true");
$m->add_url("user.php");
/************************************************/
include $sform_path . "extend-user/formulaire.php";
/************************************************/
echo $m->print_form("class=\"ligna\"");
Exemplo n.º 12
0
<?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('');