Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <script type="text/javascript"><!--
- jQuery(function($)
- {
- var currentPage = $('#wrapper').attr('class');
- // if there is landingPage to load
- if( $('#requestedPage').length != 0 )
- {
- net.exchangesolutions.fn.handleNavigationState(true);
- // un-hide the sidebar
- $('#EssoExtraSideBar').show();
- var requestedPage = $('#requestedPage').text();
- if(requestedPage == 'ProgramMessage')
- {
- //Submit the page instead of reloading the JFrame as its a submit button with all parameters being submitted
- $("#contactus").submit();
- }
- else
- {
- if(requestedPage.search(".page") == -1)
- {
- requestedPage+=".page";
- }
- $('#main_frame').loadJFrame('/member/'+requestedPage);
- }
- }
- else
- {
- // redirect to member home static template
- // Temporary disable redirect
- // TODO: remove these two line and uncomment redirect below
- //$('#EssoExtraSideBar').show();
- //$('#main_frame').loadJFrame('/member/MemberMain.page');
- window.location = "member_home.aspx"
- }
- });
- // --></script>
- <!-- Hide the sidebar in case we need to redirect -->
- <div id="EssoExtraSideBar" style="display: none">
- <div id="welcome" class="box">
- <div class="boxtop points"></div>
- <div class="boxmiddle">
- <span class="customer_name">
- Andy
- </Span>
- <span class="customer_signout">
- <a href="/member/loyalty?service=membersiteRestartService" id="logout">
- (log out)
- </a>
- </span>
- <span class="points_hdr">
- Current Points
- </span>
- <span class="customer_points_total">
- 0
- </span>
- <span class="customer_callout">
- From Free Gas and Car Washes, to Gift Cards and Lottery Tickets, Esso Extra has something for everyone.
- </span>
- <a href="all_rewards.aspx" id="loggedInRewardStatus" jframe="no">
- <img src="/member/images/btn_brws_rwrds.png" class="points_btn"/>
- </a>
- </div>
- <div class="boxbottom points"></div>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement