查看文件: city_link.php
大小: 812 字节
类型: application/octet-stream
<?php require_once('/www2/skybni/Connections/BE2.php'); ?> <? mysql_select_db($database_BE2, $BE2); $query_Rt1 = "SELECT * FROM city_img where 1 order by ctindex" ; $Rt1 = mysql_query($query_Rt1, $BE2) or die(mysql_error()); $row_Rt1 = mysql_fetch_assoc($Rt1); ?> <div class="col-12 align-self-center"> <? $i=0; do { ?> <div class="col-3 col-sm-3" style="padding:5;display: flex;float:left;"> <a href="<?=$row_Rt1['ctlink']?>.html"> <img class="img-fluid" src="/images/cityimg/<?= $row_Rt1['ctimg'] ?>.jpg" width="100%" title="<?= $row_Rt1['ctname'] ?>"/> </a> </div> <? $i++; // if($i==20){ <div class="clearfix"> </div> } ?> <? } while ($row_Rt1 = mysql_fetch_assoc($Rt1)); mysql_free_result($Rt1); ?> </div>
保存
取消
返回文件列表