This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Mail; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Mail\Mailable; | |
| use Illuminate\Queue\SerializesModels; | |
| use App\Models\Contact; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="fr"> | |
| <head> | |
| <meta charset="utf-8"> | |
| </head> | |
| <body> | |
| <h2>You received a message on your site</h2> | |
| <ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Mail; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Mail\Mailable; | |
| use Illuminate\Queue\SerializesModels; | |
| class ContactMail extends Mailable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| background: linear-gradient(to right bottom, #e1b382, #c89666); | |
| width: 100%; | |
| min-height: 100vh; | |
| display: flex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action( 'login_head', 'wpse_121687_hide_login' ); | |
| function wpse_121687_hide_login() { | |
| $style = ''; | |
| $style .= '<style type="text/css">'; | |
| $style .= '.login form .user-pass-wrap{ display: none }'; | |
| $style .= '.login form .submit { display: none }'; | |
| $style .= '.login form .forgetmenot { display: none }'; | |
| $style .= '.login form .input { display: none }'; | |
| $style .= '.login form label { display: none }'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @extends('admin.admin_layouts') | |
| @section('admin_content') | |
| <h1 class="h3 mb-3 text-gray-800">Email Notification Parameter</h1> | |
| <form action="{{ url('admin/setting/general/parameters/parameter-save') }}" method="post"> | |
| @csrf | |
| <div class="card shadow mb-4"> | |
| <div class="card-body"> | |
| <h4> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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, shrink-to-fit=no"> | |
| <title>Admin Panel</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers\Admin; | |
| use App\Http\Controllers\Controller; | |
| use App\Models\Admin\GeneralSetting; | |
| use App\Models\Admin\Parameters; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Str; | |
| use Illuminate\Validation\Rule; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Models\Admin; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Parameters extends Model | |
| { | |
| protected $table = 'parameters'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers\Front; | |
| use App\Http\Controllers\Controller; | |
| use App\Mail\ContactPageMessage; | |
| use App\Models\Admin\Admin; | |
| use App\Models\Admin\ContactForm; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\DB; |