diff options
author | David Shanske <david@shanske.com> | 2019-02-24 19:44:12 +0000 |
---|---|---|
committer | David Shanske <david@shanske.com> | 2019-02-24 19:44:12 +0000 |
commit | d30486e7c610e2ba2998ed5997fd86c6dcae5c77 (patch) | |
tree | 2780d7f08cda7faef0132b0b615dec2fcbccc59c /views/index.php | |
parent | acc8a8e673b1b71ea828422ec15f77450a409983 (diff) |
Simple Addition of Profile Data to Quill
Diffstat (limited to 'views/index.php')
-rw-r--r-- | views/index.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/views/index.php b/views/index.php index f60b560..4277fe1 100644 --- a/views/index.php +++ b/views/index.php @@ -5,7 +5,15 @@ <p class="tagline">Quill is a simple app for posting text notes to your website.</p> - <? if(session('me')): ?> +<? if(session('me')): + if ( profile('photo') ) { + ?> <img src="<?php echo profile('photo'); ?>" height="125" alt="Profile Image" /> +<?php } + if ( profile('name') ) { + ?> <p><?php echo profile('name'); ?></p> +<?php } + ?> + <p>You're already signed in!<p> <p><a href="/dashboard" class="btn btn-primary">Continue</a></p> <? else: ?> |