|
|
|
|
@@ -85,7 +85,159 @@ data =`<html>
|
|
|
|
|
</form>
|
|
|
|
|
`
|
|
|
|
|
} else {
|
|
|
|
|
data =`<html>
|
|
|
|
|
hasJS = session_data.hasCap("client-can-do-javascript");
|
|
|
|
|
title = `Home for ${session_data.getSessionData("subscriber_username") || "minisrv"}`
|
|
|
|
|
data = `<html><head>`;
|
|
|
|
|
if (hasJS) {
|
|
|
|
|
data += `<script src=/ROMCache/h.js></script><script src=/ROMCache/n.js></script></head><script>head('${title}','','','',1)</script>`
|
|
|
|
|
} else {
|
|
|
|
|
data += `<body background=/ROMCache/Themes/Images/Pattern.gif text=42bd52 bgcolor=191919 vlink=dddddd link=dddddd hspace=0 vspace=0 fontsize=medium>
|
|
|
|
|
<table cellspacing=0 cellpadding=0>
|
|
|
|
|
<tr><td>
|
|
|
|
|
<td width=100% height=80 valign=top align=left>
|
|
|
|
|
<spacer type=block width=11 height=11><br>
|
|
|
|
|
<spacer type=block width=10 height=1>
|
|
|
|
|
<img src=/ROMCache/WebTVLogoJewel.gif width=90 height=69>
|
|
|
|
|
<td width=100% height=80 valign=top>
|
|
|
|
|
<td abswidth=460 height=54 valign=top align=right>
|
|
|
|
|
<spacer height=32 type=block><b><shadow><blackface><font color=cbcbcb>${title} </font></blackface></shadow></b>
|
|
|
|
|
</td></tr></table>`;
|
|
|
|
|
}
|
|
|
|
|
data += `<display nooptions>
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
<center>
|
|
|
|
|
<a href="wtv-mail:/listmail" align="center"><b>Mail</b></a> -
|
|
|
|
|
<a href="wtv-favorite:/favorite" align="center"><b>Favorites</b></a> -
|
|
|
|
|
<a href="wtv-setup:/sound" align="center"><b>Music</b></a> -
|
|
|
|
|
<a href="http://frogfind.com" align="center"><b>Search</b></a> -
|
|
|
|
|
<a href="wtv-flashrom:/willie" align="center"><b>ROMs</b></a> -
|
|
|
|
|
<a href="wtv-setup:/setup" align="center"><b>Settings</b></a> -
|
|
|
|
|
<a href="wtv-guide:/help?topic=Index&subtopic=Glossary" align="center"><b>Help</b></a>
|
|
|
|
|
</center>
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
|
|
<td valign="top" width="135">
|
|
|
|
|
<table><tr>
|
|
|
|
|
<td><b>» Community «</b></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-chat:/home" height="18" valign="middle">€ Chat</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-news:/lobby" height="18" valign="middle">€ Discuss</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-setup:/messenger" height="21" valign="middle">€ Messenger</a></td>
|
|
|
|
|
</tr></table>
|
|
|
|
|
</td>
|
|
|
|
|
<td valign="top" width="120">
|
|
|
|
|
<table><tr>
|
|
|
|
|
<td><b>» Account «</b></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="client:relogin" height="21" valign="middle">€ Relogin</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-setup:/serve-billing-overview" height="21" valign="middle">€ Configure</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-setup:/edit-password" height="21" valign="middle">€ Password</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-setup:/accounts" height="21" valign="middle">€ Add User</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td>
|
|
|
|
|
`;
|
|
|
|
|
if (session_data.getSessionData("registered")) data += `<a href="wtv-tricks:/unregister" height="21" valign="middle">€ Unregister`;
|
|
|
|
|
else data += `<a href="wtv-tricks:/register" height="21" valign="middle">€ Register`
|
|
|
|
|
data += `
|
|
|
|
|
</a></td>
|
|
|
|
|
</tr></table>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td valign="top" width="120">
|
|
|
|
|
<table><tr>
|
|
|
|
|
<td><b>» Tools «</b></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-tricks:/tricks">€ WTV Tricks</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-tricks:/themes">€ Themes</a><td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-author:/documents">€ Pagebuilder</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-tricks:/blastbacklist?return_to=wtv-home:/home">€ Clear Cache</a></td>
|
|
|
|
|
</tr></table>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td valign="top">
|
|
|
|
|
<table><tr>
|
|
|
|
|
<td><b>» More Stuff «</b></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="wtv-tricks:/cSetup">€ Switch server</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="${ownMinisrv}">€ Run your own server</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="http://archive.midnightchannel.net/zefie/media/">€ Midnight Archives</a></td>
|
|
|
|
|
</tr><tr>
|
|
|
|
|
<td><a href="${supportZefieAlert}">€ Help zefie</a></td>
|
|
|
|
|
</tr></table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="left" colspan=4>
|
|
|
|
|
<table border=0 cellspacing=0 cellpadding=0 width="100%">
|
|
|
|
|
<tr>`
|
|
|
|
|
if (hasJS) {
|
|
|
|
|
data += `<script>document.write('<td colspan=2 background="'+thi+gTC('shimg')+'" text="'+gTC('bg')+'" valign=middle absheight=24>')</script>`
|
|
|
|
|
} else {
|
|
|
|
|
data += `<td colspan=2 background="/ROMCache/Themes/Images/Pattern.gif" text=42bd52 valign="middle" absheight="24">`
|
|
|
|
|
}
|
|
|
|
|
data += `
|
|
|
|
|
<spacer type=block height=3 width=100%><b><shadow> € Welcome to zefie's minisrv ${minisrv_version_string.split(" ")[3]}</shadow></b>
|
|
|
|
|
</td></tr>
|
|
|
|
|
<tr><td absheight="6"></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" colspan=3>
|
|
|
|
|
This server is operated by ${minisrv_config.config.service_owner}.<br>
|
|
|
|
|
`;
|
|
|
|
|
if (minisrv_config.config.service_description) {
|
|
|
|
|
if (typeof minisrv_config.config.service_description === "string") {
|
|
|
|
|
if (minisrv_config.config.service_description.length > 0) {
|
|
|
|
|
data += minisrv_config.config.service_description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
data += `
|
|
|
|
|
<p></p>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>`
|
|
|
|
|
if (hasJS) {
|
|
|
|
|
data += `<script>document.write('<td colspan=2 background="'+thi+gTC('shimg')+'" text="'+gTC('bg')+'" valign=middle absheight=24>')</script>`
|
|
|
|
|
} else {
|
|
|
|
|
data += `<td colspan=2 background="/ROMCache/Themes/Images/Pattern.gif" text=42bd52 valign="middle" absheight="24">`
|
|
|
|
|
}
|
|
|
|
|
data += `
|
|
|
|
|
<spacer type=block height=3 width=100%><b><shadow> € minisrv Latest Updates</b></shadow>
|
|
|
|
|
<tr><td absheight="6"></td></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" colspan=4>
|
|
|
|
|
• Added Protoweb Support (<a href="proto://www.webtv.net/">Try it!</a>)<br>
|
|
|
|
|
• Added a <a href="wtv-tricks:/charmap">WebTV Character Map</a><br>
|
|
|
|
|
• Redesigned homepage based on MattMan69's HackTV<br>
|
|
|
|
|
• Added a new minisrv logo<br>
|
|
|
|
|
</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</table>
|
|
|
|
|
</body>
|
|
|
|
|
</html>`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
data =`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<display hspace=0 vspace=0 fontsize=small noscroll showwhencomplete>
|
|
|
|
|
<title>
|
|
|
|
|
@@ -347,3 +499,4 @@ data += `
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
data += "</body>\n</html>";
|
|
|
|
|
*/
|