<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//print_r($results);
$sira=0;
foreach ($results as $results) {
$sira=$sira+1;
	?>
<label for="cardname<?=$results["pos_id"]?>" class="cardBox <?php if($sira==1){?>selected<?php }?> cardBox_<?=$results["pos_id"]?>" data-id="<?=$results["pos_id"]?>" ><img style="width: 85px !important; height: 34px !important" src="<?=$app_url?><?=$results["logo"]?>">
<input style="display:none" type="radio" name="cardname" <?php if($sira==1){?>checked<?php }?> id="cardname<?=$results["pos_id"]?>" value="<?=$results["pos_id"]?>" data-card-name="<?=$results["card_name"]?>">
</label>

<?php }?>

<style>

</style>