Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.217.64
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
pilasa-core /
app /
Http /
Controllers /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-xr-x
2024-04-21 07:39
AboutController.php
6.3
KB
-rw-r--r--
2018-10-11 22:20
AdminController.php
547
B
-rw-r--r--
2017-08-23 13:44
AdminManageUserController.php
6.72
KB
-rw-r--r--
2017-08-28 22:04
AdminPostController.php
8.95
KB
-rw-r--r--
2017-09-03 04:35
AdminProfileController.php
3.63
KB
-rw-r--r--
2017-09-13 00:37
BlogController.php
2.06
KB
-rw-r--r--
2017-08-25 15:44
CategoryController.php
4.01
KB
-rw-r--r--
2017-08-25 15:38
CommentsController.php
3.56
KB
-rw-r--r--
2017-09-08 11:38
Controller.php
361
B
-rw-r--r--
2017-07-11 04:08
CustomerController.php
1.48
KB
-rw-r--r--
2017-08-10 01:29
GalleryController.php
4
KB
-rw-r--r--
2017-08-28 15:51
HomeController.php
640
B
-rw-r--r--
2017-08-25 15:31
HostingOrderController.php
3.26
KB
-rw-r--r--
2018-03-28 06:48
LogoController.php
3.5
KB
-rw-r--r--
2018-02-18 04:17
MessagesController.php
2.63
KB
-rw-r--r--
2017-09-18 01:33
PagesController.php
2.92
KB
-rw-r--r--
2018-10-05 00:09
PortfolioController.php
4.97
KB
-rw-r--r--
2017-08-28 17:43
PostController.php
6.48
KB
-rw-r--r--
2018-02-18 04:18
ProfileController.php
4.18
KB
-rw-r--r--
2017-08-27 07:16
ServiceController.php
5.69
KB
-rw-r--r--
2018-10-05 00:06
TagController.php
3.33
KB
-rw-r--r--
2017-08-25 18:01
TeamController.php
4.69
KB
-rw-r--r--
2017-08-28 17:45
VideoController.php
3.16
KB
-rw-r--r--
2017-09-08 23:38
Save
Rename
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Category; use App\Post; use App\Portfolio; use App\User; use App\Gallery; use App\Service; use App\Logo; use Validator; class PagesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function outpage(){ // create a variable and store all the blog posts in it from the database $posts = Post::all(); $categories =Category::all(); $users=User::all(); $images=Logo::all(); // return a view and pass in the above variable return view('posts.blogpost')->withPosts($posts)->withCategories($categories)->withUsers($users)->withImages($images); } public function showpost($id){ $posts=Post::find($id); $categories=Category::all(); $users=User::all(); $images=Logo::all(); return view('posts.showindpost')->withPosts($posts)->withCategories($categories)->withUsers($users)->withImages($images); } function getIndex() { # process variable data or parameters # talk to the model # recieve from the model # compile or process data from the model # pass that data to the correct view $posts = Post::orderBy('created_at','desc')->limit(4)->get(); $images=Logo::all(); return view('pages.welcome')->withPosts($posts)->withImages($images); } public function getContact() { return view('pages.contact'); } public function postContact(Request $request) { //validate the email address $this->validate($request,[ 'email'=>'required|email', 'subject'=>'min:3', 'message'=>'min:10' ]); $data = array( 'email'=>$request->email, 'subject'=>$request->subject, 'bodyMessage'=>$request->message ); Mail::send('emails.contact',$data,function($message) use ($data){ $message->from($data['email']); $message->to('yhitsnu@gmail.com'); $message->subject($data['subject']); }); Session::flash('success','Email successfully sent!'); return redirect('/'); } public function homepage(){ $services=Service::all(); $galleries=Gallery::all(); $images=Logo::all(); $portfolios=Portfolio::all(); return view('pages.home')->withPortfolios($portfolios)->withGalleries($galleries)->withServices($services)->withImages($images); } public function clients(){ // $services=Service::all(); $images=Logo::all(); return view('pages.clients')->withImages($images); } public function solutions(){ // $services=Service::all(); $images=Logo::all(); return view('pages.solutions')->withImages($images); } }