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

正文內(nèi)容

畢業(yè)論文-人科公司工資管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-資料下載頁(yè)

2025-06-05 06:11本頁(yè)面
  

【正文】 管理界面 對(duì)用戶的添加:根據(jù)管理員選擇的用戶類別,輸入的用戶名和密碼,首先判斷輸入的兩次密碼是否一致,一致的話,就判斷用戶名是否已經(jīng)存在,如果存在,就不能添加,如果不存在,就添加該用戶。具體代碼如下: ?php ? !DOCTYPE html html lang=en head meta charset=utf8 / style type=text/css form{ margintop: 10%。 marginleft: 20%。 marginright: 20%。 } a{ color: 808080。 } 湖南人文科技學(xué)院畢業(yè)論文 24 /style /head body form action= method=post fieldset legend成員基本信息 /legend p姓名: /ppinput type=text name=u_username/p p用戶名: /ppinput type=text name=u_name/p a長(zhǎng)度大于等于 4位 ,小于 16位,由字母和數(shù)字組成 /a p密碼: /ppinput type=password name=u_pwd/p a長(zhǎng)度至少大于等于 6位,小于 10位 /a p基本工資: /ppinput type=text name=u_salary/p a大于 0小于 10000000/a pinput type=submit value=確定 /p /fieldset /form /body /html ?php $con=mysql_connect(localhost,root)。 $u=$_POST[u_username]。 $n=$_POST[u_name]。 $p=$_POST[u_pwd]。 $s=$_POST[u_salary]。 if(!$con) { die(39。Could not connect: 39。 . mysql_error())。 } mysql_select_db(salary)。 $sql_insert=insert into U_nol_customer(u_username,u_name,u_pwd,u_salary) values (39。$u39。,39。$n39。,39。$p39。,39。$s39。)。 $sql_insert_1=insert into u_salary_con(username,u_nomal_salary) values (39。$n39。,39。$s39。)。 $sql_insert_2=insert into u_information(username) values (39。$n39。)。 $serch=mysql_query(select * from U_nol_customer)。 $flag=0。 $flag_1=0。 $flag_2=0。 湖南人文科技學(xué)院畢業(yè)論文 25 $flag_3=0。 $flag_4=0。 while($row=mysql_fetch_row($serch)) { if($row[0]==$n) $flag=1。 } if(($n39。039。amp。amp。$n39。939。)||($n39。a39。amp。amp。$n39。z39。)||($n39。A39。amp。amp。$n39。Z39。)) $flag_4=1。 if(strlen($n)4||strlen($n)15) $flag_1=1。 if(strlen($p)6||strlen($p)10) $flag_2=1。 if($s1||$s10000000) $flag_3=1。 if($flag==1) { echo 用戶名已經(jīng)存在! 。 } elseif($flag_1==1) { echo 用戶名長(zhǎng)度不在范圍內(nèi)! 。 } elseif($flag_2==1) { echo 密碼長(zhǎng)度不在范圍內(nèi)! 。 } elseif($flag_3==1) { echo 工資數(shù)目不在范圍內(nèi)! 。 } elseif($flag_4==0) { echo 用戶名含有非法字符! 。 } else{ if (!mysql_query($sql_insert,$con)) { die(39。Error: 39。 . mysql_error())。 } mysql_query($sql_insert_1)。 mysql_query($sql_insert_2)。 echo 添加成功 。 } 湖南人文科技學(xué)院畢業(yè)論文 26 mysql_close($con)。 ? !DOCTYPE html html lang=en head meta charset=utf8 / title/title /head body a href=h3點(diǎn)擊此處返回添加 /h3/a /body /html 用戶信息的查詢:根據(jù)管理員輸入的用戶名,進(jìn)行多方面的查詢。具體代碼如下 !DOCTYPE html html lang=en head style table{ margintop: 5%。 marginleft: 30%。 } /style /head ?php $con=mysql_connect(localhost,root)。 if(!$con) { die(39。Could not connect: 39。 . mysql_error())。 } mysql_select_db(salary)。 $serch=mysql_query(select * from u_nol_customer)。 echo table border=39。139。 tr th姓名 /th th用戶名 /th th密碼 /th th工資 /th 湖南人文科技學(xué)院畢業(yè)論文 27 /tr。 while($row=mysql_fetch_row($serch)) { echo tr。 echo td.$row[0]./td。 echo td.$row[1]./td。 echo td.$row[2]./td。 echo td.$row[3]./td。 echo /tr。 } echo /table。 ? p/p ?php $con=mysql_connect(localhost,root)。 if(!$con) { die(39。Could not connect: 39。 . mysql_error())。 } mysql_select_db(salary)。 $serch=mysql_query(select * from u_salary_con)。 echo table border=39。139。 tr th用戶名 /th th基本工資 /th th其它本工資 /th /tr。 while($row=mysql_fetch_row($serch)) { echo tr。 echo td.$row[0]./td。 echo td.$row[1]./td。 echo td.$row[2]./td。 echo /tr。 } echo /table。 ? /html 用戶信息的刪除:選定需要修改的用戶,點(diǎn)擊刪除,會(huì)彈出提示框是否確認(rèn)刪除,如果確認(rèn)刪除,如果要?jiǎng)h除的用戶為管理員,就不能刪除。具體代碼如下: 湖南人文科技學(xué)院畢業(yè)論文 28 ?php ? !DOCTYPE html html lang=en head meta charset=utf8 / title/title style divcontain{ margintop: 10%。 marginleft:40%。 color: 0094ff。 } /style /head body div id=contain h4請(qǐng)輸入需要?jiǎng)h除的用戶名 /h4 form action= method=post input type=text name=u_name pinput type=submit value=確定 /p /form /div /body /html ?php $con=mysql_connect(localhost,root)。 $n=$_POST[u_name]。 if(!$con) { die(39。Could not connect: 39。 . mysql_error())。 } mysql_select_db(salary)。 $flag=0。 $serch=mysql_query(select * from u_nol_customer)。 while($row=mysql_fetch_row($serch)) { if($row[1]==$n) $flag=1。 } if($flag==1) 湖南人文科技學(xué)院畢業(yè)論文 29 { mysql_query(delete from u_nol_customer where u_name=39。$n39。)。 mysql_query(delete from u_salary_con where username=39。$n39。)。 mysql_query(delete from u_information where username=39。$n39。)。 mysql_close($con)。 echo
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1