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
/
nousdecidons.ch
/
..
/
unwaehlbar.ch
/
DAO
/
evaluation.php
/
/
<?php class Evaluation { private $con; // Database Connection public function __construct(DBConnection $database) { $this->con = $database; return $this->con; } public function getEvaluationsByPolitician($id, $language) { $query = "SELECT * FROM `evaluation` ". "WHERE `politicianid` = :politicianid ". "AND `language` = :language ". "AND `status` = 2 ". "ORDER BY `created` DESC"; $eval = $this->con->dbc->prepare($query); $eval->bindParam(":language", $language); $eval->bindParam(":politicianid", $id); $eval->execute(); $evaluations = $eval->fetchAll(); return $evaluations; } } ?>
/home/wirbesti/nousdecidons.ch/../unwaehlbar.ch/DAO/evaluation.php