-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreceipt.php
More file actions
executable file
·146 lines (104 loc) · 5.19 KB
/
receipt.php
File metadata and controls
executable file
·146 lines (104 loc) · 5.19 KB
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
<?php
$PageTitle="Sockscribe Me - Awesome Socks Delivered to Your Door Monthly";
$page = "Receipt";
function customPageHeader(){?>
<!--Arbitrary HTML Tags-->
<?php }
include_once('header.php');
?>
<!-- begin page content -->
<div class="container">
{% block messaging %}
{% if is_updateinfo %}
<h1>Thanks for the Update<h1>
<p>We have successfully processed your change!</p>
{% endif %}
{% if is_subscription_cancel %}
<h1>Subscription Cancellation<h1>
<h4 class="text-muted">Till next time</h4>
<p>You have canceled your sock subscription. We are really sorry to see you go. Thank you for giving us a try and we really do appreciate your business. Please let us know if there is anything we can do in the future to improve our service.</p>
<form role="form" action="subscription-cancelation-email.php" method="POST">
<input type="hidden" class="form-control" name="order_id" value="{{ order_id }}">
<input type="hidden" class="form-control" name="first_name" value="{{ first_name }}">
<input type="hidden" class="form-control" name="email" value="{{ email }}">
<div class="form-group">
<label for="message">What could we do to improve our service?</label>
<textarea class="form-control" rows="5" name="message"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-lg">Send</button>
</form>
{% endif %}
{% if payment_is_pending %}
<p id="fc_payment_pending">{{ lang.checkout_payment_pending|raw }}</p>
{% endif %}
{% endblock messaging %}
{% block order_information %}
<h1>You have Subscribed!<h1>
<h4 class="text-muted">Get ready for awesomeness!</h4>
<p>Thank you for subscribing to Sockscribe Me. Your order number is <strong>{{ order_id }}</strong>. We have charged card ({{ cc_number_masked }}) {{ receipt_order_total }}.
{% if has_future_products %}
Your card will be charged today every month until you cancel your sock subscription.
{% endif %}
We ship our socks on the <strong>first Monday of every month</strong>. If you don't get your socks by the second week of the month, please let us know.</p>
{% endblock order_information %}
<div class="row">
<a href="./sock-subscription-options.html">
<div class="col-md-4 recipt-social">
<a href="http://www.facebook.com/sharer/sharer.php?s=100&p[url]=http://sockscribe.me/&p[images][0]=http://sockscribe.me/logo.png&p[title]=Sockscribe%20Me&p[summary]=I%20just%20signed%20up%20for%20Sockscribe%20Me%20-%20You%20should%20too!" target="_blank">
<div class="recipt-social-img facebook_recipt"></div>
<h2>Share on Facebook</h2>
</a>
</div>
</a>
<a href="./sock-subscription-options.html">
<div class="col-md-4 recipt-social">
<a href="http://twitter.com/home?status=I%20just%20signed%20up%20for%20Sockscribe%20Me%20-%20You%20should%20too!%20@sockscribeme%20#awesomesocks" target="_blank">
<div class="recipt-social-img twitter_recipt" ></div>
<h2>Share on Twitter</h2>
</a>
</div>
</a>
<a href="./sock-subscription-options.html">
<div class="col-md-4 recipt-social">
<a href="https://plus.google.com/share?url=https://plus.google.com/107766834964318710901/posts" target="_blank">
<div class="recipt-social-img google_plus_recipt"></div>
<h2>Share on Google+</h2>
</a>
</div>
</a>
</div>
<script type="text/javascript" charset="utf-8">
if (window.location.hash.search(/utma/) == -1 && typeof(fc_json.custom_fields['ga']) != "undefined") {
if (fc_json.custom_fields['ga'].length > 0) {
window.location.hash = fc_json.custom_fields['ga'].replace( /\&/g, '&' );
}
}
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37881563-1']);
_gaq.push(['_setDomainName', 'sockscribe.me']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowAnchor', true]);
_gaq.push(['_trackPageview', '/receipt']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
^^receipt_only_begin^^
^^analytics_google_ga_async^^
^^receipt_only_end^^
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/950133067/?value=0&label=QFWcCJXfkwgQy8KHxQM&guid=ON&script=0"/>
</div>
</noscript>
</div>
<!-- end page content -->
<?php
include_once('footer.php');
?>