亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

PHP membangunkan sistem pinjaman buku mudah untuk mencipta halaman utama

Dalam bahagian ini kami akan mencipta halaman utama yang akan dilawati pengguna selepas log masuk.

3.png

Tajuk halaman utama ialah klasifikasi katalog pelbagai buku.

Halaman utama digunakan untuk memaparkan nombor ID, tajuk buku, harga, masa penyimpanan, kategori, inventori buku sedia ada dan operasi peminjaman buku.

Bawah halaman utama digunakan untuk memaparkan jumlah item dan maklumat yang berkaitan dengan paging

Kepala fail header awam.php yang boleh dipanggil telah dibuat lebih awal

<?php include("head.php");?>

Gunakan <table> Tag, gunakan <tr><td> untuk reka letak mudah

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>圖書(shū)管理系統(tǒng)主頁(yè)面</title>
    <style>
	body,td,th {font-family: 微軟雅黑;font-size: 9px;color: #222;}
	body {background-color: #FFFFFF;line-height:20px;}
	a:link {color: #222;text-decoration: none;}
	a:visited {text-decoration: none;color: #222;}
	a:hover {text-decoration: underline;color: #FF0000;}
	a:active {text-decoration: none;color: #999999;}
    </style>
</head>
<body>
<?php include("head.php");?>
   <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
	<tr>
		<td width="" height="30" align="center" bgcolor="#FFFFFF" class="line2">ID</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">書(shū)名</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">價(jià)格</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">入庫(kù)時(shí)間</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">類(lèi)別</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">現(xiàn)有數(shù)量(本)</td>
		<td width="" align="center" bgcolor="#FFFFFF" class="line2">操作</td>
	</tr>
	<tr>
		<td height="30" align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF"></td>
		<td align="center" bgcolor="#FFFFFF" class="line2"></td>
	</tr>
    </table>
	<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
	  <tr>
		<td height="35" align="center" bgcolor="#FFFFFF">
		首頁(yè) | 上一頁(yè) |<a href="">下一頁(yè)</a> |<a href="">末頁(yè)</a>
		&nbsp;頁(yè)次:/頁(yè)&nbsp;共有/條信息</td>
	  </tr>
	</table>

  <table width="100%" height="30" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
	<tr>
	  <td height="19" align="center">&nbsp;Copyright @ 2013-2016</td>
	</tr>
  </table>
</body>
</html>


Meneruskan pembelajaran
||
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>圖書(shū)管理系統(tǒng)主頁(yè)面</title> <style> body,td,th {font-family: 微軟雅黑;font-size: 9px;color: #222;} body {background-color: #FFFFFF;line-height:20px;} a:link {color: #222;text-decoration: none;} a:visited {text-decoration: none;color: #222;} a:hover {text-decoration: underline;color: #FF0000;} a:active {text-decoration: none;color: #999999;} </style> </head> <body> <?php include("head.php");?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td width="" height="30" align="center" bgcolor="#FFFFFF" class="line2">ID</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">書(shū)名</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">價(jià)格</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">入庫(kù)時(shí)間</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">類(lèi)別</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">現(xiàn)有數(shù)量(本)</td> <td width="" align="center" bgcolor="#FFFFFF" class="line2">操作</td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF"></td> <td align="center" bgcolor="#FFFFFF" class="line2"></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td height="35" align="center" bgcolor="#FFFFFF"> 首頁(yè) | 上一頁(yè) |<a href="">下一頁(yè)</a> |<a href="">末頁(yè)</a>  頁(yè)次:/頁(yè) 共有/條信息</td> </tr> </table> <table width="100%" height="30" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td height="19" align="center"> Copyright @ 2013-2016</td> </tr> </table> </body> </html>