Ejemplo n.º 1
0
        }
        echo '<a href=' . $Global['my_2domain'] . '/?k_sfz.php>';
        for ($x2 = 1; $x2 <= $tmpx; $x2++) {
            echo "<image src=../images/sfz_x.gif align=absmiddle vspace=5 title='实名认证星级:当前" . $tmpx . "星,共5星'>";
        }
        echo '</a>';
        if ($tmpx > 0) {
            echo ')';
        }
        ?>
</div>
				<div class="mm"><?php 
        echo $data->getbirthday($birthday);
        ?>
,<?php 
        echo $data->getlove($love);
        ?>
,<?php 
        echo $data->getkind($kind);
        ?>
</div>
				<div class="bb">
				<?php 
        if (!ereg("^[0-9]{1,2}\$", $cook_grade) || empty($cook_grade)) {
            echo "<a href=../login.php><img src=../images/chat.gif /></a> <a href=../login.php><img src=../images/gbook.gif /></a>";
        } else {
            echo "<a href=" . $Global['chat_2domain'] . "/chksend" . $id . ".html target='_blank'><img src=../images/chat.gif /></a> ";
            echo "<a href=" . $Global['my_2domain'] . "/?b_gbook.php?submitok=add&memberid=" . $id . "&membernickname=" . $nickname . "&g=" . $grade . " target='_blank'><img src=../images/gbook.gif /></a>";
        }
        ?>
				</div>
Ejemplo n.º 2
0
} else {
    $total = $db->num_rows($rt);
    require_once wrzc_net . 'sub/fundata.php';
    $data = new wrzc_net_data();
    for ($i = 1; $i <= $total; $i++) {
        $rows = $db->fetch_array($rt);
        if (!$rows) {
            break;
        }
        ?>
<div class="li1"><?php 
        geticon($rows['sex'] . $rows['grade']);
        echo '<a href=' . $Global['home_2domain'] . '/' . $rows['id'] . ' target=_blank>' . $rows['nickname'];
        ?>
</a></div>
<div class="li2"><?php 
        echo $data->getbirthday($rows['birthday']);
        ?>
 Ëê</div>
<div class="li3"><?php 
        echo $rows['area2'];
        ?>
</div>
<div class="li4"><?php 
        echo $data->getlove($rows['love']);
        ?>
</div>
<?php 
    }
}
require_once 'pubB.php';