這時我們通常會在網頁的最前頭加上
<?php
if($cookie_userid==''){
header("Location: http://192.168.1.253/login.html");
css部份
====================
#message1 {height: 190px; width: 100%; overflow: hidden; float: left; display: inline; margin-bottom: 6px; font-size: 12px;}
#message1 li{margin: 0px; background: #ffffff url(arrow_l2_over.gif) no-repeat 0 50%; display: block;margin-bottom: 8px;}
#message1 li a{text-decoration: none; color: blue;}
/*****************************************************************************
日期資料
*****************************************************************************/
var lunarInfo=new Array(
0x04bd8,0x04ae0,0x0a570,0x054d5,0x0d260,