查看文件: show_all_adecard.php
大小: 1.39 KB
类型: application/octet-stream
<?php require_once('../Connections/BE2.php'); ?> <? // 9宮格展示名冊 //$scode=isset($_GET['menu'])?$_GET['menu']:'8888888'; //if($scode==''){ $scode='8888888';} mysql_select_db($database_BE2, $BE2); $query_Rtt = "SELECT * FROM member WHERE mem_user2<>'' AND m_ad2 ='Y' order by mem_auto desc" ; $Rtt = mysql_query($query_Rtt, $BE2) or die(mysql_error()); $row_Rtt = mysql_fetch_assoc($Rtt); //$i=0; //$bimg="/ecard/img/user_".sprintf("%07d",$row_Rtt['mem_auto']).'.'.$row_Rtt['mem_logo2'] ; // no ?> <div class="container"> <? // echo 'all_block9'; $i=0; do { ?> <? if($row_Rtt['mem_logo2'] <>''){ $i++; ?> <div class="col-md-3 col-xs-3 col-sm-3"> <div class="thumbnail"> <? $bimg="/ecard/reimg/user_".sprintf("%07d",$row_Rtt['mem_auto']).'.'.$row_Rtt['mem_logo2'] ; ?> <a href="/vipecard/<?= $row_Rtt['scode'] ;?>" target="_blank"><img src="<?= $bimg ?>" title="<?= $row_Rtt['mem_user2'].' '.$row_Rtt['mem_user'] ;?>雲名片"/></a> </div> <div style="text-align:center"><?= $row_Rtt['mem_user2'].' '.$row_Rtt['mem_user'] ;?> </div> </div> <? if($i%4==0){?> <div class="clearfix"> </div> <? } } } while ($row_Rtt = mysql_fetch_assoc($Rtt)); ?> </div> <div class="clearfix"> </div> <?php mysql_free_result($Rtt); ?>
保存
取消
返回文件列表