{--db_fetchrow table="categories" items="*" condition="f_id='$categoryId'" varname="category"--}
{--if $category.f_haveChild--}
{--db_fetchrows table="categories" items="f_id, f_name, f_englishName, f_haveChild" condition="f_parentId='$categoryId'" orderby="f_order ASC, f_id ASC" varname="arrCategories"--}
{--else--}
{--db_fetchrows table="categories" items="f_id, f_name, f_englishName, f_haveChild" condition="f_id='$categoryId'" orderby="f_order ASC, f_id ASC" varname="arrCategories"--}
{--/if--}
{--assign var="now" value=$smarty.now--}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>{--$category.f_name--} - {--$siteName--}</title>
  <meta name="keywords" content="{--if $category.f_keywords--}{--$category.f_keywords--}{--else--}{--$siteKeywords--}{--/if--}" />
  <meta name="description" content="{--if $category.f_description--}{--$category.f_description--}{--else--}{--$siteDescription--}{--/if--}" />
  <meta name="cacheTime" content="{--$now|date_format:"%Y-%m-%d %H:%M:%S"--}"/>
  <link href="../common/category.css" rel="stylesheet" type="text/css" />
  <script src="../common/external.js" type="text/javascript"></script>
  <script src="../common/mail.js" type="text/javascript"></script>
  <base target="_blank" />
</head>
<body>
<div id="wrap">
    <div id="header">
        <div id="elogin">
            <form name=gomail onsubmit="return clickMail()" action="" method=post id=FrLgn>
                <input type=hidden name=url>
                <input type=hidden name=username>
                <input type=hidden name=type>
                <input type=hidden name=password>
                <input type=hidden name=domain>
                <input name=.intl value=cn type=hidden>
                <input value=ym name=.src type=hidden>
                <input type=hidden name=user>
                <input type=hidden name=pass>
                <input type=hidden value=true name=enterVip>
                <input type=hidden name=UserName>
                <input type=hidden name=Password>
                <input type=hidden name=u>
                <input type=hidden name=psw>
                <input type=hidden name=login>
                <input type=hidden name=LoginName>
                <input type=hidden name=usr>
                <input type=hidden name=func>
                <input type=hidden name=login_name>
                <input type=hidden name=login_password>
                <input type=hidden name=BackURL>
                <input type=hidden value=http://mail.google.com/mail?ui=html&amp;zy=l name=continue>
                <input type=hidden name=Email>
                <input type=hidden name=domainname>
                <input type=hidden value=false name=firstlogin>
                <input type=hidden name=starttime>
                <input type=hidden name=p2>
                <input type=hidden name=passwd>
                <input type=hidden name=id>
                <input type=hidden name=m>
                <input type=hidden name=mpass>
                <input type=hidden name=loginid>
                <input type=hidden name=appid>
                <input type=hidden name=ru>
                <input type=hidden name=eru>
                <input type=hidden name=fl>
                <input type=hidden name=ct>
                <input type=hidden name=vr>
                <input type=hidden name=sg>
                <input type=hidden name=vwriter>
                <input type=hidden name=email>
                <input type=hidden name=passport_51_user>
                <input type=hidden name=passport_51_password>
                <input type=hidden name=gourl>
                <input type=hidden name=Passwd>
                <input type=hidden name=vpassword>
                用户名：
                <input tabIndex=1 size=15 name=uName>
                邮箱：
                <select tabIndex=2 size=1 name=domains>
                    <optgroup label="请选择邮箱">
                    <option value=gmail>@gmail.com</option>
                    <option value=163>@163.com 网易</option>
                    <option value=sina>@sina.com 新浪</option>
                    <option value=126>@126.com 网易</option>
                    <option value=yahoo>@yahoo.com.cn</option>
                    <option value=21cn>@21cn.com</option>
                    <option value=sohu>@sohu.com 搜狐</option>
                    <option value=tom>@tom.com</option>
                    <option value=188>@188.com</option>
                    <option value=yahoocn>@yahoo.cn</option>
                    <option value=yeah>@yeah.net</option>
                    </optgroup>
                    <optgroup label="请选择其他服务">
                    <option value=baidu>百度账号</option>
                    <option value=chinaren>ChinaRen校友录</option>
                    <option value=xiaonei>校内网</option>
                    <option value=51com>51.com</option>
                    </optgroup>
                </select>
                密码：
                <input tabIndex=3 type=password size=12 name=uPw>
                <input   tabIndex=4 type=submit value=" 登录 " name=sub>
                <input type=hidden value=submit name=cmd>
            </form>
            <div class="r"><a href="javascript://" onclick="javascript:if(document.all){ this.style.behavior='url(#default#homepage)';this.setHomePage('http://'+document.location.host+'/'); }else{setHomePage('http://'+document.location.host+'/')}" target="_self">设为主页</a> | <a href="javascript:addBookmark(bookmarkname,'http://'+document.location.host+'/');" target="_self">加入收藏</a></div>
        </div>
        <div id="banner">
            <div id="logo">
                <h1><a href="../" title="{--$siteName--}" id="logourl" target="_self"></a></h1>
            </div>
            <div id="divSearch">
                <div class="src" id="search">
                    <ul id="tags">
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu8',this)">Google</a></li>
                        <li><a href="javascript://" target="_self" class="focu" onClick="selectTag('baidu0',this)">百度</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu1',this)">MP3</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu2',this)">图片</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu3',this)">贴吧</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu4',this)">知道</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu5',this)">百科</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu6',this)">视频</a></li>
                        <li><a href="javascript://" target="_self" onClick="selectTag('baidu7',this)">股票</a></li>
                    </ul>
                    <div id="baidu0" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://www.baidu.com/?tn=yecity"><img src="../images/baidu_logo.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://www.baidu.com/s?tn=yecity&wd=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu1" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://mp3.baidu.com/"><img src="../images/baidu_mp3.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://mp3.baidu.com/m?f=ms&tn=baidump3&ct=134217728&lf=&rn=&lm=0&word=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu2" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://image.baidu.com/"><img src="../images/baidu_img.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://image.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&pv=&z=0&word=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu3" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://post.baidu.com/"><img src="../images/baidu_post.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://post.baidu.com/f?kw=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu4" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://zhidao.baidu.com/"><img src="../images/baidu_know.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://zhidao.baidu.com/q?tn=ikaslist&pt=yecity&ct=17&word=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu5" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://baike.baidu.com/"><img src="../images/baidu_baike.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://baike.baidu.com/w?ct=17&lm=0&tn=baiduWikiSearch&pn=0&rn=10&word=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu6" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://video.baidu.com/"><img src="../images/baidu_video.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://video.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=0&word=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu7" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://www.baidu.com/index.php?tn=yecity"><img src="../images/baidu_logo.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://www.baidu.com/s?tn=yecity&wd=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value="百度一下" />
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                    <div id="baidu8" style="display:none;" class="srchbox">
                        <form method="post" action="" onSubmit="return goSearch(word, url)">
                            <a href="http://www.google.cn/webhp?hl=zh-CN&client=pub-7417722084294184&channel=logo"><img src="../images/google_logo.gif" /></a>
                            <label>
                            <input name="url" id="url" type="hidden" value="http://www.google.cn/search?hl=zh-CN&client=pub-7417722084294184&meta=&aq=f&oq=&q=" />
                            <input name="word" id="word" type="text" class="text" onMouseOver="this.focus();" onFocus="this.select();" autocomplete="off"/>
                            <input type="submit" class="button" value=" 搜 索 "/>
                            </label>
                        </form>
                        <div class="r"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="main">
        <div class="path"><em><a href="javascript://" onclick="javascript:CopyToClipBoard();" target="_self">如果您喜欢{--$siteName--}，请告诉您身边的朋友,谢谢!</a></em>您目前的位置：<a href="../" target="_self">首页</a> » {--$category.f_name--}</div>
        <div>
            <div id="leftContainer">
                <div id="siteclass" class="bd"> {--db_fetchrows table="categories" items="f_id, f_name" condition="f_parentId='0' AND f_autoList='1'" orderby="f_order ASC, f_id ASC" varname="arrBigCategories"--}
                    {--section name="secCategories" loop="$arrBigCategories"--}
                    <h4>{--$arrBigCategories[secCategories].f_name--}</h4>
                    <ul class="con">
                        {--assign var="parentId" value=$arrBigCategories[secCategories].f_id--}
                        {--db_fetchrows table="categories" items="f_id, f_name, f_englishName, f_url" condition="f_parentId='$parentId'" orderby="f_order ASC, f_id ASC" varname="arrSubCategories"--}
                        {--section name="secSubCategories" loop="$arrSubCategories"--}
                        <li><a href="{--if $arrSubCategories[secSubCategories].f_url--}{--$arrSubCategories[secSubCategories].f_url--}{--else--}{--if $arrSubCategories[secSubCategories].f_englishName--}{--$arrSubCategories[secSubCategories].f_englishName--}{--else--}{--$arrSubCategories[secSubCategories].f_id--}{--/if--}.html{--/if--}" target="_self">{--$arrSubCategories[secSubCategories].f_name--}</a></li>
                        {--/section--}
                    </ul>
                    {--/section--} </div>
            </div>
            <div id="rightContainer">
                <div class="cbox" id="mclass">
                    <h3><span class="focu">分类导航</span><span onclick="document.getElementById('mclass').style.display='none';document.getElementById('mhistory').style.display='block';">浏览记录</span></h3>
                    <ul>
                        {--section name="loop" loop="$arrCategories"--}
                        <li ><a href="{--if $arrCategories[loop].f_haveChild--}{--if $arrCategories[loop].f_englishName--}{--$arrCategories[loop].f_englishName--}{--else--}{--$arrCategories[loop].f_id--}{--/if--}.html{--else--}#{--$arrCategories[loop].f_id--}{--/if--}" target="_self">{--$arrCategories[loop].f_name--}</a></li>
                        {--/section--}
                    </ul>
                </div>
                <div class="cbox" id="mhistory" style="display:none">
                    <h3><em><img border="0" src="../images/del.gif" onclick="ClearHistory()" alt="清理浏览记录" style="cursor:hand" /></em><span onclick="document.getElementById('mhistory').style.display='none';document.getElementById('mclass').style.display='block';">分类导航</span><span class="focu">浏览记录</span></h3>
                    <ul id="history">
                    </ul>
                </div>
                <div class="adbox"> {--db_fetchrow table="ads" items="f_code" condition="f_id='2'" varname="adInfo"--}
                    {--$adInfo.f_code--} </div>
                <div class="cbox cmbox"> {--if $category.f_haveChild--}
                    {--db_fetchrows table="sites" items="f_name, f_url" condition="(f_categoryId='$categoryId') AND (f_expireTime='0' OR f_expireTime>'$now')" orderby="f_order ASC, f_id ASC" varname="arrSites"--}
                    {--if $arrSites--}
                    <ul id="pagelist">
                        {--section name="secSites" loop="$arrSites"--}
                        <li><a href="{--$arrSites[secSites].f_url--}">{--$arrSites[secSites].f_name--}</a>{--if $arrSites[secSites].f_isRecommend--}<span style="color:#f00">√</span>{--/if--}</li>
                        {--/section--}
                    </ul>
                    {--/if--}      
                    {--/if--}
                    {--section name="secCategories" loop="$arrCategories"--}
                    <h3><em><a href="#" target="_self">返回顶部↑</a></em>{--$arrCategories[secCategories].f_name--}<a name="{--$arrCategories[secCategories].f_id--}"></a></h3>
                    <ul>
                        {--if $arrCategories[secCategories].f_haveChild--}
                        {--assign var="categoryId" value=$arrCategories[secCategories].f_id--}
                        {--db_fetchrows table="categories" items="f_id, f_name, f_englishName" condition="f_parentId='$categoryId' AND f_name!=''" orderby="f_order ASC, f_id ASC" varname="arrSubCategories"--}
                        {--section name="secSites" loop="$arrSubCategories"--}
                        <li><a href="{--if $arrCategories[secCategories].f_englishName--}{--$arrCategories[secCategories].f_englishName--}{--else--}{--$arrCategories[secCategories].f_id--}{--/if--}.html#{--$arrSubCategories[secSites].f_id--}" target="_self">{--$arrSubCategories[secSites].f_name--}</a></li>
                        {--/section--}
                        {--else--}
                        {--assign var="categoryId" value=$arrCategories[secCategories].f_id--}
                        {--db_fetchrows table="sites" items="f_id, f_name, f_color, f_isRecommend, f_url" condition="(f_categoryId='$categoryId') AND (f_expireTime='0' OR f_expireTime>'$now')" orderby="f_order ASC, f_id ASC" varname="arrSites"--}
                        {--section name="secSites" loop="$arrSites"--}
                        <li><a href="{--$arrSites[secSites].f_url--}" id="{--$arrSites[secSites].f_id--}">{--if $arrSites[secSites].f_color--}<span style="color:{--$arrSites[secSites].f_color--}">{--$arrSites[secSites].f_name--}</span>{--else--}{--$arrSites[secSites].f_name--}{--/if--}</a>{--if $arrSites[secSites].f_isRecommend--}<span style="color:#f00">√</span>{--/if--}</li>
                        {--/section--}
                        {--/if--}
                    </ul>
                    {--/section--} </div>
                <div class="adbox"> {--db_fetchrow table="ads" items="f_code" condition="f_id='3'" varname="adInfo"--}
                    {--$adInfo.f_code--} </div>
            </div>
            <div style="clear:both"></div>
        </div>
    </div>    
    <div id="opt"><a href="../" target="_self"> <img src="../images/btn_back.jpg"></a> <a href="javascript:closeWin();" target="_self"><img src="../images/btn_close.jpg"></a></div>
    <div id="footer">
        <div class="link"><a href="../apps/about.html">关于我们</a> | <a href="../apps/about.html#contact">联系我们</a> | <a href="../apps/about.html#ad">广告招商</a> | <a href="../apps/about.html#add">网站提交</a> | <a href="http://wz.k978.com">源码下载</a></div>
        <div>Copyright © 2010 {--$siteName--} All rights reserved.</div>
    </div>
    <script language="javascript">history_show();</script>
</div>
<div id="stats" style="display:none">
<script language="javascript" type="text/javascript" src="http://js.users.51.la/2257223.js"></script>
</div>
</body>
</html>