Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
5
59110440259
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
senior-prj-62
59110440259
Commits
87de637b
Commit
87de637b
authored
Dec 16, 2019
by
Piyaphorn Arphornsri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
76fb46b8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
276 additions
and
76 deletions
+276
-76
addshop.php
b_beauty/public/addshop.php
+0
-17
index.php
b_beauty/public/index.php
+61
-37
home.blade.php
b_beauty/resources/views/home.blade.php
+208
-20
rigister.blade.php
b_beauty/resources/views/rigister.blade.php
+0
-0
singin.blade.php
b_beauty/resources/views/singin.blade.php
+0
-0
web.php
b_beauty/routes/web.php
+7
-2
No files found.
b_beauty/public/addshop.php
deleted
100644 → 0
View file @
76fb46b8
<!doctype html>
<html
lang=
"en"
>
<head>
<!-- Required meta tags -->
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity=
"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin=
"anonymous"
>
<title>
จองคิวร้านเสริมสวย กับ B Beauty
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
b_beauty/public/index.php
View file @
87de637b
<!doctype html>
<html
lang=
"en"
>
<head>
<!-- Required meta tags -->
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity=
"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin=
"anonymous"
>
<title>
จองคิวร้านเสริมสวย กับ B Beauty
</title>
</head>
<body>
<nav
class=
"navbar navbar-expand-lg navbar-light bg-light"
>
<a
class=
"navbar-brand"
href=
"index.php"
>
B Beauty
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbarSupportedContent"
aria-controls=
"navbarSupportedContent"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
</button>
<div
class=
"collapse navbar-collapse"
id=
"navbarSupportedContent"
>
<ul
class=
"navbar-nav mr-auto"
>
</ul>
<a
href=
"rigister.php"
><button
class=
"btn btn-outline-success my-2 my-sm-0"
>
ลงทะเบียน
</button></a>
<a
href=
"login.php"
><button
class=
"btn btn-outline-success my-2 my-sm-0"
>
เข้าสู่ระบบ
</button></a>
</div>
</nav>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script
src=
"https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity=
"sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity=
"sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin=
"anonymous"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity=
"sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin=
"anonymous"
></script>
</body>
</html>
\ No newline at end of file
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define
(
'LARAVEL_START'
,
microtime
(
true
));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require
__DIR__
.
'/../vendor/autoload.php'
;
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app
=
require_once
__DIR__
.
'/../bootstrap/app.php'
;
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel
=
$app
->
make
(
Illuminate\Contracts\Http\Kernel
::
class
);
$response
=
$kernel
->
handle
(
$request
=
Illuminate\Http\Request
::
capture
()
);
$response
->
send
();
$kernel
->
terminate
(
$request
,
$response
);
\ No newline at end of file
b_beauty/resources/views/home.blade.php
View file @
87de637b
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
div
class
="
container
">
<div class="
row
justify
-
content
-
center
">
<div class="
col
-
md
-
8
">
<div class="
card
">
<div class="
card
-
header
">Dashboard</div>
<div class="
card
-
body
">
@if (session('status'))
<div class="
alert
alert
-
success
" role="
alert
">
{{ session('status') }}
</div>
@endif
You are logged in!
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>
จองคิวร้านเสริมสวย กับ B Beauty
</title>
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
integrity=
"sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
crossorigin=
"anonymous"
>
<!-- Optional theme -->
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
integrity=
"sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r"
crossorigin=
"anonymous"
>
<link
rel=
'stylesheet'
href=
'https://fonts.googleapis.com/css?family=Open+Sans:400,300'
>
<!-- Latest compiled and minified JavaScript -->
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
integrity=
"sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
crossorigin=
"anonymous"
></script>
<style
type=
"text/css"
>
body
{
font-family
:
Arial
;
color
:
#333
;
font-size
:
0.95em
;
background
:
#696969
;
}
.form-head
{
color
:
#191919
;
font-weight
:
normal
;
font-weight
:
400
;
margin
:
0
;
text-align
:
center
;
font-size
:
1.8em
;
}
.error-message
{
padding
:
7px
10px
;
background
:
#fff1f2
;
border
:
#ffd5da
1px
solid
;
color
:
#d6001c
;
border-radius
:
4px
;
margin
:
30px
0px
10px
0px
;
}
.success-message
{
padding
:
7px
10px
;
background
:
#cae0c4
;
border
:
#c3d0b5
1px
solid
;
color
:
#027506
;
border-radius
:
4px
;
margin
:
30px
0px
10px
0px
;
}
.demo-table
{
background
:
#ffffff
;
border-spacing
:
initial
;
margin
:
15px
auto
;
word-break
:
break-word
;
table-layout
:
auto
;
line-height
:
1.8em
;
color
:
#333
;
border-radius
:
4px
;
padding
:
20px
40px
;
width
:
380px
;
border
:
1px
solid
;
border-color
:
#e5e6e9
#dfe0e4
#d0d1d5
;
}
.demo-table
.label
{
color
:
#888888
;
}
.demo-table
.field-column
{
padding
:
15px
0px
;
}
.demo-input-box
{
padding
:
13px
;
border
:
#CCC
1px
solid
;
border-radius
:
4px
;
width
:
100%
;
}
.btnRegister
{
padding
:
13px
;
background-color
:
#5d9cec
;
color
:
#f5f7fa
;
cursor
:
pointer
;
border-radius
:
4px
;
width
:
100%
;
border
:
#5791da
1px
solid
;
font-size
:
1.1em
;
}
.response-text
{
max-width
:
380px
;
font-size
:
1.5em
;
text-align
:
center
;
background
:
#fff3de
;
padding
:
42px
;
border-radius
:
3px
;
border
:
#f5e9d4
1px
solid
;
font-family
:
arial
;
line-height
:
34px
;
margin
:
15px
auto
;
}
.terms
{
margin-bottom
:
5px
;
}
</style>
</head>
<body>
<form
name=
"frmRegistration"
method=
"post"
action=
""
>
<div
class=
"demo-table"
>
<div
class=
"form-head"
>
ลงทะเบียน
</div>
<?php
if
(
!
empty
(
$errorMessage
)
&&
is_array
(
$errorMessage
))
{
?>
<div
class=
"error-message"
>
<?php
foreach
(
$errorMessage
as
$message
)
{
echo
$message
.
"<br/>"
;
}
?>
</div>
<?php
}
?>
<div
class=
"field-column"
>
<label>
ชื่อผู้ใช้งาน
</label>
<div>
<input
type=
"text"
class=
"demo-input-box"
name=
"userName"
value=
"
<?php
if
(
isset
(
$_POST
[
'userName'
]))
echo
$_POST
[
'userName'
];
?>
"
>
</div>
</div>
<div
class=
"field-column"
>
<label>
รหัสผ่าน
</label>
<div><input
type=
"password"
class=
"demo-input-box"
name=
"password"
value=
""
></div>
</div>
<div
class=
"field-column"
>
<label>
ยืนยันรหัสผ่าน
</label>
<div>
<input
type=
"password"
class=
"demo-input-box"
name=
"confirm_password"
value=
""
>
</div>
</div>
<div
class=
"field-column"
>
<label>
ชื่อผู้ใช้งาน
</label>
<div>
<input
type=
"text"
class=
"demo-input-box"
name=
"firstName"
value=
"
<?php
if
(
isset
(
$_POST
[
'firstName'
]))
echo
$_POST
[
'firstName'
];
?>
"
>
</div>
</div>
<div
class=
"field-column"
>
<label>
Email
</label>
<div>
<input
type=
"text"
class=
"demo-input-box"
name=
"userEmail"
value=
"
<?php
if
(
isset
(
$_POST
[
'userEmail'
]))
echo
$_POST
[
'userEmail'
];
?>
"
>
</div>
</div>
<div
class=
"input-group mb-3"
>
<div
class=
"form-group"
>
<label
for=
"exampleFormControlFile1"
>
อัปโหลดรูปภาพ
</label>
<input
type=
"file"
class=
"form-control-file"
id=
"exampleFormControlFile1"
>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"exampleFormControlSelect1"
>
ประเภทผู้ใช้งาน
</label>
<select
class=
"form-control"
id=
"exampleFormControlSelect1"
>
<option>
1
</option>
<option>
2
</option>
<option>
3
</option>
</select>
</div>
<div
class=
"field-column"
>
<div
class=
"terms"
>
<input
type=
"checkbox"
name=
"terms"
>
I accept terms
and conditions
</div>
<div>
<input
type=
"submit"
name=
"register-user"
value=
"ลงทะเบียน"
class=
"btnRegister"
>
</div>
</div>
</div>
</div>
</div>
@endsection
</form>
</body>
<!--start footer-->
<!--end footer-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"
></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
</body>
</html>
\ No newline at end of file
b_beauty/
public/rigister
.php
→
b_beauty/
resources/views/rigister.blade
.php
View file @
87de637b
File moved
b_beauty/
public/login
.php
→
b_beauty/
resources/views/singin.blade
.php
View file @
87de637b
File moved
b_beauty/routes/web.php
View file @
87de637b
...
...
@@ -12,9 +12,14 @@
*/
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome'
);
return
view
(
'home'
);
});
Route
::
get
(
'/singin'
,
function
()
{
return
view
(
'singin'
);
});
Route
::
get
(
'/rigister'
,
function
()
{
return
view
(
'rigister'
);
});
Auth
::
routes
();
Route
::
get
(
'/home'
,
'HomeController@index'
)
->
name
(
'home'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment