Example #1
0
                </ul>
            </li>
            <li><a href="shyule_fatie.php?types=insert">我要发帖</a></li>
        </ul>
    </div>
</div>
<form action="#" method="post" id="form1" name="form1">
    <div class="content">
    	<ul>
        	<li style="display:block;">
        		<div>
        			<table style="width:100%;min-width:1024px;" border="0" cellpadding="0" cellspacing="0"> 
						<tr style="height:30px;">
							<td colspan="2">
								<span id="editxminfo"><a href="<? echo $_SERVER['PHP_SELF'];?>">全部(<span style='color:red;'><?php 
echo $bbs_function->getTieZiNum();
?>
</span>)</a></span>
								<?php 
for ($bbstpenum = 0; $bbstpenum < $bbs_type_num; $bbstpenum++) {
    $bbs_type_array = mysql_fetch_array($bbs_type_result);
    $bktznum = $bbs_function->getBanKuaiTieZiNum($bbs_type_array['ids']);
    ?>
									<span id="editxminfo"><a href="<? echo $_SERVER['PHP_SELF'];?>?sbbs_type=<?php 
    echo $bbs_type_array['ids'];
    ?>
">&nbsp;<?php 
    echo $bbs_type_array['bbs_type'] . "(<span style='color:red;'>" . $bktznum . "</span>)";
    ?>
</a></span>
									<?php