diff options
Diffstat (limited to 'html')
-rwxr-xr-x | html/54_bg.jpg | bin | 0 -> 14577 bytes | |||
-rwxr-xr-x | html/54_bg.png | bin | 0 -> 134691 bytes | |||
-rwxr-xr-x | html/EmbedInHtml.html | 25 | ||||
-rwxr-xr-x | html/default_page.html | 14 | ||||
-rwxr-xr-x | html/logo.png | bin | 0 -> 56118 bytes | |||
-rwxr-xr-x | html/notFoundPage.html | 32 |
6 files changed, 71 insertions, 0 deletions
diff --git a/html/54_bg.jpg b/html/54_bg.jpg Binary files differnew file mode 100755 index 00000000..ac83a6ab --- /dev/null +++ b/html/54_bg.jpg diff --git a/html/54_bg.png b/html/54_bg.png Binary files differnew file mode 100755 index 00000000..8895344c --- /dev/null +++ b/html/54_bg.png diff --git a/html/EmbedInHtml.html b/html/EmbedInHtml.html new file mode 100755 index 00000000..3beb1d7b --- /dev/null +++ b/html/EmbedInHtml.html @@ -0,0 +1,25 @@ +<html> +<head> + + + <script type="text/javascript"> + var s = window.location.href; + var url = s.substring(s.indexOf("?") + 1, s.lastIndexOf("?")); + document.write("<title>" + unescape(url) + "</title>"); + </script> + + +</head> +<body > +<object width="100%" height="100%"> + + <script type="text/javascript"> + var s = window.location.href; + var url = s.substring(s.indexOf("?") + 1, s.lastIndexOf("?")); + var type = s.substring(s.lastIndexOf("?") + 1, s.length); + document.write("<embed width=\"100%\" height=\"100%\" src=\"" + unescape(url) + "\" type=\"" + unescape(type) + "\" />"); + </script> + +</object> +</body> +</html> diff --git a/html/default_page.html b/html/default_page.html new file mode 100755 index 00000000..86396fdd --- /dev/null +++ b/html/default_page.html @@ -0,0 +1,14 @@ +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=480, user-scalable=no"> + <title> Type URL for Web Surfing </title> +</head> +<body> + <br><br><br><br> + <center> + <img width=391 height=404 src="./logo.png" alt="" /> + <br><br> + </center> +</body> +</html> diff --git a/html/logo.png b/html/logo.png Binary files differnew file mode 100755 index 00000000..eb6918b2 --- /dev/null +++ b/html/logo.png diff --git a/html/notFoundPage.html b/html/notFoundPage.html new file mode 100755 index 00000000..afe1bf00 --- /dev/null +++ b/html/notFoundPage.html @@ -0,0 +1,32 @@ +<html> +<head><title>Page Not Found</title></head> + +<body bgcolor="white" text="black" text-align="left"> +<!--<body bgcolor="#4c4c4c" text="white" text-align="left">--> +<center> +<table> +<tr><td><h1>Page Not Found<br/></td></tr> +<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> +<script type="text/javascript"> + function formatText(url){ //remove prefixes "http://" etc. and last "/" + var ret = url; + ret=ret.replace("http://", ""); + ret=ret.replace("ftp://", ""); + ret=ret.replace("https://", ""); + ret=ret.replace("sftp://", ""); + ret=ret.replace("file://", ""); + if (ret.charAt(ret.length-1)=="/") ret=ret.substring(0, ret.length-1); + return ret; + } + + var s = window.location.href; + var failingUrl = s.substring(s.indexOf("?") + 1, s.lastIndexOf("?")); + document.write("<p><tr><td><h2>URL: " + unescape(failingUrl) + "</h2></td></tr>"); + var errorDesc = s.substring(s.lastIndexOf("?") + 1, s.length); + document.write("<tr><td><h2>Error: " + unescape(errorDesc) + "</h2></td></tr>"); + document.write("<tr><td><h3>Google: <form method=\"get\" action=\"http://www.google.com/custom\"><input type=text name=\"q\" size=25 maxlength=100 value=\""+ formatText(unescape(failingUrl))+"\"> <input type=submit name=\"sa\" value=Search></form></h3></td></tr>"); +</script> +</table> +</h1> +</body> +</html> |