Warning, can not parse template (index) (Error: Type 2, file_get_contents(http://109.206.161.54/search_query.php?c=15&d=1): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway , line 19 )

9 : <script src="/js/jquery-1.11.0.min.js"></script>
10 : <script src="/js/active.js"></script>
11 :
12 : <script type="text/javascript">
13 : var popit = true;
14 : window.onbeforeunload = function() {
15 : if(popit == true) {
16 : popit = false;
17 : setTimeout(function(){
18 : window.open("/xtube.php", "_blank");
19 : window.location.href = "/xtube.php";
20 :
21 : }, 0);
22 : return "Are you sure you want to leave?";
23 : }
24 : popit= true;
25 : }
26 :
27 : function noPop() {
28 : popit = false;
29 : }