Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
e060ced8
Commit
e060ced8
authored
Jul 06, 2021
by
Estéban Ristich
Browse files
Begin intervention-edit.php
parent
47d3108f
Changes
1
Hide whitespace changes
Inline
Side-by-side
intervention-edit.php
View file @
e060ced8
<?php
// intervention-edit.php
$web_page
=
true
;
// Module
require_once
(
'module/auth-functions.php'
);
require_once
(
'module/html-functions.php'
);
// Authenticate
auth_or_login
(
'team-list.php'
);
level_or_alert
(
3
,
'Ajout d\'une intervention'
);
$intervention_id
=
param_post_or_get
(
'id'
,
0
);
$mode
=
'Modifier'
;
if
(
$intervention_id
==
0
)
// new
$mode
=
'Ajouter'
;
$pdo
=
connect_db_or_alert
();
if
(
$mode
==
'Ajouter'
)
{
en_tete
(
'Ajouter une intervention'
);
}
else
if
(
$mode
==
'Modifier'
)
{
en_tete
(
'Modifier une intervention'
);
}
?>
<table>
<tbody>
<tr>
<th>
Description
</th>
<td></td>
</tr>
<tr>
<th></th>
<td></td>
</tr>
<tr>
<th></th>
<td></td>
</tr>
<tr>
<th></th>
<td></td>
</tr>
</tbody>
</table>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment