2022-02-21 01:17:59 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
2022-02-21 01:23:40 +01:00
|
|
|
use App\Models\IPs;
|
2022-02-21 01:57:04 +01:00
|
|
|
use App\Models\Reseller;
|
|
|
|
use App\Models\Server;
|
|
|
|
use App\Models\Shared;
|
2022-02-21 01:17:59 +01:00
|
|
|
use Illuminate\Http\Request;
|
2022-02-21 01:23:40 +01:00
|
|
|
use Illuminate\Support\Facades\DB;
|
2022-02-21 01:17:59 +01:00
|
|
|
|
|
|
|
class IPsController extends Controller
|
|
|
|
{
|
|
|
|
public function index()
|
|
|
|
{
|
2022-02-21 01:23:40 +01:00
|
|
|
$ips = IPs::all();
|
2022-02-21 01:57:04 +01:00
|
|
|
return view('ips.index', compact(['ips']));
|
2022-02-21 01:17:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function create()
|
|
|
|
{
|
2022-02-21 01:57:04 +01:00
|
|
|
$Servers = Server::all();
|
|
|
|
$Shareds = Shared::all();
|
|
|
|
$Resellers = Reseller::all();
|
|
|
|
return view('ips.create', compact(['Servers', 'Shareds', 'Resellers']));
|
2022-02-21 01:17:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function store(Request $request)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
public function show($id)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
public function edit($id)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
public function update(Request $request, $id)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
public function destroy($id)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|