I am looking for a way to show one line of text

So something like this
if url = https (show) "secure"
if url = http (show) "not secure"

Anyone able to write a snippet that would do that?

never mind I got it might be a better if there is please share

Here is what I did

PHP Code:

<?php if ($_SERVER['HTTPS'] == 'on' ) { ?>
You are all nice and secure from the mean people
<?php } else { ?>
Your butt is exposed and your are being watched
<?php ?>