📄 pagetop.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="pagetop.ascx.cs" Inherits="_pagetop" %>
<script src="pagetop.js" type="text/javascript"></script>
<div style="width:940px;text-align:center;">
<div style="width:920px;background-color:#ff9c00; height:30px; color:White;">
<div id="islogin" style="float:left; width:560px; text-align:left; margin-top:5px; visibility:hidden;">
<div class="pagetop_img"> 用户名 <input id="Text_User" name="Text_User" type="text" class="login_inputtext" maxlength="10" /></div>
<div class="pagetop_img"> 密码 <input id="Text_Password" name="Text_Password" type="password" class="login_inputtext" maxlength="10" /></div>
<div class="pagetop_img"> 验证码 <input id="Text_Validate" name="Text_Validate" type="text" class="login_inputtext" style="width:30px;" maxlength="3" /></div>
<div class="pagetop_img" style="margin-top:2px;"> <img alt="点击刷新" src="validate.aspx?time=' + Math.random();" style="cursor:pointer;" onclick="this.src='validate.aspx?time=' + Math.random();" /></div>
<div class="pagetop_img"><input id="Check_Box" name="Check_Box" value="save" type="checkbox" />记录cookie </div>
<div class="pagetop_img"> <asp:Button ID="Button_Submit" runat="server" Text="登陆" style="border:black 1px solid; height:20px;" OnClientClick="return login_judge();" OnClick="Button_Submit_Click" /></div>
<div class="pagetop_img"> <input id="Button2" type="button" value="注册" style="border:black 1px solid; height:20px;" onclick="javascript:location.href='user/register.aspx'" /></div>
<div class="pagetop_img"> <input id="Button4" type="button" value="取回密码" style="width:60px;border:black 1px solid; height:20px;" onclick="javascript:location.href='user/getpass.aspx'" /></div>
</div>
<div style="float:left; width:360px; text-align:right; margin-top:8px;">
<a href="system/suggest.xml" style="color:White;" target="_blank">留言</a>
<a href="cookie.aspx" style="color:White;">我的Cookie书库</a>
<a onclick="return clearcookie();" href="" style="color:White;">清空Cookie书库</a>
<a href="#;" onclick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.dzxsw.com/');" style="color:White;">设为首页</a>
<a href="#;" onclick="external.AddFavorite('http://www.dzxsw.com','大众小说网');" style="color:White;">加入收藏</a>
</div>
</div>
<% if (Session.Contents["username"] != null) Response.Write("<script type='text/javascript'>document.getElementById('islogin').innerHTML=' " + Session.Contents["username"].ToString() + "欢迎回来 <a href=\"sql.aspx\" style=\"color:white;\">我的书窝</a> <a href=\"user/exit.aspx\" style=\"color:white;\">退出</a> <a id=\"novelupdate\" href=\"sql.aspx?isupdate=true\" style=\"color:blue;visibility:hidden;\"><img src=\"image/newchapter.gif\" alt=\"\" />书窝里有小说更新,快去看看吧!</a>';</script>"); Response.Write("<script type='text/javascript'>document.getElementById('islogin').style.visibility='visible';</script>"); %>
<div style="width:920px; ">
<div style=" height:60px;">
<div style="float:left; width:295px; height:60px; background-image:url(image/logo.jpg);"></div>
<div style="float:left; width:616px; height:60px; margin-top:4px; text-align:right;">
<script type="text/javascript"><!--
google_ad_client = "pub-7142898498434570";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
<div style="text-align:right; margin-top:6px; background-image:url(image/menu.gif); height:25px; ">
<div style="margin-top:5px; margin-left:10px;">
<a href="default.aspx" style="color:white;">首页</a> ┊
<a href="novellist.aspx?boardid=1" style="color:white;">玄幻奇幻</a> ┊
<a href="novellist.aspx?boardid=2" style="color:white;">武侠仙侠</a> ┊
<a href="novellist.aspx?boardid=3" style="color:white;">都市言情</a> ┊
<a href="novellist.aspx?boardid=5" style="color:white;">历史军事</a> ┊
<a href="novellist.aspx?boardid=7" style="color:white;">游戏竞技</a> ┊
<a href="novellist.aspx?boardid=9" style="color:white;">科幻灵异</a> ┊
<a href="novellist.aspx?boardid=11" style="color:white;">美文同人</a>
</div>
</div>
</div>
<div style="text-align:right; height:25px; margin-right:10px; margin-bottom:8px; margin-top:8px;">
<div id="visibility" style="float:left; width:200px; text-align:left; visibility:hidden; color:Black;"><div style="margin-left:20px;background-color:Yellow; height:25px; width:150px;border:#FF9933 1px solid;"><div style="float:left;margin-top:3px;"> <img src="image/loading.gif" alt="" /></div><div style="float:left;margin-top:3px; font-weight:bold;"> 正在处理您的请求...</div></div></div>
<div style="float:left; width:400px; margin-top:6px; text-align:right;">【作品·搜索】 关键字:</div>
<div style="float:left;width:320px;">
<input id="Text_Search" type="text" value="请输入" onfocus="judge();" class="inputtext" maxlength="20" />
<select id="Select_Type"><option selected="selected" value="novel">按书名</option><option value="author">按作者</option></select>
<input id="Button1" type="button" value=" 搜 索 " onclick="return searchinfo();" />
</div>
</div>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -