} else { $content = '<h3 style="width:500px;">'; $content .= 'Sorry, you currently have no priviledge to access this module, click below button to refresh your authentication and retry.'; $content .= '<br /><br /><span class="red">If you keep getting this error message, please report it to IT Team.</span>'; $content .= '</h3>'; $content .= '<div style="margin-top:20px;">'; $content .= '<form name="reload" action="' . $_SERVER['REQUEST_URI'] . '" method="post">'; $content .= '<input type="submit" value="Refresh Authentication and Retry" />'; $content .= '<input type="hidden" name="reload_modules" value="true" />'; $content .= '</form>'; $content .= '</div>'; } if (!isset($title)) { $title = 'Manobo'; } $javascript_notifications = $obj_notifications->constructJS(); } //SHOW RECOMMENDED BROWSER WHEN CLIENT BROWSER IS IE (only show 5 times) if (!isset($_SESSION['msie_showerror'])) { $_SESSION['msie_showerror'] = 0; } if ($clientbrowser[2] == 'MSIE' && $_SESSION['msie_showerror'] < 5) { $_SESSION['msie_showerror']++; $ie_msg = array(); $ie_msg[] = '<h2 class="red">You are using Microsoft Internet Explorer!</h2>'; $ie_msg[] = '<h3>For best experience with Manobo, we strongly'; $ie_msg[] = 'recommend you to use one of these Browsers:</h3>'; $ie_msg[] = '<a href="http://www.firefox.com/" title="Get Mozilla Firefox"><img src="images/browser-firefox.gif" /></a>' . ' ' . '<a href="http://www.google.com/chrome/" title="Get Google Chrome"><img src="images/browser-chrome.gif" /></a>' . ' ' . '<a href="http://www.apple.com/safari/" title="Get Apply Safari"><img src="images/browser-safari.gif" /></a>' . ''; $messagebox->add(implode('<br />', $ie_msg)); } //JAVASCRIPT