<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
	<title>a</title>
    <link rel="stylesheet" type="text/css" href="css/style.css">
	<link rel="stylesheet" type="text/css" href="css/sidenav.css">
<style type="text/css">
	h4{
	text-align: center;
	color: red;
	}
</style>
</head>
<body>
<h1>A HOME</h1>
<?php
if (isset($_SESSION['username'])) { ?>
  <h4><?php echo strtoupper("welcome"." ".htmlentities($_SESSION['username']));?></h4>
  <h1>abc</h1>
<?php
}
?>
<h4><?php echo strtoupper("welcome"." ".htmlentities($_SESSION['username']));  ?></h4>
</body>
</html>