Пример #1
0
      <h5>
        <!-- <a href=""><?php 
echo $userProfile['phoneNum'];
?>
</a> -->

        <?php 
$userProfile['phoneNum'] = str_replace(',', ',', $userProfile['phoneNum']);
$userProfile['phoneNum'] = explode(',', $userProfile['phoneNum']);
foreach ($userProfile['phoneNum'] as $key => $phoneNumIndex) {
    ?>
          <a href="tel://<?php 
    echo trim($phoneNumIndex);
    ?>
"><?php 
    echo showMobileStyle($phoneNumIndex);
    ?>
</a>
        <?php 
}
?>
      </h5>
    </div>
    <div class="col s2 right-align">
      <h5><a onclick="$('#contactDetails').toggle()"><i class="grey-text text-darken-3 mdi-navigation-unfold-more"></i></a ></h5>
    </div>

    <div id="contactDetails" class="row" style="display:none">
      <div class="col s12">
        <div class="divider"></div>
      </div>
Пример #2
0
<div class="row">
  <div class="col s2">
    <i class="small mdi-action-account-box grey-text text-darken-2"></i>
  </div>
  <div class="col s10">
    <h5><?php 
echo $userProfile['username'];
?>
</h5>
  </div>
  <div class="col s2">
    <i class="small mdi-communication-phone grey-text text-darken-2"></i>
  </div>
  <div class="col s10">
    <h5><a href=""><?php 
echo showMobileStyle($userProfile['phoneNum']);
?>
</a></h5>
  </div>
  <div class="col s12">
    <div class="divider"></div>
  </div>
</div>
<div class="row">
  <div class="col s2">
    <i class="tiny mdi-maps-local-offer grey-text text-darken-2"></i>
  </div>
  <div class="col s10">
    <?php 
echo $userProfile['tagList'];
?>