|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <meta name="description" content=""> |
| 8 | + <meta name="author" content=""> |
| 9 | + <link rel="icon" href="./tpl/favicon.ico"> |
| 10 | + |
| 11 | + <title>UK Company</title> |
| 12 | + |
| 13 | + <!-- Bootstrap core CSS --> |
| 14 | + <link href="./tpl/bootstrap/css/bootstrap.min.css" rel="stylesheet"> |
| 15 | + |
| 16 | + <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> |
| 17 | + <link href="./tpl/ie/ie10-viewport-bug-workaround.css" rel="stylesheet"> |
| 18 | + |
| 19 | + <!-- Custom styles for this template --> |
| 20 | + <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700' rel='stylesheet' type='text/css'> |
| 21 | + <link href="./tpl/css/tpl.css" rel="stylesheet"> |
| 22 | + <link href="./tpl/css/main.css" rel="stylesheet"> |
| 23 | + <link href="./tpl/css/account.css" rel="stylesheet"> |
| 24 | + <link href="./tpl/css/orders.css" rel="stylesheet"> |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> |
| 29 | + <!--[if lt IE 9]> |
| 30 | + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> |
| 31 | + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
| 32 | + <![endif]--> |
| 33 | + <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700' rel='stylesheet' type='text/css'> |
| 34 | + <link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'> |
| 35 | + |
| 36 | + |
| 37 | + <script src="./tpl/js/jquery.min.js"></script> |
| 38 | + </head> |
| 39 | + |
| 40 | + <body> |
| 41 | + |
| 42 | + |
| 43 | +<script> |
| 44 | +$.ajax({url:'_top.html',async:false,success:function(ans){$(document.body).append(ans);}}); |
| 45 | +</script> |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title" id="myModalLabel">Error</h4></div><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-primary" data-dismiss="modal">Close</button></div></div></div></div> |
| 56 | +<div id="_JScontent"> |
| 57 | +<script> |
| 58 | +/*~CONTENT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
| 59 | +var current_location =''; |
| 60 | +var loading_html ='<div style="text-align:center;padding:15%;"><img src="./img/load-circle.gif"></div>'; |
| 61 | +var _account_menu = ''; |
| 62 | +var _order_menu = ''; |
| 63 | +var _order_menu2 = ''; |
| 64 | +var _func = {}; |
| 65 | + |
| 66 | +//$.ajax({url:'_account-menu.html',async:false,success:function(ans){_account_menu = ans; }}); |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | +function lc(){ |
| 71 | + |
| 72 | + |
| 73 | + var hash = location.hash; |
| 74 | + if(hash=='') hash='index'; |
| 75 | + else hash = hash.substr(1); |
| 76 | + |
| 77 | + $('#_JScontent').html(loading_html); |
| 78 | + $.ajax({ |
| 79 | + url:'./html/'+hash+'.html?'+Math.random(), |
| 80 | + // async:false, |
| 81 | + error:function(err1,err2){$('#myModal .modal-header h4').text(err1.status); $('#myModal .modal-body').html(err1.statusText); $('#myModal').modal('show'); }, |
| 82 | + success:function(ans){ |
| 83 | + //ans = ans.replace('<i class="hidden">{_account-menu}</i>',_account_menu); |
| 84 | + $('#_JScontent').html(ans); |
| 85 | + f = "page_"+hash.replace('-','_'); |
| 86 | + if(typeof _func[f] == 'function') eval("_func."+f+"()"); |
| 87 | + } |
| 88 | + }); |
| 89 | + } |
| 90 | + |
| 91 | +_tLoc = setInterval(function(){ |
| 92 | + if(current_location!=location.hash) { |
| 93 | + $('a[href="'+current_location+'"]').parent().removeClass('active'); |
| 94 | + $('a[href="'+location.hash+'"]').parent().addClass('active'); |
| 95 | + lc(); |
| 96 | + } |
| 97 | + if(!$('body').hasClass('firsttime')) { $('body').addClass('firsttime');lc();} |
| 98 | + current_location = location.hash; |
| 99 | +},100); |
| 100 | +</script> |
| 101 | +</div> <!-- id="_JScontent --> |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | +<script> |
| 114 | +$.ajax({url:'./_bottom.html',success:function(ans){$(document.body).append(ans);}}); |
| 115 | +</script> |
| 116 | + |
| 117 | + |
| 118 | + </body> |
| 119 | +</html> |
0 commit comments