!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.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     batch_settings.php (16.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$tdatabatch 
= array();
$tdatabatch[".searchableFields"] = array();
$tdatabatch[".ShortName"] = "batch";
$tdatabatch[".OwnerID"] = "";
$tdatabatch[".OriginalTable"] = "batch";


$tdatabatch[".pagesByType"] = my_json_decode"{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdatabatch[".originalPagesByType"] = $tdatabatch[".pagesByType"];
$tdatabatch[".pages"] = types2pagesmy_json_decode"{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdatabatch[".originalPages"] = $tdatabatch[".pages"];
$tdatabatch[".defaultPages"] = my_json_decode"{\"add\":\"add\",\"edit\":\"edit\",\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );
$tdatabatch[".originalDefaultPages"] = $tdatabatch[".defaultPages"];

//    field labels
$fieldLabelsbatch = array();
$fieldToolTipsbatch = array();
$pageTitlesbatch = array();
$placeHoldersbatch = array();

if(
mlang_getcurrentlang()=="English")
{
    
$fieldLabelsbatch["English"] = array();
    
$fieldToolTipsbatch["English"] = array();
    
$placeHoldersbatch["English"] = array();
    
$pageTitlesbatch["English"] = array();
    
$fieldLabelsbatch["English"]["ID"] = "ID";
    
$fieldToolTipsbatch["English"]["ID"] = "";
    
$placeHoldersbatch["English"]["ID"] = "";
    
$fieldLabelsbatch["English"]["batch"] = "Batch";
    
$fieldToolTipsbatch["English"]["batch"] = "";
    
$placeHoldersbatch["English"]["batch"] = "";
    
$fieldLabelsbatch["English"]["branch"] = "Branch";
    
$fieldToolTipsbatch["English"]["branch"] = "";
    
$placeHoldersbatch["English"]["branch"] = "";
    if (
count($fieldToolTipsbatch["English"]))
        
$tdatabatch[".isUseToolTips"] = true;
}


    
$tdatabatch[".NCSearch"] = true;



$tdatabatch[".shortTableName"] = "batch";
$tdatabatch[".nSecOptions"] = 0;

$tdatabatch[".mainTableOwnerID"] = "";
$tdatabatch[".entityType"] = 0;
$tdatabatch[".connId"] = "itce_data_at_itce_co_in";


$tdatabatch[".strOriginalTableName"] = "batch";

    



$tdatabatch[".showAddInPopup"] = false;

$tdatabatch[".showEditInPopup"] = false;

$tdatabatch[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdatabatch[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdatabatch[".listAjax"] = false;
//    temporary
$tdatabatch[".listAjax"] = false;

    
$tdatabatch[".audit"] = false;

    
$tdatabatch[".locking"] = false;


$pages $tdatabatch[".defaultPages"];

if( 
$pages[PAGE_EDIT] ) {
    
$tdatabatch[".edit"] = true;
    
$tdatabatch[".afterEditAction"] = 1;
    
$tdatabatch[".closePopupAfterEdit"] = 1;
    
$tdatabatch[".afterEditActionDetTable"] = "";
}

if( 
$pages[PAGE_ADD] ) {
$tdatabatch[".add"] = true;
$tdatabatch[".afterAddAction"] = 1;
$tdatabatch[".closePopupAfterAdd"] = 1;
$tdatabatch[".afterAddActionDetTable"] = "";
}

if( 
$pages[PAGE_LIST] ) {
    
$tdatabatch[".list"] = true;
}



$tdatabatch[".strSortControlSettingsJSON"] = "";




if( 
$pages[PAGE_VIEW] ) {
$tdatabatch[".view"] = true;
}

if( 
$pages[PAGE_IMPORT] ) {
$tdatabatch[".import"] = true;
}

if( 
$pages[PAGE_EXPORT] ) {
$tdatabatch[".exportTo"] = true;
}

if( 
$pages[PAGE_PRINT] ) {
$tdatabatch[".printFriendly"] = true;
}



$tdatabatch[".showSimpleSearchOptions"] = true// temp fix #13449

// Allow Show/Hide Fields in GRID
$tdatabatch[".allowShowHideFields"] = true// temp fix #13449
//

// Allow Fields Reordering in GRID
$tdatabatch[".allowFieldsReordering"] = true// temp fix #13449
//

$tdatabatch[".isUseAjaxSuggest"] = true;

$tdatabatch[".rowHighlite"] = true;





$tdatabatch[".ajaxCodeSnippetAdded"] = false;

$tdatabatch[".buttonsAdded"] = false;

$tdatabatch[".addPageEvents"] = false;

// use timepicker for search panel
$tdatabatch[".isUseTimeForSearch"] = false;


$tdatabatch[".badgeColor"] = "00C2C5";


$tdatabatch[".allSearchFields"] = array();
$tdatabatch[".filterFields"] = array();
$tdatabatch[".requiredSearchFields"] = array();

$tdatabatch[".googleLikeFields"] = array();
$tdatabatch[".googleLikeFields"][] = "ID";
$tdatabatch[".googleLikeFields"][] = "batch";
$tdatabatch[".googleLikeFields"][] = "branch";



$tdatabatch[".tableType"] = "list";

$tdatabatch[".printerPageOrientation"] = 0;
$tdatabatch[".nPrinterPageScale"] = 100;

$tdatabatch[".nPrinterSplitRecords"] = 40;

$tdatabatch[".geocodingEnabled"] = false;










$tdatabatch[".pageSize"] = 20;

$tdatabatch[".warnLeavingPages"] = true;



$tstrOrderBy "";
if(
strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
    
$tstrOrderBy "order by ".$tstrOrderBy;
$tdatabatch[".strOrderBy"] = $tstrOrderBy;

$tdatabatch[".orderindexes"] = array();


$tdatabatch[".sqlHead"] = "SELECT ID,      batch,      branch";
$tdatabatch[".sqlFrom"] = "FROM batch";
$tdatabatch[".sqlWhereExpr"] = "";
$tdatabatch[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatabatch[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatabatch[".arrGroupsPerPage"] = $arrGPP;

$tdatabatch[".highlightSearchResults"] = true;

$tableKeysbatch = array();
$tableKeysbatch[] = "ID";
$tdatabatch[".Keys"] = $tableKeysbatch;


$tdatabatch[".hideMobileList"] = array();




//    ID
//    Custom field settings
    
$fdata = array();
    
$fdata["Index"] = 1;
    
$fdata["strName"] = "ID";
    
$fdata["GoodName"] = "ID";
    
$fdata["ownerTable"] = "batch";
    
$fdata["Label"] = GetFieldLabel("batch","ID");
    
$fdata["FieldType"] = 3;

    
        
$fdata["AutoInc"] = true;

    
            

        
$fdata["strField"] = "ID";

    
        
$fdata["isSQLExpression"] = true;
    
$fdata["FullName"] = "ID";

    
    
                
$fdata["UploadFolder"] = "files";

//  Begin View Formats
    
$fdata["ViewFormats"] = array();

    
$vdata = array("ViewFormat" => "");

    
    
    
    
    
    
    
    
    
    
    
        
    
        
$vdata["NeedEncode"] = true;

    
        
$vdata["truncateText"] = true;
    
$vdata["NumberOfChars"] = 80;

    
$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//    Begin Edit Formats
    
$fdata["EditFormats"] = array();

    
$edata = array("EditFormat" => "Text field");

    
        
$edata["weekdayMessage"] = array("message" => """messageType" => "Text");
    
$edata["weekdays"] = "[]";


    
    



        
$edata["IsRequired"] = true;

    
    
    
            
$edata["acceptFileTypes"] = ".+$";
        
$edata["acceptFileTypesHtml"] = "";

        
$edata["maxNumberOfFiles"] = 1;

    
    
    
    
            
$edata["HTML5InuptType"] = "text";

        
$edata["EditParams"] = "";
        
        
$edata["controlWidth"] = 200;

//    Begin validation
    
$edata["validateAs"] = array();
    
$edata["validateAs"]["basicValidate"] = array();
    
$edata["validateAs"]["customMessages"] = array();
                
$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
                        
$edata["validateAs"]["basicValidate"][] = "IsRequired";
        
    
    
//    End validation

    
            
    
    
    
    
$fdata["EditFormats"]["edit"] = $edata;
//    End Edit Formats


    
$fdata["isSeparate"] = false;




// the field's search options settings
        
$fdata["defaultSearchOption"] = "Contains";

            
// the default search options list
                
$fdata["searchOptionsList"] = array("Contains""Equals""Starts with""More than""Less than""Between""Empty"NOT_EMPTY);
// the end of search options settings


//Filters settings
    
$fdata["filterTotals"] = 0;
        
$fdata["filterMultiSelect"] = 0;
            
$fdata["filterFormat"] = "Values list";
        
$fdata["showCollapsed"] = false;

        
$fdata["sortValueType"] = 0;
        
$fdata["numberOfVisibleItems"] = 10;

        
$fdata["filterBy"] = 0;

    

    
    
//end of Filters settings


    
$tdatabatch["ID"] = $fdata;
        
$tdatabatch[".searchableFields"][] = "ID";
//    batch
//    Custom field settings
    
$fdata = array();
    
$fdata["Index"] = 2;
    
$fdata["strName"] = "batch";
    
$fdata["GoodName"] = "batch";
    
$fdata["ownerTable"] = "batch";
    
$fdata["Label"] = GetFieldLabel("batch","batch");
    
$fdata["FieldType"] = 200;

    
    
    
            

        
$fdata["strField"] = "batch";

    
        
$fdata["isSQLExpression"] = true;
    
$fdata["FullName"] = "batch";

    
    
                
$fdata["UploadFolder"] = "files";

//  Begin View Formats
    
$fdata["ViewFormats"] = array();

    
$vdata = array("ViewFormat" => "");

    
    
    
    
    
    
    
    
    
    
    
        
    
        
$vdata["NeedEncode"] = true;

    
        
$vdata["truncateText"] = true;
    
$vdata["NumberOfChars"] = 80;

    
$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//    Begin Edit Formats
    
$fdata["EditFormats"] = array();

    
$edata = array("EditFormat" => "Text field");

    
        
$edata["weekdayMessage"] = array("message" => """messageType" => "Text");
    
$edata["weekdays"] = "[]";


    
    



    
    
    
    
            
$edata["acceptFileTypes"] = ".+$";
        
$edata["acceptFileTypesHtml"] = "";

        
$edata["maxNumberOfFiles"] = 1;

    
    
    
    
            
$edata["HTML5InuptType"] = "text";

        
$edata["EditParams"] = "";
            
$edata["EditParams"].= " maxlength=50";

        
$edata["controlWidth"] = 200;

//    Begin validation
    
$edata["validateAs"] = array();
    
$edata["validateAs"]["basicValidate"] = array();
    
$edata["validateAs"]["customMessages"] = array();
    
    
    
//    End validation

    
            
    
    
    
    
$fdata["EditFormats"]["edit"] = $edata;
//    End Edit Formats


    
$fdata["isSeparate"] = false;




// the field's search options settings
        
$fdata["defaultSearchOption"] = "Contains";

            
// the default search options list
                
$fdata["searchOptionsList"] = array("Contains""Equals""Starts with""More than""Less than""Between""Empty"NOT_EMPTY);
// the end of search options settings


//Filters settings
    
$fdata["filterTotals"] = 0;
        
$fdata["filterMultiSelect"] = 0;
            
$fdata["filterFormat"] = "Values list";
        
$fdata["showCollapsed"] = false;

        
$fdata["sortValueType"] = 0;
        
$fdata["numberOfVisibleItems"] = 10;

        
$fdata["filterBy"] = 0;

    

    
    
//end of Filters settings


    
$tdatabatch["batch"] = $fdata;
        
$tdatabatch[".searchableFields"][] = "batch";
//    branch
//    Custom field settings
    
$fdata = array();
    
$fdata["Index"] = 3;
    
$fdata["strName"] = "branch";
    
$fdata["GoodName"] = "branch";
    
$fdata["ownerTable"] = "batch";
    
$fdata["Label"] = GetFieldLabel("batch","branch");
    
$fdata["FieldType"] = 200;

    
    
    
            

        
$fdata["strField"] = "branch";

    
        
$fdata["isSQLExpression"] = true;
    
$fdata["FullName"] = "branch";

    
    
                
$fdata["UploadFolder"] = "files";

//  Begin View Formats
    
$fdata["ViewFormats"] = array();

    
$vdata = array("ViewFormat" => "");

    
    
    
    
    
    
    
    
    
    
    
        
    
        
$vdata["NeedEncode"] = true;

    
        
$vdata["truncateText"] = true;
    
$vdata["NumberOfChars"] = 80;

    
$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//    Begin Edit Formats
    
$fdata["EditFormats"] = array();

    
$edata = array("EditFormat" => "Text field");

    
        
$edata["weekdayMessage"] = array("message" => """messageType" => "Text");
    
$edata["weekdays"] = "[]";


    
    



    
    
    
    
            
$edata["acceptFileTypes"] = ".+$";
        
$edata["acceptFileTypesHtml"] = "";

        
$edata["maxNumberOfFiles"] = 1;

    
    
    
    
            
$edata["HTML5InuptType"] = "text";

        
$edata["EditParams"] = "";
            
$edata["EditParams"].= " maxlength=50";

        
$edata["controlWidth"] = 200;

//    Begin validation
    
$edata["validateAs"] = array();
    
$edata["validateAs"]["basicValidate"] = array();
    
$edata["validateAs"]["customMessages"] = array();
    
    
    
//    End validation

    
            
    
    
    
    
$fdata["EditFormats"]["edit"] = $edata;
//    End Edit Formats


    
$fdata["isSeparate"] = false;




// the field's search options settings
        
$fdata["defaultSearchOption"] = "Contains";

            
// the default search options list
                
$fdata["searchOptionsList"] = array("Contains""Equals""Starts with""More than""Less than""Between""Empty"NOT_EMPTY);
// the end of search options settings


//Filters settings
    
$fdata["filterTotals"] = 0;
        
$fdata["filterMultiSelect"] = 0;
            
$fdata["filterFormat"] = "Values list";
        
$fdata["showCollapsed"] = false;

        
$fdata["sortValueType"] = 0;
        
$fdata["numberOfVisibleItems"] = 10;

        
$fdata["filterBy"] = 0;

    

    
    
//end of Filters settings


    
$tdatabatch["branch"] = $fdata;
        
$tdatabatch[".searchableFields"][] = "branch";


$tables_data["batch"]=&$tdatabatch;
$field_labels["batch"] = &$fieldLabelsbatch;
$fieldToolTips["batch"] = &$fieldToolTipsbatch;
$placeHolders["batch"] = &$placeHoldersbatch;
$page_titles["batch"] = &$pageTitlesbatch;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["batch"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["batch"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//



require_once(getabspath("classes/sql.php"));











function 
createSqlQuery_batch()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "ID,      batch,      branch";
$proto0["m_strFrom"] = "FROM batch";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
    
        ;
            
$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
    
$obj = new SQLNonParsed(array(
    
"m_sql" => ""
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto4=array();
$proto4["m_sql"] = "";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
    
$obj = new SQLNonParsed(array(
    
"m_sql" => ""
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = false;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
                        
$proto6=array();
            
$obj = new SQLField(array(
    
"m_strName" => "ID",
    
"m_strTable" => "batch",
    
"m_srcTableName" => "batch"
));

$proto6["m_sql"] = "ID";
$proto6["m_srcTableName"] = "batch";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
                        
$proto8=array();
            
$obj = new SQLField(array(
    
"m_strName" => "batch",
    
"m_strTable" => "batch",
    
"m_srcTableName" => "batch"
));

$proto8["m_sql"] = "batch";
$proto8["m_srcTableName"] = "batch";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);

$proto0["m_fieldlist"][]=$obj;
                        
$proto10=array();
            
$obj = new SQLField(array(
    
"m_strName" => "branch",
    
"m_strTable" => "batch",
    
"m_srcTableName" => "batch"
));

$proto10["m_sql"] = "branch";
$proto10["m_srcTableName"] = "batch";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
                                                
$proto12=array();
$proto12["m_link"] = "SQLL_MAIN";
            
$proto13=array();
$proto13["m_strName"] = "batch";
$proto13["m_srcTableName"] = "batch";
$proto13["m_columns"] = array();
$proto13["m_columns"][] = "ID";
$proto13["m_columns"][] = "batch";
$proto13["m_columns"][] = "branch";
$obj = new SQLTable($proto13);

$proto12["m_table"] = $obj;
$proto12["m_sql"] = "batch";
$proto12["m_alias"] = "";
$proto12["m_srcTableName"] = "batch";
$proto14=array();
$proto14["m_sql"] = "";
$proto14["m_uniontype"] = "SQLL_UNKNOWN";
    
$obj = new SQLNonParsed(array(
    
"m_sql" => ""
));

$proto14["m_column"]=$obj;
$proto14["m_contained"] = array();
$proto14["m_strCase"] = "";
$proto14["m_havingmode"] = false;
$proto14["m_inBrackets"] = false;
$proto14["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto14);

$proto12["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto12);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="batch";        
$obj = new SQLQuery($proto0);

    return 
$obj;
}
$queryData_batch createSqlQuery_batch();


    
        ;

            

$tdatabatch[".sqlquery"] = $queryData_batch;



$tableEvents["batch"] = new eventsBase;
$tdatabatch[".hasEvents"] = false;

?>

:: 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.0035 ]--