Beispiel #1
0
<?php 
foreach ($result['tbl_users_name'] as $k => $user) {
    ?>
<a href="<?php 
    echo route('user.show', [xsc($result['tbl_users_id'])[$k]]);
    ?>
"><?php 
    echo e($user);
    ?>
</a>
<?php 
}
?>


<h2><?php 
echo __('Countries');
?>
</h2>
<?php 
foreach ($result['tbl_countries_name'] as $k => $country) {
    ?>
<a href="<?php 
    echo route('country.show', [xsc($result['tbl_countries_id'][$k])]);
    ?>
"><?php 
    echo e($country);
    ?>
</a>
<?php 
}
 public function nameMutator($value)
 {
     return strip_tags(xsc($value));
 }
Beispiel #3
0
            <?php 
}
?>


            <h3><?php 
echo __('Tags');
?>
</h3>

            <?php 
foreach ($tags as $tag) {
    ?>
            
            <a href="<?php 
    echo route('tag.show', [xsc($tag['id'])]);
    ?>
"><?php 
    echo e($tag['name']);
    ?>
</a>,

            <?php 
}
?>


            <h3><?php 
echo __('Most popular');
?>
</h3>
Beispiel #4
0
" alt="<?php 
    echo $image;
    ?>
">
</div>
<?php 
}
?>
</div>

<div class="row">
    
<h3><?php 
echo __('Related tags');
?>
</h3>
<?php 
foreach ($post['tbl_tags_id'] as $key => $tag) {
    ?>
<a href="<?php 
    echo route('tag.show', [$tag]);
    ?>
"><?php 
    echo xsc($post['tbl_tags_name'][$key]);
    ?>
</a>
<?php 
}
?>
    
</div>
Beispiel #5
0
" alt="<?php 
    echo $image;
    ?>
">
</div>
<?php 
}
?>
</div>


<div class="row">  
<h3><?php 
echo __('Related tags');
?>
</h3>
<?php 
foreach ($user['tbl_tags_name'] as $k => $tag) {
    ?>
<a href="<?php 
    echo route('tag.show', [xsc($user['tbl_tags_id'][$k])]);
    ?>
"><?php 
    echo xsc($tag);
    ?>
</a>
<?php 
}
?>
  
</div>