Kernel : Linux webm039.cluster003.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable function : _dyuweyrj4,_dyuweyrj4r,dl
Safe mode : OFF
Host : www.mehariclubdefrance.com | Server ip : 10.3.20.37 | Your ip : 3.14.252.84 | Time @ Server : 12 May 2025 16:13:22
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/meharicl/home2/meharicl/www/recensement2/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/meharicl/home2/meharicl/www/recensement2/recensement_pseudo_forum.php

<?php //Include Common Files @1-DCA1F815 define("RelativePath", "."); define("PathToCurrentPage", "/"); define("FileName", "recensement_pseudo_forum.php"); include_once(RelativePath . "/Common.php"); include_once(RelativePath . "/Template.php"); include_once(RelativePath . "/Sorter.php"); include_once(RelativePath . "/Navigator.php"); //End Include Common Files //Include Page implementation @2-11B45D65 include_once(RelativePath . "/top.php"); //End Include Page implementation class clsGridgrdForumUsers { //grdForumUsers class @3-6506C698 //Variables @3-6E51DF5A // Public variables public $ComponentType = "Grid"; public $ComponentName; public $Visible; public $Errors; public $ErrorBlock; public $ds; public $DataSource; public $PageSize; public $IsEmpty; public $ForceIteration = false; public $HasRecord = false; public $SorterName = ""; public $SorterDirection = ""; public $PageNumber; public $RowNumber; public $ControlsVisible = array(); public $CCSEvents = ""; public $CCSEventResult; public $RelativePath = ""; public $Attributes; // Grid Controls public $StaticControls; public $RowControls; //End Variables //Class_Initialize Event @3-CB79B837 function clsGridgrdForumUsers($RelativePath, & $Parent) { global $FileName; global $CCSLocales; global $DefaultDateFormat; $this->ComponentName = "grdForumUsers"; $this->Visible = True; $this->Parent = & $Parent; $this->RelativePath = $RelativePath; $this->Errors = new clsErrors(); $this->ErrorBlock = "Grid grdForumUsers"; $this->Attributes = new clsAttributes($this->ComponentName . ":"); $this->DataSource = new clsgrdForumUsersDataSource($this); $this->ds = & $this->DataSource; $this->PageSize = CCGetParam($this->ComponentName . "PageSize", ""); if(!is_numeric($this->PageSize) || !strlen($this->PageSize)) $this->PageSize = 1000000; else $this->PageSize = intval($this->PageSize); if ($this->PageSize > 1000000) $this->PageSize = 1000000; if($this->PageSize == 0) $this->Errors->addError("<p>Form: Grid " . $this->ComponentName . "<BR>Error: (CCS06) Invalid page size.</p>"); $this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1)); if ($this->PageNumber <= 0) $this->PageNumber = 1; $this->id = new clsControl(ccsLabel, "id", "id", ccsInteger, "", CCGetRequestParam("id", ccsGet, NULL), $this); $this->mehari_pseudo_forum = new clsControl(ccsLabel, "mehari_pseudo_forum", "mehari_pseudo_forum", ccsText, "", CCGetRequestParam("mehari_pseudo_forum", ccsGet, NULL), $this); $this->recensement_qui = new clsControl(ccsLabel, "recensement_qui", "recensement_qui", ccsText, "", CCGetRequestParam("recensement_qui", ccsGet, NULL), $this); $this->recensement_qui->HTML = true; $this->recensement_adherent = new clsControl(ccsLabel, "recensement_adherent", "recensement_adherent", ccsText, "", CCGetRequestParam("recensement_adherent", ccsGet, NULL), $this); $this->pseudo_ok = new clsControl(ccsLabel, "pseudo_ok", "pseudo_ok", ccsText, "", CCGetRequestParam("pseudo_ok", ccsGet, NULL), $this); $this->lblCssPseudoOk = new clsControl(ccsLabel, "lblCssPseudoOk", "lblCssPseudoOk", ccsText, "", CCGetRequestParam("lblCssPseudoOk", ccsGet, NULL), $this); $this->mehari_id = new clsControl(ccsLabel, "mehari_id", "mehari_id", ccsText, "", CCGetRequestParam("mehari_id", ccsGet, NULL), $this); $this->username = new clsControl(ccsLabel, "username", "username", ccsText, "", CCGetRequestParam("username", ccsGet, NULL), $this); } //End Class_Initialize Event //Initialize Method @3-90E704C5 function Initialize() { if(!$this->Visible) return; $this->DataSource->PageSize = & $this->PageSize; $this->DataSource->AbsolutePage = & $this->PageNumber; $this->DataSource->SetOrder($this->SorterName, $this->SorterDirection); } //End Initialize Method //Show Method @3-084F2A38 function Show() { $Tpl = CCGetTemplate($this); global $CCSLocales; if(!$this->Visible) return; $this->RowNumber = 0; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeSelect", $this); $this->DataSource->Prepare(); $this->DataSource->Open(); $this->HasRecord = $this->DataSource->has_next_record(); $this->IsEmpty = ! $this->HasRecord; $this->Attributes->Show(); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow", $this); if(!$this->Visible) return; $GridBlock = "Grid " . $this->ComponentName; $ParentPath = $Tpl->block_path; $Tpl->block_path = $ParentPath . "/" . $GridBlock; if (!$this->IsEmpty) { $this->ControlsVisible["id"] = $this->id->Visible; $this->ControlsVisible["mehari_pseudo_forum"] = $this->mehari_pseudo_forum->Visible; $this->ControlsVisible["recensement_qui"] = $this->recensement_qui->Visible; $this->ControlsVisible["recensement_adherent"] = $this->recensement_adherent->Visible; $this->ControlsVisible["pseudo_ok"] = $this->pseudo_ok->Visible; $this->ControlsVisible["lblCssPseudoOk"] = $this->lblCssPseudoOk->Visible; $this->ControlsVisible["mehari_id"] = $this->mehari_id->Visible; $this->ControlsVisible["username"] = $this->username->Visible; while ($this->ForceIteration || (($this->RowNumber < $this->PageSize) && ($this->HasRecord = $this->DataSource->has_next_record()))) { $this->RowNumber++; if ($this->HasRecord) { $this->DataSource->next_record(); $this->DataSource->SetValues(); } $Tpl->block_path = $ParentPath . "/" . $GridBlock . "/Row"; $this->id->SetValue($this->DataSource->id->GetValue()); $this->mehari_pseudo_forum->SetValue($this->DataSource->mehari_pseudo_forum->GetValue()); $this->recensement_qui->SetValue($this->DataSource->recensement_qui->GetValue()); $this->recensement_adherent->SetValue($this->DataSource->recensement_adherent->GetValue()); $this->mehari_id->SetValue($this->DataSource->mehari_id->GetValue()); $this->Attributes->SetValue("rowNumber", $this->RowNumber); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow", $this); $this->Attributes->Show(); $this->id->Show(); $this->mehari_pseudo_forum->Show(); $this->recensement_qui->Show(); $this->recensement_adherent->Show(); $this->pseudo_ok->Show(); $this->lblCssPseudoOk->Show(); $this->mehari_id->Show(); $this->username->Show(); $Tpl->block_path = $ParentPath . "/" . $GridBlock; $Tpl->parse("Row", true); } } else { // Show NoRecords block if no records are found $this->Attributes->Show(); $Tpl->parse("NoRecords", false); } $errors = $this->GetErrors(); if(strlen($errors)) { $Tpl->replaceblock("", $errors); $Tpl->block_path = $ParentPath; return; } $Tpl->parse(); $Tpl->block_path = $ParentPath; $this->DataSource->close(); } //End Show Method //GetErrors Method @3-39044F89 function GetErrors() { $errors = ""; $errors = ComposeStrings($errors, $this->id->Errors->ToString()); $errors = ComposeStrings($errors, $this->mehari_pseudo_forum->Errors->ToString()); $errors = ComposeStrings($errors, $this->recensement_qui->Errors->ToString()); $errors = ComposeStrings($errors, $this->recensement_adherent->Errors->ToString()); $errors = ComposeStrings($errors, $this->pseudo_ok->Errors->ToString()); $errors = ComposeStrings($errors, $this->lblCssPseudoOk->Errors->ToString()); $errors = ComposeStrings($errors, $this->mehari_id->Errors->ToString()); $errors = ComposeStrings($errors, $this->username->Errors->ToString()); $errors = ComposeStrings($errors, $this->Errors->ToString()); $errors = ComposeStrings($errors, $this->DataSource->Errors->ToString()); return $errors; } //End GetErrors Method } //End grdForumUsers Class @3-FCB6E20C class clsgrdForumUsersDataSource extends clsDBcnxRecensement { //grdForumUsersDataSource Class @3-BC5562DB //DataSource Variables @3-05CFEF8E public $Parent = ""; public $CCSEvents = ""; public $CCSEventResult; public $ErrorBlock; public $CmdExecution; public $CountSQL; public $wp; // Datasource fields public $id; public $mehari_pseudo_forum; public $recensement_qui; public $recensement_adherent; public $mehari_id; //End DataSource Variables //DataSourceClass_Initialize Event @3-89A9105F function clsgrdForumUsersDataSource(& $Parent) { $this->Parent = & $Parent; $this->ErrorBlock = "Grid grdForumUsers"; $this->Initialize(); $this->id = new clsField("id", ccsInteger, ""); $this->mehari_pseudo_forum = new clsField("mehari_pseudo_forum", ccsText, ""); $this->recensement_qui = new clsField("recensement_qui", ccsText, ""); $this->recensement_adherent = new clsField("recensement_adherent", ccsText, ""); $this->mehari_id = new clsField("mehari_id", ccsText, ""); } //End DataSourceClass_Initialize Event //SetOrder Method @3-D395A7E9 function SetOrder($SorterName, $SorterDirection) { $this->Order = "mehari_id desc"; $this->Order = CCGetOrder($this->Order, $SorterName, $SorterDirection, ""); } //End SetOrder Method //Prepare Method @3-14D6CD9D function Prepare() { global $CCSLocales; global $DefaultDateFormat; } //End Prepare Method //Open Method @3-392DEAD0 function Open() { $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeBuildSelect", $this->Parent); $this->CountSQL = "SELECT COUNT(*)\n\n" . "FROM rec_mehari"; $this->SQL = "SELECT * \n\n" . "FROM rec_mehari {SQL_Where} {SQL_OrderBy}"; $this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeExecuteSelect", $this->Parent); if ($this->CountSQL) $this->RecordsCount = CCGetDBValue(CCBuildSQL($this->CountSQL, $this->Where, ""), $this); else $this->RecordsCount = "CCS not counted"; $this->query($this->OptimizeSQL(CCBuildSQL($this->SQL, $this->Where, $this->Order))); $this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterExecuteSelect", $this->Parent); } //End Open Method //SetValues Method @3-4FB38B4C function SetValues() { $this->id->SetDBValue(trim($this->f("id"))); $this->mehari_pseudo_forum->SetDBValue($this->f("mehari_pseudo_forum")); $this->recensement_qui->SetDBValue($this->f("recensement_qui")); $this->recensement_adherent->SetDBValue($this->f("recensement_adherent")); $this->mehari_id->SetDBValue($this->f("mehari_id")); } //End SetValues Method } //End grdForumUsersDataSource Class @3-FCB6E20C //Initialize Page @1-514681A3 // Variables $FileName = ""; $Redirect = ""; $Tpl = ""; $TemplateFileName = ""; $BlockToParse = ""; $ComponentName = ""; $Attributes = ""; // Events; $CCSEvents = ""; $CCSEventResult = ""; $TemplateSource = ""; $FileName = FileName; $Redirect = ""; $TemplateFileName = "recensement_pseudo_forum.html"; $BlockToParse = "main"; $TemplateEncoding = "UTF-8"; $ContentType = "text/html"; $PathToRoot = "./"; $PathToRootOpt = ""; $Scripts = "|"; $Charset = $Charset ? $Charset : "utf-8"; //End Initialize Page //Include events file @1-87BFAEB9 include_once("./recensement_pseudo_forum_events.php"); //End Include events file //Before Initialize @1-E870CEBC $CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage); //End Before Initialize //Initialize Objects @1-9B6D4ABD $DBcnxRecensement = new clsDBcnxRecensement(); $MainPage->Connections["cnxRecensement"] = & $DBcnxRecensement; $Attributes = new clsAttributes("page:"); $Attributes->SetValue("pathToRoot", $PathToRoot); $MainPage->Attributes = & $Attributes; // Controls $top = new clstop("", "top", $MainPage); $top->Initialize(); $grdForumUsers = new clsGridgrdForumUsers("", $MainPage); $MainPage->top = & $top; $MainPage->grdForumUsers = & $grdForumUsers; $grdForumUsers->Initialize(); $ScriptIncludes = ""; $SList = explode("|", $Scripts); foreach ($SList as $Script) { if ($Script != "") $ScriptIncludes = $ScriptIncludes . "<script src=\"" . $PathToRoot . $Script . "\" type=\"text/javascript\"></script>\n"; } $Attributes->SetValue("scriptIncludes", $ScriptIncludes); BindEvents(); $CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage); if ($Charset) { header("Content-Type: " . $ContentType . "; charset=" . $Charset); } else { header("Content-Type: " . $ContentType); } //End Initialize Objects //Initialize HTML Template @1-28F2FDD6 $CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage); $Tpl = new clsTemplate($FileEncoding, $TemplateEncoding); if (strlen($TemplateSource)) { $Tpl->LoadTemplateFromStr($TemplateSource, $BlockToParse, "UTF-8"); } else { $Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "UTF-8"); } $Tpl->SetVar("CCS_PathToRoot", $PathToRoot); $Tpl->block_path = "/$BlockToParse"; $CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage); $Attributes->SetValue("pathToRoot", ""); $Attributes->Show(); //End Initialize HTML Template //Execute Components @1-DC3EC8FB $top->Operations(); //End Execute Components //Go to destination page @1-C6920F2D if($Redirect) { $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage); $DBcnxRecensement->close(); header("Location: " . $Redirect); $top->Class_Terminate(); unset($top); unset($grdForumUsers); unset($Tpl); exit; } //End Go to destination page //Show Page @1-A40BBDB8 $top->Show(); $grdForumUsers->Show(); $Tpl->block_path = ""; $Tpl->Parse($BlockToParse, false); if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse); $CCSEventResult = CCGetEvent($CCSEvents, "BeforeOutput", $MainPage); if ($CCSEventResult) echo $main_block; //End Show Page //Unload Page @1-1DAC7089 $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage); $DBcnxRecensement->close(); $top->Class_Terminate(); unset($top); unset($grdForumUsers); unset($Tpl); //End Unload Page ?>