我的論壇源代碼(三)_PHP教程
Jul 21, 2016 pm 04:03 PM
顯示主題內(nèi)容頁(yè)面。
include "linkfox.inc.php";
include "info.inc.php";
?>
$query="select * from foxbbs where id='".$id."'";????//這個(gè)ID是從上一頁(yè)面也就是FOXBBS.PHP里傳過(guò)來(lái)的。
$req=mysql_query($query);
if ($req) {
$bbsmes=mysql_fetch_array($req);
$djnum=$bbsmes["djnum"]+1;????????????????????????????????//點(diǎn)擊數(shù)加一
$query="update foxbbs set djnum='$djnum' where id='".$id."'";
$req=mysql_query($query);
}
$query="select * from useinfo where usename='".$bbsmes["usename"]."'";??//從用戶信息庫(kù)里取出發(fā)帖用戶的信息
$req=mysql_query($query);
if ($req) {
$useinfo=mysql_fetch_array($req);
switch ($useinfo[11])???????????????????????????????//因?yàn)槲沂怯靡晃粩?shù)字來(lái)表示用戶身份
??????{
??????case ($useinfo[11]==1):
????????$useinfo[11]="會(huì)員";
????????break;
??????case ($useinfo[11]==2):
????????$useinfo[11]="版主";
????????break;
??????case ($useinfo[11]==3):
????????$useinfo[11]="管理員";
????????break;
??????case ($useinfo[11]==4):
????????$useinfo[11]="站長(zhǎng)";
????????break;
??????default:
????????$useinfo[11]="游客";
??????break;
??????}
}
?>
?

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

HTML? ???? ????? ? ??? ??? ?? ? ?? ?? ?? ? ????????. 1. ??? ??? ????? ?? ?? ? ?? ??? ???? ??? ????? ?????. 2. ??? ??????. ??? ???? ??? ????. ??? ?? ?? ??? ??? ???? ???? ??????. 3. ??? ??? ???? HREF ??? ???? ???? ??? ???? SRC ? ALT ??? ?????. 4. ??? ????? ?? ? ?? ? ???? ????. ? ??? ???? ??? ????????. 5. ???? ?? ??? ?? ? ??? ????. ?? ?? ?? ?? ?? ???? ?? ? ??????. ?? ? ???? ??? ?? ??, ???, ??, ?? ? ??? ???????.

Shadowdom? ?? ? DOM ?? ??? ???? ?? ? ?? ?? ??? ???? ?????. 1. ???? HTML ???? ??? ? DOM ??? ?? ?? ???? ???? ???? ?? ??? ??? ??? ????. 2. att 3. HTML? ?? ???? ? ?? ?? ??? ????. ??? ??, ??? ?? ? ??? ?? (??); 4. ???? ??? ???, ??? ?? ??, ?? ?? ?? ? ??? ?? ??? ??? ?????. ???, Shadowdom? ??? ?? ? ? ? ?? UI ?? ??? ?????? ?? ??? ??? ?????.

???? ?? ???? ????? ??? ?? ??, ??? ?? ?? ?? ???, HTML ?? ?? ?? ???? ??? ?? ?????. 1. SRC ??? ??? ?? ??? ????? ???? ??? ?? ??? ??????. 2. ?? ?? ??? ? ???? ??? ????? ???? URL? ?? ???? ?????? ? ? ??? ??????. 3. IMG ?? ??? ???? ???? ?? ????? Alt ?? ?? ??? ? ??????. 4. ???? ??? ?? ???? ??? ???? ??? ??? ???? ?? ??? ??????. ? ??? ??? ???? ???? HTML ??? ?? ??? ??? ? ????.

??? ?? ??? ??? ?? ???????. 1. ???? ?? ?? ?? ?? JS ??? ?? ??? ?????. 2. ?? CSS? ???? ?? ??? ????? ????? ????, ?? ??? ???? ?? ??? ??? ?? ???? ?? ??? ??? ?????. 3. ???, ?? ?? ? ??? ?? ??? ???? ??? ????? ?? ?? ?? CSS ??? ???? ?? ????.

sinvalidhtml; browsersautomicallycloseThefirstbeOptenTenext, rentingInseparateParAgraphs.linlineElements, orforstylingwithinaparagraph, orforstylingwithinaparagraph, ?? BlockContainers Orblockcontainers Orblockcontainers

thenameattributeinanninputtagisusedtoifordite theOntify theOntify theOndeformissubmitted; itservessasekey-valuepairsentTotheserver, wheretheuser 's sinputisthevalue.1.whenaformissubmitted, whenaforted, thenameattributeBalueBecomesThevulueInThevalueInThevalueIntheAntheAnteAnteMOmesteAnteToTeServer

?? ?? DNS? ??? ?? ?? ??? ??? DNS ?? ??? HTML ?? ??? ???? ?? ???? ?????. dnsprefetching? ??? ??? ?? ?????? ?? ?? ??? ?????. ?? ??? ?????? ?? ??, ?? ?? ????, ??? ??? ? CDN ??? ??? ?????. ?? ??? ??? ???? ?? ??? ??? 3?? 5 ??? ??? ????? ???? Preconnect? ?? ???? ? ?? ????? ?? ????.

HTML? ???? ?? ??? ???? ?? ????? ???? ?? ??? ???????. ? ?? ??? ??? ???? ?????? ??? ???? ?????. 1. ??? ??? ????. 2. ? ?? ??? ??? ?????. 3. ????? ?? ? ??? ???? ?????. 4. ?? ??? ??? ?? ??? ? ????. 5. CSS? ?? ??? ?? ??? ???? ???, ?, ??? ?? ??? ?? ?? ???? ??????. ? ??? ???? ???? ?? ? ?? ??? ??????.
