commit
8d8a6de0e1
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,2 @@
|
||||
#n:public
|
||||
!<md> [676280, 0, null, null, -2147483648, -2147483648]
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MaterialThemeProjectNewConfig">
|
||||
<option name="metadata">
|
||||
<MTProjectMetadataState>
|
||||
<option name="migrated" value="true" />
|
||||
<option name="pristineConfig" value="false" />
|
||||
<option name="userId" value="-1562669c:19061473cbf:-7ffe" />
|
||||
</MTProjectMetadataState>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MessDetectorOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PHPCSFixerOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PHPCodeSnifferOptionsConfiguration">
|
||||
<option name="highlightLevel" value="WARNING" />
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpIncludePathManager">
|
||||
<include_path>
|
||||
<path value="$PROJECT_DIR$/vendor/composer" />
|
||||
<path value="$PROJECT_DIR$/vendor/altorouter/altorouter" />
|
||||
<path value="$PROJECT_DIR$/vendor/twig/twig" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
|
||||
</include_path>
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PsalmOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,123 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="afa12d51-331f-4dbc-a297-7289ad4e396d" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/Controleur/QuizController.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Controleur/QuizController.php" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ComposerSettings" synchronizationState="SYNCHRONIZE">
|
||||
<pharConfigPath>$PROJECT_DIR$/composer.json</pharConfigPath>
|
||||
<execution />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<excluded-from-favorite>
|
||||
<branch-storage>
|
||||
<map>
|
||||
<entry type="LOCAL">
|
||||
<value>
|
||||
<list>
|
||||
<branch-info repo="$PROJECT_DIR$" source="master" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</branch-storage>
|
||||
</excluded-from-favorite>
|
||||
<favorite-branches>
|
||||
<branch-storage>
|
||||
<map>
|
||||
<entry type="LOCAL">
|
||||
<value>
|
||||
<list>
|
||||
<branch-info repo="$PROJECT_DIR$" source="reorganisation" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</branch-storage>
|
||||
</favorite-branches>
|
||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="master" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="PhpWorkspaceProjectConfiguration" interpreter_name="/opt/homebrew/Cellar/php/8.3.8/bin/php">
|
||||
<include_path>
|
||||
<path value="$PROJECT_DIR$/vendor/composer" />
|
||||
<path value="$PROJECT_DIR$/vendor/altorouter/altorouter" />
|
||||
<path value="$PROJECT_DIR$/vendor/twig/twig" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
|
||||
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
|
||||
</include_path>
|
||||
</component>
|
||||
<component name="ProjectColorInfo">{
|
||||
"customColor": "",
|
||||
"associatedIndex": 4
|
||||
}</component>
|
||||
<component name="ProjectId" id="2oQGGlghI0ydDNgxjOeok3kwC7m" />
|
||||
<component name="ProjectLevelVcsManager">
|
||||
<ConfirmationsSetting value="1" id="Add" />
|
||||
</component>
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"git-widget-placeholder": "quizPart",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
},
|
||||
"keyToStringList": {
|
||||
"DatabaseDriversLRU": [
|
||||
"postgresql"
|
||||
]
|
||||
}
|
||||
}]]></component>
|
||||
<component name="RecentsManager">
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$/vue/templates" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="SharedIndexes">
|
||||
<attachedChunks>
|
||||
<set>
|
||||
<option value="bundled-js-predefined-1d06a55b98c1-0b3e54e931b4-JavaScript-PS-241.18034.69" />
|
||||
<option value="bundled-php-predefined-ba97393d7c68-48a1a656d44e-com.jetbrains.php.sharedIndexes-PS-241.18034.69" />
|
||||
</set>
|
||||
</attachedChunks>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="afa12d51-331f-4dbc-a297-7289ad4e396d" name="Changes" comment="" />
|
||||
<created>1730794293135</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1730794293135</updated>
|
||||
<workItem from="1730794294713" duration="2741000" />
|
||||
<workItem from="1730797544484" duration="43165000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,127 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin2.html.twig */
|
||||
class __TwigTemplate_487259351c054531e82d7ec374d515ee extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ S'inscrazeazeazeire ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"Entrez votre mot de passe\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"Confirmez votre mot de passe\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" value=\"Inscription\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin2.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin2.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin4.html.twig */
|
||||
class __TwigTemplate_02d73cdfa663473648587454068306f0 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield " ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" value=\"Inscription\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin4.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 97 => 48, 89 => 43, 71 => 28, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin4.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin4.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* login.html.twig */
|
||||
class __TwigTemplate_07a755596da3dba7ab89ea161b697e55 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleLogin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Connexion</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\">
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ Connexion ◀</h1>
|
||||
|
||||
<form class=\"login\" method=\"post\">
|
||||
<p> <strong>Identifiant *</strong></p>
|
||||
<input type=\"text\" class=\"connexion\" name=\"pseudo\" id=\"pseudo\" placeholder=\"Entrez votre pseudo ...\" required />
|
||||
|
||||
<p> <strong> Mot de passe *</strong></p>
|
||||
<input type=\"password\" class=\"connexion\" name=\"mdp\" id=\"mdp\" placeholder=\"Entrez votre mdp ...\" required />
|
||||
|
||||
<div class=\"createAccount\">
|
||||
<p class=\"createAccount\">Vous n'avez pas de compte?</p>
|
||||
<a href=\"signin.html.twig\" class=\"createAccount\">S'incrire</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class=\"buttonSubmitDiv\">
|
||||
<button class=\"buttonSudmite\">Connexion</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "login.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "login.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/login.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin5.html.twig */
|
||||
class __TwigTemplate_b1f0b539b8066ca5a58d316472e062b0 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["test"] ?? null), "html", null, true);
|
||||
yield " ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" value=\"Inscription\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin5.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 97 => 48, 89 => 43, 71 => 28, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin5.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin5.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin6.html.twig */
|
||||
class __TwigTemplate_7a4f39ed5cce012c6d4972b06e431782 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["test"] ?? null), "html", null, true);
|
||||
yield " ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"hidden\" class=\"btn\" name=\"action\" value=\"validsignin\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin6.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 97 => 48, 89 => 43, 71 => 28, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin6.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin6.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin7.html.twig */
|
||||
class __TwigTemplate_179113c369ca1501764a939233b8ee58 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["test"] ?? null), "html", null, true);
|
||||
yield " ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" name=\"action\" value=\"validsignin\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin7.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 97 => 48, 89 => 43, 71 => 28, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin7.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin7.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin1.html.twig */
|
||||
class __TwigTemplate_c5ff4ebd3f89e0ca0a1643dfb2cba640 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ ";
|
||||
// line 28
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["test"] ?? null), "html", null, true);
|
||||
yield " ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" name=\"action\" value=\"validsignin\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin1.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 97 => 48, 89 => 43, 71 => 28, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin1.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin1.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,127 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin.html.twig */
|
||||
class __TwigTemplate_f3fb3bd89b84ec5439a034a1b7acb44e extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ S'inscrire ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" value=\"Inscription\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin.html.twig");
|
||||
}
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
/* signin3.html.twig */
|
||||
class __TwigTemplate_13f68f972002b997fce4f87301b50b63 extends Template
|
||||
{
|
||||
private Source $source;
|
||||
/**
|
||||
* @var array<string, Template>
|
||||
*/
|
||||
private array $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
yield "<!DOCTYPE html>
|
||||
<html lang=\"fr\">
|
||||
<head>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"../public/styles/styleSignin.css\" media=\"screen\">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id=\"favicon\" rel=\"icon\" href=\"../images/iconeSombre.ico\"> <!-- Par défaut sombre -->
|
||||
<link href=\"https://fonts.googleapis.com/css2?family=Lemon&display=swap\" rel=\"stylesheet\">
|
||||
<script defer src=\"../public/script/theme-toggle.js\"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class=\"container\">
|
||||
<div class=\"header\">
|
||||
<div class=\"nav\">
|
||||
<a href=\"favorite.html\"><img src=\"../images/coeur.svg\" alt=\"coeur\" width=\"67px\" height=\"67px\" onmousedown=\"return false\"></a>
|
||||
<img id=\"theme-icon\" src=\"../images/light.svg\" alt=\"toggle theme\" width=\"72px\" height=\"37px\" onmousedown=\"return false\" onclick=\"toggleTheme()\">
|
||||
<a href=\"quiz.html\"><img src=\"../images/quizz.svg\" alt=\"quizz\" width=\"51px\" height=\"82px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"logo\">
|
||||
<a href=\"accueil.html\"><img src=\"../images/WIKIFANTASY.png\" alt=\"Logo\" width=\"227px\" height=\"106px\" onmousedown=\"return false\"></a>
|
||||
</div>
|
||||
<div class=\"user\">
|
||||
<img src=\"../images/user_dark.png\" alt=\"user\" width=\"70px\" height=\"70px\" onmousedown=\"return false\">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ lo ◀</h1>
|
||||
<form method=\"post\">
|
||||
<div class=\"signin\">
|
||||
<div class=\"DivId\">
|
||||
<p>Identifiant *</p>
|
||||
<input type=\"text\" class=\"champ\" id=\"pseudo\" name=\"pseudo\" placeholder=\"Id\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"DivEmail\">
|
||||
<p>Email *</p>
|
||||
<input type=\"email\" class=\"champ\" id=\"email\" name=\"email\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"mdp\">
|
||||
<p>Mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"mdp\" name=\"mdp\" required placeholder=\"";
|
||||
// line 43
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\"/>
|
||||
</div>
|
||||
|
||||
<div class=\"confmdp\">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type=\"password\" class=\"champ\" id=\"cmdp\" name=\"cmdp\" placeholder=\"";
|
||||
// line 48
|
||||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["errors"] ?? null), "html", null, true);
|
||||
yield "\" required/>
|
||||
</div>
|
||||
|
||||
<div class=\"imgprof\">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class=\"confirmer\">
|
||||
<input type=\"submit\" class=\"btn\" value=\"Inscription\" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>";
|
||||
yield from [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getTemplateName(): string
|
||||
{
|
||||
return "signin3.html.twig";
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isTraitable(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
return array ( 94 => 48, 86 => 43, 42 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext(): Source
|
||||
{
|
||||
return new Source("", "signin3.html.twig", "/Users/kiem/Documents/WikiFantasy/WF-Website/vue/templates/signin3.html.twig");
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 50 KiB |
@ -0,0 +1,111 @@
|
||||
/* Conteneur pour les suggestions en deux colonnes */
|
||||
.quotes-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Citations */
|
||||
.citation-container {
|
||||
background: linear-gradient(to right, #4a148c, #7b1fa2);
|
||||
border-radius: 12px;
|
||||
color: white;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
width: 49%; /* Chaque citation occupe 45% de la largeur pour laisser 5% d'espace */
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
height: 150px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
word-wrap: break-word; /* Permet de couper les mots trop longs */
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Fixe la taille pour s'assurer que toutes les citations restent cohérentes */
|
||||
.citation-container .text-content {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 150px;
|
||||
}
|
||||
.quote {
|
||||
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%);
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.citation-image {
|
||||
width: 150px;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.text-content {
|
||||
flex: 1;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center; /* Centre verticalement le texte */
|
||||
word-wrap: break-word; /* Permet de couper les mots trop longs */
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.quoteContent {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 10px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.movie, .character, .year {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Mode sombre */
|
||||
body.dark-mode .quote {
|
||||
background: linear-gradient(to right, #4a148c, #7b1fa2);
|
||||
color:white;
|
||||
}
|
||||
|
||||
/* Mode clair */
|
||||
body.light-mode .quote {
|
||||
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%);
|
||||
color:black; /* Changer le texte en noir pour le mode clair */
|
||||
}
|
||||
|
||||
body.light-mode .quote,
|
||||
body.light-mode .movie,
|
||||
body.light-mode .character,
|
||||
body.light-mode .year {
|
||||
color: black; /* Forcer le texte en noir pour le mode clair */
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@media (max-width: 768px) {
|
||||
.suggestions-container {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.citation-container {
|
||||
width: 100%; /* Chaque citation prend toute la largeur sur mobile */
|
||||
max-width: 100%;
|
||||
height: 100px; /* Supprimer la hauteur fixe sur mobile */
|
||||
}
|
||||
|
||||
.citation-image {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
@import url(./style.css);
|
||||
@import url(./styleQuoteLittle.css);
|
||||
|
||||
/* ====== DEFAULT ====== */
|
||||
|
||||
|
||||
.search-container {
|
||||
margin-left: 5%;
|
||||
width: 90%;
|
||||
|
||||
height: 60px;
|
||||
border-radius: 40px;
|
||||
}
|
||||
|
||||
.search-container .searchButton {
|
||||
float: right;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.searchButton img{
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
.search-container input[type="search"] {
|
||||
margin: 10px ;
|
||||
border:none;
|
||||
background: none;
|
||||
float:left;
|
||||
padding: 0;
|
||||
color: #00f;
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.filtre{
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
/* ====== DARK MODE ====== */
|
||||
/*body.dark-mode */
|
||||
body.dark-mode .search-container {
|
||||
background: #fff;
|
||||
}
|
||||
body.dark-mode .search-container input[type="search"] {
|
||||
color: #000;
|
||||
}
|
||||
body.dark-mode .search-container .searchButton {
|
||||
background: linear-gradient(to right, #4a148c, #7b1fa2);
|
||||
}
|
||||
|
||||
/* ====== LIGHT MODE ====== */
|
||||
/*body.light-mode*/
|
||||
body.light-mode .search-container {
|
||||
background: #ccc;
|
||||
}
|
||||
body.light-mode .search-container input[type="search"] {
|
||||
color: #000;
|
||||
}
|
||||
body.light-mode .search-container .searchButton {
|
||||
background: linear-gradient(180deg, rgba(187,211,249,1) 0%, rgba(199,246,196,1) 100%);
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace Model;
|
||||
use Entity\Quote;
|
||||
use Gateway\QuoteGateway;
|
||||
|
||||
class SearchModel
|
||||
{
|
||||
private QuoteGateway $gateway;
|
||||
|
||||
public function __construct(QuoteGateway $gate){
|
||||
$this->gateway = $gate;
|
||||
}
|
||||
|
||||
public function searchQuote(?string $type,?string $search,array $filtre): array{
|
||||
|
||||
$res = $this->gateway->search($type,$search,$filtre);
|
||||
$tabQ=[];
|
||||
|
||||
foreach($res as $q ){
|
||||
$tabQ[]= new Quote($q["id_quote"],$q["content"],$q["caracter"],$q["imgpath"],$q["title"],$q["dates"],$q["likes"],$q["langue"]) ;
|
||||
}
|
||||
return $tabQ;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -1,25 +1,28 @@
|
||||
<?php
|
||||
global $twig;
|
||||
|
||||
// Rendu de l'en-tête
|
||||
echo $twig->render('head.html.twig', [
|
||||
'title' => "Accueil",
|
||||
'title' => "Favoris",
|
||||
'style' => "public/styles/styleAccueil.css",
|
||||
'scripts' => array("public/script/theme-toggle.js")
|
||||
]);
|
||||
|
||||
// Rendu du bandeau
|
||||
echo $twig->render('bandeau.html.twig');
|
||||
|
||||
echo "<h2>Favorits</h2>";
|
||||
echo "<div class='suggestions-container'>";
|
||||
foreach ($suggestions as $suggestion) {
|
||||
echo $twig->render('favorits.html.twig', [
|
||||
'quote' => $suggestion['content'],
|
||||
'movie' => $suggestion['title'],
|
||||
'character' => $suggestion['caracter'],
|
||||
'year' => $suggestion['dates'],
|
||||
'imagePath' => $suggestion['imgpath']
|
||||
if (!empty($favorites)) {
|
||||
echo "<h2>Vos favoris</h2>";
|
||||
echo "<div class='suggestions-container'>";
|
||||
foreach ($favorites as $favorite) {
|
||||
echo $twig->render('suggestion.html.twig', [
|
||||
'quote' => $favorite['content'],
|
||||
'movie' => $favorite['title'],
|
||||
'character' => $favorite['caracter'],
|
||||
'year' => $favorite['dates'],
|
||||
'imagePath' => $favorite['imgpath']
|
||||
]);
|
||||
}
|
||||
echo "</div>";
|
||||
} else {
|
||||
echo "<p>Vous n'avez pas encore de favorits</p>";
|
||||
}
|
||||
echo "</div>";
|
||||
?>
|
@ -1,63 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Wiki Fantasy</title>
|
||||
<link id="favicon" rel="icon" href="../images/iconeSombre.ico"> <!-- Par défaut sombre -->
|
||||
<link rel="stylesheet" href="../styles/style.css">
|
||||
<script defer src="../script/theme-toggle.js"></script>
|
||||
<script src="../script/auth-check.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="nav">
|
||||
<a href="favorite.html"><img src="../images/coeur.svg" alt="coeur" width="67px" height="67px" onmousedown="return false"></a>
|
||||
<img id="theme-icon" src="../images/light.svg" alt="toggle theme" width="72px" height="37px" onmousedown="return false" onclick="toggleTheme()">
|
||||
<a href="quiz.html"><img src="../images/quizz.svg" alt="quizz" width="51px" height="82px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a href="accueil.html"><img src="../images/WIKIFANTASY.png" alt="Logo" width="227px" height="106px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="user">
|
||||
<a href="profil.html"><img src="../images/user_dark.png" alt="user" width="70px" height="70px" onmousedown="return false"></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div>
|
||||
<input class="searchBarre" type="text" value="" placeholder="Rechercher"/>
|
||||
<div>
|
||||
<?php
|
||||
global $twig;
|
||||
|
||||
#session_start();
|
||||
#require_once('../bd/connexionDB.php');
|
||||
#
|
||||
#if(isset($_GET['user'])){
|
||||
#$user = (String) trim($_GET['user']);
|
||||
#
|
||||
#$req = $DB->query("SELECT *
|
||||
# FROM utilisateur
|
||||
# WHERE nom LIKE ?
|
||||
# LIMIT 10",
|
||||
# array("$user%"));
|
||||
#
|
||||
#$req = $req->fetchALL();
|
||||
$req=array(array('nom'=>'nom1','prenom'=>'prenom1'),array('nom'=>'nom2','prenom'=>'prenom2'),array('nom'=>'nom3','prenom'=>'prenom3'));
|
||||
echo $twig->render('head.html.twig', array(
|
||||
'title' => "Quote",
|
||||
'style' => "public/styles/styleSearch.css",
|
||||
));
|
||||
|
||||
foreach($req as $r){
|
||||
?>
|
||||
<div style="margin-top: 20px 0; border-bottom: 2px solid #ccc"><?= $r['nom'] . " " . $r['prenom'] ?></div><?php
|
||||
}
|
||||
echo $twig->render('bandeau.html.twig');
|
||||
echo $twig->render('filtre.html.twig',array(
|
||||
'search'=>$search,
|
||||
'type'=>$type,
|
||||
));
|
||||
|
||||
#}
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
echo "<h2>Résultats</h2>";
|
||||
echo "<div class='quotes-container'>";
|
||||
foreach($tq as $q){
|
||||
|
||||
echo $twig->render('quoteLittle.html.twig', array(
|
||||
'srcImg' => $q->getImgPath(),
|
||||
'quoteContent' => $q->getContent(),
|
||||
'sourceName' => $q->getTitleSrc(),
|
||||
'nameCarac' => $q->getCarac(),
|
||||
'dateSortie' => $q->getDateSrc(),
|
||||
));
|
||||
}
|
||||
echo "</div>";
|
||||
//echo $twig->render('resultat.html.twig');
|
||||
|
||||
</body>
|
||||
</html>
|
||||
?>
|
@ -0,0 +1,46 @@
|
||||
<form action="{{racine}}/search" method="post">
|
||||
<div class="search-container">
|
||||
<input type="search" placeholder="Recherche" id="filtre" name="search" value="{{ search }}"/>
|
||||
<button class="searchButton" type="submit"> <img src="images/search" alt='Search'> </button>
|
||||
</div>
|
||||
|
||||
<div class="filtre">
|
||||
<div>
|
||||
<input type="radio" id="citation" name="type" value="citation" {% if type!='titre' or type!='personnage' %} checked {% endif %}/>
|
||||
<label for="citation">Citation</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input type="radio" id="titre" name="type" value="titre" {% if type=='titre' %} checked {% endif %} />
|
||||
<label for="titre">Titre</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input type="radio" id="personnage" name="type" value="personnage" {% if type=='personnage' %} checked {% endif %} />
|
||||
<label for="personnage">Personnage</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<p>Plus de filtre</p>
|
||||
|
||||
<div>
|
||||
<label>Filter by:</label>
|
||||
|
||||
<div>
|
||||
<input type="checkbox" id="film" name="film" value="film" />
|
||||
<label for="film">Film</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input type="checkbox" id="roman" name="roman" value="roman"/>
|
||||
<label for="roman">Roman</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="jeux_vidéo" name="jeux_vidéo" value="jeux_vidéo"/>
|
||||
<label for="jeux_vidéo">Jeux Vidéo</label>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</form>
|
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" type="text/css" href="../public/styles/styleLogin.css" media="screen">
|
||||
<title>Wiki Fantasy : Connexion</title>
|
||||
<link id="favicon" rel="icon" href="../../images/iconeSombre.ico"> <!-- Par défaut sombre -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lemon&display=swap" rel="stylesheet">
|
||||
<script defer src="../public/script/theme-toggle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="nav">
|
||||
<img src="../images/coeur.svg" alt="coeur" width="67px" height="67px" onmousedown="return false">
|
||||
<img id="theme-icon" src="../images/light.svg" alt="toggle theme" width="72px" height="37px" onmousedown="return false" onclick="toggleTheme()">
|
||||
<img src="../images/quizz.svg" alt="quizz" width="51px" height="82px" onmousedown="return false">
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a href="accueil.html"><img src="../images/WIKIFANTASY.png" alt="Logo" width="227px" height="106px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="user">
|
||||
<img src="../images/user_dark.png" alt="user" width="70px" height="70px" onmousedown="return false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ Connexion ◀</h1>
|
||||
|
||||
<form class="login" method="post" action="/validlogin">
|
||||
<p> <strong>Identifiant *</strong></p>
|
||||
<input type="text" class="connexion" name="pseudo" id="pseudo" placeholder="Entrez votre pseudo" required />
|
||||
|
||||
<p> <strong> Mot de passe *</strong></p>
|
||||
<input type="password" class="connexion" name="mdp" id="mdp" placeholder="Entrez votre mdp" required />
|
||||
|
||||
{% if error is defined and error is not empty %}
|
||||
<p style="color: red">{{ error }}</p>
|
||||
{% endif %}
|
||||
<div class="createAccount">
|
||||
<p class="createAccount">Vous n'avez de compte?</p>
|
||||
<a href="/signin" class="createAccount">S'incrire</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="buttonSubmitDiv">
|
||||
<button class="buttonSudmite">Se Connecter</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,9 @@
|
||||
<div class='citation-container quote'>
|
||||
<img src="{{ srcImg }}" alt='{{ sourceName }}' class='citation-image'>
|
||||
<div class='text-content'>
|
||||
<p class='quoteContent'>{{ quoteContent }}</p>
|
||||
<p class='movie'>- {{ sourceName }}</p>
|
||||
<p class='character'>Personnage : {{ nameCarac }}</p>
|
||||
<p class='year'>Année : {{ dateSortie }}</p>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" type="text/css" href="../public/styles/styleSignin.css" media="screen">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id="favicon" rel="icon" href="../images/iconeSombre.ico"> <!-- Par défaut sombre -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lemon&display=swap" rel="stylesheet">
|
||||
<script defer src="../public/script/theme-toggle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="nav">
|
||||
<a href="favorite.html"><img src="../images/coeur.svg" alt="coeur" width="67px" height="67px" onmousedown="return false"></a>
|
||||
<img id="theme-icon" src="../images/light.svg" alt="toggle theme" width="72px" height="37px" onmousedown="return false" onclick="toggleTheme()">
|
||||
<a href="quiz.html"><img src="../images/quizz.svg" alt="quizz" width="51px" height="82px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a href="accueil.html"><img src="../images/WIKIFANTASY.png" alt="Logo" width="227px" height="106px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="user">
|
||||
<img src="../images/user_dark.png" alt="user" width="70px" height="70px" onmousedown="return false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ S'inscrire ◀</h1>
|
||||
<form method="post" action="/validsignin">
|
||||
<div class="signin">
|
||||
<div class="DivId">
|
||||
<p>Identifiant *</p>
|
||||
<input type="text" class="champ" id="pseudo" name="pseudo" placeholder="Entrez votre pseudo" required/>
|
||||
{% if error[0] is defined and error[0] is not empty %}
|
||||
<p style="color: red">{{ error[0] }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="DivEmail">
|
||||
<p>Email *</p>
|
||||
<input type="email" class="champ" id="email" name="email" placeholder="Entrez votre email" required/>
|
||||
{% if error[1] is defined and error[1] is not empty %}
|
||||
<p style="color: red">{{ error[1] }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="mdp">
|
||||
<p>Mot de passe *</p>
|
||||
<input type="password" class="champ" id="mdp" name="mdp" required placeholder="Entrez votre mdp"/>
|
||||
</div>
|
||||
|
||||
<div class="confmdp">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type="password" class="champ" id="cmdp" name="cmdp" placeholder="Confirmez votre mdp" required/>
|
||||
{% if error[2] is defined and error[2] is not empty %}
|
||||
<p style="color: red">{{ error[2] }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="imgprof">
|
||||
<p>Image *</p>
|
||||
</div>
|
||||
|
||||
<div class="connectAccount">
|
||||
<p class="createAccount">Vous avez un compte?</p>
|
||||
<a href="/login" class="connectAccount">Se connecter</a>
|
||||
</div>
|
||||
<div class="confirmer">
|
||||
<input type="submit" class="btn" name="action" value="S'inscrire" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" type="text/css" href="../public/styles/styleSignin.css" media="screen">
|
||||
<title>Wiki Fantasy : Inscription</title>
|
||||
<link id="favicon" rel="icon" href="../images/iconeSombre.ico"> <!-- Par défaut sombre -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lemon&display=swap" rel="stylesheet">
|
||||
<script defer src="../public/script/theme-toggle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="nav">
|
||||
<a href="favorite.html"><img src="../images/coeur.svg" alt="coeur" width="67px" height="67px" onmousedown="return false"></a>
|
||||
<img id="theme-icon" src="../images/light.svg" alt="toggle theme" width="72px" height="37px" onmousedown="return false" onclick="toggleTheme()">
|
||||
<a href="quiz.html"><img src="../images/quizz.svg" alt="quizz" width="51px" height="82px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a href="accueil.html"><img src="../images/WIKIFANTASY.png" alt="Logo" width="227px" height="106px" onmousedown="return false"></a>
|
||||
</div>
|
||||
<div class="user">
|
||||
<img src="../images/user_dark.png" alt="user" width="70px" height="70px" onmousedown="return false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>▶ z{{ test }} aeazrazeraz ◀</h1>
|
||||
<form method="post">
|
||||
<div class="signin">
|
||||
<div class="DivId">
|
||||
<p>Identifiant *</p>
|
||||
<input type="text" class="champ" id="pseudo" name="pseudo" placeholder="Id" required/>
|
||||
</div>
|
||||
|
||||
<div class="DivEmail">
|
||||
<p>Email *</p>
|
||||
<input type="email" class="champ" id="email" name="email" required/>
|
||||
</div>
|
||||
|
||||
<div class="mdp">
|
||||
<p>Mot de passe *</p>
|
||||
<input type="password" class="champ" id="mdp" name="mdp" required placeholder="{{ errors }}"/>
|
||||
</div>
|
||||
|
||||
<div class="confmdp">
|
||||
<p>Confirmer mot de passe *</p>
|
||||
<input type="password" class="champ" id="cmdp" name="cmdp" placeholder="{{ errors }}" required/>
|
||||
</div>
|
||||
|
||||
<div class="imgprof">
|
||||
<p>Image *</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="confirmer">
|
||||
<input type="submit" class="btn" name="action" value="validsignin" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue