Commit cec5ff99 by Florian Shllaku

Migrations and port forwarding (ssh tunneling)

parent c421b1d2
......@@ -24,6 +24,7 @@ class SendEmailController extends Controller
$data = array(
'name' => $request->name,
'message' => $request->message,
'email' => $request->email,
);
Mail::to('garlix00@gmail.com')->send(new SendMail($data));
......
......@@ -42,8 +42,8 @@ return [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '33060'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
......
......@@ -84,9 +84,9 @@ return [
|
*/
'username' => "garlix00@gmail.com",
'username' => env('MAIL_USERNAME'),
'password' => 'garlix12345!@#$%',
'password' => env('MAIL_PASSWORD'),
/*
|--------------------------------------------------------------------------
......
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCurrencyTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('currency', function (Blueprint $table) {
$table->increments('ID');
$table->char('iso', 3);
$table->char('name', 200);
$table->float('rates');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('currency');
}
}
\ No newline at end of file
......@@ -3,29 +3,31 @@
@section('content')
<div class="card">
<div class="card-body">
<select class="mdb-select md-form">
<option value="" disabled selected>Choose your option</option>
<option>USD</option>
<option>EUR</option>
<option>CHF</option>
<option>NOK</option>
<option>GBP</option>
<option>AED</option>
<option>SEK</option>
</select>
<label for="FormControlSelect1">Convert From</label>
<div class="input-group">
<br>
<select class="form-control" id="FormControlSelect1">
<option>USD</option>
<option>ETH</option>
<option>XRP</option>
<option>ADA</option>
<option>LTC</option>
<option>DASH</option>
<option>USDT</option>
</select>
</div>
<input type="number" class="form-control form-control-lg mx-3" value="">
<div class="form-group">
<label for="FormControlSelect1">To</label>
<div class="input-group">
<br> <br>
<label for="FormControlSelect1">To</label>
<br>
<select class="form-control" id="FormControlSelect1">
<option>USD</option>
<option>EUR</option>
<option>CHF</option>
<option>NOK</option>
<option>GBP</option>
<option>AED</option>
<option>SEK</option>
<option>BTC</option>
<option>ETH</option>
<option>XRP</option>
<option>ADA</option>
<option>LTC</option>
<option>DASH</option>
<option>USDT</option>
</select>
</div>
<input type="number" class="form-control form-control-lg mx-3" value="">
......
......@@ -16,6 +16,7 @@
<link href="css\main.css" rel="stylesheet">
@if(\Request::is('contact')) <link href="css\contact.css" rel="stylesheet"> @endif
@if(\Request::is('crypto'))<link href="css\crypto.css" rel="stylesheet"> @endif
@if(\Request::is('currency'))<link href="css\crypto.css" rel="stylesheet"> @endif
@if(\Request::is('subscribe')) <link href="css\subscribe.css" rel="stylesheet"> @endif
</head>
<body class="text-center" background="img\background.jpg">
......
......@@ -6,6 +6,7 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'App\\Admin' => $baseDir . '/app/Admin.php',
'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => $baseDir . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Auth\\ForgotPasswordController' => $baseDir . '/app/Http/Controllers/Auth/ForgotPasswordController.php',
......@@ -14,6 +15,7 @@ return array(
'App\\Http\\Controllers\\Auth\\ResetPasswordController' => $baseDir . '/app/Http/Controllers/Auth/ResetPasswordController.php',
'App\\Http\\Controllers\\Auth\\VerificationController' => $baseDir . '/app/Http/Controllers/Auth/VerificationController.php',
'App\\Http\\Controllers\\Controller' => $baseDir . '/app/Http/Controllers/Controller.php',
'App\\Http\\Controllers\\SendEmailController' => $baseDir . '/app/Http/Controllers/SendEmailController.php',
'App\\Http\\Kernel' => $baseDir . '/app/Http/Kernel.php',
'App\\Http\\Middleware\\Authenticate' => $baseDir . '/app/Http/Middleware/Authenticate.php',
'App\\Http\\Middleware\\CheckForMaintenanceMode' => $baseDir . '/app/Http/Middleware/CheckForMaintenanceMode.php',
......@@ -22,6 +24,7 @@ return array(
'App\\Http\\Middleware\\TrimStrings' => $baseDir . '/app/Http/Middleware/TrimStrings.php',
'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php',
'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php',
'App\\Mail\\SendMail' => $baseDir . '/app/Mail/SendMail.php',
'App\\Providers\\AppServiceProvider' => $baseDir . '/app/Providers/AppServiceProvider.php',
'App\\Providers\\AuthServiceProvider' => $baseDir . '/app/Providers/AuthServiceProvider.php',
'App\\Providers\\BroadcastServiceProvider' => $baseDir . '/app/Providers/BroadcastServiceProvider.php',
......
......@@ -360,6 +360,7 @@ class ComposerStaticInitaaf7a2d0aa0540e4f74d52dc30d67caa
);
public static $classMap = array (
'App\\Admin' => __DIR__ . '/../..' . '/app/Admin.php',
'App\\Console\\Kernel' => __DIR__ . '/../..' . '/app/Console/Kernel.php',
'App\\Exceptions\\Handler' => __DIR__ . '/../..' . '/app/Exceptions/Handler.php',
'App\\Http\\Controllers\\Auth\\ForgotPasswordController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/ForgotPasswordController.php',
......@@ -368,6 +369,7 @@ class ComposerStaticInitaaf7a2d0aa0540e4f74d52dc30d67caa
'App\\Http\\Controllers\\Auth\\ResetPasswordController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/ResetPasswordController.php',
'App\\Http\\Controllers\\Auth\\VerificationController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/VerificationController.php',
'App\\Http\\Controllers\\Controller' => __DIR__ . '/../..' . '/app/Http/Controllers/Controller.php',
'App\\Http\\Controllers\\SendEmailController' => __DIR__ . '/../..' . '/app/Http/Controllers/SendEmailController.php',
'App\\Http\\Kernel' => __DIR__ . '/../..' . '/app/Http/Kernel.php',
'App\\Http\\Middleware\\Authenticate' => __DIR__ . '/../..' . '/app/Http/Middleware/Authenticate.php',
'App\\Http\\Middleware\\CheckForMaintenanceMode' => __DIR__ . '/../..' . '/app/Http/Middleware/CheckForMaintenanceMode.php',
......@@ -376,6 +378,7 @@ class ComposerStaticInitaaf7a2d0aa0540e4f74d52dc30d67caa
'App\\Http\\Middleware\\TrimStrings' => __DIR__ . '/../..' . '/app/Http/Middleware/TrimStrings.php',
'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php',
'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php',
'App\\Mail\\SendMail' => __DIR__ . '/../..' . '/app/Mail/SendMail.php',
'App\\Providers\\AppServiceProvider' => __DIR__ . '/../..' . '/app/Providers/AppServiceProvider.php',
'App\\Providers\\AuthServiceProvider' => __DIR__ . '/../..' . '/app/Providers/AuthServiceProvider.php',
'App\\Providers\\BroadcastServiceProvider' => __DIR__ . '/../..' . '/app/Providers/BroadcastServiceProvider.php',
......
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 sign in to comment