* @author Gabriele Droege, Patricia Kelbert (BGBM, GGBN/DNA Bank Network) * @version yii 2.0.3 * @package View * @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org *
The contents of this file are subject to the Mozilla Public License Version 1.1 * @filesource * @license http://www.mozilla.org/MPL/ MPL */ use yii\helpers\Html; use yii\widgets\LinkPager; use ggbnportal\controllers\SearchController; use yii\helpers\Url; use yii\web\View; use yii\widgets\Pjax; $this->title = 'GGBN Portal'; if (isset ( $fq )) { $fq = $fq . "&"; } else $fq = ""; if (isset ( $ufq )) { $ufq = $ufq . "&"; } else $ufq = ""; echo ''; echo '
'; foreach ( $facets as $fn => $f ) { echo $fn . "
"; echo $f . "
"; } echo "
Showing records " . $recordsFrom . " to " . $recordsTo . " (total " . $recordsTotal . ")
"; echo "Jump to page GO!"; ?>
user->isGuest) { echo '
'; // Note: Pjax timeout was set to 10000 because of localhost's slow response: Might be reduced when migration to actual webserver. Pjax::begin ( [ 'enablePushState' => false ] ); Yii::$app->session ['search'] = Yii::$app->request->url; Yii::$app->session ['records'] = $pages->totalCount; ?>

Subscribe to this search and get notified by email if new records are added to the database

'btn btn-primary','data-pjax'=>'w0','timeout'=>'100000'])?>

Save our search parameters without subscription

'btn btn-primary','data-pjax'=>'w0','timeout'=>'100000'])?>
'; } else { echo '
Log in to save your search parameters!
'; } // +++++++++++++++ ?>

Browse data help

Click on the grey butterfly to load the details for a specific record. user->isGuest) { echo "





"; } ?> Scientificname"; // echo " "; ?> "; $tid = $lowestDoc [$elt->tripleidstoreid]; $title = "Get the details for this unit"; if ($tid [0] != $elt->unitID) { $title = "Get the details for the corresponding DNA or tissue if available"; } $url = Url::to ( array_merge ( [ 'search/record' ], [ "unitID" => $tid [0], "collectioncode" => $tid [1], "institutioncode" => $tid [2] ] ) ); echo ""; echo ""; // echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
UnitID Recordbasis Institution Collection
see details" . $elt->fullScientificName . "".$elt->familyName."" . $elt->unitID . "" . $elt->recordbasis . "" . $elt->institutioncode . "" . $elt->collectioncode . "
"; echo "
"; echo "
"; echo "
"; echo LinkPager::widget ( [ 'pagination' => $pages ] ); echo "
"; ?>