コード例 #1
0
                        </div>
                        <div class="divTbgInfo">
                            <div class="divTbgTitle">
                                锟轿筹拷学锟斤拷锟介看</div>
                        </div>
                    </div>
                    <div class="divTbgF">
                    </div>
                    <div id="mypanel">
                        <div class="divInfo" id="ddiv1">
                            <div class="divInfoContext">
                                <script language="javascript">
d = new dTree("d","");
d.add('0','-1','  锟斤拷学锟节课筹拷','','锟斤拷学锟节课筹拷','','','');
<?php 
sco_cla_list($_SESSION['term_now'], $_SESSION['name']);
?>
document.write(d);
</script></div>
                        </div>
                        <div class="divInfo">
                            <div class="divInfoContextN">
                                <p>锟洁级锟轿筹拷锟斤拷锟矫癸拷锟杰o拷</p>
                                <p>1锟斤拷锟斤拷锟斤拷锟截的班级锟斤拷锟斤拷锟揭侧即锟缴匡拷锟斤拷锟斤拷学锟节o拷锟斤拷锟洁级要锟斤拷锟斤拷目纬蹋锟?/p>
                                <p>2锟斤拷锟斤拷锟斤拷要锟斤拷锟矫匡拷锟轿的斤拷锟斤拷锟斤拷锟斤拷师锟斤拷锟斤拷锟斤拷锟斤拷息锟斤拷</p>
                                <p>3锟斤拷锟斤拷锟斤拷锟皆碉拷锟斤拷撞锟斤拷谋锟斤拷妫拷锟斤拷锟斤拷锟斤拷莸锟斤拷锟斤拷菘猓拷锟斤拷一锟斤拷锟洁级锟斤拷锟轿碉拷锟斤拷锟矫o拷</p>
                                <p>4锟斤拷锟斤拷也锟斤拷锟皆碉拷锟斤拷薷慕锟斤拷懈呒锟斤拷目纬锟斤拷锟斤拷茫锟斤拷锟斤拷锟斤拷纬痰锟皆わ拷锟斤拷锟较拷锟斤拷茫锟?/p>
                                <p>5锟斤拷锟剿达拷锟侥课程癸拷锟斤拷=锟斤拷学锟狡伙拷锟斤拷锟杰o拷</p>
                                </div>
                        </div>
                    </div>
コード例 #2
0
ファイル: lw_leftT.php プロジェクト: f476559604/xuanke
                            <div id="Scroll" onselectstart="return false" onmousewheel="ScrollWheel()">
                                <div id="ScroLeft">
                               <table width="160" border="0" align="center" cellpadding="0" cellspacing="0" id="tablew">
<tr>
<td><div style="OVERFLOW:hidden; WIDTH:150px" id="divw">
<?php 
echo '<script language="javascript">';
echo 'd = new dTree("d","");';
echo "d.add('0','-1',' 国交学院教学管理系统','','国交学院教学管理系统','','','');";
$sql = "select ID,parentID,mName,mUrl,mToolTip,mTarget,mIopen,mIclose from `lwmenu` where isDel='N' and (mExpand='T' or mExpand='B') order by showID asc";
$query = mysql_query($sql);
while ($res = mysql_fetch_row($query)) {
    echo "d.add('{$res['0']}','{$res['1']}','{$res['2']}','{$res['3']}','{$res['4']}','{$res['5']}','{$res['6']}','{$res['7']}');";
}
sco_cla_list($_SESSION['term_now'], $_SESSION['user_id'], 65, 'sco_dis');
sco_cla_list($_SESSION['term_now'], $_SESSION['user_id'], 66, 'sco_edit');
echo 'document.write(d)';
echo '</script>';
?>
</div></td>
</tr>
</table>
                                </div>
                                <div id="ScroRight" onclick="ScroNow(event)">
                                    <div id="ScroLine" onmousedown="ScroMove()" title="滚动条,可以上下拖动">
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>