2015-08-05 22:22:06 +02:00
|
|
|
|
2016-01-25 16:12:53 +01:00
|
|
|
//
|
2015-08-05 22:22:06 +02:00
|
|
|
|
|
|
|
MenuItems = new Array();
|
|
|
|
|
2016-01-30 16:41:58 +01:00
|
|
|
MenuItems.push( { Text:"Home", Link:"index.html" } );
|
|
|
|
MenuItems.push( { Text:"Browser TV", Link:"browsertv.html" } );
|
|
|
|
MenuItems.push( { Text:"EPG", Link:"epg.html" } );
|
|
|
|
MenuItems.push( { Text:"Stream Status", Link:"streamstatus.html" } );
|
|
|
|
MenuItems.push( { Text:"Tuner Status", Link:"tunerstatus.html" } );
|
|
|
|
MenuItems.push( { Text:"Unicable Settings", Link:"scif.html" } );
|
|
|
|
MenuItems.push( { Text:"LNB Settings", Link:"lnbsettings.html" } );
|
|
|
|
MenuItems.push( { Text:"System Settings", Link:"system.html" } );
|
|
|
|
MenuItems.push( { Text:"Multicast Setup", Link:"multicast.html" } );
|
|
|
|
MenuItems.push( { Text:"Channel Lists", Link:"channellists.html" } );
|
|
|
|
MenuItems.push( { Text:"Update", Link:"update.html" } );
|
|
|
|
MenuItems.push( { Text:"Hardware Monitor", Link:"monitor.html" } );
|
|
|
|
MenuItems.push( { Text:"Licenses", Link:"licenses.html" } );
|
2015-08-05 22:22:06 +02:00
|
|
|
|
|
|
|
// ---------------------------------------------------------------
|
|
|
|
// Don't touch
|
|
|
|
|
|
|
|
function CreateMenu()
|
|
|
|
{
|
2016-01-25 16:12:53 +01:00
|
|
|
document.write('<table class="menutable">');
|
2015-08-05 22:22:06 +02:00
|
|
|
for(i = 0; i < MenuItems.length; i++ )
|
|
|
|
{
|
|
|
|
if( document.URL.indexOf(MenuItems[i].Link) < 0 )
|
|
|
|
document.write('<tr><td><a href="/'+MenuItems[i].Link+'">'+MenuItems[i].Text+'</a></td></tr>');
|
|
|
|
else
|
|
|
|
document.write('<tr><td class="menucur">'+MenuItems[i].Text+'</td></tr>');
|
|
|
|
}
|
|
|
|
document.write('</table>');
|
|
|
|
}
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
|
|
|
var browserType = "unk";
|
|
|
|
var browserLanguage = "en";
|
|
|
|
var browserPlatform = "unk";
|
|
|
|
|
|
|
|
if( navigator.appVersion.indexOf("MSIE") >= 0 )
|
|
|
|
browserType = "MSIE";
|
|
|
|
else
|
|
|
|
browserType = "Netscape";
|
2016-01-25 16:12:53 +01:00
|
|
|
|
2015-08-05 22:22:06 +02:00
|
|
|
if( browserType == "MSIE" )
|
|
|
|
browserLanguage = navigator.browserLanguage.substr(0,2);
|
|
|
|
else if( browserType == "Netscape" )
|
|
|
|
{
|
|
|
|
var nplat = navigator.platform.toLowerCase();
|
|
|
|
browserLanguage = navigator.language.substr(0,2);
|
2016-01-25 16:12:53 +01:00
|
|
|
if( nplat.indexOf("win") == 0 )
|
2015-08-05 22:22:06 +02:00
|
|
|
browserPlatform = "win";
|
2016-01-25 16:12:53 +01:00
|
|
|
else if( nplat.indexOf("linux") >= 0 )
|
2015-08-05 22:22:06 +02:00
|
|
|
browserPlatform = "linux";
|
2016-01-25 16:12:53 +01:00
|
|
|
else if( nplat.indexOf("ipad") >= 0 )
|
2015-08-05 22:22:06 +02:00
|
|
|
browserPlatform = "ipad";
|
|
|
|
}
|
|
|
|
|
|
|
|
// document.write(navigator.appName);
|
|
|
|
// document.write(navigator.appVersion);
|
|
|
|
// document.write(navigator.browserLanguage);
|
|
|
|
// document.write(navigator.language);
|
|
|
|
// document.write(navigator.platform);
|
|
|
|
// document.write(navigator.mimeTypes.length);
|
|
|
|
// document.write(navigator.plugins.length);
|
|
|
|
// document.write(window.ActiveXObject ? "AX" : "no AX");
|