|
|||
Додаток B (Админ.п.) ⇐ ПредыдущаяСтр 4 из 4 Index. php <? include (" blocks/bd. php" ); include (" lock. php" ); ? >
<! DOCTYPE html PUBLIC " -//W3C//DTD XHTML 1. 0 Transitional//EN" " http: //www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd" > < html xmlns=" http: //www. w3. org/1999/xhtml" > < head>
< meta http-equiv=" Content-Type" content=" text/html; charset=utf-8" /> < title> Main admin panel< /title> < link href=" Style. css" rel=" stylesheet" type=" text/css" /> < /head>
< body> < table border=" 1" align=" center" bgcolor=" #FFFFFA" class=" main_border" > <! -- Header--> <? include (" blocks/header. php" ); ? >
< tr>
<! -- content& left_block table--> < td> < table border=" 0" > < tr> <! -- Left block--> <? include (" blocks/lefttd. php" ); ? >
< td
< p> Ласкаво просимо до панелi адмiнiстратора. < /p>
< /td> < /tr> < /table> < /td> <! -- /content& left_block table-->
< /tr> <! -- Footer--> <? include (" blocks/footer. php" ); ? > < /table> < div align=" center" > < /div> < /body> < /html>
Lock. php <? php if (empty($_SESSION['login']) or empty($_SESSION['id'])) {
echo " < html> < head> < meta http-equiv='Refresh' content='0; URL=http: //localhost/it/login. php'> < /head> < /html> "; }
? > Style. css
. main_border{ border: 1px solid #000000 } p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 15px; } . left { background-color: f6f6f6; border-right: 1px solid #424242; }
body {background-image: url(img/bg.gif)} p. title { background-color: #A72E37; color: #ffffff; font-weight: bold; margin: 5px; padding: 5px; } #coolmenu{ border: 1px solid gray; border-bottom-width: 0; width: 93%; background-color: #f6f6f6; margin: 8px; } * html #coolmenu{ width: 150px; } #coolmenu a{ font: bold 13px Verdana; padding: 2px; eft: 4px; display: block; width: 100%; color: #000000; text-decoration: none; border-bottom: 1px solid gray; } html> body #coolmenu a{ width: auto; } #coolmenu a: hover{ background-color: #cccccc; color: #000000; } . lesson { border: 1px solid #cccccc; width: 95%; } . lesson_title { background-color: #f6f6f6; }
. lesson_name { font-weight: bold; margin-top: 1px; margin-bottom: 5px; }
. lesson_adds { font-size: 11px; margin-top: 5px; margin-bottom: 5px; color: #757575; }
. view_title { font-size: 16px; font-weight: bold; color: #cc0000; text-align: center; } . view_date { font-weight: bold; font-size: 11px; color: #424242; margin-top: 5px; margin-bottom: 5px; }
|
|||
|