diff --git a/views/header.php b/views/header.php index 55c1d4c..305c9ca 100644 --- a/views/header.php +++ b/views/header.php @@ -3,16 +3,17 @@ // Turn off error reporting error_reporting(0); @ini_set('display_errors', 0); +session_start(); $tradersList = array(); $buy_list = array(); $sell_list = array(); -include_once 'floconfig.php'; + $validate_user = null; if (isset($UserClass)) { - if (isset($flo_id)): + if (isset($_SESSION['flo_id'])): // check if user already registered - $validate_user = $UserClass->is_flo_registered($flo_id); + $validate_user = $UserClass->doInitialUserHandling($_SESSION['flo_id']); if($validate_user == "" || $validate_user == false) { redirect_to('index.php'); } @@ -32,6 +33,7 @@ if(checkLoginStatus()) { $action_class_market = 'market_submit_btn'; $action_class_buy_sell = 'process'; } + ?> @@ -81,18 +83,83 @@ $type = isset($_GET['type']) ? trim($_GET['type']) : 'danger';
- + - - - - + + +
+

Login using FLO Private Key

+
+
+ + +
+ +
+ +
+ + +
+ + + +