Subversion Repositories Applications.papyrus

Rev

Rev 1486 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1486 Rev 1573
Line 123... Line 123...
123
        	}
123
        	}
124
        	if (isset($_POST['id_template'])) {
124
        	if (isset($_POST['id_template'])) {
125
        		$req = 'update inscription_template set ' .
125
        		$req = 'update inscription_template set ' .
126
        				'it_nom_template="'.$_POST['it_nom_template'].'",' .
126
        				'it_nom_template="'.$_POST['it_nom_template'].'",' .
127
        				'it_template="'.$_POST['it_template'].'" ' .
127
        				'it_template="'.$_POST['it_template'].'" ' .
128
        				'where it_id_template="'.$_POST['id_template'].'"';
128
        				'where it_id_template="'.$_REQUEST['id_template'].'"'.
-
 
129
        				' and it_ce_inscription="'.$_REQUEST['id_inscription'].'"';
-
 
130
        				
-
 
131
        				
-
 
132
        				
129
        		$GLOBALS['ins_db']->query($req);
133
        		$GLOBALS['ins_db']->query($req);
130
        	}
134
        	}
131
        }
135
        }