Example #1
0
    public function __construct()
    {
        global $html;
        parent::__construct();
        echo '<div style="padding-left:20px;padding-right:20px;">';
        ?>
			<a href="/" id="show-search-simple" style="text-decoration:none;">&#171;&nbsp;Simpel søgning</a>
			&nbsp;>&nbsp;
			<a href="http://allearter.dk/" style="text-decoration:none;">Projekt Allearter Startside</a>
<?php 
        echo '<div class="stat-cnt"><br>';
        $html->h1('Oversigt over referencer benyttet i databasen');
        $html->br();
        $html->p('For hver art i databasen bag allearter.dk er der tilknyttet en reference, der angiver pågældende arts forekomst i Danmark.');
        $html->p('<br/>På denne side findes en samlet oversigt over disse referencer. Referencerne dækker over såvel publicerede som upublicerede tekster, hjemmesider, regneark, personlige meddelelser m.v.');
        $html->br();
        $this->drawReferences();
        echo '</div>';
        echo '</div>';
        //padding-left
        ?>
<script type="text/javascript">
$(document).ready(function() {
	var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
	$("#stat-referencer td").each(function(index) {
		var html=$(this).html();
		html=html.replace(exp,"<a target=_blank style='text-decoration:none;' href='$1' target=_blank>$1</a>"); 
		$(this).html(html);
	});
});
</script>
<?php 
    }
Example #2
0
    public function __construct()
    {
        global $html;
        parent::__construct();
        echo '<div style="padding-left:20px;">';
        ?>
			<a href="/" id="show-search-simple" style="text-decoration:none;">&#171;&nbsp;Simpel søgning</a>
			&nbsp;>&nbsp;
			<a href="http://allearter.dk/" style="text-decoration:none;">Projekt Allearter Startside</a>
			<br>
<?php 
        $this->header();
        $this->resetTotal();
        echo '<div class="stat-cnt">';
        $this->rigeArter();
        $this->klassifikationArter('raekke', 'Række', 'Rækker', 'rækken');
        $this->klassifikationArter('klasse', 'Klasse', 'Klasser', 'klassen');
        $this->klassifikationArter('orden', 'Orden', 'Ordner', 'ordenen');
        $this->klassifikationArter('familie', 'Familie', 'Familier', 'familien');
        $this->klassifikationArter('slaegt', 'Slægt', 'Slægter', 'slægten');
        $this->roedlistede();
        echo '</div>';
        echo '</div>';
        //left-padding
        $html->divider(2);
    }
    public function __construct()
    {
        global $html;
        $this->total['art'] = 0;
        $this->total['underart'] = 0;
        $this->total['varietet'] = 0;
        $this->total['form'] = 0;
        $this->total['hybrid'] = 0;
        $this->total['accepteret'] = 0;
        parent::__construct();
        echo '<div style="padding-left:20px;">';
        ?>
			<a href="/" id="show-search-simple" style="text-decoration:none;">&#171;&nbsp;Simpel søgning</a>
			&nbsp;>&nbsp;
			<a href="http://allearter.dk/" style="text-decoration:none;">Projekt Allearter Startside</a>
			<br>
<?php 
        $this->header();
        echo '<div class="stat-cnt">';
        $this->drawStatistik();
        echo '</div>';
        echo '</div>';
    }