.php );
? gt;
/admin_panel/index.php
lt;? php session_start ();? gt;
lt;? php include(laquo;../system/connect_to_db.phpraquo;);(isset($_POST[laquo;bttraquo;])){($_POST[laquo;lograquo;]==laquo;VovaAdminraquo; amp; amp; $ _POST [ Laquo; pas ] == тисяча двісті тридцять-чотири ) {
$ _ SESSION [ login_admin ]= ok raquo ;;
}
}
? gt;
lt;! DOCTYPE html gt;
lt; html lang= en gt;
lt; head gt;
lt; meta charset= utf - 8 gt;
lt; meta http-equiv= X-UA-Compatible content= IE=edge gt;
lt; meta name= viewport content= width=device-width, initial-scale=1 gt;
lt;! - The above 3 meta tags * must * come first in the head; any other head content must come * after * these tags - gt;
lt; meta name= description content= gt;
lt; meta name= author content= gt;
lt; link rel= icon href= ../../ favicon.ico gt;
lt; title gt; Dashboard Template for Bootstrap lt;/title gt;
lt;! - Latest compiled and minified CSS - gt;
lt; link rel= stylesheet href= https: //maxcdn.bootstrapcdn/bootstrap/3.3.2/css/bootstrap.min.cssraquo; gt;
lt; link rel= stylesheet href= ../ system/dashboard.css gt;
lt;! - HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries - gt;
lt;! - [if lt IE 9] gt;
lt; script src= https: //oss.maxcdn/html5shiv/3.7.2/html5shiv.min.jsraquo; gt; lt;/script gt;
lt; script src= https: //oss.maxcdn/respond/1.4.2/respond.min.jsraquo; gt; lt;/script gt;
lt;! [endif] - gt;
lt; style gt;
. sub {: #ddd;
}
lt;/style gt;
lt;/head gt;
lt; body gt;
lt;? php ($ _ SESSION [ login_admin ] == ok ) {
} {' lt; div gt;
lt; div gt;
lt; label for= exampleInputEmail1 gt; Email address lt;/label gt;
lt; input type= text gt;
lt;/div gt;
lt; div gt;
lt; label for= exampleInputPassword1 gt; Password lt;/label gt;
lt; input type= password gt;
lt;/div gt;
lt; button type= submit name= btt gt;
lt;/form gt; lt;/div gt; ';;
}
? gt;
lt; nav gt;
lt; div gt;
lt; div gt;
lt; button type= button gt;
lt; span gt;
lt; span gt;
lt; span gt;
lt; span gt;
lt;/button gt;
lt; a gt;
lt;/div gt;
lt; div id= navbar gt;
lt; ul gt;
lt; li gt; lt; a href= # gt; Admin panel lt;/a gt; lt;/li gt;
lt; li gt; lt; a href= # gt; Settings lt;/a gt; lt;/li gt;
lt; li gt; lt; a href= # gt; Profile lt;/a gt; lt;/li gt;
lt; li gt; lt; a href= # gt; Help lt;/a gt; lt;/li gt;
lt;/ul gt;
lt; form gt;
lt; input type= text gt;
lt;/form gt;
lt;/div gt;
lt;/div gt;
lt;/nav gt;
lt; div gt;
lt; div gt;
lt; div gt;
lt; ul gt;
lt; li gt;
lt; li gt; lt; a href= # gt; Analytics lt;/a gt; lt;/li gt;
lt; li gt; lt; a href= # gt; Log out lt;/a gt; lt;/li gt;
lt;/ul gt;
lt;? php
$ qwer2=mysql_query ( SELECT * from pages , $ dbh) or die ( load_page error! );
? gt;