2. Page authentification
A partir du lien Se connecter, l'utilisateur peut s'identifier
en tant qu'administrateur ou tant qu'abonné dont voici les
codes :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<head><meta http-equiv="Content-Type"
content="text/html; charset=utf-8" /><title>
Se connecter
</title><link href="../Styles/Site.css" rel="stylesheet"
type="text/css" />
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
width: 812px;
}
</style>
</head>
<body>
<form method="post" action="Login.aspx"
onsubmit="javascript:return WebForm_OnSubmit();" id="ctl01">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET"
value="" />
<input type="hidden" name="__EVENTARGUMENT"
id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUJMTM4OTQwMDM1ZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUmY3RsMDAkTWFpbkNvbnRlbnQkTG9naW5Vc2VyJFJlbWVtYmVyTWUtpmGPXiQ8NdnAZbn9Uc7BR8hBqCHq/sjl2lAhuImb/A=="
/>
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['ctl01'];
if (!theForm) {
theForm = document.ctl01;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebSite snel
or/WebResource.axd?d=OB3DXFmeGEW335-Ghcm3qA2&t=634247394853275029"
type="text/javascript"></script>
<script src="/WebSite snel
or/WebResource.axd?d=FsnCDZbIClMjI862o3FMCHxAzkRDxUIUGfic0kVkDmM1&t=634247394853275029"
type="text/javascript"></script>
<script src="/WebSite snel
or/WebResource.axd?d=B6homjOlxY9K9yrHKHWBYdFDWyim9P6QV6H9Eoj9Bzw1&t=634247394853275029"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" &&
ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>
<div class="aspNetHidden">
<input type="hidden" name="__EVENTVALIDATION"
id="__EVENTVALIDATION"
value="/wEWBQLSlYjmBwLFyvjkDwLQzbOWAgKVu47QDwKnwKnjBc7NIN04pMf6HPmFDdudPU6T5PUBfFeZUYs+YVyKjOdF"
/>
</div>
<div class="page">
<div class="header">
<div class="loginDisplay">
<table class="style1">
<tr>
<td class="style2">
<img id="Image1"
src="../Images/HAUT_01.gif" style="height:92px;width:756px;text-align: center;
margin-left: 0px" />
</td>
<td style="text-align: center">
[ <a href="Login.aspx"
id="HeadLoginView_HeadLoginStatus0">Se connecter</a> ]
</td>
</tr>
</table>
</div>
<div class="clear hideSkiplink">
<a href="#NavigationMenu_SkipLink"><img
alt="Skip Navigation Links"
src="/WebSite%20snel%20or/WebResource.axd?d=0M5cjhMmnyCQWKCnBe5dBA2&t=634247394853275029"
width="0" height="0" style="border-width:0px;" /></a><div
class="menu" id="NavigationMenu">
<ul class="level1">
<li><a class="level1"
href="../Default.aspx">Accueil</a></li><li><a
class="level1"
href="../Payement.aspx">Payement</a></li><li><a
class="popout level1" href="../Apropos%20de%20nous.aspx">À propos
de</a><ul class="level2">
<li><a class="level2"
href="../Service%20Informatique.aspx">Services
Informatique</a></li><li><a class="level2"
href="../Services%20Technique.aspx">Services
Technique</a></li><li><a class="level2"
href="../Service%20M%C3%A9dicale.aspx">Services
Médicale </a></li><li><a class="level2"
href="../Service%20Commerciale.aspx">Services
Commerciale</a></li><li><a class="level2"
href="../Structure%20organisationnelle.aspx">Structure
organisationnelle</a></li>
</ul></li><li><a class="level1"
href="../Historique.aspx">Historiaue</a></li><li><a
class="level1" href="../Siutqtiogeo.aspx">Situation
géo</a></li><li><a class="level1"
href="../Mission.aspx">Mission</a></li><li><a
class="level1" href="../Actualites.aspx">Actualités du
jour</a></li><li><a class="level1"
href="ChangePassword.aspx">Modifier PS</a></li>
</ul>
</div><a id="NavigationMenu_SkipLink"></a>
</div>
</div>
<div class="main">
<h2>
Se connecter
</h2>
<p>
Entrez un nom d'utilisateur et un mot de passe.
<a id="MainContent_RegisterHyperLink"
href="Register.aspx?ReturnUrl=">S'inscrire</a> si vous n'avez pas de
compte.
</p>
<span class="failureNotification">
</span>
<div
id="MainContent_LoginUser_LoginUserValidationSummary"
class="failureNotification" style="display:none;">
</div>
<div class="accountInfo">
<fieldset class="login">
<legend>Informations de
compte</legend>
<p>
<label
for="MainContent_LoginUser_UserName"
id="MainContent_LoginUser_UserNameLabel">Nom
d'utilisateur :</label>
<input
name="ctl00$MainContent$LoginUser$UserName" type="text"
id="MainContent_LoginUser_UserName" class="textEntry" />
<span
id="MainContent_LoginUser_UserNameRequired" title="Un nom d'utilisateur
est requis." class="failureNotification"
style="visibility:hidden;">*</span>
</p>
<p>
<label
for="MainContent_LoginUser_Password"
id="MainContent_LoginUser_PasswordLabel">Mot de
passe :</label>
<input
name="ctl00$MainContent$LoginUser$Password" type="password"
id="MainContent_LoginUser_Password" class="passwordEntry" />
<span
id="MainContent_LoginUser_PasswordRequired" title="Un mot de passe est requis."
class="failureNotification" style="visibility:hidden;">*</span>
</p>
<p>
<input
id="MainContent_LoginUser_RememberMe" type="checkbox"
name="ctl00$MainContent$LoginUser$RememberMe" />
<label
for="MainContent_LoginUser_RememberMe"
id="MainContent_LoginUser_RememberMeLabel" class="inline">Maintenir la
connexion</label>
</p>
</fieldset>
<p class="submitButton">
<input type="submit"
name="ctl00$MainContent$LoginUser$LoginButton" value="Se connecter"
onclick="javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("ctl00$MainContent$LoginUser$LoginButton",
"", true, "LoginUserValidationGroup",
"", false, false))" id="MainContent_LoginUser_LoginButton"
/>
</p>
</div>
</div>
<div class="clear">
</div>
</div>
<div class="footer">
</div>
<script type="text/javascript">
//<![CDATA[
var Page_ValidationSummaries = new
Array(document.getElementById("MainContent_LoginUser_LoginUserValidationSummary"));
var Page_Validators = new
Array(document.getElementById("MainContent_LoginUser_UserNameRequired"),
document.getElementById("MainContent_LoginUser_PasswordRequired"));
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var MainContent_LoginUser_LoginUserValidationSummary =
document.all ? document.all["MainContent_LoginUser_LoginUserValidationSummary"]
:
document.getElementById("MainContent_LoginUser_LoginUserValidationSummary");
MainContent_LoginUser_LoginUserValidationSummary.validationGroup
= "LoginUserValidationGroup";
var MainContent_LoginUser_UserNameRequired = document.all ?
document.all["MainContent_LoginUser_UserNameRequired"] :
document.getElementById("MainContent_LoginUser_UserNameRequired");
MainContent_LoginUser_UserNameRequired.controltovalidate =
"MainContent_LoginUser_UserName";
MainContent_LoginUser_UserNameRequired.errormessage = "Un nom
d\'utilisateur est requis.";
MainContent_LoginUser_UserNameRequired.validationGroup =
"LoginUserValidationGroup";
MainContent_LoginUser_UserNameRequired.evaluationfunction =
"RequiredFieldValidatorEvaluateIsValid";
MainContent_LoginUser_UserNameRequired.initialvalue = "";
var MainContent_LoginUser_PasswordRequired = document.all ?
document.all["MainContent_LoginUser_PasswordRequired"] :
document.getElementById("MainContent_LoginUser_PasswordRequired");
MainContent_LoginUser_PasswordRequired.controltovalidate =
"MainContent_LoginUser_Password";
MainContent_LoginUser_PasswordRequired.errormessage = "Un mot de
passe est requis.";
MainContent_LoginUser_PasswordRequired.validationGroup =
"LoginUserValidationGroup";
MainContent_LoginUser_PasswordRequired.evaluationfunction =
"RequiredFieldValidatorEvaluateIsValid";
MainContent_LoginUser_PasswordRequired.initialvalue = "";
//]]>
</script>
<script type='text/javascript'>new Sys.WebForms.Menu({
element: 'NavigationMenu', disappearAfter: 500, orientation: 'horizontal',
tabIndex: 0, disabled: false });</script>
<script type="text/javascript">
//<![CDATA[
var Page_ValidationActive = false;
if (typeof(ValidatorOnLoad) == "function") {
ValidatorOnLoad();
}
function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
else {
return true;
}
}
//]]>
</script>
</form>
</body>
</html>
v Page paiement en ligne
La création de la page personnelle de l'enseignant se
fait en deux étapes : Saisir les informations personnelles et ensuite
saisir les informations de la facture.
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master"
culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<script runat="server">
Protected Sub TextBox1_TextChanged(ByVal sender As Object,
ByVal e As System.EventArgs)
End Sub
Protected Sub TextBox2_TextChanged(ByVal sender As Object,
ByVal e As System.EventArgs)
End Sub
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent"
Runat="Server">
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
width: 78px;
}
.style3
{
height: 22px;
font-size: 24pt;
text-align: center;
font-weight: 700;
}
.style5
{
height: 21px;
width: 274px;
font-size: 10pt;
color: #FF0000;
}
.style6
{
font-size: 10pt;
}
.style9
{
height: 21px;
text-align: right;
font-family: "Segoe UI";
text-decoration: overline;
}
.style10
{
width: 274px;
text-align: center;
}
.style11
{
font-size: 10pt;
text-align: justify;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent"
Runat="Server">
<table class="style1">
<tr>
<td class="style5">
<strong>Form paiement </strong>
</td>
<td colspan="2" class="style9">
<a
href="Default.aspx">Accueil</a></td>
</tr>
<tr>
<td class="style3" colspan="3">
Règlement de sécurité en
ligne de votre facture</td>
</tr>
<tr>
<td class="style6">
</td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="style6">
NOM ET POSTNOM</td>
<td colspan="2">
<asp:TextBox ID="TextBox2" runat="server"
Width="341px"
meta:resourcekey="TextBox2Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
PA</td>
<td colspan="2">
<asp:TextBox ID="TextBox3" runat="server"
Width="273px"
meta:resourcekey="TextBox3Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
REFERENCE DE LA FACTURE</td>
<td colspan="2">
<asp:TextBox ID="TextBox4" runat="server"
Width="272px"
meta:resourcekey="TextBox4Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
DESIGNATION FACTURE</td>
<td colspan="2">
<asp:TextBox ID="TextBox5" runat="server"
Width="270px"
meta:resourcekey="TextBox5Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
MONTANT PAYE</td>
<td colspan="2">
<asp:TextBox ID="TextBox6" runat="server"
Width="170px"
meta:resourcekey="TextBox6Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
NUMERO BV</td>
<td colspan="2">
<asp:TextBox ID="TextBox7" runat="server"
Width="169px"
meta:resourcekey="TextBox7Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
COURRIEL ABONNE</td>
<td colspan="2">
<asp:TextBox ID="TextBox8" runat="server"
Width="205px"
meta:resourcekey="TextBox8Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
NUMERO COMPTE ABONNE</td>
<td colspan="2">
<asp:TextBox ID="TextBox9" runat="server"
Width="202px"
meta:resourcekey="TextBox9Resource1"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style6">
</td>
<td>
<asp:Button ID="CancelPushButton"
runat="server" style="font-weight: 700"
Text="Cancel"
meta:resourcekey="Button1Resource1" />
</td>
<td>
<asp:Button ID="SendPushButton" runat="server"
style="font-weight: 700" Text="Send"
meta:resourcekey="Button2Resource1" />
</td>
</tr>
<tr>
<td class="style11" colspan="3">
<em>Nous ne revendons, ni ne communiquerons
en aucune manière votre e-mail, vous
ne serez inscrit à aucune liste de
diffusion ou programme publicitaire. Vous
disposez d'un droit
d'accès, de modification, de rectification et de suppression
de données qui nous concernent (Article 34
de la loi ''Informatique et
libertés'').</em></td>
</tr>
<tr>
<td class="style6">
</td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="style10">
Contacts</td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="style6">
<span lang="FR"
style="font-size:8.0pt;font-family:"Segoe UI";
color:dimgray;mso-ansi-language:FR">Couriels:
</span>
<span
style="font-size:8.0pt;font-family:"Segoe
UI";color:dimgray">
<a href="mailto:snelnk@yahoo.fr"><span
lang="FR" style="mso-ansi-language:FR">
snelnk@yahoo.fr</span></a></span><span lang="FR"
style="font-size:8.0pt;font-family:"Segoe
UI";color:dimgray;
mso-ansi-language:FR"> /</span><span
style="font-size:8.0pt;font-family:
"Segoe UI";color:dimgray"><a
href="mailto:webmaster@snelnk.com"><span lang="FR"
style="mso-ansi-language:FR">webmaster@snelnk.com</span></a></span><span
style="font-size:8.0pt;font-family:"Segoe
UI";color:dimgray;mso-ansi-language:
FR"> </span></td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="style6">
<span
style="font-size:8.0pt;font-family:"Segoe UI";
color:dimgray">Téléphone: +243 (0)994 254
848<u1:p></u1:p></span></td>
<td colspan="2">
</td>
</tr>
<tr>
<td class="style6">
<span lang="FR"
style="font-size:8.0pt;font-family:"Segoe UI";
color:dimgray;mso-ansi-language:FR">AV. DES ORCHIDEES/
ENTREE DE L'OFIDA/GOMA</span><span
lang="FR"
style="mso-ansi-language:FR"><o:p></o:p></span></td>
<td colspan="2">
</td>
</tr>
</table>
</asp:Content>
|