uawdijnntqw1x1x1
IP : 216.73.216.39
Hostname : diefsweb003.fsit.ch
Kernel : Linux diefsweb003.fsit.ch 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
wirbesti
/
unwaehlbar.ch
/
DAO
/
entry.php
/
/
<?php class Entry { private $con; // Database Connection public function __construct(DBConnection $database) { $this->con = $database; return $this->con; } public function getEntriesByPolitician($politicianid) { $query = "SELECT `id`, `politicianid`, `rating`, `title`, `text`, `externalid`, `source`, `created`, `importdate` FROM `entries` WHERE `politicianid` = :politicianid AND `status` = 2 ORDER BY `created` desc"; $getpidMapping = $this->con->dbc->prepare($query); $getpidMapping->bindParam(':politicianid', $politicianid); $getpidMapping->execute(); $result = $getpidMapping->fetchAll(); return $result; } } ?>
/home/wirbesti/unwaehlbar.ch/DAO/entry.php