-
Notifications
You must be signed in to change notification settings - Fork 2
/
page-update-credit-card.php
153 lines (66 loc) · 3.05 KB
/
page-update-credit-card.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
get_header();
wp_enqueue_script(array('responsiveFrame', 'responsiveFrameHelper'));
$rawParentQueryStringParams = strtoupper($_SERVER['QUERY_STRING']);
parse_str($rawParentQueryStringParams, $parentPageParams);
$childPageParams = array();
?>
<div class="uw-hero-image membership"></div>
<div class="container uw-body">
<div class="row">
<div class="col-md-12 uw-content" role='main'>
<!-- <a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr( get_bloginfo() ) ?>"><h2 class="uw-site-title"><?php bloginfo(); ?></h2></a> -->
<h2 class="uw-site-title">UWAA Membership </h2>
<div class="row uwaa-home-branding-row">
<?php include(locate_template( 'partials/sidebar-single-breadcrumbs.php')); ?>
</div>
<div class="uw-body-copy">
<?php
?>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( 'content', 'page' );
endwhile;
?>
</div>
<!-- Ending us-body-copy -->
<?php // The Frame
$frameURL = "https://online.gifts.washington.edu/secure/updatecc/UWAAupdate";
$appealCodeIFrameParams = array();
if (count($parentPageParams) > 0) {
if(array_key_exists("IDS", $parentPageParams)) {
$childPageParams['ids'] = strtolower($parentPageParams['IDS']);
}
if(array_key_exists("NOTIFICATIONGUID", $parentPageParams)) {
$childPageParams['notificationGUID'] = strtolower($parentPageParams['NOTIFICATIONGUID']);
}
if(array_key_exists("D_IDS", $parentPageParams)) {
$childPageParams['d_ids'] = strtolower($parentPageParams['D_IDS']);
}
if(array_key_exists("FULLCARDUPDATE", $parentPageParams)) {
$childPageParams['FULLCARDUPDATE'] = $parentPageParams['FULLCARDUPDATE'];
}
if(array_key_exists("REFERRERNAME", $parentPageParams)) {
$childPageParams['REFERRERNAME'] = $parentPageParams['REFERRERNAME'];
}
if(array_key_exists("CARDLASTUPDATEDDATE", $parentPageParams)) {
$childPageParams['CARDLASTUPDATEDDATE'] = $parentPageParams['CARDLASTUPDATEDDATE'];
}
if(array_key_exists("lastFour", $parentPageParams)) {
$childPageParams['lastFour'] = $parentPageParams['lastFour'];
}
$childPageQueryString = http_build_query($childPageParams);
$frameURL .= "?" . $childPageQueryString;
}
?>
<iframe id="MembershipStoreFrame" src="<?php echo $frameURL; ?>" width="100%" height="400" frameborder="0" scrolling="no" style="margin-top:10px;"></iframe>
</div>
</div>
</div>
<?php get_footer(); ?>