|
46 | 46 | <small>IP:</small>
|
47 | 47 | </td>
|
48 | 48 | <td>
|
49 |
| - <small><%= geolocation.ip %></small> |
| 49 | + <small><%- geolocation.ip %></small> |
50 | 50 | </td>
|
51 | 51 | </tr>
|
52 | 52 | <% if(geolocation.ip_forwarded_for != false) { %>
|
|
55 | 55 | <small>Real IP (sent with the 'X-Forwarded-For' header):</small>
|
56 | 56 | </td>
|
57 | 57 | <td>
|
58 |
| - <small><%= geolocation.ip_forwarded_for %></small> |
| 58 | + <small><%- geolocation.ip_forwarded_for %></small> |
59 | 59 | </td>
|
60 | 60 | </tr>
|
61 | 61 | <% } %>
|
|
65 | 65 | </td>
|
66 | 66 | <% if(geolocation.country_code != '') { %>
|
67 | 67 | <td>
|
68 |
| - <small><%= geolocation.country_name %> (<%= geolocation.country_code %>)</small> |
| 68 | + <small><%- geolocation.country_name %> (<%- geolocation.country_code %>)</small> |
69 | 69 | </td>
|
70 | 70 | <% } else { %>
|
71 | 71 | <td>
|
|
79 | 79 | </td>
|
80 | 80 | <% if(geolocation.region != '') { %>
|
81 | 81 | <td>
|
82 |
| - <small><%= geolocation.city %> (<%= geolocation.region %>)</small> |
| 82 | + <small><%- geolocation.city %> (<%- geolocation.region %>)</small> |
83 | 83 | </td>
|
84 | 84 | <% } else { %>
|
85 | 85 | <td>
|
|
93 | 93 | </td>
|
94 | 94 | <% if(geolocation.user_agent != '') { %>
|
95 | 95 | <td>
|
96 |
| - <small><%= geolocation.user_agent %></small> |
| 96 | + <small><%- geolocation.user_agent %></small> |
97 | 97 | </td>
|
98 | 98 | <% } else { %>
|
99 | 99 | <td>
|
|
110 | 110 | if(geolocation.region != '') {
|
111 | 111 | mapsZoom = '12';
|
112 | 112 | } %>
|
113 |
| - <a href="https://www.google.com/maps/preview/@<%= geolocation.latitude %>,<%= geolocation.longitude %>,<%= mapsZoom %>z" target="_blank"> |
| 113 | + <a href="https://www.google.com/maps/preview/@<%- geolocation.latitude %>,<%- geolocation.longitude %>,<%- mapsZoom %>z" target="_blank"> |
114 | 114 | <% if(showGMaps) { %>
|
115 |
| - <img src="http://maps.googleapis.com/maps/api/staticmap?center=<%= geolocation.latitude %> <%= geolocation.longitude %>&zoom=<%= mapsZoom %>&size=500x300&maptype=roadmap" |
| 115 | + <img src="http://maps.googleapis.com/maps/api/staticmap?center=<%- geolocation.latitude %> <%- geolocation.longitude %>&zoom=<%- mapsZoom %>&size=500x300&maptype=roadmap" |
116 | 116 | style="border: 1px solid #000;" width="500" height="300"/>
|
117 | 117 | <% } else { %>
|
118 | 118 | Show my IP location on Google Maps
|
|
0 commit comments