Groundwork
This commit is contained in:
parent
55ac181aa0
commit
c057f58b9b
@ -3,8 +3,31 @@
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use View;
|
||||
Use App\helpers;
|
||||
|
||||
|
||||
class PagesController extends Controller
|
||||
{
|
||||
//
|
||||
public function home()
|
||||
{
|
||||
return view('home');
|
||||
}
|
||||
public function domains(Request $domain_req)
|
||||
{
|
||||
|
||||
return view('domains');
|
||||
}
|
||||
public function newrecord(Request $newrec_req)
|
||||
{
|
||||
|
||||
return view('newrecord');
|
||||
}
|
||||
public function updaterecord(Request $updaterec_req)
|
||||
{
|
||||
|
||||
return view('updaterecord');
|
||||
}
|
||||
|
||||
}
|
||||
|
23
app/helpers.php
Normal file
23
app/helpers.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class DomainInfo
|
||||
{
|
||||
public static function DomainGetInfo()
|
||||
{
|
||||
|
||||
return $domain_info;
|
||||
}
|
||||
}
|
||||
class RecordInfo
|
||||
{
|
||||
public static function RecordGetInfo()
|
||||
{
|
||||
|
||||
return $record_info;
|
||||
}
|
||||
}
|
||||
?>
|
0
resources/views/domains.blade.php
Normal file
0
resources/views/domains.blade.php
Normal file
0
resources/views/layouts/master.blade.php
Normal file
0
resources/views/layouts/master.blade.php
Normal file
0
resources/views/newrecord.blade.php
Normal file
0
resources/views/newrecord.blade.php
Normal file
0
resources/views/updaterecord.blade.php
Normal file
0
resources/views/updaterecord.blade.php
Normal file
Loading…
Reference in New Issue
Block a user