clean up file structure
@@ -0,0 +1,108 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
headers = `200 OK
|
||||
Connection: Keep-Alive
|
||||
Content-Type: text/html`
|
||||
data = `
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
${minisrv_config.config.service_name} Terms of Service
|
||||
</TITLE>
|
||||
<DISPLAY >
|
||||
</HEAD>
|
||||
<sidebar width=110> <table cellspacing=0 cellpadding=0 BGCOLOR="8C6A2E">
|
||||
<tr>
|
||||
<td colspan=3 abswidth=104 absheight=4>
|
||||
<td rowspan=99 width=6 absheight=420 valign=top align=left>
|
||||
<img src="wtv-home:/ROMCache/Shadow.gif" width=6 height=420>
|
||||
<tr>
|
||||
<td abswidth=6>
|
||||
<td abswidth=92 absheight=76>
|
||||
<table href="wtv-home:/home" absheight=76 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td align=right>
|
||||
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
|
||||
</table>
|
||||
<td abswidth=6>
|
||||
<tr><td absheight=5 colspan=3>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr><td abswidth=104 absheight=2 valign=middle align=center bgcolor="5a4521">
|
||||
<img src="wtv-home:/ROMCache/Spacer.gif" width=1 height=1>
|
||||
<tr><td abswidth=104 absheight=1 valign=top align=left>
|
||||
<tr><td abswidth=104 absheight=2 valign=top align=left bgcolor="c0954a">
|
||||
<img src="wtv-home:/ROMCache/Spacer.gif" width=1 height=1>
|
||||
</table>
|
||||
<tr><td absheight=100>
|
||||
<tr><td absheight=244 align=right colspan=3>
|
||||
<img src="images/TermsBanner.gif" width=48 height=136>
|
||||
<tr><td absheight=41>
|
||||
</table>
|
||||
</sidebar>
|
||||
<print blackandwhite>
|
||||
<print blackandwhite>
|
||||
<BODY BGCOLOR="#191919" TEXT="#44cc55" LINK="189CD6" VLINK="189CD6" HSPACE=0 VSPACE=0 FONTSIZE="large"
|
||||
>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td abswidth=14>
|
||||
<td abswidth=416 absheight=80 valign=center>
|
||||
<font size="+2" color="E7CE4A"><blackface><shadow>
|
||||
<font size="+1">
|
||||
<CENTER><B>${minisrv_config.config.service_name} Terms of Service</B></font><br>
|
||||
<B><font size="-1">(Release date January 21, 2022)</B></CENTER></font>
|
||||
<td abswidth=20>
|
||||
<tr>
|
||||
<td>
|
||||
<td valign=top align=left>
|
||||
<p><b>General</b><br>
|
||||
<p>This is a Work-in-Progress remaster of the WebTV service, originally hosted by WebTV Networks, Inc.
|
||||
This server has no affiliation with WebTV Networks, and many original assets and pages belong to them.</p>
|
||||
<p><b>Rules</b><br>
|
||||
<p>You must follow these rules, or your privilege to access this service may be revoked.</p>
|
||||
<ul>
|
||||
<li>Do not harass other users</li>
|
||||
<li>Do not impersonate others on the network</li>
|
||||
<li>Do not send spam e-mail</li>
|
||||
<li>Do not attempt to access unauthorized areas of the network</li>
|
||||
<li>Do not attempt to disrupt or otherwise negatively impact the service for others</li>
|
||||
<li>All users must be over 13 years of age, or be accompanied by a parent or guardian at all times</li>
|
||||
</ul>
|
||||
<p>Failure to abide by one or more of these rules may require your access to be terminated.</p>
|
||||
<p><b>Service Termination</b><br>
|
||||
<p>If you break one or more of the rules listed above, your access to the service may be revoked. Disclosure of your termination reason will be decided on a case-by-case basis. Any attempt for a banned user to regain access to the server will be dealt with immediately. If you know of a banned user who is still on the network, please report it to us by contacting ${minisrv_config.config.service_owner_contact} via ${minisrv_config.config.service_owner_contact_method}. All decisions are final, and will not be reverted.</p>
|
||||
|
||||
<p>These terms can change at any time, without warning. Your continued usage of the service is an agreement to these Terms of Service. If you do not agree to these terms, please disconnect immediately and contact ${minisrv_config.config.service_owner_contact} via ${minisrv_config.config.service_owner_contact_method} to terminate your account.</p>
|
||||
<td>
|
||||
<tr>
|
||||
<td absheight=7>
|
||||
<tr>
|
||||
<td>
|
||||
<td colspan=2 absheight=2 bgcolor="2B2B2B">
|
||||
<img src="ROMCache/Spacer.gif" width=426 height=1>
|
||||
<tr>
|
||||
<td absheight=1>
|
||||
<tr>
|
||||
<td>
|
||||
<td colspan=2 absheight=2 bgcolor="0D0D0D">
|
||||
<img src="ROMCache/Spacer.gif" width=426 height=1>
|
||||
<tr>
|
||||
<td absheight=4>
|
||||
</table>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td abswidth=430 valign=top align=right>
|
||||
<form
|
||||
action=client:goback>
|
||||
<font color="#E7CE4A" size=-1><shadow>
|
||||
<input
|
||||
selected
|
||||
type=submit borderimage="file://ROM/Borders/ButtonBorder2.bif" value=Done name="Done" usestyle width=103>
|
||||
</shadow></font></form>
|
||||
<td abswidth=20>
|
||||
<tr>
|
||||
<td absheight=15>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
@@ -0,0 +1,120 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
headers = `200 OK
|
||||
Connection: Keep-Alive
|
||||
Content-Type: text/html`
|
||||
data = `
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
${minisrv_config.config.service_name} Service Privacy Statement
|
||||
</TITLE>
|
||||
<DISPLAY >
|
||||
</HEAD>
|
||||
<sidebar width=110> <table cellspacing=0 cellpadding=0 BGCOLOR="8C6A2E">
|
||||
<tr>
|
||||
<td colspan=3 abswidth=104 absheight=4>
|
||||
<td rowspan=99 width=6 absheight=420 valign=top align=left>
|
||||
<img src="ROMCache/Shadow.gif" width=6 height=420>
|
||||
<tr>
|
||||
<td abswidth=6>
|
||||
<td abswidth=92 absheight=76>
|
||||
<table href="wtv-home:/home" absheight=76 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td align=right>
|
||||
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
|
||||
</table>
|
||||
<td abswidth=6>
|
||||
<tr><td absheight=5 colspan=3>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr><td abswidth=104 absheight=2 valign=middle align=center bgcolor="5a4521">
|
||||
<img src="ROMCache/Spacer.gif" width=1 height=1>
|
||||
<tr><td abswidth=104 absheight=1 valign=top align=left>
|
||||
<tr><td abswidth=104 absheight=2 valign=top align=left bgcolor="c0954a">
|
||||
<img src="ROMCache/Spacer.gif" width=1 height=1>
|
||||
</table>
|
||||
<tr><td absheight=100>
|
||||
<tr><td absheight=244 align=right colspan=3>
|
||||
<img src="images/TermsBanner.gif" width=48 height=136>
|
||||
<tr><td absheight=41>
|
||||
</table>
|
||||
</sidebar>
|
||||
<print blackandwhite>
|
||||
<print blackandwhite>
|
||||
<BODY BGCOLOR="#191919" TEXT="#44cc55" LINK="189CD6" VLINK="189CD6" HSPACE=0 VSPACE=0 FONTSIZE="large"
|
||||
>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td abswidth=14>
|
||||
<td abswidth=416 absheight=80 valign=center>
|
||||
<font size="+2" color="E7CE4A"><blackface><shadow>
|
||||
<font size="+1">
|
||||
<CENTER><B>${minisrv_config.config.service_name} Service Privacy Statement</B></font><br>
|
||||
<B><font size="-1">(Release date Febuary 8, 2022)</B></CENTER></font>
|
||||
<td abswidth=20>
|
||||
<tr>
|
||||
<td>
|
||||
<td valign=top align=left>
|
||||
<p>The purpose of this WebTV server is to allow hobbyists and enthusiasts to have a way to use their WebTV units in modern times. There will be inaccuracies in some areas, and many features are still unimplemented.</p>
|
||||
<p><b>With Whom Personal Information Is Shared and What Is Collected</b><br>
|
||||
<p>When you register with a WebTV account on this server, you are sharing the following:</p>
|
||||
<ul>
|
||||
<li>Your WebTV SSID (Silicon Serial ID)</li>
|
||||
<li>Your name</li>
|
||||
<li>Your ZIP Code</li>
|
||||
<li>Pages you access</li>
|
||||
</ul>
|
||||
<p>This information is shared with the server operators.</p>
|
||||
<p><b>Your Silicon Serial ID</b><br>
|
||||
<p>Your Silicon Serial ID (SSID) is used to identify you on the network. Anyone with your SSID can impersonate you on the network, so don't share it. This ID is stored on our servers when you sign up, however it will not be shared with anyone except the server operators.</p>
|
||||
<p><b>Your Name</b><br>
|
||||
<p>The name that you enter while signing up will be stored on our servers, however it will not be shared with anyone except the server operators.</p>
|
||||
<p><b>Your ZIP Code</b><br>
|
||||
<p>The ZIP Code you enter to set weather info will be stored on our servers, and will only be sent to The Weather Channel to get current data. You are not required to enter a ZIP code, however it is required to fully utilize weather forecasting.</p>
|
||||
<p><b>Pages you access</b><br>
|
||||
<p>All pages you visit and images you download will be temporarily logged for security reasons. This includes WebTV Network pages and Internet Web sites. This information can not be traced back to you, and will only be viewable to server operators for a short time. IRC Chat messages will <b><i>not</i></b> be logged, however server operators can see what servers you are connecting to.</p>
|
||||
<p><b>How We Help Protect Children's Privacy</b><br>
|
||||
<p>We do not knowingly collect information from children under the age of 13 to comply with COPPA. If it becomes known that an account was created by someone under 13, the main user and all secondary accounts will be terminated immediately. All secondary users under 13 must be accompanied by a parent or guardian while using this service.</p>`;
|
||||
/*
|
||||
* //todo: decide if we should add a coppa config var to deal with this
|
||||
* <!-- <p><font size="-1"><i>MSN Privacy<br>
|
||||
Microsoft Corporation<br>
|
||||
One Microsoft Way<br>
|
||||
Redmond, Washington 98052<br>
|
||||
425-882-8080<br></i></font> -->
|
||||
*/
|
||||
|
||||
data += `<p>This Privacy Statement can change at any time, and without warning. If you do not agree with this Privacy Statement, please disconnect and contact ${minisrv_config.config.service_owner_contact} via ${minisrv_config.config.service_owner_contact_method} to terminate your account.</p>
|
||||
<td>
|
||||
<tr>
|
||||
<td absheight=7>
|
||||
<tr>
|
||||
<td>
|
||||
<td colspan=2 absheight=2 bgcolor="2B2B2B">
|
||||
<img src="ROMCache/Spacer.gif" width=426 height=1>
|
||||
<tr>
|
||||
<td absheight=1>
|
||||
<tr>
|
||||
<td>
|
||||
<td colspan=2 absheight=2 bgcolor="0D0D0D">
|
||||
<img src="ROMCache/Spacer.gif" width=426 height=1>
|
||||
<tr>
|
||||
<td absheight=4>
|
||||
</table>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td abswidth=430 valign=top align=right>
|
||||
<form
|
||||
action=client:goback>
|
||||
<font color="#E7CE4A" size=-1><shadow>
|
||||
<input
|
||||
selected
|
||||
type=submit borderimage="file://ROM/Borders/ButtonBorder2.bif" value=Done name="Done" usestyle width=103>
|
||||
</shadow></font></form>
|
||||
<td abswidth=20>
|
||||
<tr>
|
||||
<td absheight=15>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
302
zefie_wtvp_minisrv/includes/ServiceVault/wtv-home/home.js
Normal file
@@ -0,0 +1,302 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
headers =`200 OK
|
||||
Connection: Keep-Alive
|
||||
wtv-expire-all: wtv-home:/splash
|
||||
Content-type: text/html`
|
||||
|
||||
var cryptstatus = (wtv_encrypted ? "Encrypted" : "Not Encrypted")
|
||||
var comp_type = wtvmime.shouldWeCompress(socket.ssid,'text/html');
|
||||
var compstatus = "uncompressed";
|
||||
switch (comp_type) {
|
||||
case 1:
|
||||
compstatus = "wtv-lzpf";
|
||||
break;
|
||||
case 2:
|
||||
compstatus = "gzip (level 9)";
|
||||
break;
|
||||
}
|
||||
|
||||
var wtv_system_sysconfig = session_data.get("wtv-system-sysconfig");
|
||||
var wtv_client_bootrom_version = session_data.get("wtv-client-bootrom-version");
|
||||
var wtv_system_chipversion_str = session_data.get("wtv-system-chipversion");
|
||||
|
||||
var notImplementedAlert = new clientShowAlert({
|
||||
'image': minisrv_config.config.service_logo,
|
||||
'message': "This feature is not available.",
|
||||
'buttonlabel1': "Okay",
|
||||
'buttonaction1': "client:donothing",
|
||||
'noback': true,
|
||||
}).getURL();
|
||||
|
||||
var notAdminAlert = new clientShowAlert({
|
||||
'image': minisrv_config.config.service_logo,
|
||||
'message': "Sorry, you are not configured as an admin on this server.<br><br>If you are the server operator, please<br> see <strong>user_config.example.json</strong><br> for an example on how to configure yourself as an administrator.",
|
||||
'buttonlabel1': "Ugh, fine.",
|
||||
'buttonaction1': "client:donothing",
|
||||
'noback': true,
|
||||
}).getURL();
|
||||
|
||||
var ownMinisrv = new clientShowAlert({
|
||||
'image': minisrv_config.config.service_logo,
|
||||
'message': "To run your own minisrv, please visit the following link on your PC:<br><br><strong>https://zef.pw/minisrv</strong>",
|
||||
'buttonlabel1': "Okay",
|
||||
'buttonaction1': "client:donothing",
|
||||
'noback': true,
|
||||
}).getURL();
|
||||
|
||||
var supportZefieAlert = new clientShowAlert({
|
||||
'image': minisrv_config.config.service_logo,
|
||||
'message': "If you would like to support zefie or minisrv, please visit the following link on your PC:<br><br><font size=-1><strong>https://zef.pw/helpminisrv</strong></font>",
|
||||
'buttonlabel1': "Okay",
|
||||
'buttonaction1': "client:donothing",
|
||||
'noback': true,
|
||||
}).getURL();
|
||||
|
||||
data =`\0<html>
|
||||
<head>
|
||||
<display hspace=0 vspace=0 fontsize=small noscroll showwhencomplete>
|
||||
<title>
|
||||
Home for ${session_data.getSessionData("subscriber_username") || "minisrv"}
|
||||
</title>
|
||||
</head>
|
||||
<body bgcolor="#3C2F47" link=#BBAEC8 text="ffffff" vlink=AA9DB7>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width="100%" height="60" >
|
||||
<tr>
|
||||
<td>
|
||||
<td align="left"><img src="images/proto3/HomeTopLeftEdge.gif"></td>
|
||||
<td valign="top">
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td colspan=4 valign="top"><img src="images/proto3/HomeTopEdge.gif">
|
||||
</tr>
|
||||
<tr><td height=5 colspan=4>
|
||||
</tr>
|
||||
<tr><td></TD>
|
||||
</tr>
|
||||
<tr><td height=3 colspan=4>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td align="left">
|
||||
<font color=#EEEEEE> <b>WebTV URL, FILE, and CLIENT Access:</b></font>
|
||||
<table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td width="380">
|
||||
<form name="urlaccess">
|
||||
<input type="text" name="visitsite" value="wtv-" border="1" bgcolor="#BBAEC8" text="#423852" cursor="#423852" align="center" width="314" executeurl autoactivate>
|
||||
<input type="submit" value="Go" width=20>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<td>
|
||||
<td width=5>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table background="images/proto3/HomeTaskBar.gif" bgcolor="#9486A1" border=0 width="" height="25">
|
||||
<tr>
|
||||
<td abswidth=1><spacer type=block height=3 width=1>
|
||||
<td abswidth=50 bgcolor="#3C2F47" href="wtv-mail:/listmail" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Mail</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=86 bgcolor="#3C2F47" href="wtv-favorite:/favorite" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Favorites</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=70 bgcolor="#3C2F47" href="wtv-setup:/sound" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Music</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=74 bgcolor="#3C2F47" href="http://frogfind.com" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Search</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=60 bgcolor="#3C2F47" href="wtv-flashrom:/willie" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>ROMs</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=86 bgcolor="#3C2F47" href="wtv-setup:/setup" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Settings</b></font>
|
||||
<td abswidth=2><img src="images/proto3/HomeTaskBarDividers.gif">
|
||||
<td abswidth=50 bgcolor="#3C2F47" href="wtv-guide:/help?topic=Index&subtopic=Glossary" align="center"><spacer type=block height=3 width=100%><font color="#EEEEEE"><b>Help</b></font>
|
||||
</table>
|
||||
|
||||
<table border=0 bgcolor="#3C2F47">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<table border=0>
|
||||
<tr>
|
||||
<td colspan=3>
|
||||
<table bgcolor="#BBAEC8" border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
<td abswidth=125 colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="26"><font size=2 color="#EEEEEE"><b>» Community «</b></font>
|
||||
<tr>
|
||||
<td colspan=3 height=7>
|
||||
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-chat:/home" height="18" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Chat</font>
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-news:/lobby" height="18" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Discuss</font>
|
||||
<td abswidth="15">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-setup:/messenger" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Messenger</font>
|
||||
<td abswidth="15">
|
||||
<tr>
|
||||
<td absheight="5">
|
||||
</table>
|
||||
<tr>
|
||||
<td valign="top" colspan=3>
|
||||
<table bgcolor="#BBAEC8" border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
<td abswidth=125 colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="26" valign="top"><font size=2 color="#EEEEEE"><b>» Account «</b></font>
|
||||
<tr>
|
||||
<td colspan=3 height=7>
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="client:relogin" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Relogin</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-setup:/serve-billing-overview" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Configure</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-setup:/edit-password" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Password</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-setup:/accounts" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Add User</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
`;
|
||||
if (session_data.getSessionData("registered")) data += `<td href="wtv-tricks:/unregister" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Unregister</font>`;
|
||||
else data += `<td href="wtv-tricks:/register" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Register</font>`
|
||||
data += `
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
|
||||
</table>
|
||||
</table>
|
||||
<td valign="top">
|
||||
<table border=0 width=100%>
|
||||
|
||||
|
||||
<tr>
|
||||
<td align="left" colspan=4>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width="100%">
|
||||
<tr>
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
<td colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="24"><font color="#EEEEEE"><spacer type=block height=3 width=100%><b> € Welcome to zefie's minisrv ${minisrv_version_string.split(" ")[3]}</b></font>
|
||||
<tr>
|
||||
<td absheight="6">
|
||||
<tr>
|
||||
<td valign="top" colspan=3 absheight=63>
|
||||
This server is operated by ${minisrv_config.config.service_owner}.
|
||||
</table>
|
||||
|
||||
<tr>
|
||||
<td align="left" colspan=4>
|
||||
<table border=0 cellspacing=0 cellpadding=0 width="100%">
|
||||
<tr>
|
||||
<td height=6> <tr>
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
<td colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="24"><font color="#EEEEEE"><spacer type=block height=3 width=100%><b> € minisrv Latest Updates</b></font>
|
||||
<tr>
|
||||
<td absheight="6">
|
||||
<tr>
|
||||
<td valign="top" colspan=4 absheight=80 >
|
||||
• 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>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<td valign="top">
|
||||
|
||||
|
||||
<table border=0 width=160>
|
||||
<tr>
|
||||
<td valign="top" colspan=3>
|
||||
|
||||
|
||||
<table bgcolor="#BBAEC8" border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
|
||||
<td abswidth=125 colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="24" valign="top"><font size=2 color="#EEEEEE"><b>» Tools «</b></font>
|
||||
<tr>
|
||||
<td colspan=3 height=6>
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-tricks:/tricks" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">WTV Tricks</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="${(wtvshared.isAdmin(session_data)) ? "wtv-admin:/admin" : notAdminAlert}" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">WTV Admin</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-tricks:/blastbacklist?return_to=wtv-home:/home" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Clear Cache</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
</table>
|
||||
<tr>
|
||||
<td valign="top" colspan=3>
|
||||
<table bgcolor="#BBAEC8" border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td background="images/proto3/HomeColumn3Header.gif" abswidth="6">
|
||||
|
||||
<td abswidth=125 colspan=2 background="images/proto3/HomeColumn3Header.gif" valign="middle" absheight="24" valign="top"><font size=2 color="#EEEEEE"><b>» More Stuff «</b></font>
|
||||
<tr>
|
||||
<td colspan=3 height=7>
|
||||
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="wtv-tricks:/cSetup" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Switch<br> server</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="5">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="${ownMinisrv}" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Run your<br> own server</font>
|
||||
<td abswidth="6">
|
||||
<tr>
|
||||
<td absheight="5">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="http://archive.midnightchannel.net/zefie/media/" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Midnight<br> Archives</font>
|
||||
<td abswidth="15">
|
||||
<tr>
|
||||
<td absheight="4">
|
||||
<tr>
|
||||
<td abswidth="6">
|
||||
<td href="${supportZefieAlert}" height="21" valign="middle" bgcolor="#BBAEC8"><font color="#454C73">€ </font><font color="#000000">Help zefie</font>
|
||||
<td abswidth="15">
|
||||
<tr>
|
||||
<td absheight="3">
|
||||
</table>
|
||||
</table>
|
||||
</table>
|
||||
`
|
||||
data += "</body>\n</html>";
|
||||
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 805 B |
|
After Width: | Height: | Size: 921 B |
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 779 B |
|
After Width: | Height: | Size: 799 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 205 B |
|
After Width: | Height: | Size: 169 B |
|
After Width: | Height: | Size: 374 B |
|
After Width: | Height: | Size: 442 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 647 B |
|
After Width: | Height: | Size: 655 B |
|
After Width: | Height: | Size: 40 B |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 340 B |
BIN
zefie_wtvp_minisrv/includes/ServiceVault/wtv-home/images/rom.gif
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
36
zefie_wtvp_minisrv/includes/ServiceVault/wtv-home/splash.js
Normal file
@@ -0,0 +1,36 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
headers = `200 OK
|
||||
Connection: Keep-Alive
|
||||
wtv-expire-all: wtv-
|
||||
wtv-expire-all: http
|
||||
Content-Type: text/html`
|
||||
|
||||
data = `<html>
|
||||
<head>
|
||||
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
||||
<title>Engaging zefie...</title>
|
||||
<meta http-equiv=Refresh content="${(wtvshared.parseBool(session_data.getSessionData("fast_splash"))) ? "0" : "4"}; url=wtv-home:/home?">
|
||||
</head>
|
||||
<body bgcolor="#000000" text="#449944">
|
||||
<bgsound src="file://ROM/Sounds/Splash.mid">
|
||||
<center>
|
||||
<spacer type=block height=88 width=21>
|
||||
<img src="file://ROM/Images/spacer.gif" height=4><br>
|
||||
<img src="${minisrv_config.config.service_splash_logo}">
|
||||
<br><br><br>
|
||||
<p><br>
|
||||
<p><br>`;
|
||||
if (minisrv_config.config.show_detailed_splash) {
|
||||
data += `<table border>
|
||||
<tr><td>
|
||||
${minisrv_config.config.service_name} Mini Service hosted by ${minisrv_config.config.service_owner}
|
||||
<tr><td>
|
||||
minisrv v${minisrv_config.version} ${(minisrv_config.config.git_commit) ? '(git ' + minisrv_config.config.git_commit + ')' : ''}
|
||||
<tr><td>Connected: &rate;
|
||||
</table>`;
|
||||
}
|
||||
data += `
|
||||
</center>
|
||||
</body>
|
||||
</html>`;
|
||||