Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
19 righe
857 B
19 righe
857 B
<? |
|
$return = false; |
|
if (!empty($this->elemento)) { |
|
$round = $this->db->go("SELECT b_concorsi_round.codice, b_concorsi_round.codice_concorso |
|
FROM b_concorsi_round |
|
WHERE b_concorsi_round.codice = :codice",[":codice"=>$this->elemento]); |
|
if ($round->rowCount() > 0) { |
|
$round = $round->fetch(PDO::FETCH_ASSOC); |
|
$concorso = concorso::init($round["codice_concorso"],$round["codice"],$valutatore); |
|
if (!empty($concorso)) { |
|
$return = true; |
|
$this->oggetto = $concorso->info["oggetto"]; |
|
$this->lock = $concorso->checkLock($this->tipologia); |
|
$this->viewPath = "/backend/concorsi/open/show.php?codice={$concorso->info["codice"]}&codice_round={$concorso->round["codice"]}&valutazione=true"; |
|
if ($returnObject) { $return = $concorso; } |
|
} |
|
} |
|
} |
|
?>
|
|
|