";
var_dump($statistic);
echo "";*/
//echo $this->host_ice .":". $this->port_ice;
require_once (ROOT . TMPL . 'radio.php');
return true;
}
public function actionStatistics(){
$statistic = Radio::getStatistic();
$string = "
| Название |
Слушать
| Слушателей сейчас |
Композиция |
";
for($i=0; count($statistic)>$i; $i++){
$string .= "";
$string .= "| ".$statistic[$i]['stream']." | ";
$string .=" | ";
$string .="".$statistic[$i]['quantity_listens']." | ";
$string .="".$statistic[$i]['title']." | ";
$string .="
";
}
$string .="
";
echo $string;
return true;
}
}