diff --git a/html/index.php b/html/index.php index 564e614..18afcf6 100644 --- a/html/index.php +++ b/html/index.php @@ -161,6 +161,15 @@ if(isset($_GET['arena'])){ $jsAdditionalScript=""; break; + case "editBot": + $siteTitle="Modifier un bot"; + $siteDescription="bots arena "; + $permitIndex=false; + $mainSectionScript="../src/editBot.php"; + $asideSectionContent=''; //to do + $cssAdditionalScript=""; + $jsAdditionalScript=""; + break; default: error(404,"Not found"); break; diff --git a/src/aboutBot.php b/src/aboutBot.php index a0e0fae..f0185f3 100644 --- a/src/aboutBot.php +++ b/src/aboutBot.php @@ -1,5 +1,6 @@
A props de '.htmlentities($_GET['params']).'

Inscrit le '.$theBot['date_inscription'].'

'.$theBot['description'].'

'; +echo '

A props de '.htmlentities($_GET['params']).'

Inscrit le '.$theBot['date_inscription'].'

'.$theBot['description'].'

+

Si vous êtes le propriétaire de ce bot, vous pouvez le modifier

'; ?>
\ No newline at end of file diff --git a/src/editBot.php b/src/editBot.php new file mode 100644 index 0000000..c688725 --- /dev/null +++ b/src/editBot.php @@ -0,0 +1 @@ +

EditBot

\ No newline at end of file