コード例 #1
0
ファイル: inc_home.php プロジェクト: unisexx/adf16
</div>
</fieldset>

<ul  id="listfriend" class="list-unstyled">
<?php 
foreach ($rs as $key => $row) {
    ?>
<li style="position: relative;">

<div class="profile">
	<div class="col-md-3" style="text-align: center">
    	<a href="home/profile/<?php 
    echo $row->id;
    ?>
" target="_blank"><img class="imgProfile" data-src="holder.js/150x150" alt="150x150" src="<?php 
    echo check_image_url($row->image, $row->facebook_id, $row->google_picture_link, $row->twitter_profile_image);
    ?>
" style="width: 150px; height: 150px; margin-right:10px; margin-bottom:5px;"></a>
    </div>
    <div class="col-md-9">
    <h3>
    	<a href="home/profile/<?php 
    echo $row->id;
    ?>
" target="_blank"><?php 
    echo $row->display_name;
    ?>
</a>
    </h3>
    <div class="age-sex-location">
	    <span class="label label-success"><?php 
コード例 #2
0
ファイル: profile.php プロジェクト: unisexx/adf16
?>
</a>
		        <input type="hidden" name="user_id" value="<?php 
echo $rs->id;
?>
">
		    </div>
		</span>
	</span>
	<hr>
</div>
<div class="col-md-6 col-xs-12">
	<div class="profileCard">
	  	<div>
	      <img class="img-responsive" data-src="holder.js/120x120" alt="120x120" src="<?php 
echo check_image_url($rs->image, $rs->facebook_id, $rs->google_picture_link, $rs->twitter_profile_image, "original");
?>
" style="margin:0 auto; max-width: 200px;">
	    </div>
	    <div class="text-center">
	      <h1><?php 
echo $rs->display_name;
?>
</h1>
	      	<span class="label label-green"><?php 
echo $rs->age;
?>
</span>
	  		<span class="label" style="background: <?php 
echo $rs->sex->color;
?>