You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: admin/admin.php
+92-89
Original file line number
Diff line number
Diff line change
@@ -77,111 +77,114 @@ function displayBannedUsers() {
77
77
?>
78
78
<div class="container-fluid">
79
79
<div class="row my-2 py-2">
80
-
<div class="col-md-12">
81
-
<h4>Registered users:</h4>
82
-
<?php
83
-
displayUsers();
84
-
?>
85
-
</div>
86
-
<div class="col-md-12">
87
-
<div><br /></div>
88
-
<hr>
89
-
<br />
90
-
</div>
80
+
<div class="col-md-12">
81
+
<div class="card">
82
+
<div class="card-body">
83
+
<h4>Registered users:</h4>
84
+
<?php
85
+
displayUsers();
86
+
?>
87
+
</div>
88
+
</div>
89
+
</div>
91
90
</div>
92
91
</div>
93
92
94
93
<div class="container-fluid">
95
94
<div class="row my-2 py-2">
96
95
<div class="col-md-12">
97
-
98
-
<?php
99
-
/**
100
-
* The user is already logged in, not allowed to register.
101
-
*/
102
-
if (isset($_SESSION['regsuccess'])) {
103
-
/* Registration was successful */
104
-
if ($_SESSION['regsuccess']) {
105
-
echo"<h4>Registrado!</h4>";
106
-
if (EMAIL_WELCOME) {
107
-
echo"<p>Agrega el usuario: <b>" . $_SESSION['reguname'] . "</b>, Se le ha enviado un correo electr�nico de confirmación que debe llegar en breve. Por favor, confirme su registro antes de continuar.<br />Volver a <a href='../'>Principal</a>"
108
-
. "<a href='admin.php'>Agregar nuevo usuario</a>";
109
-
} else {
110
-
echo"<p>Agrega el usuario: <b>" . $_SESSION['reguname'] . "</b>, su información se ha añadido a la base de datos, "
111
-
. "usted puede ahora <a href=\"../index.php\">acceder</a>.</p>";
96
+
<hr>
97
+
<div class="card">
98
+
<div class="card-body">
99
+
<?php
100
+
/**
101
+
* The user is already logged in, not allowed to register.
102
+
*/
103
+
if (isset($_SESSION['regsuccess'])) {
104
+
/* Registration was successful */
105
+
if ($_SESSION['regsuccess']) {
106
+
echo"<h4>Registrado!</h4>";
107
+
if (EMAIL_WELCOME) {
108
+
echo"<p>Agrega el usuario: <b>" . $_SESSION['reguname'] . "</b>, Se le ha enviado un correo electr�nico de confirmación que debe llegar en breve. Por favor, confirme su registro antes de continuar.<br />Volver a <a href='../'>Principal</a>"
109
+
. "<a href='admin.php'>Agregar nuevo usuario</a>";
110
+
} else {
111
+
echo"<p>Agrega el usuario: <b>" . $_SESSION['reguname'] . "</b>, su información se ha añadido a la base de datos, "
112
+
. "usted puede ahora <a href=\"../index.php\">acceder</a>.</p>";
113
+
}
114
+
}
115
+
/* Registration failed */else {
116
+
echo"<h4>Registracion Fallida</h4>";
117
+
echo"<p>Lo sentimos, pero ha habido un error y el registro para el Usuario <b>" . $_SESSION['reguname'] . "</b>, "
118
+
. "No se pudo completar. <br /> Por favor, inténtelo de nuevo en un momento posterior.</p>";
119
+
}
120
+
unset($_SESSION['regsuccess']);
121
+
unset($_SESSION['reguname']);
112
122
}
113
-
}
114
-
/* Registration failed */else {
115
-
echo"<h4>Registracion Fallida</h4>";
116
-
echo"<p>Lo sentimos, pero ha habido un error y el registro para el Usuario <b>" . $_SESSION['reguname'] . "</b>, "
117
-
. "No se pudo completar. <br /> Por favor, inténtelo de nuevo en un momento posterior.</p>";
118
-
}
119
-
unset($_SESSION['regsuccess']);
120
-
unset($_SESSION['reguname']);
121
-
}
122
-
/**
123
-
* The user has not filled out the registration form yet.
124
-
* Below is the page with the sign-up form, the names
125
-
* of the input fields are important and should not
126
-
* be changed.
127
-
*/else {
128
-
?>
123
+
/**
124
+
* The user has not filled out the registration form yet.
125
+
* Below is the page with the sign-up form, the names
126
+
* of the input fields are important and should not
<strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
<divclass="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the first item's accordion body.</div>
<divclass="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the second item's accordion body. Let's imagine this being filled with some actual content.</div>
<divclass="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.</div>
0 commit comments