freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

羽毛球俱樂部網(wǎng)站的設(shè)計與實現(xiàn)畢業(yè)論文-資料下載頁

2025-06-28 06:14本頁面
  

【正文】 t id=loginpass type=password name=loginpass / /label label input name= type=submit class=bt value=確定 / /label input type=hidden value=%=aname % / /form/body/html 后臺管理首頁管理員登陸成功后即可進入首頁。首頁中包含了搜索會員的功能,用戶在輸入框中輸入用戶名點擊搜索即可在數(shù)據(jù)庫中查詢指定的會員的信息。其中用到了UserDBean中的search方法。首頁實現(xiàn)如圖53所示,通過首頁的搜索功能搜索會員的結(jié)果如圖54所示。圖53 后臺管理首頁圖54 會員搜索結(jié)果具體實現(xiàn)的源代碼如下:%@ page language=java import=.*,beans.*,.* pageEncoding=utf8%!DOCTYPE HTML PUBLIC //W3C//DTD HTML Transitional//EN htmlheadmeta equiv=ContentType content=text/html。 charset=utf8 /title羽毛球俱樂部管理界面/titlelink href= rel=stylesheet type=text/css //headbody id=index div style=float:left。 h1羽毛球俱樂部后臺管理/h1 ul id=globalNav li id=li1a href=首頁/a ul lia href=editor 管理會員/a/li lia href=add 添加會員/a/li /ul /li li id=li2a href=news 新聞管理/a ul lia href=news 新聞總覽/a/li lia href=add 添加新聞/a/li /ul /li li id=li3a href=notification 通知管理/a ul lia href=notification 通知總覽/a/li lia href=add 添加通知/a/li /ul /li lia href=退出/a/li /ul /div div style=float:right。 width:100%。 h2歡迎你,%=(adname)%/h2 table width=100% border=0 cellspacing=0 cellpadding=0 tr th羽毛球俱樂部:/th td南昌大學(xué)/td /tr tr th會員人數(shù):/th tdstrong % UserDBean uconn = new UserDBean()。 int rowCountU = ()。 (rowCountU)。 % 人/strong /td /tr tr th新聞總數(shù):/th tdstrong % NewsDBean nconn = new NewsDBean()。 int rowCountNe = ()。 (rowCountNe)。 % 篇/strong /td /tr tr th通知總數(shù):/th tdstrong % NotiDBean noconn = new NotiDBean()。 int rowCountNo = ()。 (rowCountNo)。 % 篇/strong /td /tr tr th搜索會員:/th td form action= method=get input type=text name=searchUserName / input name=submit type=submit class=bt value=搜索 / /form /td /tr /table /div/body/html管理員點擊會員管理即可得到所有會員信息,并按照每頁5條信息顯示。管理員點擊添加會員即可添加會員,添加成功返回到會員管理頁面,否則返回添加會員頁面。會員管理第一頁如圖55所示,會員管理第二頁如圖56所示。圖55 會員管理第一頁圖56 會員管理第二頁會員管理的源代碼如下:div style=float:right。 width:100%。 h2管理會員/h2 table width=100% border=0 cellspacing=0 cellpadding=0 jsp:useBean id=uconn class= scope=page % int intPageSize = 5。 int intRowCount = 0。 int intPageCount = 0。 int intPage=1。 String strPage。 int countUsers = ()。 if (countUsers != 0) { intRowCount = countUsers。 intPageCount = (intRowCount + intPageSize 1) / intPageSize。 } strPage = (page)。 if (strPage == null) intPage = 1。 else { intPage = (strPage).intValue()。 if (intPage 1) intPage = 1。 if (intPage intPageCount) intPage = intPageCount。 } int tempNum=intPageSize * (intPage1)。 String sql = select top +intPageSize+ * from users where (username not in(select top +tempNum+ username from users order by username)) order by username。 UserBean[] users = (sql)。 % tr class=caption td width=10% class=wytd用戶名/td td width=10% class=wytd姓名/td td width=10% class=wytd性別/td td width=10% class=wytd年齡/td td width=15% class=wytd職業(yè)/td td width=15% class=wytd單位/td td width=20% class=wytd操作/td /tr %for (int i = 0。 i 。 i++) { % tr td%=users[i].getUsername()%/td td%=users[i].getName()%/td td%=users[i].getSex()%/td td%=users[i].getAge()%/td td%=users[i].getJob()%/td td%=users[i].getWorkplace()%/td td a href=add ?username=%=users[i].getUsername()%編輯/a | a href=?userName=%=users[i].getUsername()%刪除/a /td /tr %}% tr tdamp。nbsp。/td td colspan=6form action=editor method=post % if (intPage 1) { (a href=\editor ?page=0\[首頁]/a)。 (a href=\editor ?page=+(intPage1)+\[前一頁]/a)。 } if(intPageintPageCount){ (a href=\editor ?page=+(intPage+1)+\[后一頁]/a)。 (a href=\editor ?page=+intPageCount+\[末頁]/a)。 } (轉(zhuǎn)到第:input type=\text\ name=\page\ size=+intPageSize+頁 )。 (input type=\submit\ value=\確定\)。 (第+(intPage)+頁,共+(intPageCount)+頁 )。 % /form /td /tr /jsp:useBean /table /div添加會員的源代碼與登錄注冊的相差不多,在此只展示頁面,如圖57所示。圖57 添加會員頁面 新聞管理及添加新聞管理員可在后臺進行管理已有新聞以及添加最新新聞操作,通過左側(cè)的導(dǎo)航欄進入。新聞管理首頁的實現(xiàn)如圖58所示,通過新聞管理首頁所提供的所有新聞信息,可點擊提供的編輯和刪除功能對新聞進行相應(yīng)的操作。圖58 新聞管理頁面新聞管理頁面實現(xiàn)的源代碼如下:div style=float:right。 width:100%。jsp:useBean id=nconn class= scope=page% int intPageSize = 5。 int intRowCount = 0。 int intPageCount = 0。 int intPage=1。 String strPage。 int countNews = ()。 if (countNews != 0) { intRowCount = countNews。 intPageCount = (intRowCount + intPageSize 1) / intPageSize。 } strPage = (page)。 if (strPage == null) intPage = 1。 else { intPage = (strPage).intValue()。 if (intPage 1) intPage = 1。 if (intPage intPageCount) intPage = intPageCount。 } int tempNum=intPageSize * (intPage1)。 String sql = select top +intPageSize+ * from news where (newsId not in(select top +tempNum+ newsId from news order by newsId)) order by newsId。 NewsBean[] newses = (sql)。% h2新聞管理/h2 table width=100% border=0 cellspacing=0 cellpadding=0 tr class=caption td width=3% class=wynews編號/td td width=20% class=wynews標題/td td width=45% class=wynews概覽/td td width=7% class=wynews作者/td td width=8% class=wynews發(fā)布時間/td td width=12% class=wynews操作/td /tr%for (int i = 0。 i 。 i++) {% tr%if(newses[i].getNeTitle().length() 15 amp。amp。 newses[i].getNeText().length() 35) {% td%=newses[i].getNewsId()%/td td%=newses[i].getNeTitle().substring(0, 15)%.../td td%=newses[i].getNeText().sub
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1