コード例 #1
0
ファイル: Guru_recent.php プロジェクト: dalinhuang/styleshop
        ?>
				<div style="float:left; margin-left:11px;"><a href="Guru_recent.php?userid=<?php 
        echo $M_guru_viewer->ID;
        ?>
" ><img border="0" src="<?php 
        echo $M_guru_viewer->pic;
        ?>
" width="110" height="106"/></a>
				</div>
		   <?php 
    }
    ?>
		  </div>
		  <!----------most recent---->
		  <?php 
    $M_guru_recents = guru_recent_display($M_guru->ID, 3);
    ?>
		  <div style="float:left; clear:both; margin-top:11px;">
		   <div style="float:left; "><img src="images/guru_most_recent.gif" width="85" height="106"></div>
		   <?php 
    foreach ($M_guru_recents as $M_guru_recent) {
        ?>
	
				<div style="float:left; margin-left:11px;"><a href="Guru_recent.php?userid=<?php 
        echo $M_guru_recent->ID;
        ?>
" ><img border="0" src="<?php 
        echo $M_guru_recent->pic;
        ?>
" width="110" height="106"/></a></div>
		   <?php 
コード例 #2
0
ファイル: Guru_stylist.php プロジェクト: dalinhuang/styleshop
    foreach ($M_guru_viewers as $M_guru_viewer) {
        ?>
				<div style="float:left; margin-left:11px;"><a href="Guru.php?userid=<?php 
        echo $M_guru_viewer->ID;
        ?>
" ><img border="0" src="<?php 
        echo $M_guru_viewer->pic;
        ?>
" width="110" height="106"/></a></div>
		   <?php 
    }
    ?>
		  </div>
		  <!----------most recent---->
		  <?php 
    $M_guru_recents = guru_recent_display($_GET["id"], 4);
    ?>
		  <div style="float:left; clear:both; margin-top:11px; margin-bottom:50px;">
		   <div style="float:left; "><img src="images/guru_most_recent.gif" width="85" height="106"></div>
		   <?php 
    foreach ($M_guru_recents as $M_guru_recent) {
        ?>
				<div style="float:left; margin-left:11px;"><a href="Guru.php?userid=<?php 
        echo $M_guru_recent->ID;
        ?>
" ><img  class="pic_opacity" border="0" src="<?php 
        echo $M_guru_recent->pic;
        ?>
" width="110" height="106"/></a></div>
		   <?php 
    }