Commit 87de637b authored by Piyaphorn Arphornsri's avatar Piyaphorn Arphornsri

add

parent 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
<!doctype html> <?php
<html lang="en">
<head> /**
<!-- Required meta tags --> * Laravel - A PHP Framework For Web Artisans
<meta charset="utf-8"> *
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> * @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
<!-- 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">
define('LARAVEL_START', microtime(true));
<title>จองคิวร้านเสริมสวย กับ B Beauty </title>
</head> /*
<body> |--------------------------------------------------------------------------
<nav class="navbar navbar-expand-lg navbar-light bg-light"> | Register The Auto Loader
<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> | Composer provides a convenient, automatically generated class loader for
</button> | 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
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | loading any of our classes later on. It feels great to relax.
<ul class="navbar-nav mr-auto"> |
*/
</ul>
<a href="rigister.php"><button class="btn btn-outline-success my-2 my-sm-0" >ลงทะเบียน</button></a>&nbsp;&nbsp;&nbsp;&nbsp; require __DIR__.'/../vendor/autoload.php';
<a href="login.php"><button class="btn btn-outline-success my-2 my-sm-0" >เข้าสู่ระบบ</button></a>
/*
</div> |--------------------------------------------------------------------------
</nav> | Turn On The Lights
|--------------------------------------------------------------------------
<!-- Optional JavaScript --> |
<!-- jQuery first, then Popper.js, then Bootstrap JS --> | We need to illuminate PHP development, so let us turn on the lights.
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | This bootstraps the framework and gets it ready for use, then it
<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> | will load up this application so that we can run it and send
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | the responses back to the browser and delight our users.
</body> |
</html> */
\ No newline at end of file
$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
@extends('layouts.app') <!DOCTYPE html>
<html lang="en">
@section('content') <head>
<div class="container"> <meta charset="utf-8">
<div class="row justify-content-center"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<div class="col-md-8"> <meta name="viewport" content="width=device-width, initial-scale=1">
<div class="card"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<div class="card-header">Dashboard</div> <title>จองคิวร้านเสริมสวย กับ B Beauty </title>
<div class="card-body"> <!-- Bootstrap -->
@if (session('status')) <!-- Latest compiled and minified CSS -->
<div class="alert alert-success" role="alert"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
{{ session('status') }}
</div> <!-- Optional theme -->
@endif <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
You are logged in! <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> </div>
</div> </form>
</div> </body>
@endsection <!--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
...@@ -12,9 +12,14 @@ ...@@ -12,9 +12,14 @@
*/ */
Route::get('/', function () { 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(); Auth::routes();
Route::get('/home', 'HomeController@index')->name('home'); Route::get('/home', 'HomeController@index')->name('home');
......
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