-
Notifications
You must be signed in to change notification settings - Fork 2
/
test_widget.html
65 lines (53 loc) · 1.93 KB
/
test_widget.html
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
<html>
<head>
<title>Widget Test</title>
</head>
<body>
<center><h2>Widget Test</h2></center>
<style>
body {background:#fff;}
</style>
<div>
<!--
http://book-direct-php.bookdirect.local/widgets/search_widget.js.php?id=1165&start_range=2017/03/27&end_range=2017/03/31
<script src="http://book-direct-php.bookdirect.local/widgets/search_widget.js.php?id=1165&start_range=2017/03/27&end_range=2017/03/31" type="text/javascript"></script>
-->
<!-- LOCAL -->
<!-- ----- -->
<!--
<script src="//book-direct-php.bookdirect.local/widgets/search_widget2.js.php?id=1195&campaign2=test&start_range=2017/04/01&end_range=2017/04/15&start_date_offset=1&end_date_offset=6" type="text/javascript"></script>
-->
<!-- STAGING -->
<!-- ----- -->
<!--
<script src="http://widgets.fargomoorhead.staging.bookdirect.net/widgets/search_widget.js.php?id=1165" type="text/javascript"></script>
-->
<!-- PRODUCTION -->
<!-- ----- -->
<!--
<script src="http://widgets.bookdirect.net/widgets/search_widget2.js.php?id=1208&start_range=2017/04/01&end_range=2017/04/15&start_date_offset=1&end_date_offset=6" type="text/javascript"></script>
-->
</div>
<div id="jrs-widget" style="height:250px;"></div>
<script type="text/javascript">
(function() {
var script = document.createElement('script')
script.type = 'text/javascript';
var qs_params = '&testing=true';
script.src = "https://admin-staging.bookdirect.net/hs4/widgets/1193.js?widget_element=jrs-widget" + qs_params;
document.body.appendChild(script);
})();
</script>
<!--
<div id="booking-form-wrap2" style="margin-top:0px;"></div>
<script type="text/javascript">
(function() {
var script = document.createElement('script')
script.type = 'text/javascript';
script.src = "http://0.0.0.0:3000/hs4/widgets/1106.js?widget_element=booking-form-wrap2&lodging_id=54012";
document.body.appendChild(script);
})();
</script>
-->
</body>
</html>