Пример #1
0
<?php

require "cta.class.php";
new CTA();
$_ = CTA::get_eta();
//print_r($_);
?>
<div id="eta_<?php 
echo sha1($_GET['route'] . $_GET['direction'] . $_GET['stop'] . $_GET['id']);
?>
" title="<?php 
echo $_['title'];
?>
" class="panel">

	<h2>Currently</h2>
	
	<fieldset>
		<div class="row">
			<label><?php 
echo str_replace('°', "&deg;", $_['currently']);
?>
</label>
		</div>
	
	</fieldset>

<?php 
if (is_array($_['etas'])) {
    ?>