Пример #1
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/include.php';
include_pages('Zone d\'administration', TRUE, array('Mon compte', 'Zone d\'administration'), TRUE, FALSE);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/functions/check_if_user_is_admin.php';
redirect_if_user_not_admin($_SESSION['email']);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/mon_compte/include/core_core_menu.php';
?>

<div id="core_core_core">
	<div id="core_core_core_text" style="white-space: nowrap;">
		<div class="core_core_core_text_title">Bienvenue dans la zone d'administration</div>
		<p>Vous pouvez ici gérer différentes fonctionnalités du site.</p>
		<br />
		<a class="coreCoreCoreTextTitle"
		   href="/e_commerce/mon_compte/admin_zone/addNewProduct/addNewProduct.php">
			Ajouter un nouveau produit
		</a>
		<br />
		<br />
		<a class="coreCoreCoreTextTitle"
		   href="/e_commerce/mon_compte/admin_zone/manageheadermenu/manageheadermenu.php">
		   Gérer le menu du haut
		</a>
	</div>
</div>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/footer.php';
Пример #2
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/include.php';
include_pages('Mon compte', TRUE, array('Mon compte', '&nbsp;'), TRUE, FALSE);
require_once 'include/core_core_menu.php';
?>

<div id="core_core_core">
	<div id="core_core_core_text">
		<div class="core_core_core_text_title">Bienvenue sur votre espace personnel</div>
		<p>Profitez de l'ensemble des fonctionnalités qui vous sont proposées sur votre espace 
		   personnel pour consulter, suivre et gérer toutes les données vous concernant.</p>
	</div>

	<div id="core_core_core_grey_box">
		<?php 
require_once 'mon_compte_functions.php';
echo_user_civility_and_name($_SESSION['email']);
?>
		<a href="vos_informations/vos_informations.php" style="float: right; color: #103494;">
			modifier
		</a>

		<p>
		Vous êtes client depuis le <?php 
echo_since_when_is_user_registered($_SESSION['email']);
?>
		</p>
	</div>
</div>
Пример #3
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/include.php';
include_pages('Mon compte', TRUE, array('Mon compte', 'Editer vos informations personnelles'), TRUE, FALSE);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/mon_compte/include/core_core_menu.php';
?>

<div id="core_core_core">
	<div id="core_core_core_text">
		<div class="core_core_core_text_title" style="width: 700px">Titulaire du compte</div>
		<?php 
require_once 'vos_informations_functions.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/register/register_form.php';
$user_info = get_user_info($_SESSION['email']);
echo_register_form('vos_informations_action.php', FALSE, $user_info, FALSE);
?>
	</div>
</div>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/footer.php';
Пример #4
0
<?php

require_once 'include/include.php';
include_pages('Accueil', FALSE, array(), FALSE, FALSE);
?>

<?php 
require_once 'include/footer.php';
Пример #5
0
<?php

echo '<div id="test"></div>';
include_once '../include/include.php';
include_pages('Création d\'un compte', TRUE, array('Mon compte', 'Création d\'un compte'), FALSE, TRUE);
require_once 'register_form.php';
echo_register_form('register_action.php', TRUE, array(), TRUE);
require_once '../include/footer.php';
Пример #6
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/include.php';
include_pages('Zone d\'administration', TRUE, array('Zone admin', 'Ajouter un nouveau produit'), TRUE, FALSE);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/functions/check_if_user_is_admin.php';
redirect_if_user_not_admin($_SESSION['email']);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/mon_compte/include/core_core_menu.php';
?>

<div id="core_core_core">
	<div id="core_core_core_text" style="white-space: nowrap;">
		<span>Nom du produit :</span>
		<br />
		<input type="text" name="productName" style="width: 100%;"/>
		<span id="productNameErrorMessage" class="error_message">Nom invalide</span>
		<br />
		<br />
		<span>Courte description du produit :</span>
		<br />
		<textarea rows="4" cols="50" id="product_mini_description"></textarea>
		<br />
		<br />
		<span>Description du produit :</span>
		<br />
		<textarea rows="4" cols="50" id="product_description"></textarea>
		<br />
		<br />
		<span>Lien de l'image du produit (facultatif) :</span>
		<br />
		<input type="text" name="product_image_link" style="width: 100%;"/>
		<br />
Пример #7
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/include.php';
include_pages('Gérer le menu du haut', TRUE, array('Zone admin', 'Gérer le menu du haut'), TRUE, FALSE);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/functions/check_if_user_is_admin.php';
redirect_if_user_not_admin($_SESSION['email']);
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/mon_compte/include/core_core_menu.php';
?>

<div id="core_core_core">
	<div id="core_core_core_text" style="white-space: nowrap;">
		<span>Nom du menu :</span>
		<input type="text" name="menuNameAdd" style="width: 100%;"/>&nbsp;
		<input id="submitButtonAdd" type="submit" value="Ajouter" />
		<br />
		<br />
		<span>Nom du menu :</span>
		<input type="text" name="menuNameRemove" style="width: 100%;"/>&nbsp;
		<input id="submitButtonRemove" type="submit" value="Supprimer" />
		<br />
		<br />
		<input id="submitModifications" type="submit" value="Valider les modifications" style="margin-left:150%"/>
	</div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="/e_commerce/mon_compte/admin_zone/manageheadermenu/manageheadermenu.js"></script>

<?php 
require_once $_SERVER['DOCUMENT_ROOT'] . '/e_commerce/include/footer.php';