|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>D'n'd</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/basic.css"/>
|
|
|
|
<link rel="stylesheet" href="css/fonts/Lobster/stylesheet.css">
|
|
|
|
<link rel="stylesheet" href="css/fonts/SF-Toontime/stylesheet.css">
|
|
|
|
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="js/jquery-ui-1.8.9.custom.min.js"></script>
|
|
|
|
<script type="text/javascript" src="js/script.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function(){
|
|
|
|
var lang = ""; //locale language
|
|
|
|
if(window.sankore){
|
|
|
|
lang = sankore.locale().substr(0,2);
|
|
|
|
} else
|
|
|
|
lang = "en";
|
|
|
|
lang = "fr";
|
|
|
|
if(lang == "en"){
|
|
|
|
if(window.sankore)
|
|
|
|
sankore.enableDropOnWidget(false);
|
|
|
|
start();
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
returnStatus(lang);
|
|
|
|
}
|
|
|
|
|
|
|
|
function returnStatus(lang){
|
|
|
|
$.ajax({
|
|
|
|
type: 'POST',
|
|
|
|
url:'locales/' + lang + '/index.html',
|
|
|
|
statusCode: {
|
|
|
|
404: function() {
|
|
|
|
start();
|
|
|
|
},
|
|
|
|
200: function(){
|
|
|
|
window.location.href = 'locales/' + lang + '/index.html';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
//here you can put your code
|
|
|
|
if(window.sankore)
|
|
|
|
sankore.enableDropOnWidget();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table class="body_table" cellpadding=0 cellspacing=0>
|
|
|
|
<tr style="height: 54px;">
|
|
|
|
<td class="b_top_left"> </td>
|
|
|
|
<td class="b_top_center">
|
|
|
|
<div id="wgt_name"></div>
|
|
|
|
<div id="wgt_help"></div>
|
|
|
|
<div id="wgt_reload"></div>
|
|
|
|
<div id="wgt_display" class="selected"></div>
|
|
|
|
<div id="wgt_edit"></div>
|
|
|
|
<select class="style_select">
|
|
|
|
<option value="1"></option>
|
|
|
|
<option value="2"></option>
|
|
|
|
<option value="3"></option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="b_top_right"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="b_center_left"> </td>
|
|
|
|
<td>
|
|
|
|
<div id="help"></div>
|
|
|
|
<div id="data">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="b_center_right"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr style="height: 54px;">
|
|
|
|
<td class="b_bottom_left"> </td>
|
|
|
|
<td class="b_bottom_center"> </td>
|
|
|
|
<td class="b_bottom_right"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|