">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="766" bordercolor="#ddcf90" height="392">
<tr>
<td valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="372">
<tr>
<td width="368"><a onclick="javascript:expands('dwtop','dwimg')" style="cursor:hand"><span align="absmiddle"> <img id="dwimg" src=http://www.dvbbs.net/tech/php/"parent.gif" border="0" align="absmiddle" width="35" height="17"></span></a><font size="2"><a href=http://www.dvbbs.net/tech/php/"process.php?searchpattern=<?=$result[0]?>"><?=$result[1]?></a></font>
<table id="dwtop" style="display=none" cellspacing="0" cellpadding="0">
<?
$firstdepartment=$result[0];
$basenum=strlen($firstdepartment)/3;//计算层数,其实这个有点多余,因为其必为第一层
$searchpattern=$firstdepartment."___"; //设置查找条件
listchildtree($searchpattern,$basenum); //显示祖宗节点的孩子
<center>
<table border="1" cellpadding="0" cellspacing="0" width="766" bordercolor="#ddcf90" height="392">
<tr>
<td valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="372">
<tr>
<td width="368"><a onclick="javascript:expands('dwtop','dwimg')" style="cursor:hand"><span align="absmiddle"> <img id="dwimg" src=http://www.dvbbs.net/tech/php/"parent.gif" border="0" align="absmiddle" width="35" height="17"></span></a><font size="2"><a href=http://www.dvbbs.net/tech/php/"process.php?searchpattern=<?=$result[0]?>"><?=$result[1]?></a></font>
<table id="dwtop" style="display=none" cellspacing="0" cellpadding="0">
<?
$firstdepartment=$result[0];
$basenum=strlen($firstdepartment)/3;//计算层数,其实这个有点多余,因为其必为第一层
$searchpattern=$firstdepartment."___"; //设置查找条件
listchildtree($searchpattern,$basenum); //显示祖宗节点的孩子
| 对此文章发表了评论 |
