日期:2014-05-17 浏览次数:20442 次
<div id="bodyright">
<?php
include("/member/index_Service.class.php");
$pagenow=0;
$pagesize=24;
$q_Servie = new q_Service ();
$res=$q_Servie->get_quan_list($pagenow, $pagesize);
for($i = 0; $i < count ( $res); $i ++) {
$row = $res [$i];
$photo = "upload_file/{$row['q_creator']}/{$row['q_photo']}";
$q_secrecy = $row ['q_secrecy'];
if ($row ['q_photo'] == "") {
$photo = "upload_file/quan.png";
}
echo " <div class='fieldset'><form action='content.php' method='post' ff={$row['q_id']}>
<div class='legend' > [{$row['q_id']}]<h7>{$row['q_name']}</h7></div>
<div class='div-t'><img class='tx' src='$photo'/><p class='p-about'>{$row['q_about']}</p></div>
<div class='db'><img class='ys' src='img/member.png' style='width:16px;' title='网站注册会员可用'/><input type='hidden' name='q_id' value={$row['q_id']} />
<input type='button' class='jr' q_id={$row['q_id']} value='申请加入' /> <input id={$row['q_id']} q_secrecy=$q_secrecy type='button' value='进入' class='bt' /> </div>
</form></div>";
}
?>
</div>