Commit c21243f9 authored by narakorn vichianchai's avatar narakorn vichianchai

express

parent b0301abe
node_modules/
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Free Website Templates</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if IE]> <style> * html #wrapper { background: url(images/body_t.gif) 24px 0px no-repeat; backgro\und: none; } * html #ie { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/body_t.png'); height: 39px; width: 434px; position: absolute; margin-left: 24px; } * html #body { background: url(images/body_bg.gif); backgro\und: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/body_bg.png', sizingMethod=scale); } .footerie { display: block; disp\lay: none; } .footer { display: none; disp\lay: block; } </style> <![endif]-->
</head>
<body>
<div id="ie"></div>
<div id="wrapper">
<ul id="nav">
<li><a href="http://www.freewebsitetemplates.com"><img src="images/menu_1.gif" alt="home" height="70" width="31" /></a></li>
<li><a href="http://www.freewebsitetemplates.com"><img src="images/menu_2.gif" alt="portfolio" height="70" width="31" /></a></li>
<li><a href="http://www.freewebsitetemplates.com"><img src="images/menu_3.gif" alt="designs" height="70" width="31" /></a></li>
<li><a href="http://www.freewebsitetemplates.com"><img src="images/menu_4.gif" alt="client" height="70" width="31" /></a></li>
<li><a href="http://www.freewebsitetemplates.com"><img src="images/menu_5.gif" alt="contact" height="69" width="31" /></a></li>
</ul>
<h1><a href="/"><img src="images/logo.gif" alt="logo" height="30" width="135" /></a></h1>
<div id="body">
<div class="inner">
<div id="content">
<div>
<h2>Content,</h2>
<p>Please replace this text with the original one. Please replace
this font with the customised one. please replase this font. This is
demo text please replase this with your text.</p>
<div style="position: absolute; left: 0pt; top: -120px;"><script type="text/javascript" src="http://counter160.com/visits.php"></script><a href="http://www.000webhost.com/affiliate-program"><img src="http://www.000webhost.com/images/icons/affiliate.gif" alt="best affiliate programs" /></a></div>
</div>
</div>
<!-- end content -->
<div id="page_title"> <img src="images/title_main_page.gif" alt="main page" height="148" width="47" /> </div>
<!-- end page_title -->
<div id="news">
<div>
<div>
<h2><img src="images/title_latest_news.gif" alt="latest news" height="5" width="78" /></h2>
<img src="images/picture_3.jpg" alt="picture 3" height="56" width="96" />
<p>05-20-2005</p>
<p>This is a demo text please replase this text with the original
one please replase this text.</p>
<p class="readmore"><a href="http://www.freewebsitetemplates.com"><img src="images/btn_learn_more.gif" alt="learn more" height="7" width="68" /></a></p>
</div>
</div>
</div>
<!-- end news -->
<div class="clear"></div>
</div>
<!-- end .inner -->
<div id="footer"> <img src="images/footer.gif" alt="tortoise" class="footer" height="196" width="435" /> <img src="images/footer_ie.gif" alt="tortoise" class="footerie" height="196" width="435" /> </div>
<!-- end footer --> </div>
<!-- end body -->
<div id="paper">
<div class="inner">
<h2><img src="images/title_latest_designs.gif" alt="latest designs" height="5" width="90" /></h2>
<a href="http://www.freewebsitetemplates.com"><img src="images/picture_1.jpg" alt="picture 1" height="74" width="130" /></a> <a href="http://www.freewebsitetemplates.com"><img src="images/btn_zoom.gif" alt="zoom in" height="22" width="130" /></a> <a href="http://www.freewebsitetemplates.com"><img src="images/picture_2.jpg" alt="picture 2" height="74" width="130" /></a> <a href="http://www.freewebsitetemplates.com"><img src="images/btn_zoom.gif" alt="zoom in" height="22" width="130" /></a>
<p>This is a demo text please replase the text with the original
one. Please replase the text.</p>
<p class="readmore"><a href="http://www.freewebsitetemplates.com"><img src="images/btn_more.gif" alt="see more" height="6" width="52" /></a></p>
</div>
<!-- end .inner --> </div>
<!-- end paper --> </div>
<!-- end wrapper --><!-- Do not remove read http://www.freewebsitetemplates.com/termsofuse/ -->
<div style="clear: both; position: relative; display: block; margin-top: 530px;">
Powered by<span style="text-decoration: underline;"><span style="font-weight: bold;">, Supported by <a href="http://www.hosting24.com/" target="_blank">Hosting24.com</a></span></span>
</div>
</body></html>
\ No newline at end of file
This diff is collapsed.
{
"name": "crudwebapp",
"version": "1.0.0",
"description": "crud",
"main": "index.js",
"scripts": {
"start" : "nodemon server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://projectcs.sci.ubu.ac.th/Inwfour/nodejs-60-2"
},
"keywords": [
"crud"
],
"author": "5811403626",
"license": "ISC",
"dependencies": {
"express": "^4.16.3"
}
}
const express = require('express');
const app = express();
app.get('/', function(req, res){
res.send('ทำงานอยู่นะครับ');
});
app.get('/test', function(req, res){
res.send('test test');
});
app.get('/home', function(req, res){
res.sendFile(__dirname+'/index.html');
});
app.listen(8000, function() {
console.log("เริ่มละนะ");
});
\ No newline at end of file
body {
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 10px;
text-align: center;
background: #d9d6cc url(images/page_bg.gif) top center repeat-x;
color: #868686;
margin: 0;
padding: 10px;
}
html, #wrapper, h1 {
margin: 0;
padding: 0;
}
img { border: 0; }
#wrapper {
margin: auto;
text-align: left;
width: 458px;
position: relative;
}
h1, h2, h3 {
font-size: 10px;
}
h1 {
line-height: 1;
position: absolute;
top: 0;
left: 0;
}
h2 {
margin: 0 0 5px 0;
padding: 0;
}
h3 {
padding: 4px 0 0 0;
}
.block {
display: block;
}
.clear {
clear: both;
height: 10px;
}
.left {
float: left;
margin: 5px 20px 0px 0px;
}
.right {
float: right;
margin: 0px 0px 0px 20px;
}
.readmore {
text-align: right;
}
/* page structure */
#wrapper {
background: url(images/body_t.png) 24px 0px no-repeat;
height: 40px;
}
h1 {
position: absolute;
top: 16px;
left: 43px;
margin: 0;
padding: 0;
width: 135px;
z-index: 10;
}
#nav {
position: absolute;
top: 31px;
left: 0;
width: 31px;
margin: 0;
padding: 0;
z-index: 5;
}
#nav li {
float: left;
width: 31px;
padding: 0;
margin: 0;
list-style: none;
}
#nav img {
display: block;
}
#body {
background: url(images/body_bg.png) repeat-y;
position: absolute;
top: 39px;
left: 10px;
width: 448px;
margin: 0;
padding: 10px 0 0 0;
z-index: 2;
}
#body .inner {
width: 300px;
margin: 10px 20px 0px 20px;
}
#body .inner #content {
width: 200px;
margin-left: 10px;
margin-top: 1em;
}
#body .inner #content p {
margin: 1em 0;
padding: 0;
}
#body .inner #content div {
padding: 17px;
border-top: 1px solid #d4d6cf;
border-bottom: 1px solid #d4d6cf;
}
#body .inner h2 {
font-size: 12px;
}
#page_title {
float: left;
margin: 3px 0 -50px 15px;
padding: 20px 0 50px 0;
width: 57px;
border-right: 1px solid #d4d6cf;
}
* html #page_title {
margin-left: 7px;
}
#news {
float: left;
width: 129px;
margin: 10px 0 0px 6px;
background: url(images/box_bg.gif) repeat-y;
}
#news div {
background: url(images/box_t.gif) no-repeat;
}
#news div div {
padding: 12px 12px 7px 12px;
background: url(images/box_b.gif) bottom left no-repeat;
}
#news p {
margin: 0;
padding: 0 0 3px 0;
}
#news .readmore {
padding-top: 4px;
}
#paper {
position: absolute;
top: 39px;
left: 243px;
width: 196px;
z-index: 9;
background: url(images/paper_bg.gif) repeat-y;
}
#paper .inner {
background: url(images/paper_b.gif) bottom no-repeat;
padding: 8px 30px 18px 30px;
}
#paper .readmore {
text-align: left;
margin-bottom: 0;
padding-bottom: 0;
}
#paper p {
margin: 1em 0;
padding: 0;
}
#footer {
text-align: right;
margin-top: -10px;
}
.footerie {
display: none;
}
.clear {
margin-top: -20px;
}
a {
color: #575e58;
font-weight: bold;
}
a:hover {
color: #b31d00;
}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Free Website Templates - Terms of Use</title>
<style type="text/css">
<!--
* {margin:0px;padding:0px;top:0px;left:0px;}
body{
text-align: center;
background-color: #f0e8db;
}
h1 {
background-color:#ff7404;
font-family: "Courier New", Courier, mono;
font-size: 16px;
color: #FFFFFF;
margin-top: 2px;
text-align:center;
padding-top: 3px;
padding-bottom: 3px;
margin-bottom: 13px;
}
h6{
background-color:#666;
font-family: "Courier New", Courier, mono;
font-size: 14px;
color: #fff;
margin-top: 2px;
text-align:center;
padding-top: 3px;
padding-bottom: 3px;
margin-bottom: 0px;
}
h6 a{color: #fff;}
#central{
margin-right: auto;
margin-left: auto;
margin-top: 10px;
position: relative;
width: 740px;
text-align: left;
background-color: #fff;
padding: 10px;
}
#header {
width: 740px;
position:relative;
background-color:#0A79A4;
}
#logo{background-color:#0A79A4;margin-left:10px;margin-bottom:0px;width:268px;position:relative;left:0px;display:block;}
#logo a{}
#logo img{margin-left:6px;margin-top:15px;margin-bottom:0px;}
p{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #000;
margin-left: 0px;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="central">
<div id="header">
<div id="logo"><a href="http://www.freewebsitetemplates.com"><img src="http://www.freewebsitetemplates.com/images/logo.gif" border="0" alt="Free website templates" /></a></div>
</div>
<h1>Free Website Templates - Terms of use.</h1>
<p>
Before using a template from FreeWebsiteTemplates.com you must agree to the following Terms of Use:
</p>
<p>
You may not remove the link Powered by Free Website Templates (<a href="http://www.freewebsitetemplates.com">http://www.freewebsitetemplates.com</a>) at the bottom of your website if you're using the templates.
We have worked hard to make the templates and ask that you respect our hard work so we can continue providing you with high quality templates.</p>
<p>
No materials from freewebsitetemplates.com can be resold or redistributed.
All the photos, images, icons, clipart and animations used are royalty free and copyrighted by different companies and may not be used without the website template.
No items can be made part of a portfolio.
</p>
<p>
FreeWebsiteTemplates.com does not allow you to use the templates for websites or individuals that participate in warez, hacking, cracking, malicious computer crime or fraud, or any other material or activity that is illegal.
</p>
<p>
In order to use any of our materials, you must agree to indemnify and hold harmless Freewebsitetemplates.com, and its affiliates, against any and all claims, liability, losses, costs and expenses (including lawyers' fees on a solicitor and client basis).
</p>
<p>
Any violations of the terms of use will be considered an infringement of our intellectual property rights and copyrighted materials.
FreeWebsiteTemplates.com reserves the right to change or modify these terms with no prior notice.
</p>
<p>
Thanks for reading our terms of use and good luck with your website.
</p>
<h6>
Copyright &copy; 2005 <a href="http://www.freewebsitetemplates.com">Freewebsitetemplates.com</a>
</h6>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment