Example #1
0
</tr>
</table></td>
</tr>
<tr>
<td height="268" bgcolor="#FFFFFF" style="padding-left:8px;line-height:200%;">
<?php 
$rtwz = $db->query("SELECT id,title FROM " . __TBL_GROUP_WZ__ . " WHERE mainid=" . $mainid . " AND ifjh=1 AND flag=1 ORDER BY id DESC LIMIT 11");
$totalwz = $db->num_rows($rtwz);
if ($totalwz > 0) {
    for ($k = 0; $k < $totalwz; $k++) {
        $rowswz = $db->fetch_array($rtwz);
        if (!$rowswz) {
            break;
        }
        $jhwztitle = htmlout(stripslashes($rowswz[1]));
        $jhwztitle = gylsubstr($jhwztitle, 42);
        echo "<font color=666666 style='font-family:宋体'>·</font> ";
        echo "<a href=read" . $rowswz[0] . ".html target=_blank class=333333>" . $jhwztitle . "</a><br>";
    }
} else {
    echo "<center><br><br><font color=999999>...暂无信息...</font><br><br><br></center>";
}
?>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/<?php 
Example #2
0
            $outtime .= '<font color=red style=font-size:11px>' . $hour . '</font>小时<font color=red style=font-size:11px>' . $minute . '</font>分钟';
            $outPbt = '我要报名';
        } else {
            $outtime = '[活动已经结束]';
            $outPbt = '查看详情';
        }
        ?>
<img src="images/qzlist.gif" hspace="5" vspace="8" align="absmiddle" border=0>
<a href="<?php 
        echo $Global['group_2domain'];
        ?>
/partyshow<?php 
        echo $rows[0];
        ?>
.html" target="_blank" style="font-size:14px;font-weight:bold"><?php 
        echo gylsubstr($rows[1], 32);
        ?>
</a> (邀请<font color=red style=font-size:11px><?php 
        echo $rows[3] + $rows[4];
        ?>
</font>人,<?php 
        echo $outtime;
        ?>
) <img src="../images/Pd.gif" width="16" height="16" hspace="3" vspace="5" align="absmiddle" /><strong><a href="<?php 
        echo $Global['group_2domain'];
        ?>
/partyshow<?php 
        echo $rows[0];
        ?>
.html" target="_blank"><font color="#FF0000">我要报名</font></a></strong>
<br>
Example #3
0
<tr>
<td height="24" valign="top"><b>
<?php 
geticon($sex . $grade);
?>
<a href="<?php 
echo $Global['home_2domain'] . '/' . $uid;
?>
" target=_blank><?php 
echo $nickname;
?>
</a></b></td>
</tr>
<tr>
<td style="line-height:200%"><?php 
echo gylsubstr($aboutus, 200);
?>
……[ <a href="<?php 
echo $Global['home_2domain'] . '/myarchive' . $uid;
?>
.html" class="uDF2C91" target=_blank><b>查看详细</b></a>] </td>
</tr>
</table>
</div>
<div class="clear"></div>
</div><br />
<font color="#999999">&copy;版权所有<?php 
echo date("Y");
?>
 <?php 
echo $Global['m_sitename'];
Example #4
0
 $pagesize = 15;
 if ($p < 1) {
     $p = 1;
 }
 $mypage = new wrzc_netpage($total, $pagesize);
 $pagelist = $mypage->pagebar();
 mysql_data_seek($rt, ($p - 1) * $pagesize);
 for ($i = 1; $i <= $pagesize; $i++) {
     $rows = $db->fetch_array($rt);
     if (!$rows) {
         break;
     }
     $id = $rows['id'];
     $sex = $rows['sex'];
     $title = badstr($rows['title']);
     $title = gylsubstr($title, 40);
     if ($t == 4 && !empty($k)) {
         $title = str_replace($k, "<span class=red>" . $k . "</span>", stripslashes($title));
     }
     $userid = $rows['userid'];
     $click = $rows['click'];
     $hfnum = $rows['hfnum'];
     $ifjh = $rows['ifjh'];
     $grade = $rows['grade'];
     $stime = $rows['stime'];
     $stime = date_format2($stime, '%m月%d日 %H:%M') . ' ' . getweek(date_format2($stime, '%Y-%m-%d'));
     $title = "<a href=" . $Global['home_2domain'] . "/diary{$id}.html target=_blank>" . $title . '</a>';
     $nickname = "<a href=" . $Global['home_2domain'] . "/{$userid} target=_blank>" . badstr($rows['nickname']) . "</a>";
     if ($ifjh == 1) {
         $title = $title . " <img src=images/j.gif align=absmiddle title=精品日记 />";
     }
Example #5
0
	  <h4>最新日记</h4>
	  <a href="mydiary<?php 
    echo $uid;
    ?>
.html">>>更多</a></div>
	<div class="rightContent">
		<div class="userdata">
			<div class="diaryTitle">[ <?php 
    echo date_format2($rows['stime'], '%Y-%m-%d');
    ?>
 <?php 
    echo htmlout(stripslashes($rows['title']));
    ?>
 ]</div>
			<div class="diaryContent">  <?php 
    $s = gylsubstr(stripslashes($rows['content']), 200);
    echo strip_tags($s);
    //echo htmlout(gylsubstr(stripslashes($rows['content']),200));
    ?>
……</div>
			<div class="diaryHf">
		  回复:[<font color="#FF0000"><?php 
    echo $rows['hfnum'];
    ?>
</font>] 阅读:[<font color="#FF0000"><?php 
    echo $rows['click'];
    ?>
</font>] <a href="diary<?php 
    echo $rows['id'];
    ?>
.html" target="_blank" class="A9BU_tiaose">阅读全文</a>
Example #6
0
        $nickname = $rows[0];
        $grade = $rows[1];
        $sex = $rows[2];
        $id = $rows[3];
        $userid = $rows[4];
        $path_s = $rows[5];
        $title = $rows[6];
        $addtime = $rows[7];
        $addtime = date_format2($addtime, '%m月%d日 %H:%M');
        $click = $rows[8];
        $ifjh = $rows[9];
        $nickname = badstr($nickname);
        $href = $Global['home_2domain'] . "/v{$id}.html";
        $title = badstr(stripslashes($rows[6]));
        $title = htmlout($title);
        $title = gylsubstr($title, 16);
        $ifjh = $ifjh == 1 ? "<img src=images/j.gif align=absmiddle title=推荐视频 /> " : '';
        if ($t == 5 && !empty($k)) {
            $nickname = str_replace($k, "<span class=red>" . $k . "</span>", $nickname);
        }
        $path_s = '<img src=' . $Global['up_2domain'] . '/' . $Global['m_flvpath'] . '/' . $path_s . '>';
        ?>
	<div class="Vbox<?php 
        echo $tmpmargin;
        ?>
">
		<div class="pic"><a href="<?php 
        echo $href;
        ?>
" target="_blank"><?php 
        echo $path_s;
Example #7
0
        ?>
  <?php 
        echo $flagout;
        ?>
</div>
				<div class="pr3"><span><?php 
        echo $nickname;
        ?>
</span><img src="images/x.gif" hspace="8" /><span><?php 
        echo $nickname2;
        ?>
</span></div>
			</div>
		</div>
		<div class="Pb"> <?php 
        echo htmlout(str_replace("\r\n", "", gylsubstr(stripslashes($content), 110)));
        ?>
……  <em>收到<span><?php 
        echo $bbsnum;
        ?>
</span>个祝福,<a href="<?php 
        echo $href;
        ?>
" target="_blank">我要祝福</a></em></div>
		
	</div>
	<?php 
    }
    ?>
	<div class=clear></div>
	<div class="page"><div class="Pl"></div><div class="Pr"><?php 
Example #8
0
            break;
        }
        $tmpnickname = explode("|", $rows['nicknamesexgradephoto_s']);
        $sexcolor = $tmpnickname[1];
        if ($sexcolor == 1) {
            $sexcolor = ' class=lan';
        } else {
            $sexcolor = ' class=hong';
        }
        if ($i % 2 != 0) {
            $tmpmargin = ' marginR20';
        } else {
            $tmpmargin = '';
        }
        $title = badstr($rows['title']);
        $title = gylsubstr($title, 38);
        if ($t == 5 && !empty($k)) {
            $title = str_replace($k, "<span class=red>" . $k . "</span>", stripslashes($title));
        }
        ?>
	<div class="li<?php 
        echo $tmpmargin;
        ?>
">
		<div class="li1"><img src=images/wzli.gif align="absmiddle"><a href="<?php 
        echo $Global['group_2domain'];
        ?>
/read<?php 
        echo $rows['id'];
        ?>
.html" target=_blank><?php 
Example #9
0
        if (!$rows) {
            break;
        }
        $id = $rows[0];
        $title = $rows[1];
        $bmnum = $rows[2];
        $jjloveb = $rows[3];
        $did = $id * 7 + 8848;
        if ($jjloveb > 0) {
            $href = 'bidderdating' . $did . '.html';
        } else {
            $href = $Global['home_2domain'] . "/dating{$id}.html";
        }
        ?>
	<div class="li"><div class="li1"><a href="<?php 
        echo $href;
        ?>
" target="_blank"><?php 
        echo gylsubstr(htmlout(stripslashes($title)), 26);
        ?>
</a> (<span><?php 
        echo $bmnum;
        ?>
</span>人响应)</div><div class="li22"><a href="<?php 
        echo $href;
        ?>
" target="_blank"><img src="images/dating_libt.gif" /></a></div></div>
<?php 
    }
}
require_once 'pubB.php';
Example #10
0
        }
        $tmpnickname = explode("|", $rows['nicknamesexgradephoto_s']);
        $sexcolor = $tmpnickname[1];
        if ($sexcolor == 1) {
            $sexcolor = ' class=lan';
        } else {
            $sexcolor = ' class=hong';
        }
        ?>
<div class="wzli3">
							<a
								href=<?php 
        echo $Global['group_2domain'] . '/read' . $rows[0] . '.html';
        ?>
								target=_blank><?php 
        echo gylsubstr(badstr(htmlout(stripslashes($rows[1]))), 34);
        ?>
</a> |<?php 
        echo "<a href=" . $Global['home_2domain'] . "/" . $rows[2] . " target=_blank><span{$sexcolor}>" . $tmpnickname[0] . "</span></a>";
        ?>
</div>
<?php 
    }
}
?>
</div>
				</div>
				<div class="wzbox wzbox3"></div>
			</div>
		</div>
		<div class="right">
Example #11
0
			<?php 
    $total = $db->num_rows($rt);
    for ($i = 1; $i <= $total; $i++) {
        $rows = $db->fetch_array($rt);
        if (!$rows) {
            break;
        }
        ?>
				<div class="li bgli"><div class="li1"><a href="<?php 
        echo $Global['group_2domain'];
        ?>
/partyshow<?php 
        echo $rows[0];
        ?>
.html" target="_blank"><?php 
        echo gylsubstr(htmlout(stripslashes($rows[1])), 28);
        ?>
</a></div>
				<div class="li22"><a href="<?php 
        echo $Global['group_2domain'];
        ?>
/partyshow<?php 
        echo $rows['id'];
        ?>
.html" target="_blank"><img src="../images/g_detail.gif" /></a></div>
				</div>
			<?php 
    }
}
?>
		</div>