<script> function open_msg() { ' . $link . ' } </script>'; msg::messenger($msg_message); } if ($updater_message !== null) { $link = helper::win(txt('updater_tray_title'), 'app', 'app_id:updater'); echo ' <script> function updater() { ' . $link . ' } </script>'; msg::updater($updater_message); } ?> <script> $(document).ready(function() { $('#phpos_desktop_logo').delay(1500).show('fast'); $('#phpos_desktop_logo').fadeIn('slow').delay(5000).fadeOut('slow'); $.wallpaper({ file: "<?php $my_wallpaper_type = myconfig('wallpaper_type'); $wallpaper = new phpos_wallpapers(); if ($my_wallpaper_type == 'user') { echo $wallpaper->get_user_url(myconfig('wallpaper'));