Locate this file:
includes/ templates/ YOUR_TEMPLATE/ common/ tpl_main_page.php
You will find this coding:
PHP Code:
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
Add this below right after the <!-- eof breadcrumb -->
PHP Code:
<div id="greetingScript">
<script type="text/javascript" src="welcome.js"></script>
<script type="text/javascript">
var day = new Date();
var hr = day.getHours();
if (hr <= 11)
{document.write("Good Morning!");}
else if (hr > 11 && hr < 17)
{document.write("Good Afternoon!");}
else {document.write("Good Evening!");}
</script>
</div>