Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2764 → Rev 2766

/web/css/index_style.css
0,0 → 1,324
html {
background: url(/images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
 
body {
}
 
.error-margin {
margin-left: 0;
margin-right: 0;
}
 
#gui {
min-width: 452px;
/*
position: relative;
top: 3vh;
max-width: 950px;*/
}
 
.explanation_net_pb {
color: red;
margin-bottom: 2px;
font-size: calc(12px + 0.2vw);
}
 
#contenu_acces {
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
 
/* get the main box under banner*/
padding-top: 5px;
z-index: 5;
top: -5px;
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 0px 10px 10px #000;
}
 
 
/* style de la page accès controlé*/
.banner {
z-index:10;
display: flex;
align-items: center;
margin-top: 5vh;
position: relative;
background-image: linear-gradient(black,#222222);
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
border-radius: 10px;
}
#cadre_titre .titre_controle {
color: white;
font-size: calc(20px + 2.2vw);
}
#cadre_titre .titre_refus {
color: red;
font-size: calc(20px + 2.2vw);
}
#acces_controle {
text-align: center;
font-size: calc(20px + 1.5vw);
padding-top: 25px;
padding-bottom: 32px;
margin: 0px;
}
@media(max-width:420px) {
 
#acces_controle {
text-align: left !important;
}
}
.domain_allowed_title {
margin-bottom: 0px;
}
 
/* Style de police */
 
BODY, :link, :visited, :hover:link, :hover:visited {
font-family: "DejaVu Sans";
}
INPUT, #box_url {
font-family: arial;
}
#acces_controle, #box_url, #cadre_titre SPAN {
font-weight: bold;
}
.box_menu :link , .box_menu :visited, .box_menu :hover:link, .box_menu :hover:visited {
text-decoration: none;
color: black;
font-size: calc(14px + 0.2vw);
font-weight: bold;
}
.box_menu:hover {
background-color: rgba(5,55,64,0.2);
}
.box_menu {
display: flex;
align-items: center;
height: 60px;
position: relative;
background-color: #efefef;
padding: 10px;
border-radius: 10px;
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
margin-top: 30px;
margin-bottom: 30px;
 
}
.box_menu SPAN {
display: flex;
align-items: center;
}
.box_menu A{
position: absolute;
left: calc(100px + 1vw);
}
.box_menu IMG {
width: calc(80px + 1vw);
}
 
.img-organisme{
margin-top: 1vh;
margin-bottom: 1vh;
margin-right: auto;
margin-left: auto;
}
/* shift menu items left and right in an alternating fashion if enough space: */
@media(min-width:500px){
.box_menu {
max-width: 90%;
}
 
.box_menu_right {
max-width: 90%;
left: 10%;
}
.box_menu_right A {
right: 100px !important;
left: 5% !important;
}
 
.box_menu_right IMG {
position: absolute;
top: -18px;
right: 0px;
}
}
 
#box_infos IMG {
position: absolute;
bottom: -15px;
right: 0px;
width: 80px;
}
 
 
.div-cache {
visibility: hidden;
position: absolute;
top: -1000px;
}
 
/*Couleurs de fond */
 
INPUT, #contenu_acces, #contenu_error, #logon, #auth_reussi {
background-color: #ffffff;
}
 
/* Règles des balises HTML */
 
H1, H2, #aide-certif {
text-align: center;
padding: 0px;
margin: 3px;
}
P, UL, LI{
text-align: justify;
}
 
BODY {
text-align: center;
font-size: 12px;
margin: 0px;
}
H1 {
font-size: 55px;
}
H2 {
font-size: 30px;
}
H6, #aide-certif{
font-size: 100%;
}
UL {
padding-left: 20px;
margin: 0px;
margin-bottom: 5px;
}
LI {
list-style-type: square;
}
TABLE {
font-size: 90%;
}
INPUT {
border: #666666 1px solid;
padding: 2px;
font-family: arial;
height: 22px;
}
 
#contenu_acces SPAN {
font-family: "courier new";
}
#contenu_error SPAN {
font-family: "courier new";
}
 
.info-box-container {
margin-top: 30px;
margin-bottom: 30px;
height: 100%;
}
 
 
#box_infos {
background-color: #efefef;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
border-radius: 10px;
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
}
 
/* When the the infobox goes bellow the main one (col-xs), it gets a dynamic height*/
@media(max-width:768px){
#box_infos {
height:100%;
}
}
 
.box_infos_titles {
font-size: calc(14px + 0.15vw);
font-weight: bold;
color: black;
margin-top: 5px;
}
 
.box_infos_explanations {
font-size: calc(13px + 0.11vw);
margin-bottom: 0px;
}
 
.box_infos_titles A {
color: black;
}
/*
#box_infos :link, #box_info :visited {
text-decoration: none;
}
#box_infos IMG {
max-width: 100px;
}
#box_infos h2 {
color: black;
font-weight: bold;
font-size: calc(14px + 0.4vw);
margin-bottom: 5px;
 
}
 
#box_infos P {
font-size: calc(12px + 0.3vw);
}
 
#box_infos A {
color: black;
font-weight: bold;
}*/
#corner {
position: fixed;
bottom: 0;
right: 0;
}
#adm {
display: block;
width: 100px;
height: 100px;
}
.corn IMG:hover {
position: absolute;
width: 100px;
height: 100px;
top: 0px;
left: 0px;
}
 
.corn IMG {
position: absolute;
width: 50px;
height: 50px;
top: 75px;
left: 75px;
transition: .2s;
}
/web/css/intercept.css
0,0 → 1,697
 
/*
CSS for ALCASAR interception page
Auteur : Stéphane ERARD
Licence : GNU GPL
*/
 
 
/* règles générales */
 
/* Couleurs de polices */
:link, :visited, :hover:link, :hover:visited, H2, #box_url, #box_refuse {
color: #000000;
}
BODY, H, #boite-logon {
color: #666666;
}
#acces_controle, .log_out {
color: white;
}
 
/* Style de police */
 
BODY, :link, :visited, :hover:link, :hover:visited {
font-family: "DejaVu Sans";
}
INPUT, #box_url {
font-family: arial;
}
#acces_controle, #box_url, #cadre_titre SPAN {
font-weight: bold;
}
.box_menu :link , .box_menu :visited, .box_menu :hover:link, .box_menu :hover:visited {
text-decoration: none;
}
/*Couleurs de fond */
 
BODY {
background-color: #666666;
}
 
INPUT, #contenu_acces, #contenu_error, #logon, #auth_reussi {
background-color: #ffffff;
}
 
/* Règles des balises HTML */
 
H1, H2, #aide-certif {
text-align: center;
padding: 0px;
margin: 3px;
}
P, UL, LI{
text-align: justify;
}
 
BODY {
background-image: url(/images/fond.png);
background-repeat: repeat-x;
text-align: center;
font-size: 12px;
margin: 0px;
}
H1 {
font-size: 55px;
}
H2 {
font-size: 30px;
}
H6, #aide-certif{
font-size: 100%;
}
UL {
margin: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 115px;
padding-top: 5px;
}
LI {
list-style-type: square;
padding-top: 2px;
}
TABLE {
font-size: 90%;
}
IMG {
height: 150px;
}
INPUT {
border: #666666 1px solid;
padding: 2px;
font-family: arial;
height: 22px;
}
 
/* taille et position des logos */
#logo-alcasar {
position: absolute;
bottom: 25px;
right: 5px;
height: 130px;
}
#logo-organ {
position: relative;
top: 0px;
right: -10px;
max-width: 150px;
max-height: 150px;
}
 
/* placement et proportion de la boite de saisie et de l'aide */
/* pour desktop */
.mobile-only {
display: none;
}
#logon {
position: relative;
width: 620px;
top: 20px;
/* ombrage css3*/
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
}
#boite-logon {
background-image: linear-gradient(#efefef, #d5d5d5);
padding: 10px;
width: 420px;
height: 189px;
}
#boite-logon TD {
padding-top: 10px;
padding-left: 30px;
}
#boite-info {
border: 0px;
margin-top: 25px;
width: 580px;
padding-top: 10px;
}
#username_input,
#password_input {
align: left;
}
/* hide placeholders for desktops */
::-webkit-input-placeholder {
/* WebKit browsers */
color: transparent;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: transparent;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: transparent;
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: transparent;
}
input::placeholder {
color: transparent;
}
textarea::-webkit-input-placeholder {
/* WebKit browsers */
color: transparent;
}
textarea:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: transparent;
}
textarea::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: transparent;
}
textarea:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: transparent;
}
textarea::placeholder {
color: transparent;
}
/* pour mobile */
@media (max-width: 900px)
{
.desktop-only {
display: none;
}
 
#logon {
position: relative;
width: 100%;
top: 10px;
/* ombrage css3*/
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
}
#boite-logon {
background-image: linear-gradient(#efefef, #d5d5d5);
padding: 10px;
width: 90%;
height: 189px;
}
#boite-logon TD {
padding-top: 10px;
}
input[type="text"]
{
font-size:30px;
color: grey;
}
input[type="password"]
{
font-size:30px;
color: grey;
}
#boite-logon INPUT {
border: #666666 1px solid;
padding: 2px;
font-family: arial;
height: 30px;
}
#authenticate-button {
font-size: 30px;
}
#boite-info {
border: 0px;
margin-top: 25px;
width: 580px;
padding-top: 10px;
}
#username_input,
#password_input {
align: center;
}
 
/* Placeholders */
::-webkit-input-placeholder {
/* WebKit browsers */
color: lightgrey;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: lightgrey;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: lightgrey;
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: lightgrey;
}
input::placeholder {
color: lightgrey;
}
textarea::-webkit-input-placeholder {
/* WebKit browsers */
color: lightgrey;
}
textarea:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: lightgrey;
}
textarea::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: lightgrey;
}
textarea:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: lightgrey;
}
textarea::placeholder {
color: lightgrey;
}
}
/*boite de dialogue de deconnection*/
/* pour desktop */
.mobile-only {
display: none;
}
#contenu_acces {
position: relative;
width: 640px;
height: 400px;
top: -20px;
padding-top: 0px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
#cadre_titre{
position: relative;
width: 730px;
height: 98px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
z-index: 2;
 
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 1px 4px 10px #000;
}
#boite_logo{
position: absolute;
top: -30px;
left: -50px;
width: 150px;
height: 150px;
z-index: 2;
}
/* pour mobile */
@media (max-width: 900px)
{
.desktop-only {
display: none;
}
.mobile-only {
display: inline;
}
#contenu_acces {
position: relative;
width: 90%;
height: 400px;
top: -20px;
padding-top: 0px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
#cadre_titre{
position: relative;
width: 100%;
height: 98px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
z-index: 2;
 
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 1px 4px 10px #000;
}
#boite_logo{
position: absolute;
top: -30px;
left: -10px;
width: 150px;
height: 150px;
z-index: 2;
}
}
 
#auth_reussi {
width: 450px;
margin-top: 12px;
padding-top: 5px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 0px;
}
.text_auth {
font-size: 20px;
}
.lien_deco {
text-align: center;
font-size: 18px;
margin-bottom: 15px;
}
.log_out {
font-size: 24px;
text-align: center;
margin-top: 30px;
}
#boite-logon, #auth_reussi, #logon {
border: 1px #efefef solid;
 
/* ombrage css3*/
 
-moz-box-shadow: 0px 0px 6px #000;
-webkit-box-shadow: 0px 0px 6px #000;
box-shadow: 0px 0px 6px #000;
}
#liens_redir {
position: relative;
bottom: -100px;
left: 90px;
text-align: center;
}
#liens_redir P A {
font-size: 12px;
text-align: center;
margin: 15px;
}
/* style de la page accès controlé*/
 
#cadre_titre .titre_controle {
background-image: url(/images/fond-bandeau.png);
background-repeat: repeat-x;
}
#cadre_titre .titre_refus {
background-image: url(/images/fond-bandeau-rouge.png);
background-repeat: repeat-x;
}
#acces_controle {
text-align: center;
font-size: 40px;
padding-top: 25px;
padding-bottom: 27px;
margin: 0px;
}
#logo_acces {
position: relative;
top: 0px;
left: 0px;
}
#contenu_error {
position: relative;
width: 640px;
height: auto;
top: -20px;
padding-top: 40px;
padding-bottom: 40px;
padding-left: 40px;
padding-right: 40px;
margin-left: auto;
margin-right: auto;
z-index: 1;
 
/* ombrage CSS3 */
 
-moz-box-shadow: 1px 1px 10px #000;
-webkit-box-shadow: 1px 1px 10px #000;
box-shadow: 1px 1px 10px #000;
}
 
#logo_acces IMG, #box_refuse IMG {
width: 95px;
height: 95px;
}
 
/* Boite des liens*/
 
#box_url {
position: relative;
top: 35px;
text-align: right;
font-size: 14px;
margin-right: 20px;
}
#cadre_titre SPAN {
position: absolute;
top: 70px;
width: 510px;
left: 110px;
font-size: 14px;
color: red;
text-align: center;
border: 2px red solid;
padding: 2px;
background-color: white;
}
#contenu_acces SPAN {
position: relative;
bottom: -150px;
font-family: "courier new";
}
#contenu_error SPAN {
position: relative;
bottom: -150px;
font-family: "courier new";
}
#box_refuse {
font-size: 16px;
margin-left: 130px;
margin-right: 20px;
margin-top: 40px;
width: 460px;
}
#box_refuse IMG {
position: absolute;
top: -10px;
left: -110px;
}
#box_refuse {
position: relative;
top: 55px;
}
 
.box_menu IMG {
position: absolute;
width: 70px;
height: 70px;
top: -25px;
}
.box_menu, #logon , #contenu_acces, #contenu_error, #acces_controle, #cadre_titre, #box_info{
/* Arrondi CSS3 Firefox*/
-moz-border-radius: 10px;
/* Arrondi CSS3 Autres Nav*/
border-radius: 10px;
}
.box_menu {
position: absolute;
height: 35px;
width: 310px;
background-image: url(/images/fond-bdd.png);
background-repeat: repeat-x;
 
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
}
.div-cache {
visibility: hidden;
position: absolute;
top: -1000px;
}
#box_conn {
top: 120px;
}
#box_certif {
top: 190px;
}
#box_mdp {
top: 260px;
}
#box_acc {
top: 330px;
}
#box_certif, #box_acc {
left: 60px;
text-align: right;
}
#box_conn, #box_mdp {
left: 20px;
text-align: left;
}
#box_conn IMG, #box_mdp IMG {
left: 5px;
}
#box_certif IMG, #box_acc IMG {
right: 5px;
}
#box_conn SPAN, #box_certif SPAN, #box_mdp SPAN, #box_acc SPAN {
position: relative;
font-size: 12px;
font-weight: bold;
top: 10px;
}
#box_conn SPAN, #box_mdp SPAN {
margin-left: 80px;
}
#box_certif SPAN, #box_acc SPAN {
margin-right: 80px;
}
 
/*Animation visuel des cadres liens (Gecko et ie9)*/
#box_conn:hover, #box_certif:hover, #box_mdp:hover, #box_acc:hover {
/* cursor: pointer;*/
background-image: url(/images/fond-bdd_rouge.png);
background-repeat: repeat-x;
 
/* ombrage CSS3 */
-moz-box-shadow: 0px 0px 0px #fff;
-webkit-box-shadow: 0px 0px 0px #fff;
box-shadow: 0px 0px 0px #fff;
}
#box_conn:hover a, #box_certif:hover a, #box_mdp:hover a, #box_acc:hover a, .box_menu a:hover, .box_menu a:visited:hover, #box_info :link:hover, #box_info :visited:hover {
color: red;
}
 
/* overwrite default rules for disabled menu boxes */
.box_menu.box-menu-disabled {
opacity: .2;
}
.box_menu.box-menu-disabled:hover a {
color: #000000 !important;
cursor: not-allowed !important;
}
.box_menu.box-menu-disabled:hover {
cursor: not-allowed !important;
background-image: url(/images/fond-bdd.png) !important;
background-repeat: repeat-x !important;
 
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666 !important;
-webkit-box-shadow: 1px 1px 6px #666 !important;
box-shadow: 1px 1px 6px #666 !important;
}
 
/*Mise en page de la bulle d'info (coté droit)*/
#box_info H2 {
font-size: 14px;
margin: 10px auto;
}
#box_info P {
font-size: 11px;
margin: 10px;
}
#box_info IMG {
position: absolute;
bottom: -60px;
right: 10px;
height: 120px;
}
#box_info {
position: absolute;
top: 118px;
right: 20px;
width: 230px;
height: 250px;
background-color: #efefef;
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
}
#box_info :link, #box_info :visited {
text-decoration: none;
}
#box_info UL{
text-align: left;
padding : 0 0 0 15px;
margin : 10px;
}
#box_info LI{
text-align: left;
font-size: 10px;
list-style-type : disc;
padding : 0 0 0 0;
}
#authorized_domain{
height: 40px;
width: 450px;
text-align: left;
display: block;
/* border: 1px solid red;*/
margin-right: 50px;
}
#authorized_domain LI{
text-align: center;
list-style-type : none;
margin-right : 10px;
display: block;
float: left;
}
 
#corner {
position: fixed;
bottom: 0;
right: 0;
}
 
#adm {
display: block;
width: 100px;
height: 100px;
}
.corn IMG:hover {
position: absolute;
width: 100px;
height: 100px;
top: 0px;
left: 0px;
}
 
.corn IMG {
position: absolute;
width: 50px;
height: 50px;
top: 75px;
left: 75px;
transition: .2s;
}
/web/css/intercepts.css
0,0 → 1,115
html {
background: url(/images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
min-width: 450px;
}
 
BODY {
font-color:#FFFFFF;
color:#FFFFFF;
}
.error-margin {
margin-left:0px;
margin-right:0px;
}
 
.banner {
z-index: 10;
position: relative;
margin-top: 5vh;
background-image: linear-gradient(black,#222222);
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
border-radius: 10px;
 
}
.background-form {
background-color: white;
border-radius:10px;
box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.7);
color: black;
padding-top: 20px;
top: -20px;
z-index: 5;
}
 
.organisme {
font-size: calc(25px + 3vw);
text-align: center;
margin-top: 15px;
margin-bottom: 15px;
font-weight: bold;
}
.titre-controle-acces {
font-size: calc(18px + 2vw);
text-align: center;
}
.titre-erreur {
font-size: calc(11px + 0.8vw);
text-align: center;
margin: 0px;
color: red;
}
.login-failed-reply {
font-size: calc(10px + 0.6vw);
margin-bottom: calc(10px + 0.1vw);
}
 
.inputs {
display: flex;
align-items: center;
}
 
#authorized_domain {
font-size: calc(10px + 0.5vw);
margin-top: 5px;
}
 
#boite-info {
width: 100%;
}
 
.boite-info-titre {
font-size: calc(20px + 0.3vw);
}
.boite-info-text {
font-size: calc(13px + 0.25vw);
}
.boite-info-spacing {
margin-top: 10px;
margin-bottom: 10px;
display: flex;
align-items: center;
}
 
.row_button {
margin-bottom: 5px;
}
 
.autoregistration_sms {
text-align: center;
font-size: calc(10px + 0.3vw);
margin-bottom: 20px;
}
 
.button {
font-size: calc(15px + 0.5vw);
}
 
 
.vertical-align {
display: flex;
align-items: center;
}
 
.img-xs-bottom {
margin-left: auto;
margin-right: auto;
height: 150px;
}
 
/web/css/pass.css
12,52 → 12,108
:link, :visited, :hover:link, :hover:visited, h1 {
color: #000000;
}
body {
color: #666666;
 
html {
background: url(/images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
min-width: 450px;
}
 
/* Style de police */
 
body, :link, :visited, :hover:link, :hover:visited {
font-family: "DejaVu Sans";
color: #000;
}
 
/* Règles des balises HTML */
 
/* Couleurs de fond */
p {
text-align: justify;
}
 
body {
background-color: #666;
.banner {
z-index:10;
display: flex;
align-items: center;
margin-top: 5vh;
position: relative;
background-image: linear-gradient(black,#222222);
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
border-radius: 10px;
}
 
.img_banner {
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
}
 
/* Règles des balises HTML */
.image {
margin-right: auto;
margin-left: auto;
}
 
p {
text-align: justify;
.titre_banner {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
}
 
body {
background-image: url(../images/fond.png);
background-repeat: repeat-x;
.titre_controle {
text-align: center;
font-size: 12px;
font-size: calc(24px + 1vw);
color: white;
margin: 0px;
}
 
table {
/* font-size: 90%;*/
#contenu_acces {
background-color: white;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
 
/* get the main box under banner*/
padding-top: 20px;
z-index: 5;
top: -20px;
/* ombrage css3 */
 
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 0px 10px 10px #000;
}
img {
height: 150px;
 
.input_row {
display: flex;
align-items: center;
margin-top: 15px;
margin-bottom: 15px;
}
 
/* Boite de dialogue de deconnection */
.label_name {
display: inline-block;
font-size: calc(14px + 0.3vw);
}
 
#page {
width: 590px;
margin: 12px auto;
#input_value {
font-size: calc(12px + 0.3vw);
}
 
.scorebarDisplay {
margin: 0px;
}
 
#buttons {
font-size: calc(14px + 0.3vw);
width: -moz-available;
}
 
#pass_chg {
position: relative;
}
120,22 → 176,7
font-size: 20px;
}
 
#btn_pass, #btn_retour {
float: right;
margin-top: 20px;
}
 
#btn_pass {
margin-right: 10px;
}
 
#btn_retour {
margin-right: 60px;
}
 
#btn_pass:hover {
}
 
#champs_pass {
margin: auto;
padding-top: 50px;
/web/css/pwdmeter.css
1,228 → 1,365
/*body {
color: #000;
font-family: Verdana,'Trebuchet MS','Lucida Grande', Arial, sans-serif;
font-size: .8em;
line-height: 1.25em;
margin: 0;
padding: 0;
text-align: center;
}
form,input,select,textarea {
margin:0;
padding:0;
}
h1,h2,h3,h4,h5,h6
{
font-family:Georgia, Tahoma, Arial, Serif;
font-weight:normal;
line-height:1.6em;
padding: 0;
margin: 0;
}
input {
font-size: 100%;
margin-bottom: 2px;
padding: 1px;
}
ol,ul {
line-height: 1.4em;
margin-bottom: 4px;
margin-top: 4px;
}
p {
line-height: 1.4em;
margin-bottom: 5px;
margin-top: 5px;
text-align: justify;
}
table {
background: #345;
margin-bottom: 10px;
width: 100%;
}
td {
background: #eee;
text-align: left;
vertical-align: top;
}
th {
background: #456;
color: #fff;
text-align: left;
vertical-align: top;
}*/
#content {
margin: 0 auto;
padding: 10px;
text-align: left;
width: 610px;
}
#linkstop {
background: #234;
color: #fff;
margin-top: -10px;
padding: 2px;
}
#linkstop a {
color: #fff;
}
#score {
color: #000;
font-size: 85%;
position:absolute;
text-align: center;
width: 100px;
z-index: 10;
}
#score,#rating,#standards {
font-weight: bold;
}
div.exceed {
background-image: url(../images/img_status_exceed.png);
}
div.fail {
background-image: url(../images/img_status_fail.png);
}
div.pass {
background-image: url(../images/img_status_pass.png);
}
div.warn {
background-image: url(../images/img_status_warn.png);
}
#scorebar {
background-image: url(../images/bg_strength_gradient.jpg);
background-repeat: no-repeat;
background-position: 0 0;
position:absolute;
width: 100px;
z-index: 0;
font-size: 13px;
 
}
#complexity {
position: relative;
left: 10px;
}
#scorebarBorder {
background: #333;
border: 1px #000 solid;
height: 16px;
margin-bottom: 2px;
width: 100px;
float: left;
}
#password {
border: 1px #000 solid;
font-size: 85%;
width: 100px;
}
#tablePwdScoring {
margin-bottom: 0 !important;
}
#listLegend li {
list-style: none;
padding-bottom: 4px;
margin-left: 0;
padding-left: 0;
}
#listLegend {
margin-left: 0;
padding-left: 0;
}
div.fail,div.pass,div.exceed,div.warn {
background-repeat: no-repeat;
background-position: left top;
height: 16px;
margin-left: auto;
margin-right: auto;
width: 16px;
}
td.exceed,td.fail,td.pass,td.warn {
color: #fff;
font-weight: bold;
text-align: center;
}
td.exceed {
background: #1C60A4;
}
td.fail {
background: #C00;
}
td.pass {
background: #093;
}
td.warn {
background: #f60;
}
div.box {
background: #456;
border: 1px #000 solid;
color: #fff;
height: 16px;
padding: 2px;
white-space: nowrap;
width: 38px;
}
div.boxMinus,div.boxPlus {
border: none;
color: #fff;
font-weight: bold;
padding: 2px;
text-align: left;
white-space: nowrap;
}
td.footnote {
background: #ddd;
font-size: 70%;
}
.bold {
font-weight: bold;
}
.clearNone {
clear: none;
}
.floatRight {
float: right;
}
.floatLeft {
float: left;
}
.hide {
display: none;
}
.imgLegend {
clear: left !important;
float: left !important;
position: relative !important;
margin-bottom: -3px !important;
margin-right: 5px !important;
}
.inline {
display: inline;
}
.italic {
font-style: italic;
}
.noPad {
padding: 0;
}
.show {
display: inline !important;
}
.txtLg {
font-size: 125%;
}
.txtSmall {
font-size: 75%;
}
.txtCenter {
text-align: center;
}
.txtRight {
text-align: right;
}
div.xtend {
clear: both !important;
line-height: 0;
height: 0;
}
body {
color: #000;
font-family: Verdana,'Trebuchet MS','Lucida Grande', Arial, sans-serif;
font-size: .8em;
line-height: 1.25em;
margin: 0;
padding: 0;
text-align: center;
}
form,input,select,textarea {
margin:0;
padding:0;
}
h1,h2,h3,h4,h5,h6
{
font-family:Georgia, Tahoma, Arial, Serif;
font-weight:normal;
line-height:1.6em;
padding: 0;
margin: 0;
}
input {
font-size: 100%;
margin-bottom: 2px;
padding: 1px;
}
ol,ul {
line-height: 1.4em;
margin-bottom: 4px;
margin-top: 4px;
}
p {
line-height: 1.4em;
margin-bottom: 5px;
margin-top: 5px;
text-align: justify;
}
table {
background: #345;
margin-bottom: 10px;
width: 100%;
}
td {
background: #eee;
text-align: left;
vertical-align: top;
}
th {
background: #456;
color: #fff;
text-align: left;
vertical-align: top;
}
#content {
margin: 0 auto;
padding: 10px;
text-align: left;
width: 610px;
}
#linkstop {
background: #234;
color: #fff;
margin-top: -10px;
padding: 2px;
}
#linkstop a {
color: #fff;
}
#score {
color: #000;
font-size: 85%;
position:absolute;
text-align: center;
width: 100px;
z-index: 10;
}
#score,#rating,#standards {
font-weight: bold;
}
div.exceed {
background-image: url(../images/img_status_exceed.png);
}
div.fail {
background-image: url(../images/img_status_fail.png);
}
div.pass {
background-image: url(../images/img_status_pass.png);
}
div.warn {
background-image: url(../images/img_status_warn.png);
}
#scorebar {
background-image: url(../images/bg_strength_gradient.jpg);
background-repeat: no-repeat;
background-position: 0 0;
position:absolute;
width: 100px;
z-index: 0;
}
#scorebarBorder {
background: #333;
border: 1px #000 solid;
height: 16px;
margin-bottom: 2px;
width: 100px;
}
#password {
border: 1px #000 solid;
font-size: 85%;
width: 100px;
}
#tablePwdScoring {
margin-bottom: 0 !important;
}
#listLegend li {
list-style: none;
padding-bottom: 4px;
margin-left: 0;
padding-left: 0;
}
#listLegend {
margin-left: 0;
padding-left: 0;
}
div.fail,div.pass,div.exceed,div.warn {
background-repeat: no-repeat;
background-position: left top;
height: 16px;
margin-left: auto;
margin-right: auto;
width: 16px;
}
td.exceed,td.fail,td.pass,td.warn {
color: #fff;
font-weight: bold;
text-align: center;
}
td.exceed {
background: #1C60A4;
}
td.fail {
background: #C00;
}
td.pass {
background: #093;
}
td.warn {
background: #f60;
}
div.box {
background: #456;
border: 1px #000 solid;
color: #fff;
height: 16px;
padding: 2px;
white-space: nowrap;
width: 38px;
}
div.boxMinus,div.boxPlus {
border: none;
color: #fff;
font-weight: bold;
padding: 2px;
text-align: left;
white-space: nowrap;
}
td.footnote {
background: #ddd;
font-size: 70%;
}
.bold {
font-weight: bold;
}
.clearNone {
clear: none;
}
.floatRight {
float: right;
}
.floatLeft {
float: left;
}
.hide {
display: none;
}
.imgLegend {
clear: left !important;
float: left !important;
position: relative !important;
margin-bottom: -3px !important;
margin-right: 5px !important;
}
.inline {
display: inline;
}
.italic {
font-style: italic;
}
.noPad {
padding: 0;
}
.show {
display: inline !important;
}
.txtLg {
font-size: 125%;
}
.txtSmall {
font-size: 75%;
}
.txtCenter {
text-align: center;
}
.txtRight {
text-align: right;
}
div.xtend {
clear: both !important;
line-height: 0;
height: 0;
}
a:link, a:visited
{
color:#459045;
text-decoration:none;
border-bottom:none;
}
a:hover, a:active
{
text-decoration:none;
border-bottom: 1px solid;
}
#header {
background:url(../images/top.gif) top repeat-x;
height:145px;
margin:0;
padding:0;
width:100%;
}
#logo {
height:100px;
width:900px;
margin:0 auto;
}
#blogname {
height:30px;
padding-left:12px;
padding-top:28px;
text-align:left;
}
h1#blogname a {
color:#fff;
font-size:1.3em;
}
#navigation
{
clear:both;
height:24px;
margin:0 auto;
padding:0 10px;
text-align:center;
width:880px;
font-size:1.1em;
}
#navigation a:link,
#navigation a:visited
{
background:#FFF url(../images/active1.gif) left bottom no-repeat;
color:#fff;
height:24px;
margin-right:2px;
padding-left:12px;
text-decoration:none;
border:none;
}
#navigation a:link,
#navigation a:link span,
#navigation a:visited,
#navigation a:visited span
{
cursor:hand;
display:block;
float:left;
border:none;
}
#navigation li
{
line-height:23px;
float:left;
list-style:none;
margin:0;
}
#navigation a:hover
{
background:url(../images/active1.gif) left bottom no-repeat;
color:#040;
height:24px;
padding-left:12px;
text-decoration:none;
border:none;
}
#navigation .current_page_item a:link,
#navigation .current_page_item a:visited
{
background:#FFF url(../images/current1.gif) left bottom no-repeat;
color:#fff;
height:27px;
line-height:24px;
margin-right:2px;
padding-left:15px;
text-decoration:none;
border:none;
}
#navigation .current_page_item a:hover
{
background:#FFF url(../images/current1.gif) left bottom no-repeat;
color:#AAC8E0;
height:27px;
margin-right:2px;
padding-left:15px;
text-decoration:none;
border:none;
}
#navigation ul
{
list-style:none;
margin:0;
padding:0;
}
#navigation a:link span,
#navigation a:visited span,
#navigation a:hover span
{
background:url(../images/active2.gif) right bottom no-repeat;
height:24px;
padding-right:12px;
border:none;
}
#navigation .current_page_item a:link span,
#navigation .current_page_item a:visited span,
#navigation .current_page_item a:hover span
{
background:url(../images/current2.gif) right bottom no-repeat;
height:27px;
padding-right:15px;
border:none;
}
#footer {
background:#223344 url(../images/top.gif) bottom repeat-x;
clear: both;
height: 60px;
padding: 10px;
text-align: center;
margin:0 auto;
color:#ccc;
}
.advertTop {
margin: -30px 0 5px 0;
}
.advertBtm {
margin: 0 0 20px 0;
}
.advertMid {
margin: 20px 0 20px -65px;
}
/web/css/status.css
1,152 → 1,172
/*
Feuille de style pour les pages d'interceptions coté utilisateurs d'ALCASAR
Auteur : Stéphane ERARD
Licence : GNU GPL
*/
HTML {
background: url(/images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
min-width: 450px;
}
 
BODY {
color: white;
}
 
/* règles générales */
 
/* Couleurs de polices */
:link, :visited, :hover:link, :hover:visited {
color: #000000;
.error-margin {
margin-left: 0px;
margin-right: 0px;
}
body {
color: #666666;
}
 
/* Style de police */
 
body, :link, :visited, :hover:link, :hover:visited {
font-family: "DejaVu Sans";
.main_box {
display: flex;
align-items: center;
}
 
.image-resize {
width: calc(100px + 5vh);
}
 
.image-resize-bottom {
width: calc(100px + 5vh);
margin-right: auto;
margin-left: auto;
}
 
/*Couleurs de fond */
.background-display {
background-color: white;
color: black;
text-align: center;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
 
body {
background-color: #666666;
/* get the main box under banner*/
padding-top: 25px;
z-index: 5;
top: -20px;
position: relative;
/* ombrage css3 */
-moz-box-shadow: 1px 4px 10px #000;
-webkit-box-shadow: 1px 4px 10px #000;
box-shadow: 0px 10px 10px #000;
 
}
 
.header_background {
z-index: 10;
display: flex;
align-items: center;
margin-top: 5vh;
position: relative;
background-image: linear-gradient(black,#222222);
/* ombrage CSS3 */
-moz-box-shadow: 1px 1px 6px #666;
-webkit-box-shadow: 1px 1px 6px #666;
box-shadow: 1px 1px 6px #666;
border-radius: 10px;
}
 
/* Règles des balises HTML */
.header_img {
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
}
 
p {
text-align: justify;
.header_title {
display: inline-block;
margin-top:10px;
margin-bottom:10px;
}
 
body {
background-image: url(/images/fond.png);
background-repeat: repeat-x;
.login-status {
font-size: calc(26px + 1.5vw);
text-align: center;
font-size: 12px;
margin: 0px;
font-weight: bold;
}
 
table {
font-size: 90%;
.welcome-user {
font-size: calc(20px + 1vw);
}
img {
height: 150px;
 
.error-table-border {
border: 0px;
}
 
/*Boite de dialogue de deconnection*/
.table {
margin-bottom: 10px;
}
.chilliLabel {
font-size: calc(14px + 0.4vw);
border-top: 1px solid rgba(0,0,0,0.6) !important;
}
 
#statusPage, #loggedOutPage {
width: 450px;
margin: 12px auto;
.chilliValue {
font-size: calc(12px + 0.4vw);
border-top: 1px solid rgba(0,0,0,0.6) !important;
}
 
#Chilli {
width: 450px;
margin: 10px auto 10px auto;
.button {
font-size: calc(16px + 0.4vw);
margin-bottom:10px;
}
 
#auth_reussi, #errorTable, #statusTable, #waitTable, #disconnectTable {
width: 450px;
padding-top: 5px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 0px;
.history {
text-align: right;
}
#auth_reussi {
margin-top: 12px;
}
.text_auth {
font-size: 20px;
}
.text_auth_welcom {
font-size: 16px;
}
.text_auth, .text_auth_welcom, .alert {
font-weight: bold;
}
.text_auth, .text_auth_welcom, .alert, .text_warn, #conHistoryLabel, .lien_deco, .log_out, .text_homelink {
 
.history_bottom {
text-align: left;
font-size: calc(12px + 0.5vw);
text-align: center;
}
.lien_deco {
font-size: 18px;
margin-bottom: 15px;
 
ul {
margin-bottom: 0px;
}
.log_out {
font-size: 24px;
margin-top: 30px;
.log-box {
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
box-shadow: 0px 0px 10px 10px #000;
padding-left: 0px;
color: black;
}
 
/*
Ajout stephane weber
*/
#errorTable, #statusTable, #waitTable, #disconnectTable {
background-color: #ffffff;
margin: 1px;
border: 1px #efefef solid;
 
/* ombrage css3*/
 
-moz-box-shadow: 0px 0px 6px #000;
-webkit-box-shadow: 0px 0px 6px #000;
box-shadow: 0px 0px 6px #000;
}
.chilliLabel {
.log-titre {
font-size: calc(7px + 0.6vw);
text-align: end;
font-weight: bold;
text-align: left;
}
.chilliValue {
/* A DEFINIR*/
 
.log-info {
font-size: calc(8px + 0.4vw);
margin-right: 4px;
text-align: end;
}
.wait {
height: 16px;
 
.log-titre-petit {
font-size: calc(16px + 0.5vw);
}
/*
Fin Ajout stephane weber
*/
#conHistoryLabel {
padding-top: 6px;
padding-bottom: 5px;
 
.log-info-petit {
font-size: calc(14px + 0.2vw);
}
#conHistory ul {
list-style-type: none;
text-align: left;
padding-left: 80px;
 
.waiting_box, .error_box, .logout_box {
display: flex;
align-items: center;
}
.alert {
font-size: 14px;
color: red;
margin-top: 5px;
height: 40px;
 
.waiting_msg, .error_msg, .logout_msg {
text-align: center;
display: inline-block;
font-size: calc(18px + 0.5vw);
}
.link_logout {
padding-top: 20px;
padding-bottom: 20px;
 
.nb_open_session {
margin-bottom: 5px;
}
.text_warn {
margin: 0px;
font-size: 9px;
}
 
#close-warning {
padding: 5px;
text-align: center;
font-weight: bold;
color: darkred;
}
/web/error.php
87,6 → 87,86
$l_explanation = "Erreur non reconnu.";
break;
}
} else if ($Language === 'de') { // German
switch ($_GET['error']) {
case 400:
$l_error = "Fehler 400";
$l_explanation = "Die Anfrage konnte aufgrund einer fehlerhaften Syntax vom Server nicht verarbeitet werden.<br>
Wahrscheinlich handelt es sich entweder um einen zu neuen Browser oder einen zu alten Server.";
break;
case 401:
$l_error = "Fehler 401";
$l_explanation = "Die Anfrage benötigt eine Authentifizierung.<br>
Dies bedeutet, dass der Server oder Teile des Servers passwortgeschützt sind.";
break;
case 403:
$l_error = "Fehler 403";
$l_explanation = "Der HTTP-Server hat die Anfrage verstanden, möchte sie jedoch nicht beantworten.<br>
Dieser Statuscode wird meistens benutzt wenn der Server nicht genau sagen möchte, wieso die Anfrage nicht verarbeitet wurde, oder wenn keine andere Antwort angemessen ist (zum Beispiel wenn der Server einem Intranet angehört und nur LAN Maschinen sich verbinden können).";
break;
case 404:
$l_error = "Fehler 404";
$l_explanation = "Der Server konnte die vom Client unter dieser URI angeforderte Ressource nicht finden.<br>
Dies bedeutet dass die URL die Sie angeklickt haben entweder falsch oder veraltet ist und mit keinem existierenden Dokument auf dem Server verbunden ist (Sie können versuchen Stück für Stück die URL-Komponenten von rechts zu entfernen um zum nächsten existierenden Pfad zu gelangen).";
break;
case 405:
$l_error = "Fehler 405";
$l_explanation = "Dieser Statuscode hängt mit dem Allow-Header zusammen und bedeutet dass die verwendete Methode für diese URI nicht unterstützt ist.";
break;
case 408:
$l_error = "Fehler 408";
$l_explanation = "Die Anfrage wurde vom Client nicht in der vom Server vorgegebenen Zeit beendet und wurde vom Server beendet.";
break;
case 410:
$l_error = "Fehler 410";
$l_explanation = "Die Ressource unter der angegebenen URI existiert nicht mehr. Leider kennt der Server keine Weiterleitungsadresse.";
break;
case 411:
$lerror = "Fehler 411";
$l_explanation = "Die Bearbeitung einer Anfrage ohne „Content-Length“-Header wird vom Server abgelehnt.";
break;
case 413:
$l_error = "Fehler 413";
$l_explanation = "Der Inhalt der Anfrage ist zu groß, die Anfrage wird abgelehnt.";
break;
case 414:
$l_error = "Fehler 414";
$l_explanation = "Der Server wird die Anfrage nicht beantworten, da die Anfrage-URI zu lang ist.";
break;
case 415:
$l_error = "Fehler 415";
$l_explanation = "Die Anfrage wird nicht beantwortet, da der Inhalt ein nicht unterstütztes Format beinhaltet.";
break;
case 500:
$l_error = "Fehler 500";
$l_explanation = "Der Server hat einen internen Fehler entdeckt und kann deshalb die Anfrage nicht bearbeiten.<br>
Diese Fehler kann beispielsweise durch eine Fehlkonfiguration des Servers entstehen.";
break;
case 501:
$l_error = "Fehler 501";
$l_explanation = "Der Server verfügt nicht über die nötige Funktionalität, um die Anfrage zu verarbeiten.<br>
Dies bedeutet, dass der Server die in der Anfrage verwendete HTTP-Methode nicht unterstützt (entweder ist der Browser zu neu oder der Server zu alt).";
break;
case 502:
$l_error = "Fehler 502";
$l_explanation = "Das Gateway hat eine falsche Antwort geliefert.<br>
Der Server kann die Anfrage nicht ausführen, weil im weiteren Verlauf ein Fehler aufgetreten ist.";
break;
case 503:
$l_error = "Fehler 503";
$l_explanation = "Der Dienst ist derzeit nicht verfügbar. Dies kann aufgrund hohen Datenaufkommens oder wegen Wartungsarbeiten passieren.<br>
Dies ist ein temporäres Problem und wird sich nach einiger Zeit lösen.";
break;
case 506:
$l_error = "Fehler 506";
$l_explanation = "Die Inhaltsvereinbarung der Anfrage ergibt einen Zirkelbezug.";
break;
default:
$l_error = "Unbekannt";
$l_explanation = "Unbekannter Fehler.";
break;
}
}
} else { // English
switch ($_GET['error']){
case 400:
/web/images/background.jpg
Cannot display: file marked as a binary type.
svn:mime-type = image/jpeg
Property changes:
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
/web/index.php
155,11 → 155,11
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Créer votre compte par SMS</a>";
$l_install_certif = "Installer le certificat racine";
$l_install_certif_more = "Installation du certificat de l'autorité racine d'ALCASAR";
$l_certif_explain = "Permet l'échange de données sécurisées entre votre station de consultation et le portail captif ALCASAR.<BR>Si ce certificat n'est pas enregistré sur votre station de consultation, il est possible que des alertes de sécurité soient émises par votre navigateur.<br><br>";
$l_certif_explain = "Permet une communication sécurisées entre vous et ALCASAR.<br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Aide complémentaire</a>";
$l_category = "catégorie :";
if (!$user->connected) {
$l_logout_explain = "Aucune session de consultation Internet n'est actuellement ouverte sur votre système.";
$l_logout_explain = "Aucune session n'est actuellement ouverte";
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Ouvrir une session Internet</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
171,7 → 171,7
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Changer votre mot de passe</a>";
$l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'accès à Internet.<br><br>Vous devez avoir un compte internet valide.";
$l_password_change_explain = "Vous devez avoir un compte internet valide.";
$l_sms_explain = "Vous redirige vers la page explicative de l'auto enregistrement par SMS.<br><br><strong>Identifiant:</strong> votre numéro de téléphone<br><strong>Mot de passe:</strong> votre message";
$l_back_page = "<a href=\"javascript:history.back()\">Page précédente</a>";
$l_service_sms = "Service SMS actif";
351,9 → 351,57
$l_explain_warn_date = "إطّلع على سجلات الاتصال الخاصة بك في";
$l_explain_warn_reason = "السبب المسرّح به: ";
$l_uam_domain = ":المواقع المسموحة ";
} else if ($Language === 'de') { // German
$l_access_denied = "Zugangskontrolle";
$l_access_welcome = "Willkommen bei ALCASAR";
$l_access_unavailable = "ZUGANG NICHT MÖGLICH";
$l_required_domain = "Website benötigt";
$l_explain_acc_access = "Hier ist das Kontrollcenter. Sie benötigen einen Account mit Administratorrechten.";
$l_explain_access_deny = "Sie haben versucht sich mit einer Seite zu verbinden, die möglicherweise unangemessene Inhalte beinhaltet.";
$l_explain_net_pb = "Offenbar funktioniert ihr Internetzugriff nicht.";
$l_contact_access_deny = "Kontaktieren Sie ihren Sicherheitsbeauftragten wenn Sie denken dass diese Filterung unangemessen ist.";
$l_contact_net_pb = "Kontaktieren Sie Ihren Netzwerkbeauftragten oder Ihren Internetanbieter für weitere Informationen.";
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Einen Account per SMS erstellen</a>";
$l_install_certif = "Das ALCASAR AC Zertifikat installieren";
$l_install_certif_more = "Das ALCASAR AC Zertifikat installieren";
$l_certif_explain = "Ermöglicht einen sicheren Datenaustausch zwischen Ihrem Computer und ALCASAR.<BR>Wenn dieses Zertifikat nicht in Ihrem Browser installiert ist, könnten Sicherheitswarnungen in Ihrem Browser erscheinen.<br><br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Weitere Informationen</a>";
$l_category = "Kategorie:";
if (!$user->connected) {
$l_logout_explain = "Zurzeit ist keine Internetsitzung auf Ihrem System aktiv";
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Eine neue Internetzsitzung eröffnen</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Die Sitzung des aktuell eingeloggten Users beenden.<br> Aktuell eingeloggter User: <a href=\"$logout_link\" title=\"Ausloggen $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history letzte Verbindungen:$connection_history";
$l_logout = "<a href=\"$logout_link\">Aus dem Internet ausloggen</a>";
} else {
$l_logout_explain = "Ihr System ($user->username) ist nicht authentifiziert.<br><br>$nb_connection_history Letzte Verbindungen:$connection_history";
$l_logout = "Informationen zur Verbindung";
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Passwort ändern</a>";
$l_password_change_explain = "Leitet Sie auf die Seite der Passwortänderung weiter.<br><br> Sie sollten bereits einen Account für den Internetzugriff haben.";
$l_sms_explain = "Leitet Sie auf die automatische Registrierungsseite weiter.<br><br><strong>Login:</strong> Ihre Telefonnummer<br><strong>Passwort:</strong> SMS content";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
$l_service_sms = "SMS-Service aktivieren";
$l_service_sms_n = "SMS-Service deaktivieren";
$l_acc_sms = "Automatische Registrierung per SMS";
$l_explain_warn = "Der Administrator wird ein Archiv erstellen, welches Ihre Logdaten für den Fall einer gerichtlichen Untersuchung beinhaltet.";
if (isset($_GET['url'])) {
$l_continue_link = "<a href=\"index.php?redirect=1&url=".urlencode($_GET['url'])."\" class=\"button\">Ich verstehe und möchte fortfahren.</a>";
} else {
$l_continue_link = "<a href=\"index.php\" class=\"button\">Ich verstehe und möchte fortfahren.</a>";
}
$l_title_warn="Lieber Benutzer,";
$l_explain_warn_name="Jemand namens ";
$l_explain_warn_ip="mit dieser IP: ";
$l_explain_warn_date="hat Ihre Verbindungsdaten eingesehen, für den ";
$l_explain_warn_reason="Grund: ";
$l_uam_domain = "Authorisierte Webseiten: ";
 
} else { // English
$l_access_denied = "Access control";
$l_access_welcome = "Welcome on ALCASAR";
$l_access_welcome = "Welcome to ALCASAR";
$l_access_unavailable = "ACCESS UNAVAILABLE";
$l_required_domain = "Required WEB site";
$l_explain_acc_access = "This center control the portal. You must have an administrative account.";
364,16 → 412,16
$l_sms_access = "<a href=\"//$hostname/autoregistrationinfo.php\">Create your account by SMS</a>";
$l_install_certif = "Install ALCASAR AC Certificate";
$l_install_certif_more = "Install ALCASAR AC Certificate";
$l_certif_explain = "Allow secure data exchange between your computer and ALCASAR portal.<BR>If this certificate isn't incorporated in your computer, some security alerts should appear in your browser.<br><br>";
$l_certif_explain = "This will allow secure communications for your browser and ALCASAR<br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
$l_category = "category:";
if (!$user->connected) {
$l_logout_explain = "No Internet consultation session is currently open on your system";
$l_logout_explain = "No session is currently open";
$l_logout = "<a href=\"//$hostname/index.php?url=$redirect_link\">Open an Internet session</a>";
} else {
if ($user->username != $user->mac) { // authentication exception or not
$l_logout_explain = "Close the session of the currently logged-in user.<br> User logged-on: <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history last connections:$connection_history";
$l_logout = "<a href=\"$logout_link\">Logoff from the internet</a>";
$l_logout_explain = "Close the session<br> User logged-on: <a href=\"$logout_link\" title=\"Disconnect user $user->username\"><b>$user->username</b></a><br><br>$nb_connection_history last connections:$connection_history";
$l_logout = "<a href=\"$logout_link\">Logoff from the Internet</a>";
} else {
$l_logout_explain = "Your system ($user->username) is in exception of authentication.<br><br>$nb_connection_history Last logins:$connection_history";
$l_logout = "Connections information";
380,7 → 428,7
}
}
$l_password_change = "<a href=\"https://$hostname/password.php\">Change your password</a>";
$l_password_change_explain = "Redirect you on password change page.<br><br> You should already have an Internet access account.";
$l_password_change_explain = "You should already have an Internet access account.";
$l_sms_explain = "Redirect you on auto registration page.<br><br><strong>Login:</strong> your phone number<br><strong>Password:</strong> SMS content";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
$l_service_sms = "SMS service enable";
421,9 → 469,8
if ($direct_access) {
// Read the "Domain allowed" file
$domainsAllowed = [];
$fileContent = file(DOMAIN_ALLOWED_LIST);
if ($fileContent) { // the file isn't empty
foreach ($fileContent as $line) {
$fileContent = file(DOMAIN_ALLOWED_LIST); if ($fileContent) { // the file isn't empty
foreach ($fileContent as $line) {
if (!empty(trim($line))) {
$domain_fields = explode('#', $line);
if (!empty(trim($domain_fields[1]))) {
433,6 → 480,7
'name' => trim($domain_fields[1]),
'domain' => trim($domain[1])
];
}
}
}
469,7 → 517,20
$filteredUrlHtml .= "<br>$l_category ".implode(', ', $categories);
}
}
////////////////////////////////////////////////////////////////////////
/////////////////////////// TEST VARIABLES /////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
//$service_SMS_status = true;
//$direct_access = true;
//$network_pb = false;
//$domainsAllowed[] = (object) [
// 'name' => 'name_test',
// 'domain' => 'domain_test'
//];
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
 
 
// Cleaning the cache
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
477,140 → 538,166
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
?>
 
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALCASAR - <?= $l_title ?></title>
<link type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/style_intercept.css" rel="stylesheet">
<?php if ($direct_access): ?>
<script>
function setBoxInfoContent(param){
document.getElementById('box_info').innerHTML = document.getElementById(param).innerHTML;
}
</script>
<?php endif; ?>
<link type="text/css" href="<?= ((!$direct_access) ? "//$hostname" : '') ?>/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="/css/index_style.css" rel="stylesheet">
 
</head>
<body<?= (($direct_access) ? ' onload="setBoxInfoContent(\'text_conn\');"' : '') ?>>
<?php if ($direct_access): ?>
<div id="cadre_titre" class="titre_controle">
<body>
 
<div class="col-xs-12 col-md-10 col-md-offset-1" id="gui">
 
<!-- HeaderBox -->
<div class="row banner">
<!-- Logo box -->
<div id="boite_logo" class="hidden-xs col-sm-2">
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
</div>
 
<!-- Title -->
<div id="cadre_titre" class="col-xs-12 col-sm-8">
<?php if ($direct_access): ?>
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
<?php if ($network_pb): ?>
<span><?= $l_explain_net_pb ?></span>
<div class="explanation_net_pb"><?= $l_explain_net_pb ?></div>
<?php endif; ?>
<?php else: // the user is intercepted ?>
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] == '1'): // if user need to be warned that someone reads his logs ?>
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus"><?= $l_title_warn ?></p>
<?php else: // the user is blacklisted (or whitelisted) ?>
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus"><?= $l_title ?></p>
<?php endif; ?>
<?php endif; ?>
<?php else: // the user is intercepted ?>
 
<div id="boite_logo">
<img src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
<?php // if user need to be warned that someone reads his logs ?>
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] == '1'): ?>
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus"><?= $l_title_warn ?></p>
</div>
<?php else: // the user is blacklisted (or whitelisted) ?>
<div id="cadre_titre" class="titre_refus">
<p id="acces_controle" class="titre_refus"><?= $l_title ?></p>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<div id="contenu_acces">
<div id="box_url">
<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): // Print blacklist categories ?>
<?= $filteredUrlHtml ?>
<?php endif; ?>
</div>
 
<?php if ($direct_access): ?>
<div class="box_menu<?= (!$network_pb) ? '' : ' box-menu-disabled' ?>" id="box_conn" <?= (!$network_pb) ? 'onmouseover="setBoxInfoContent(\'text_conn\');"' : 'title=\'Not available\'' ?>>
<span><?= $l_logout ?></span>
<img src="<?= $img_rep.$img_internet ?>">
<!-- Main content box -->
<div class="row">
<div id="contenu_acces" class="col-xs-12 col-lg-offset-1 col-lg-10">
<div id="box_url">
<?php // Print blacklist categories ?>
<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): ?>
<?= $filteredUrlHtml ?>
<?php endif; ?>
</div>
 
<div class="box_menu<?= ($ssl_enable) ? '' : ' box-menu-disabled' ?>" id="box_certif" <?= ($ssl_enable) ? 'onmouseover="setBoxInfoContent(\'text_certif\');"' : 'title=\'Not available\'' ?>>
<span><a href="<?= $certCa_link ?>"><?= $l_install_certif ?></a></span>
<img src="<?= $img_rep.$img_certificate ?>">
</div>
 
<div class="box_menu" id="box_mdp" onmouseover="setBoxInfoContent('text_mdp');">
<img src="<?= $img_rep.$img_pwd ?>">
<span><?= $l_password_change ?></span>
<!-- Menu -->
<div class="menu-container container col_xs_12 col-sm-7">
<?php if ($direct_access): ?>
<div class="box_menu<?= (!$network_pb) ? '' : ' box-menu-disabled' ?>" id="box_conn" <?= (!$network_pb) ? '' : 'title=\'Not available\'' ?>>
<span><?= $l_logout ?></span>
<div class="menu-image">
<img class="img-responsive" src="<?= $img_rep.$img_internet ?>">
</div>
</div>
<div class="box_menu_right box_menu<?= ($ssl_enable) ? '' : ' box-menu-disabled' ?>" id="box_certif" <?= ($ssl_enable) ? '' : 'title=\'Not available\'' ?>>
<span><a href="<?= $certCa_link ?>"><?= $l_install_certif ?></a></span>
<div class="menu-image">
<img class="img-responsive" src="<?= $img_rep.$img_certificate ?>">
</div>
</div>
 
<div class="box_menu" id="box_mdp" >
<div class="menu-image">
<img class="img-responsive" src="<?= $img_rep.$img_pwd ?>">
</div>
<span><?= $l_password_change ?></span>
</div>
 
<?php if ($service_SMS_status === true): ?>
<div class="box_menu_right box_menu" id="box_acc">
<span><?= $l_sms_access ?></span>
<div class="menu-image">
<img class="img-responsive menu-image" src="<?= $img_rep.$img_sms ?>">
</div>
</div>
<?php endif; ?>
</div>
 
<?php if ($service_SMS_status === true): ?>
<div class="box_menu" id="box_acc" onmouseover="setBoxInfoContent('text_acc');">
<span><?= $l_sms_access ?></span>
<img src="<?= $img_rep.$img_sms ?>">
</div>
<?php endif; ?>
 
<div class="div-cache" id="text_conn">
<h2><?= $l_logout ?></h2>
<p><?= $l_logout_explain ?></p>
<?php if (!empty($domainsAllowed)): ?>
<p><?= $l_uam_domain ?>
<!-- Info Box -->
<div class="info-box-container col-sm-5">
<div id="box_infos">
<h2 class="box_infos_titles"><?= $l_logout ?></h2>
<p class="box_infos_explanations"><?= $l_logout_explain ?>
<?php if (!empty($domainsAllowed)): ?>
<p class="domain_allowed_title"><?= $l_uam_domain ?></p>
<ul>
<?php foreach ($domainsAllowed as $domainAllowed): ?>
<li><a href="http://<?= $domainAllowed->domain ?>"><?= $domainAllowed->name ?></a></li>
<?php endforeach; ?>
</ul>
</p>
<?php endif; ?>
<img src="<?= $img_rep.$img_internet ?>">
</div>
<?php endif; ?>
 
<div class="div-cache" id="text_certif">
<h2><a href="<?= $certCa_link ?>"><?= $l_install_certif_more ?></a></h2>
<p><?= "$l_certif_explain $l_certif_explain_help" ?></p>
<img src="<?= $img_rep.$img_certificate ?>">
<h2 class="box_infos_titles"><?= $l_install_certif_more ?></a></h2>
<p class="box_infos_explanations"><?= "$l_certif_explain $l_certif_explain_help" ?></p>
<h2 class="box_infos_titles"><?= $l_password_change ?></h2>
<p class="box_infos_explanations"><?= $l_password_change_explain ?></p>
<?php if ($service_SMS_status === true): ?>
<h2 class="box_infos_titles"><?= $l_sms_access ?></h2>
<p class="box_infos_explanations"><?= $l_sms_explain ?></p>
<p style="color: green; text-align: center;"><?= $l_service_sms ?></p>
<?php endif; ?>
<?php else: // the user is intercepted ?>
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?>
<div id="box_refuse">
<img src="//<?= $hostname.$img_rep.$img_warning ?>">
<p><?= $l_explain_warn ?></p>
</div>
<div id="liens_redir">
<p><?= $l_continue_link ?></p>
</div>
<?php else: ?>
<div id="box_refuse">
<img src="//<?= $hostname.$img_rep.$img_false ?>">
<p><?= $l_explain ?></p>
</div>
<div id="liens_redir">
<p><?= $l_back_page ?></p>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
 
<div class="div-cache" id="text_mdp">
<h2><?= $l_password_change ?></h2>
<p><?= $l_password_change_explain ?></p>
<img src="<?= $img_rep.$img_pwd ?>">
</div>
 
<?php if ($service_SMS_status === true): ?>
<div class="div-cache" id="text_acc">
<h2><?= $l_sms_access ?></h2>
<p><?= $l_sms_explain ?></p>
<p style="color: green; text-align: center;"><?= $l_service_sms ?></p>
<img src="<?= $img_rep.$img_sms ?>">
</div>
<?php if (($network_pb) && (!$direct_access)): ?>
<span>Diagnostic : <?= $diagnostic ?></span>
<?php endif; ?>
 
<div id="box_info">
</div>
<?php else: // the user is intercepted ?>
<?php if (isset($_GET['warn']) && isset($_GET['url']) && $_GET['warn'] === '1'): // user need to be warned that someone reads his logs ?>
<div id="box_refuse">
<img src="//<?= $hostname.$img_rep.$img_warning ?>">
<p><?= $l_explain_warn ?></p>
</div>
<?php if ($direct_access): // display the admin logo (wheel) at the bottom right ?>
<div id="corner">
<div id="adm" class="corn">
<a href="<?= "https://$hostname/acc/" ?>"><img src="<?= $img_rep.$img_adm ?>"></a>
</div>
<div id="liens_redir">
<p><?= $l_continue_link ?></p>
</div>
<?php else: ?>
<div id="box_refuse">
<img src="//<?= $hostname.$img_rep.$img_false ?>">
<p><?= $l_explain ?></p>
</div>
<div id="liens_redir">
<p><?= $l_back_page ?></p>
</div>
<?php endif; ?>
<?php endif; ?>
 
<?php if (($network_pb) && (!$direct_access)): ?>
<span>Diagnostic : <?= $diagnostic ?></span>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
<div class="row col-xs-12">
<div id="boite_logo" class="col-xs-12 hidden-sm hidden-md hidden-lg">
<img class="img-responsive img-organisme" src="<?= ((!$direct_access) ? "//$hostname" : '') ?><?= $img_rep.$img_organisme ?>">
</div>
</div>
 
<?php if ($direct_access): // display the admin logo (wheel) at the bottom right ?>
<div id="corner">
<div id="adm" class="corn">
<a href="<?= "https://$hostname/acc/" ?>"><img src="<?= $img_rep.$img_adm ?>"></a>
</div>
</div>
<?php endif; ?>
 
</body>
</html>
/web/intercept.php
215,39 → 215,39
$l_uam_domain = ":المواقع المسموحة ";
$l_autoregistration = "تسجيل ذاتي (SMS)";
} else if ($Language === 'de') { // German
$l_ChilliError = "Die Authentifizierung ist erfolgreich durch die Nutzung des Portals erfolgt.";
$l_login = "Erfolgreiche Authentifizierung.<HR>Schlißen dieses fensters unterbricht die sitzung";
$l_ChilliError = "Sie wurden erfolgreich durch das Portal authentifiziert.";
$l_login = "Erfolgreiche Authentifizierung.<HR>Schlißen dieses fensters unterbricht die Sitzung";
$l_logout = "Beenden der Verbindung";
$l_loginfailed = "Authentifizierungsfehler Eigenverbrauch";
$l_loggingin = "Kennzeichnung auf dem Eigenverbrauch";
$l_loggedcont = "Zutrittskontrolle";
$l_loggedout = "Ihre Sitzung ist geschlossen";
$l_loginfailed = "Authentifizierungsfehler";
$l_loggingin = "Authentifizierung auf dem Portal";
$l_loggedcont = "Zugangskontrolle";
$l_loggedout = "Ihre Sitzung wurde geschlossen";
$l_user = "Benutzer";
$l_password = "Passwort";
$l_wait = "Bitte warten Sie einen Moment ...";
$l_onlinetime = "Online-Zeit:";
$l_remainingtime = "Abmelden:";
$l_encrypted = "Die Öffnung muß der Anschluß Zahlen";
$l_encrypted = "Die Verbindung muss verschlüsselt sein";
$l_boutonO = "Authentifizierung";
$l_boutonF = "Schließen";
$l_loggedin_stringl1 = "Information System Security";
$l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
$l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
$l_loggedin_stringl4 = "Die gespeicherten Daten nicht pouront genutzt werden, dass von einer Justizbehörde im Rahmen einer Untersuchung.";
$l_loggedin_stringl5 = "Diese Daten werden automatisch gelöscht nach einem Jahr.";
$l_loggedin_stringl6 = "Click <a href=\"$alcasarpath\">here</a> to change your password or to integrate the security certificate in your browser";
$l_loggedout_string = "Trennung des Portals erfolgt Gefangener!";
$l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, die Zurechenbarkeit und die Nicht-Abstreitbarkeit der Verbindungen zu sichern.";
$l_loggedin_stringl3 = "Ihre Tätigkeiten im Netzwerk werden im Hinblick auf den Schutz Ihrer Privatsphäre gespeichert.";
$l_loggedin_stringl4 = "Die gespeicherten Daten können von einer Justizbehörde im Falle einer Untersuchung genutzt werden.";
$l_loggedin_stringl5 = "Diese Daten werden nach einem Jahr automatisch gelöscht.";
$l_loggedin_stringl6 = "Klicken Sie <a href=\"$alcasarpath\">hier</a> um Ihr Password zu ändern oder das Sicherheitszertifikat für Ihren Browser herunterzuladen";
$l_loggedout_string = "Sie wurden vom Portal getrennt!";
$l_reply_0 = "Falscher Benutzername oder falsches Passwort";
$l_reply_1 = "Ihr Tageskontingent wurde erreicht (Dauer oder Volumen)";
$l_reply_2 = "Ihr monatliches Kontingent wurde erreicht (Dauer oder Volumen)";
$l_reply_3 = "You try to connect outside of your allowed timespan";
$l_reply_4 = "your account expired";
$l_reply_5 = "You have reached the maximum number of simultaneous logins";
$l_reply_6 = "Your authorized connexion time has been reached";
$l_online_time = "Online-zeit";
$l_remaining_time = "Restzeit";
$l_uam_domain = "Autorisierten websites : ";
$l_autoregistration = "Automatische registrierung";
$l_reply_3 = "Sie haben versucht sich außerhalb der erlaubten Zeiten zu verbinden";
$l_reply_4 = "Ihr Account ist abgelaufen";
$l_reply_5 = "Sie haben die maximale Anzahl an simultanen Verbindungen erreicht";
$l_reply_6 = "Ihre maximale Verbindungszeit wurde erreicht";
$l_online_time = "Online-Zeit";
$l_remaining_time = "Verbleibende Zeit";
$l_uam_domain = "Authorisierte Webseiten : ";
$l_autoregistration = "Automatische Registrierung";
} else if ($Language === 'nl') { // Dutch
$l_ChilliError = "De authenticatie moet een succes worden via de captive portal dienst.";
$l_login = "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
486,6 → 486,16
exit();
}
 
//////////////////////////////////////////////
///////////// TEST VARIABLES /////////////////
//////////////////////////////////////////////////////////////////
//$result = 5; // = 1/2/3/4/5
// reply is a displayed sentence
//$reply = 'dsfsdfsdfdsf'; // = ''/'Incorrect user/password'
//$service_SMS_status = true; // = true/false
// test of domain Allowed
//////////////////////////////////////////////////////////////////
 
// Cleaning the cache
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
527,96 → 537,163
}
}
</script>
<link rel="stylesheet" href="/css/style_intercept.css" type="text/css">
<link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="/css/intercepts.css" type="text/css">
 
</head>
<body onLoad="javascript:doOnLoad(<?= $result ?>,'<?= $userurl ?>','<?= $redirurl ?>','<?= $adminurl ?>','<?= $timeleft ?>')">
<center>
<div class="col-xs-12">
<?php if ($result === 2 || $result === 3 || $result === 5): // failed or logoff or notyet ?>
<div class ="row">
<div class="col-xs-12 col-sm-10 col-sm-offset-1">
<div class="row banner">
<div class="col-xs-8 col-xs-offset-2 col-sm-12 col-sm-offset-0">
<h1 class="organisme"><?= $organisme ?></h1>
</div>
</div>
<div class="row">
<form name="form1" class="form-horizontal col-xs-12 col-sm-12 col-md-10 col-md-offset-1 background-form" method="post" action="<?= $loginpath ?>">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3">
<h2 class="titre-controle-acces"><?= $l_loggedcont ?></h2>
</div>
<div class="hidden-xs hidden-sm col-md-3">
<?php
// Read the "Domain allowed" file
$tab = file(DOMAIN_ALLOWED_LIST);
if ($tab) { // the file isn't empty
echo '<div id="authorized_domain">'.$l_uam_domain.'</div>';
echo '<ul>';
foreach ($tab as $line) {
if (trim($line) !== '') { // the line isn't empty
$domain_allowed = explode('#', $line);
if (trim($domain_allowed[1]) !== '') {
$domain = explode('"', $domain_allowed[0]);
// remove every '.' from the beginning of domain
$domain[1] = ltrim($domain[1], '.');
echo '<li><a href="http://'.trim($domain[1]).'">'.trim($domain_allowed[1]).'</a></li>';
}
}
}
echo '</ul>';
}
?>
 
<?php if ($result === 2 || $result === 3 || $result === 5): // failed or logoff or notyet ?>
<div id="logon">
<table id="mobile-logon-header">
<tr>
<td width="20%">
<img id="logo-organ" class="mobile-only" src="/images/organisme.png">
</td>
<td width="60%">
<h1><?= $organisme ?></h1>
<h2><?= $l_loggedcont ?></h2>
<?php if ($result === 2): // failed ?>
<h3 style="text-align: center"><?= $l_loginfailed ?></h3>
<?php if ($reply): // traitement du reply ... ?>
<center><?= $reply ?><br><br></center>
</div>
</div>
<div>
<?php if ($result === 2): // failed ?>
<h3 class="titre-erreur"><?= $l_loginfailed ?>
<?php if ($reply): // traitement du reply ... ?>
: <?= $reply ?>
<?php endif; ?>
</h3>
<?php endif;
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout
?>
 
</div>
 
<div class="row inputs">
<div class="hidden-xs col-sm-2">
<img id="logo-organ" class="img-responsive" src="/images/organisme.png">
</div>
<div class="col-xs-12 col-sm-8">
<input type="hidden" name="challenge" value="<?= $challenge ?>">
<input type="hidden" name="userurl" value="<?= $userurl ?>">
<div class="form-group row">
<div class="col-xs-2 col-sm-2 control-label">
<p class="boite-info-text"><?= $l_user ?></p>
</div>
<div class="col-xs-8 col-sm-8" id="input_username">
<input type="text" class="form-control boite-info-text" name="username" autocomplete="off" placeholder="<?= $l_user ?>">
</div>
</div>
<div class="form-group row">
<div class="col-xs-2 col-sm-2 control-label">
<p class="boite-info-text"><?= $l_password ?></p>
</div>
<div class="col-xs-8 col-sm-8" id="input_password">
<input type="password" class="form-control boite-info-text" name="password" autocomplete="off" placeholder="<?= $l_password ?>">
</div>
</div>
</div>
<div class="hidden-xs col-sm-2">
</div>
</div>
<div class="row row_button">
<div class="col-xs-12 text-center">
<input value="<?= $l_boutonO ?>" class="btn btn-primary button" type="submit" name="button">
</div>
</div>
<?php if ($service_SMS_status): ?>
<div class= "row autoregistration_sms">
<a href="autoregistrationinfo.php"><?= $l_autoregistration ?></a>
</div>
<?php endif; ?>
<?php endif;
if ($userurl === 'http://logout/') $userurl = 'http://www.google.com'; // Avoid cyclic logout
?>
</td>
<td width="20%">
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<div class="row boite-info-spacing">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 boite-info-spacing">
<table id="boite-info" cellSpacing="0" cellPadding="0">
<tr class="boite-info-titre">
<td align="center"><font color="red"><b><?= $l_loggedin_stringl1 ?></b></font></td>
</tr>
<tr class="boite-info-text">
<td align="left">
<ul>
<li><?= $l_loggedin_stringl2 ?></li>
<li><?= $l_loggedin_stringl4 ?></li>
<li><?= $l_loggedin_stringl3 ?></li>
<li><?= $l_loggedin_stringl5 ?></li>
<li><?= $l_loggedin_stringl6 ?></li>
</ul>
</td>
</tr>
</table>
</div>
<div class="hidden-xs hidden-sm col-md-2">
<img id="logo-alcasar" class="img-responsive" src="/images/logo-alcasar.png">
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-12 hidden-md hidden-lg">
<img id="logo-alcasar" class="img-responsive img-xs-bottom" src="/images/logo-alcasar.png">
</div>
 
<div class="col-xs-6 hidden-sm hidden-md hidden-lg">
<img id="logo-organ" class="img-responsive img-xs-bottom" src="/images/organisme.png">
 
<img id="logo-alcasar" src="/images/logo-alcasar.png">
<form name="form1" method="post" action="<?= $loginpath ?>">
<input type="hidden" name="challenge" value="<?= $challenge ?>">
<input type="hidden" name="userurl" value="<?= $userurl ?>">
<table id="boite-logon">
<tr>
<td class="desktop-only" width="20%" rowspan="4"> <img id="logo-organ" src="/images/organisme.png"></td>
<td class="desktop-only" width="30%" align="right"><?= $l_user ?></td>
<td id="username_input" width="100%" align="center"><input type="text" maxLength="32" name="username" autocomplete="off" placeholder="<?= $l_user ?>"></td>
</tr>
<tr>
<td class="desktop-only" align="right"><?= $l_password ?></td>
<td id="password_input" width="100%" align="center"><input maxLength="32" type="password" name="password" autocomplete="off" placeholder="<?= $l_password ?>"></td>
</tr>
<tr>
<td height="23" id="authenticate-button" align="center"><input value="<?= $l_boutonO ?>" type="submit" name="button"></td>
<?php if ($service_SMS_status): ?>
<td><a href="autoregistrationinfo.php"><?= $l_autoregistration ?></a></td>
<?php endif; ?>
</tr>
</table>
</form>
<table id="boite-info" cellSpacing="0" cellPadding="0" width="80%">
<tr>
<td align="center"><font color="red"><b><?= $l_loggedin_stringl1 ?></b></font></td>
</tr>
<tr>
<td align="left">
<ul>
<li><?= $l_loggedin_stringl2 ?></li>
<li><?= $l_loggedin_stringl4 ?></li>
<li><?= $l_loggedin_stringl3 ?></li>
<li><?= $l_loggedin_stringl5 ?></li>
<li><?= $l_loggedin_stringl6 ?></li>
</ul>
</td>
</tr>
</table>
<?php
// Read the "Domain allowed" file
$tab = file(DOMAIN_ALLOWED_LIST);
if ($tab) { // the file isn't empty
echo '<div id="authorized_domain">'.$l_uam_domain;
foreach ($tab as $line) {
if (trim($line) !== '') { // the line isn't empty
$domain_allowed = explode('#', $line);
if (trim($domain_allowed[1]) !== '') {
$domain = explode('"', $domain_allowed[0]);
// remove every '.' from the beginning of domain
$domain[1] = ltrim($domain[1], '.');
echo '<a href="http://'.trim($domain[1]).'">'.trim($domain_allowed[1]).'</a> ';
</div>
</div>
<div class="row" style="text-align: center">
<div class="col-xs-8 col-xs-offset-2 col-sm-6 col-sm-offset-3 hidden-md hidden-lg">
<?php
// Read the "Domain allowed" file
$tab = file(DOMAIN_ALLOWED_LIST);
if ($tab) { // the file isn't empty
echo '<div id="authorized_domain">'.$l_uam_domain.'</div>';
echo '<ul>';
foreach ($tab as $line) {
if (trim($line) !== '') { // the line isn't empty
$domain_allowed = explode('#', $line);
if (trim($domain_allowed[1]) !== '') {
$domain = explode('"', $domain_allowed[0]);
// remove every '.' from the beginning of domain
$domain[1] = ltrim($domain[1], '.');
echo '<li><a href="http://'.trim($domain[1]).'">'.trim($domain_allowed[1]).'</a></li>';
}
}
}
echo '</ul>';
}
echo '</div>';
}
?>
?>
</div>
</div>
</div>
<?php endif; ?>
 
</center>
</body>
</html>
/web/password.php
81,17 → 81,17
$l_form_result1 = "Sua senha foi alterada com sucesso";
$l_form_result2 = "Erro ao tentar alterar a senha";
} else if ($Language === 'de') { // German
$l_title = "User password change";
$l_form_l1 = "User";
$l_form_l2 = "Old password";
$l_form_l3 = "New password";
$l_form_l4 = "New password (confirmation)";
$l_eval_pass = "Score :";
$l_title = "Password ändern";
$l_form_l1 = "Benutzername";
$l_form_l2 = "Altes Passwort";
$l_form_l3 = "Neues Passwort";
$l_form_l4 = "Neues Passwort bestätigen";
$l_eval_pass = "Wert :";
$l_passwordmeter = "Powered by 'Shibbo Password Analyser'";
$l_form_button_valid = "Modify";
$l_form_button_retour = "Cancel";
$l_form_result1 = "Your password has been successfuly changed";
$l_form_result2 = "Error when trying to change password";
$l_form_button_valid = "Bestätigen";
$l_form_button_retour = "Abbrechen";
$l_form_result1 = "Ihr Passwort wurde erfolgreich geändert.";
$l_form_result2 = "Fehler beim Ändern des Passworts";
} else if ($Language === 'nl') { // Dutch
$l_title = "User password change";
$l_form_l1 = "User";
197,10 → 197,12
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALCASAR - <?= $l_title ?></title>
<!--<link type="text/css" href="/css/index_style.css" rel="stylesheet">-->
<link rel="stylesheet" href="css/pwdmeter.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/pass.css" type="text/css">
<link rel="stylesheet" href="css/style_intercept.css" type="text/css">
<link rel="stylesheet" href="css/pwdmeter.css" type="text/css">
<!--[if lt IE 7]>
<link rel="stylesheet" href="css/ie.css" type="text/css">
<![endif]-->
207,233 → 209,273
<script src="js/pwdmeter.js"></script>
</head>
<body>
<div id="cadre_titre" class="titre_controle">
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
<div id="boite_logo"><img src="/images/organisme.png"></div>
</div>
<div id="contenu_acces">
<form name="master" action="<?= $current_page ?>" method="post">
<input type="hidden" name="action" value="checkpass">
<table id="champs_pass" border="0">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2" id="gui">
 
<!-- HeaderBox -->
 
<div class="row banner">
<!-- Logo box -->
<div id="boite_logo" class="img_banner hidden-xs col-sm-3 col-md-2 col-lg-2">
<img class="img-responsive" src="images/organisme.png">
</div>
 
<!-- Title -->
<div id="cadre_titre" class="titre_banner col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-0 col-md-8 col-lg-8">
<div class="row">
<p id="acces_controle" class="titre_controle"><?= $l_title ?></p>
</div>
<div class="row">
<?php if (isset($changePasswordMessage)): ?>
<?= $changePasswordMessage ?>
<?php endif; ?>
</div>
</div>
</div>
 
<!-- Main content box -->
<div class="row">
<form name="master" id="contenu_acces" action="<?= $current_page ?>" method="post" class="col-xs-12 col-sm-12 col-md-offset-1 col-md-10">
<input class="row" type="hidden" name="action" value="checkpass">
 
<div class="row input_row">
<div class="label_name col-xs-3 col-sm-3 col-md-4"><?= $l_form_l1 ?></div>
<div class="col-xs-6 col-sm-6 col-md-4">
<input type="text" name="login" class="form-control" id="input_value" value="" label="test">
</div>
</div>
 
<div class="row input_row">
<div class="label_name col-xs-3 col-sm-3 col-md-4"><?= $l_form_l2 ?></div>
<div class="col-xs-6 col-sm-6 col-md-4">
<input type="password" class="form-control" id="input_value" name="passwd" value="">
</div>
</div>
 
<div class="row input_row">
<div class="label_name col-xs-3 col-sm-3 col-md-4"><?= $l_form_l3 ?></div>
<div class="col-xs-6 col-sm-6 col-md-4">
<input class="form-control" id="input_value" type="password" name="newpasswd" id="passwordPwd" value="" autocomplete="off" onkeyup="chkPass(this.value);" />
</div>
<div class="col-xs-3 col-sm-3 col-md-4">
<input type="text" id="passwordTxt" name="passwordTxt" autocomplete="off" onkeyup="chkPass(this.value);" class="hide" />
</div>
</div>
<div class="row input_row">
<div class="label_name col-xs-3 col-sm-3 col-md-4"><?= $l_eval_pass ?></div>
<div class="col-xs-6 col-sm-6 col-md-4">
<div class="row scorebarDisplay">
<div id="scorebarBorder" class="col-xs-12 col-sm-12">
<div id="score" class="row">0%</div>
<div id="scorebar" class="row">&nbsp;</div>
</div>
</div>
<div class="row">
<div id="lien_pass" class="col-xs-12 col-sm-12"><?= $l_passwordmeter ?></div>
</div>
</div>
</div>
 
<div class="row input_row">
<div class="label_name col-xs-3 col-sm-3 col-md-4"><?= $l_form_l4 ?></div>
<div class="col-xs-6 col-sm-6 col-md-4">
<input type="password" class="form-control" id="input_value" name="newpasswd2" value="">
</div>
</div>
<div class="row input_row">
<div class="col-xs-5 col-xs-offset-1 col-sm-4 col-sm-offset-2">
<input id="buttons" class="btn btn-default" value="<?= $l_form_button_retour ?>" onclick="window.location.href = '<?= $homepage ?>';"></input>
</div>
<div class="col-xs-5 col-sm-4">
<button type="submit" class="btn btn-primary" id="buttons"><?= $l_form_button_valid ?></button>
</div>
</div>
</div>
</form>
<div class="row">
<div id="boite_logo" class="img_banner col-xs-12 hidden-sm hidden-md hidden-lg">
<img class="img-responsive image" src="images/organisme.png">
</div>
</div>
</div>
<div id="info_pass">
<table id="tablePwdStatus" cellpadding="5" cellspacing="1" border="0">
<tr>
<td class="first_item"><?= $l_form_l1 ?></td>
<td><input type="text" name="login" value="" label="test"></td>
<th colspan="2">Additions</th>
<th class="txtCenter">Type</th>
<th class="txtCenter">Rate</th>
<th class="txtCenter">Count</th>
<th class="txtCenter">Bonus</th>
</tr>
<tr>
<td width="1%"><div id="div_nLength" class="fail">&nbsp;</div></td>
<td width="94%">Number of Characters</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">+(n*4)</td>
<td width="1%"><div id="nLength" class="box">&nbsp;</div></td>
<td width="1%"><div id="nLengthBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nAlphaUC" class="fail">&nbsp;</div></td>
<td>Uppercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td nowrap="nowrap" class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaUC" class="box">&nbsp;</div></td>
<td><div id="nAlphaUCBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td class="first_item"><?= $l_form_l2 ?></td>
<td><input type="password" name="passwd" value=""></td>
<td><div id="div_nAlphaLC" class="fail">&nbsp;</div></td>
<td>Lowercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaLC" class="box">&nbsp;</div></td>
<td><div id="nAlphaLCBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td class="first_item"><?= $l_form_l3 ?></td>
<td>
<input type="password" name="newpasswd" id="passwordPwd" value="" autocomplete="off" onkeyup="chkPass(this.value);" />
<input type="text" id="passwordTxt" name="passwordTxt" autocomplete="off" onkeyup="chkPass(this.value);" class="hide" />
</td>
<td><div id="div_nNumber" class="fail">&nbsp;</div></td>
<td>Numbers</td>
<td class="txtCenter">Cond</td>
<td class="txtCenter italic">+(n*4)</td>
<td><div id="nNumber" class="box">&nbsp;</div></td>
<td><div id="nNumberBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td class="first_item"><?= $l_eval_pass ?></td>
<td>
<div id="scorebarBorder">
<div id="score">0%</div>
<div id="scorebar">&nbsp;</div>
</div>
<div id="complexity"></div>
</td>
<td><div id="div_nSymbol" class="fail">&nbsp;</div></td>
<td>Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*6)</td>
<td><div id="nSymbol" class="box">&nbsp;</div></td>
<td><div id="nSymbolBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td colspan="2" id="lien_pass"><?= $l_passwordmeter ?></td>
<td><div id="div_nMidChar" class="fail">&nbsp;</div></td>
<td>Middle Numbers or Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nMidChar" class="box">&nbsp;</div></td>
<td><div id="nMidCharBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td class="first_item"><?= $l_form_l4 ?></td>
<td><input type="password" name="newpasswd2" value=""></td>
<td><div id="div_nRequirements" class="fail">&nbsp;</div></td>
<td>Requirements</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nRequirements" class="box">&nbsp;</div></td>
<td><div id="nRequirementsBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td colspan="2" id="lien_pass">
<input type="submit" class="btn_form" id="btn_pass" value="<?= $l_form_button_valid ?>">
<input type="button" class="btn_form" id="btn_retour" value="<?= $l_form_button_retour ?>" onclick="window.location = '<?= $homepage ?>';">
<th colspan="6">Deductions</th>
</tr>
<tr>
<td width="1%"><div id="div_nAlphasOnly" class="pass">&nbsp;</div></td>
<td width="94%">Letters Only</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">-n</td>
<td width="1%"><div id="nAlphasOnly" class="box">&nbsp;</div></td>
<td width="1%"><div id="nAlphasOnlyBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nNumbersOnly" class="pass">&nbsp;</div></td>
<td>Numbers Only</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-n</td>
<td><div id="nNumbersOnly" class="box">&nbsp;</div></td>
<td><div id="nNumbersOnlyBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nRepChar" class="pass">&nbsp;</div></td>
<td>Repeat Characters (Case Insensitive)</td>
<td class="txtCenter">Comp</td>
<td nowrap="nowrap" class="txtCenter italic"> - </td>
<td><div id="nRepChar" class="box">&nbsp;</div></td>
<td><div id="nRepCharBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecAlphaUC" class="pass">&nbsp;</div></td>
<td>Consecutive Uppercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaUC" class="box">&nbsp;</div></td>
<td><div id="nConsecAlphaUCBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecAlphaLC" class="pass">&nbsp;</div></td>
<td>Consecutive Lowercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaLC" class="box">&nbsp;</div></td>
<td><div id="nConsecAlphaLCBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecNumber" class="pass">&nbsp;</div></td>
<td>Consecutive Numbers</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecNumber" class="box">&nbsp;</div></td>
<td><div id="nConsecNumberBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqAlpha" class="pass">&nbsp;</div></td>
<td>Sequential Letters (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqAlpha" class="box">&nbsp;</div></td>
<td><div id="nSeqAlphaBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqNumber" class="pass">&nbsp;</div></td>
<td>Sequential Numbers (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqNumber" class="box">&nbsp;</div></td>
<td><div id="nSeqNumberBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqSymbol" class="pass">&nbsp;</div></td>
<td>Sequential Symbols (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqSymbol" class="box">&nbsp;</div></td>
<td><div id="nSeqSymbolBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<th colspan="6">Legend</th>
</tr>
<tr>
<td colspan="6">
<ul id="listLegend">
<li><div class="exceed imgLegend">&nbsp;</div><span class="bold">Exceptional:</span> Exceeds minimum standards. Additional bonuses are applied.</li>
<li><div class="pass imgLegend">&nbsp;</div><span class="bold">Sufficient:</span> Meets minimum standards. Additional bonuses are applied.</li>
<li><div class="warn imgLegend">&nbsp;</div><span class="bold">Warning:</span> Advisory against employing bad practices. Overall score is reduced.</li>
<li><div class="fail imgLegend">&nbsp;</div><span class="bold">Failure:</span> Does not meet the minimum standards. Overall score is reduced.</li>
</ul>
</td>
</tr>
<?php if (isset($changePasswordMessage)): ?>
<tr>
<td colspan="2"><?= $changePasswordMessage ?></td>
</tr>
<?php endif; ?>
</table>
</form>
<table id="tablePwdNotes" cellpadding="5" cellspacing="1" border="0">
<tr>
<th>Quick Footnotes</th>
</tr>
<tr>
<td>
&bull; <strong>Flat:</strong> Rates that add/remove in non-changing increments.<br>
&bull; <strong>Incr:</strong> Rates that add/remove in adjusting increments.<br>
&bull; <strong>Cond:</strong> Rates that add/remove depending on additional factors.<br>
&bull; <strong>Comp:</strong> Rates that are too complex to summarize. See source code for details.<br>
&bull; <strong>n:</strong> Refers to the total number of occurrences.<br>
&bull; <strong>len:</strong> Refers to the total password length.<br>
&bull; Additional bonus scores are given for increased character variety.<br>
&bull; Final score is a cumulative result of all bonuses minus deductions.<br>
&bull; Final score is capped with a minimum of 0 and a maximum of 100.<br>
&bull; Score and Complexity ratings are not conditional on meeting minimum requirements.<br>
</td>
</tr>
</table>
</div>
</div>
<div id="info_pass">
<table id="tablePwdStatus" cellpadding="5" cellspacing="1" border="0">
<tr>
<th colspan="2">Additions</th>
<th class="txtCenter">Type</th>
<th class="txtCenter">Rate</th>
<th class="txtCenter">Count</th>
<th class="txtCenter">Bonus</th>
</tr>
<tr>
<td width="1%"><div id="div_nLength" class="fail">&nbsp;</div></td>
<td width="94%">Number of Characters</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">+(n*4)</td>
<td width="1%"><div id="nLength" class="box">&nbsp;</div></td>
<td width="1%"><div id="nLengthBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nAlphaUC" class="fail">&nbsp;</div></td>
<td>Uppercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td nowrap="nowrap" class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaUC" class="box">&nbsp;</div></td>
<td><div id="nAlphaUCBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nAlphaLC" class="fail">&nbsp;</div></td>
<td>Lowercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaLC" class="box">&nbsp;</div></td>
<td><div id="nAlphaLCBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nNumber" class="fail">&nbsp;</div></td>
<td>Numbers</td>
<td class="txtCenter">Cond</td>
<td class="txtCenter italic">+(n*4)</td>
<td><div id="nNumber" class="box">&nbsp;</div></td>
<td><div id="nNumberBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSymbol" class="fail">&nbsp;</div></td>
<td>Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*6)</td>
<td><div id="nSymbol" class="box">&nbsp;</div></td>
<td><div id="nSymbolBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nMidChar" class="fail">&nbsp;</div></td>
<td>Middle Numbers or Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nMidChar" class="box">&nbsp;</div></td>
<td><div id="nMidCharBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nRequirements" class="fail">&nbsp;</div></td>
<td>Requirements</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nRequirements" class="box">&nbsp;</div></td>
<td><div id="nRequirementsBonus" class="boxPlus">&nbsp;</div></td>
</tr>
<tr>
<th colspan="6">Deductions</th>
</tr>
<tr>
<td width="1%"><div id="div_nAlphasOnly" class="pass">&nbsp;</div></td>
<td width="94%">Letters Only</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">-n</td>
<td width="1%"><div id="nAlphasOnly" class="box">&nbsp;</div></td>
<td width="1%"><div id="nAlphasOnlyBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nNumbersOnly" class="pass">&nbsp;</div></td>
<td>Numbers Only</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-n</td>
<td><div id="nNumbersOnly" class="box">&nbsp;</div></td>
<td><div id="nNumbersOnlyBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nRepChar" class="pass">&nbsp;</div></td>
<td>Repeat Characters (Case Insensitive)</td>
<td class="txtCenter">Comp</td>
<td nowrap="nowrap" class="txtCenter italic"> - </td>
<td><div id="nRepChar" class="box">&nbsp;</div></td>
<td><div id="nRepCharBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecAlphaUC" class="pass">&nbsp;</div></td>
<td>Consecutive Uppercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaUC" class="box">&nbsp;</div></td>
<td><div id="nConsecAlphaUCBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecAlphaLC" class="pass">&nbsp;</div></td>
<td>Consecutive Lowercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaLC" class="box">&nbsp;</div></td>
<td><div id="nConsecAlphaLCBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nConsecNumber" class="pass">&nbsp;</div></td>
<td>Consecutive Numbers</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecNumber" class="box">&nbsp;</div></td>
<td><div id="nConsecNumberBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqAlpha" class="pass">&nbsp;</div></td>
<td>Sequential Letters (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqAlpha" class="box">&nbsp;</div></td>
<td><div id="nSeqAlphaBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqNumber" class="pass">&nbsp;</div></td>
<td>Sequential Numbers (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqNumber" class="box">&nbsp;</div></td>
<td><div id="nSeqNumberBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<td><div id="div_nSeqSymbol" class="pass">&nbsp;</div></td>
<td>Sequential Symbols (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqSymbol" class="box">&nbsp;</div></td>
<td><div id="nSeqSymbolBonus" class="boxMinus">&nbsp;</div></td>
</tr>
<tr>
<th colspan="6">Legend</th>
</tr>
<tr>
<td colspan="6">
<ul id="listLegend">
<li><div class="exceed imgLegend">&nbsp;</div><span class="bold">Exceptional:</span> Exceeds minimum standards. Additional bonuses are applied.</li>
<li><div class="pass imgLegend">&nbsp;</div><span class="bold">Sufficient:</span> Meets minimum standards. Additional bonuses are applied.</li>
<li><div class="warn imgLegend">&nbsp;</div><span class="bold">Warning:</span> Advisory against employing bad practices. Overall score is reduced.</li>
<li><div class="fail imgLegend">&nbsp;</div><span class="bold">Failure:</span> Does not meet the minimum standards. Overall score is reduced.</li>
</ul>
</td>
</tr>
</table>
<table id="tablePwdNotes" cellpadding="5" cellspacing="1" border="0">
<tr>
<th>Quick Footnotes</th>
</tr>
<tr>
<td>
&bull; <strong>Flat:</strong> Rates that add/remove in non-changing increments.<br>
&bull; <strong>Incr:</strong> Rates that add/remove in adjusting increments.<br>
&bull; <strong>Cond:</strong> Rates that add/remove depending on additional factors.<br>
&bull; <strong>Comp:</strong> Rates that are too complex to summarize. See source code for details.<br>
&bull; <strong>n:</strong> Refers to the total number of occurrences.<br>
&bull; <strong>len:</strong> Refers to the total password length.<br>
&bull; Additional bonus scores are given for increased character variety.<br>
&bull; Final score is a cumulative result of all bonuses minus deductions.<br>
&bull; Final score is capped with a minimum of 0 and a maximum of 100.<br>
&bull; Score and Complexity ratings are not conditional on meeting minimum requirements.<br>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>
/web/status.php
175,26 → 175,26
} else if ($Language === 'de') { // German
$l_login1 = "Erfolgreiche Authentifizierung";
$l_logout = "Beenden der Verbindung";
$l_logout_question = "Möchten Sie die Verbindung jetzt wirklich trennen?";
$l_logout_question = "Möchten Sie die Sitzung wirklich beenden?";
$l_loggedout = "Ihre Sitzung ist geschlossen";
$l_wait = "Bitte warten Sie einen Moment ...";
$l_state_label = "State"; // to translate
$l_session_id_label = "Session ID"; // to translate
$l_max_session_time_label = "Max Session Time"; // to translate
$l_max_idle_time_label = "Max Idle Time"; // to translate
$l_start_time_label = "Start Time"; // to translate
$l_session_time_label = "Online-zeit";
$l_idle_time_label = "Idle Time"; // to translate
$l_downloaded_label = "Downloaded"; // to translate
$l_uploaded_label = "Uploaded"; // to translate
$l_original_url_label = "Original URL"; // to translate
$l_not_available = "Not available"; // to translate
$l_error = "error"; // to translate
$l_welcome = "Welcome"; // to translate
$l_conn_history = "Your last $nb_connection_history connections"; // to translate
$l_connected = "logged"; // to translate
$l_a_connection = "You have"; // to translate
$l_a_connection_time = "active connections on the network"; // to translate
$l_state_label = "Status";
$l_session_id_label = "Sitzungs-ID";
$l_max_session_time_label = "Maximale Sitzungszeit";
$l_max_idle_time_label = "Maximale Leerlaufzeit";
$l_start_time_label = "Startzeit";
$l_session_time_label = "Online-Zeit";
$l_idle_time_label = "Leerlaufzeit";
$l_downloaded_label = "Heruntergeladen";
$l_uploaded_label = "Hochgeladen";
$l_original_url_label = "Angefragze URL";
$l_not_available = "Nicht verfügbar";
$l_error = "Fehler";
$l_welcome = "Willkommen";
$l_conn_history = "Ihre letzten $nb_connection_history Verbindungen";
$l_connected = "gespeichert";
$l_a_connection = "Sie haben";
$l_a_connection_time = "aktive Sitzungen auf dem Netzwerk";
$l_close_warning = "Warnung: Sie werden getrennt, wenn Sie dieses Fenster schließen";
$l_back_homepage = "Zurück zur Startseite";
} else if ($Language === 'nl') { // Dutch
292,7 → 292,7
} else {
$connected = secondsToDuration($row['acctsessiontime']);
}
$connection_history .= '<li>'.date_format($start_conn, 'd M Y - H:i:s')." - ($connected)</li>";
$connection_history .= '<li>'.date_format($start_conn, 'd M Y - H:i:s').'</li>';//." - ($connected)</>";
}
$connection_history .= '</ul>';
}
319,6 → 319,13
$user_needKeepOpen = (preg_match("/^$remote_ip:PERM/m", file_get_contents($filename)) === 0);
}
 
////////////////////////////////////////////////////////////////////////////////////////
/////////////////////// TEST VARIABLES ///////////////////////
//////////////////////////////////////////////////////////////
//$nb_open_session = 2; // >2
//$user_needKeepOpen = true; // true/false
////////////////////////////////////////////////////////////////////////////////////////
 
// Cleaning the cache
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
331,7 → 338,10
<head>
<meta charset="UTF-8">
<title>ALCASAR - <?= $organisme ?></title>
<link type="text/css" href="css/status.css" rel="stylesheet">
<link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css">
<link type="text/css" href="/css/status.css" rel="stylesheet">
 
<script src="js/ChilliLibrary.js"></script>
<script>
chilliController.host = '<?= $conf['HOSTNAME'].'.'.$conf['DOMAIN'] ?>';
341,125 → 351,149
<script src="js/statusControler.js"></script>
</head>
<body>
<div id="Chilli">
<div id="locationName"></div>
<div id="chilliPage">
<div id="loggedOutPage" class="c1">
<table id="disconnectTable">
<tr>
<td><img height="150" src="images/logo-alcasar.png" alt="logo"></td>
<td>
<p class="text_auth"><?= $l_loggedout ?></p>
<p class="text_homelink"><a href="<?= $homepage_url ?>"><?= $l_back_homepage ?></a></p>
</td>
</tr>
</table>
<div id="Chilli" class="col-xs-12 col-sm-12">
<div id="chilliPage" class="row">
<div id="loggedOutPage" class="c1 col-xs-12 col-sm-12">
<div id="disconnectTable" class="row logout_box">
<div class="col-xs-3 col-sm-3 logout_msg">
<img height="150" src="images/logo-alcasar.png" alt="logo">
</div>
<div class="col-xs-6 col-sm-6 logout_msg">
<p class="text_auth"><?= $l_loggedout ?></p>
<p class="text_homelink"><a href="<?= $homepage_url ?>"><?= $l_back_homepage ?></a></p>
</div>
</div>
<div id="statusPage" class="c1">
<table border="0" id="statusTable">
<tr>
<td colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" rowspan="4">
<img height="150" src="images/logo-alcasar.png" alt="logo">
</td>
<td class="text_auth_welcom">
<?= $l_login1 ?>
</td>
</tr>
<tr>
<td class="text_auth">
<?= $l_welcome ?><br><?= $cn ?>
</td>
</tr>
<tr>
<td class="alert">
<?= ((isset($nb_open_session) && ($nb_open_session > 1)) ? $l_a_connection.' '.$nb_open_session.' '.$l_a_connection_time : '') ?>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="link_logout">
<a href="#" onclick="return logoutWithConfirmation('<?= $l_logout_question ?>');" class="lien_deco"><?= $l_logout ?></a>
</td>
</tr>
</table>
</td>
</tr>
<!--
<tr id="connectRow">
<td id="statusMessageLabel" class="chilliLabel"><strong><?= $l_state_label ?></strong></td>
<td id="statusMessage" class="chilliValue">Connected</td>
</tr>
<tr id="sessionIdRow">
<td id="sessionIdLabel" class="chilliLabel"><strong><?= $l_session_id_label ?></strong></td>
<td id="sessionId" class="chilliValue"><?= $l_not_available ?></td>
</tr>
-->
<tr id="sessionTimeoutRow">
<td id="sessionTimeoutLabel" class="chilliLabel"><?= $l_max_session_time_label ?></td>
<td id="sessionTimeout" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="idleTimeoutRow">
<td id="idleTimeoutLabel" class="chilliLabel"><?= $l_max_idle_time_label ?></td>
<td id="idleTimeout" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="startTimeRow">
<td id="startTimeLabel" class="chilliLabel"><?= $l_start_time_label ?></td>
<td id="startTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="sessionTimeRow">
<td id="sessionTimeLabel" class="chilliLabel"><?= $l_session_time_label ?></td>
<td id="sessionTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="idleTimeRow">
<td id="idleTimeLabel" class="chilliLabel"><?= $l_idle_time_label ?></td>
<td id="idleTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="inputOctetsRow">
<td id="inputOctetsLabel" class="chilliLabel"><?= $l_downloaded_label ?></td>
<td id="inputOctets" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="outputOctetsRow">
<td id="outputOctetsLabel" class="chilliLabel"><?= $l_uploaded_label ?></td>
<td id="outputOctets" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<!--
<tr id="originalURLRow">
<td id="originalURLLabel" class="chilliLabel"><?= $l_original_url_label ?></td>
<td id="originalURL" class="chilliValue"><?= $l_not_available ?></td>
</tr>
-->
<tr>
<td colspan="2" id="conHistoryLabel" class="chilliLabel"><?= $l_conn_history ?></td>
</tr>
<tr id="conHistoryRow">
<td colspan="2" id="conHistory" class="chilliValue"><?= $connection_history ?></td>
</tr>
<?php if (isset($user_needKeepOpen) && ($user_needKeepOpen === true)): ?>
<tr>
<td colspan="2" id="close-warning">(<?= $l_close_warning ?>)</td>
</tr>
<?php endif; ?>
</table>
</div>
<div id="statusPage" class="col-xs-12 col-sm-12">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-10 col-md-offset-1">
<div class="row header_background">
<div class="header_img hidden-xs col-sm-2">
<img class="img-responsive image-resize" src="images/logo-alcasar.png" alt="logo">
</div>
<div class="header_title col-xs-12 col-sm-8">
<p class="login-status"><?= $l_login1 ?></p>
</div>
</div>
</div>
</div>
<div id="waitPage">
<table id="waitTable">
<tr>
<td><img height="150" src="images/logo-alcasar.png" alt="logo"></td>
<td><p class="text_auth"><img src="images/wait.gif" width="16" height="16" class="wait" alt="<?= $l_wait ?>"><?= $l_wait ?></p></td>
</tr>
</table>
<div class="row main_box">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
<div class="row background-display">
<div class="col-xs-12 col-sm-10 col-sm-offset-1">
<div class="row">
<p class="welcome-user"><?= $l_welcome ?> <?= $cn ?></p>
</div>
<div class="row nb_open_session">
<?= ((isset($nb_open_session) && ($nb_open_session > 1)) ? $l_a_connection.' '.$nb_open_session.' '.$l_a_connection_time : '') ?>
</div>
<div class="row">
<table class="table table-striped" id="statusTable">
<!--
<tr id="connectRow">
<td id="statusMessageLabel" class="chilliLabel"><strong><?= $l_state_label ?></strong></td>
<td id="statusMessage" class="chilliValue">Connected</td>
</tr>
<tr id="sessionIdRow">
<td id="sessionIdLabel" class="chilliLabel"><strong><?= $l_session_id_label ?></strong></td>
<td id="sessionId" class="chilliValue"><?= $l_not_available ?></td>
</tr>
-->
<tr id="sessionTimeoutRow" class="table-border">
<td id="sessionTimeoutLabel" class="chilliLabel"><?= $l_max_session_time_label ?>: </td>
<td id="sessionTimeout" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="idleTimeoutRow">
<td id="idleTimeoutLabel" class="chilliLabel"><?= $l_max_idle_time_label ?>: </td>
<td id="idleTimeout" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="startTimeRow">
<td id="startTimeLabel" class="chilliLabel"><?= $l_start_time_label ?>: </td>
<td id="startTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="sessionTimeRow">
<td id="sessionTimeLabel" class="chilliLabel"><?= $l_session_time_label ?>: </td>
<td id="sessionTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="idleTimeRow">
<td id="idleTimeLabel" class="chilliLabel"><?= $l_idle_time_label ?>: </td>
<td id="idleTime" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="inputOctetsRow">
<td id="inputOctetsLabel" class="chilliLabel"><?= $l_downloaded_label ?>: </td>
<td id="inputOctets" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<tr id="outputOctetsRow">
<td id="outputOctetsLabel" class="chilliLabel"><?= $l_uploaded_label ?>: </td>
<td id="outputOctets" class="chilliValue"><?= $l_not_available ?></td>
</tr>
<!--
<tr id="originalURLRow">
<td id="originalURLLabel" class="chilliLabel"><?= $l_original_url_label ?></td>
<td id="originalURL" class="chilliValue"><?= $l_not_available ?></td>
</tr>
-->
<?php if (isset($user_needKeepOpen) && ($user_needKeepOpen === true)): ?>
<tr>
<td colspan="2" id="close-warning">(<?= $l_close_warning ?>)</td>
</tr>
<?php endif; ?>
</table>
</div>
<button onclick="return logoutWithConfirmation('<?= $l_logout_question ?>');" class="button btn btn-danger btn-md"><?= $l_logout ?></button>
</div>
</div>
</div>
<div class="hidden-xs hidden-sm hidden-md col-lg-2 history">
<div class="row">
<div class="hidden-xs col-lg-11 col-lg-offset-1 log-box">
<div class="row log-titre">
<div class="col-lg-12">
<?= $l_conn_history ?>
</div>
</div>
<div class="row log-info">
<?= $connection_history ?>
</div>
</div>
</div>
</div>
</div>
<div id="errorPage">
<table id="errorTable">
<tr>
<td><img height="150" src="images/logo-alcasar.png" alt="logo"></td>
<td><span id="errorMessage"><?= $l_error ?></span></td>
</tr>
</table>
<div class="row">
<div class="col-xs-3 hidden-sm hidden-md hidden-lg">
<img class="img-responsive image-resize-bottom" src="images/logo-alcasar.png" alt="logo">
</div>
<div class="col-xs-6 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 hidden-lg history_bottom">
<div class="row log-titre-petit">
<?= $l_conn_history ?>
</div>
<div class="row log-info-petit">
<?= $connection_history ?>
</div>
</div>
</div>
</div>
<div id="waitPage" class="col-xs-12 col-sm-12">
<div class="row waiting_box">
<div class="col-xs-3 col-sm-3 waiting_msg">
<img height="150" src="images/logo-alcasar.png" alt="logo">
</div>
<div class="col-xs-6 col-sm-6 waiting_msg">
<p class="text_auth"><img src="images/wait.gif" width="16" height="16" class="wait" alt="<?= $l_wait ?>"><?= $l_wait ?></p>
</div>
</div>
</div>
<div id="errorPage" class="col-xs-12 col-sm-12">
<div class="row error_box">
<div class="col-xs-3 col-sm-3 error_msg">
<img height="150" src="images/logo-alcasar.png" alt="logo">
</div>
<div class="col-xs-6 col-sm-6 error_msg">
<p id="errorMessage"><?= $l_error ?></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>