Basket

"; echo ""; echo ' Scientific Name Country Record No. Repository Type Action Supp. info '; echo ""; function createLink($unitID, $collectionCode, $institutionCode){ $ar = ['unitID'=>$unitID,'collectioncode'=> $collectionCode, 'institutioncode'=>$institutionCode]; $nurl = Url::to ( array_merge ( [ 'search/record' ], $ar ) ); return $nurl; } foreach ( $cartContent as $key =>$item ) { $link = createLink($key,$item['collectioncode'],$item['institutioncode']); echo ""; echo ''.$item['ScientificName'].''; echo ''.$item['Country'].''; echo ''.$key.''; echo ''.$item['Institution'].''; echo ''.$item['Type'].''; echo ''; Pjax::begin([ 'enablePushState'=>false]); $unitid=$key; $collection_code=$item['collectioncode']; $institution_code=$item['institutioncode']; ?> 'btn btn-primary','data-pjax'=>'w0','timeout'=>'100000']) ?> "; if($item['cites']!=false){ echo 'Cites protected!'; } else{ echo " ";} echo ""; } echo""; $form = ActiveForm::begin( [ 'options' => [ 'id' => 'edit-form' ] ]);?>
user->identity;?> 'btn btn-primary', 'name' => 'delete-button', 'data-confirm'=>'Are you sure you want to delete all items from your cart?'])?> cites_code =="(NULL)") {?> Url::to(['cart/checkout']), 'title'=>'Cites code', 'name' => 'checkout-button', 'class'=>'showModalButton btn btn-success', 'align'=>'right'])?> ' btn btn-success', 'align'=>'right'])?>
[ 'id' => 'modalHeader' ], 'id' => 'modal', 'size' => 'modal-lg', 'footer'=> Html::submitButton('Cancel', ['class' => ' btn btn-primary', 'data-dismiss'=>'modal']), // keeps from closing modal with esc key or by clicking out of the modal. // user must click cancel or X to close 'clientOptions' => [ 'backdrop' => 'static', 'keyboard' => FALSE ] ] ); ?>
Your basket is empty!"; } ?>