Example #1
0
								<input type="text" id="keyword" name="keyword" value="" style="height:20px;line-height:20px;"/>
								<input type="hidden" id="sbbs_type" name="sbbs_type" value="<?php 
echo $sbbs_type;
?>
"/>
								<span id="go" class="button3">搜索</span>
							</td>
						</tr>
						<?php 
if ($select_num > 0) {
    //echo "<tr><td align='center' colspan='5'><div class='tcdPageCode'></div></td></tr>";
    echo "<tr style='background-color:#D7D7D7;color:#000000;font-weight:bold;height:30px;line-height:30px;'>\n\t\t\t\t\t\t\t\t<td align='left'>&nbsp;标题</td>\n\t\t\t\t\t\t\t\t<td align='center'' width='100px'>板块</td>\n\t\t\t\t\t\t\t\t<td align='center' width='100px'>点击</td>\n\t\t\t\t\t\t\t\t<td align='center' width='100px'>回复</td>\n\t\t\t\t\t\t\t\t<td align='right' width='100px'>时间&nbsp;</td>\n\t\t\t\t\t\t\t</tr>";
    $cnt = 0;
    while (($select_array = mysql_fetch_array($select_result)) && $cnt < $pagesize) {
        ++$cnt;
        $bbs_fatiebyid_array = $bbs_function->getTiezi($select_array['bbs_floor']);
        ?>
										
									<tr style="cursor:pointer;height:30px;" class="bianse">
										<td align="left" width="" style="border-left:solid;border-right:solid;border-bottom:solid;border-color:#ececec;border-width:1px;"> 
											<span id="editxminfo"><a href="shyule_bbs_scan.php?fatieid=<?php 
        echo $select_array['bbs_floor'];
        ?>
">&nbsp;<?php 
        echo $bbs_fatiebyid_array['bbs_title'];
        ?>
</a></span>&nbsp;	
										</td>
										<td align="center" style="border-right:solid;border-bottom:solid;border-color:#ececec;border-width:1px;">
											<span id="editxminfo"><a href="myhuitie.php?sbbs_type=<?php 
        echo $bbs_fatiebyid_array['bbs_type'];
Example #2
0
<?php

require_once '../../include/conmysql.php';
require_once '../../include/public_function.php';
require_once '../../include/bbs_function.php';
$bbs_function = new bbs_function();
$public_function = new public_function();
$blog_userid = $_SESSION['UID'];
$blog_type = $_SESSION['UTYPE'];
$fatieid = str_replace(" ", "", $_GET['fatieid']);
$jbid = str_replace(" ", "", $_GET['jbid']);
$bbs_tiezi_array = $bbs_function->getTiezi($jbid);
if ($public_function->getbgbyuser($blog_userid) != "") {
    $bg = $public_function->getbgbyuser($blog_userid);
} else {
    if ($public_function->getbgbysys() != "") {
        $bg = $public_function->getbgbysys();
    } else {
        $bg = "images/bg/bg3.jpg";
    }
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>天网论坛_发帖</title>
<link rel="stylesheet" href="../../css/public.css" />
</head>
<body>