Prev | Current Page 390 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

error {
color: #ff0000;
font-size: 85%;
font-weight: bold;
}
.login-title {
background: #0590c7;
border-bottom: 2px solid #c6e1ec;
color: #ffffff;
display: block;
font-size: 93%;
font-weight: bold;
margin: 1px;
padding: 2px 10px;
}
.no-items-found {
color: #ff0000;
}
table.tss-table {
width: 100%;
}
table.tss-table th {
background: #0590c7;;
border: none;
border-bottom: 3px solid #c6e1ec;
color: #ffffff;
text-align: left;
}
table.tss-table td {
border: none;
border-bottom: 1px solid #0590c7;
}
14. Load TShirtShop in your favorite browser, and you??™ll see the admin page link in the welcome message on
the front page. Click it, and an HTML login form will be displayed; Figure 10-8 shows the message you??™ll get
if you type the wrong password. After you supply the correct login information (username: tshirtshopadmin,
password: tshirtshopadmin), you??™ll be redirected to the catalog administration page, which currently
contains only the main menu??”we??™ll change this soon.
CHAPTER 10 ?–  CATALOG ADMINISTRATION: DEPARTMENTS AND CATEGORIES 283
Figure 10-8. The login page
How It Works: Authenticating Administrators
The main components you created in this exercise are as follows:
??? admin.php is the entry point into the administrative part of the site. You??™ll continue to develop it in the rest
of this chapter. Studying this file, you can see that it doesn??™t have any visual output.


Pages:
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
Noclegi Władysławowo e-lady traktorki ogrodowe need cash fast bad credit prace wysokościowe