summaryrefslogtreecommitdiff
path: root/ng_selfservice/no_access.php
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-17 07:57:32 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-17 07:57:32 -0400
commit77baa7974ade41e55d85de22e7d7a54273dd442f (patch)
tree0c97ad27255d7f84d3bbeff45549f2d4c3d867fe /ng_selfservice/no_access.php
parenteaa81907845ce3f316401bce723075b5fe3f735c (diff)
RT# 39340 - removed min_selfservice dir and merged into ng_selfservice
Diffstat (limited to 'ng_selfservice/no_access.php')
-rw-r--r--ng_selfservice/no_access.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/ng_selfservice/no_access.php b/ng_selfservice/no_access.php
new file mode 100644
index 000000000..b13cca93c
--- /dev/null
+++ b/ng_selfservice/no_access.php
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<HTML>
+ <HEAD>
+ <TITLE>
+ Access Denied
+ </TITLE>
+ <link href="css/default.css" rel="stylesheet" type="text/css"/>
+ <script type="text/javascript" src="js/jquery.js"></script>
+ <script type="text/javascript" src="js/menu.js"></script>
+ </HEAD>
+ <BODY>
+ <FONT SIZE=5>Access Denied</FONT>
+ <BR><BR>
+<? $current_menu = 'no_access.php'; include('elements/menu.php'); ?>
+<?
+
+$customer_info = $freeside->customer_info_short( array(
+ 'session_id' => $_COOKIE['session_id'],
+) );
+
+if ( isset($customer_info['error']) && $customer_info['error'] ) {
+ $error = $customer_info['error'];
+ header('Location:index.php?error='. urlencode($error));
+ die();
+}
+
+extract($customer_info);
+
+?>
+
+<P>Sorry you do not have access to the page you are trying to reach.</P>
+
+<? include('elements/menu_footer.php'); ?>
+<? include('elements/footer.php'); ?> \ No newline at end of file