<?php
function welcomePage()
{
  global $user;

  echo "<p>Hi ".$user['name'].", thanks for registering on our site.</p>";
  
  echo "<p><a class=\"button\" style=\"width: 300px; text-align:center; background-color: #CCCCC;\" href=\"online.php\">Click here to <br />see our videos</a></p>";

  echo "<p><a class=\"button\" style=\"width: 300px; text-align:center; background-color: #CCCCC;\" href=\"profile.php\">Click here to <br />update your profile</a></p>";

}
?>
