Commit fcec9fd8 authored by bbbytest's avatar bbbytest

first commit

parent 44702bd2
Pipeline #185 failed with stages
File added
LotteryFC
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<component name="CopyrightManager">
<settings default="" />
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="SvnConfiguration">
<configuration>$USER_HOME$/.subversion</configuration>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/LotteryFC.iml" filepath="$PROJECT_DIR$/.idea/LotteryFC.iml" />
</modules>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
<?php
/**
*
* 程式名稱: 出席確認
* 檔案名稱: ajax.checkin.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2007.12.11.
* 更新日期: 2007.12.11.
*
*/
/* 載入系統組態檔。*/
require_once 'ajax.inc.php';
/* 初始化連線 */
/*if (!isset($_SESSION[GSID])) {
$q_str = "INSERT INTO "._TBL_SYS_LOG." SET ";
$q_str .= "ip='{$_SERVER[REMOTE_ADDR]}', ";
$q_str .= "agent='{$_SERVER[HTTP_USER_AGENT]}', ";
$q_str .= "refer='{$_SERVER['HTTP_REFERER']}', ";
$q_str .= "method='{$_SERVER['REQUEST_METHOD']}', ";
$q_str .= "session_id='".session_id()."', ";
$q_str .= "log_time=NOW() ";
$mysql_obj->query($q_str);
$_SESSION[GSID][log_id]=$mysql_obj->insert_id();
}
*/
/* 使用者物件初始化 */
#require(_DIR_LIB_DBCFG.'config.sys_user.php');
#require(_DIR_LIB_DBCFG.'config.sys_config.php');
/* 簡化常用變數 */
#$SELF = basename($_SERVER[PHP_SELF]);
#$RQT = $_REQUEST;
#$op[UserInfo] = $_SESSION['UserInfo'];
#$op[ProjectInfo] = $_SESSION['ProjectInfo'];
#$layout->assign($op);
/* 主程式 */
require_once _DIR_LIB_CLASS . "xajax/xajax.inc.php";
$ajax = new xajax("ajax.checkin.php");
/**
*
*/
function checkLottery($lottery, $project_id){
$lottery = $lottery;
$project_id = $project_id;
$response = new xajaxResponse();
$response->setCharEncoding("utf-8");
if (!$lottery) {
$response->alert("未輸入抽獎號碼!");
return $response;
}
$q_str = "SELECT * FROM member WHERE lottery_no='{$lottery}' AND status&1=0 AND project_id='{$project_id}' ";
$rlt = mysql_query($q_str);
$qqty = @mysql_num_rows($rlt);
if ($qqty>1) {
unset($rlt, $qqty);
$response->alert("抽獎號碼重複!");
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
return $response;
}
elseif ($qqty<1) {
unset($rlt, $qqty);
$response->alert("抽獎號碼不存在!");
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
return $response;
}
else {
$member_info = mysql_fetch_assoc($rlt);
// 更新出席狀態
$q_str = "UPDATE member SET status=status|2 WHERE id='{$member_info[id]}' ";
$flag = mysql_query($q_str);
// 寫入出席記錄
$ip = $_SERVER[REMOTE_ADDR];
$q_str = "INSERT INTO checkin_log (lottery_no, project_id, log_time, log_ip) VALUES ('{$member_info[lottery_no]}', '{$project_id}', NOW(), '{$ip}')";
$flag = mysql_query($q_str);
// 目前出席人數
$q_str = "SELECT COUNT(*) AS cnt FROM member WHERE status&2!=0 AND project_id='{$project_id}' ";
$rlt = mysql_query($q_str);
$g_s = mysql_fetch_assoc($rlt);
$total_no = $g_s[cnt];
// 出席記錄
$q_str = "SELECT * FROM checkin_log WHERE lottery_no='{$member_info[lottery_no]}' AND project_id='{$project_id}' ORDER BY log_time DESC LIMIT 13";
$rlt = mysql_query($q_str);
$log_time = "";
while ($g_s = mysql_fetch_assoc($rlt)) {
$ip4 = strrchr($g_s[log_ip], ".");
$ip4 = str_replace(".", "", $ip4);
$ip4 = sprintf("%03d", $ip4);
$log_time .= substr($g_s[log_time], 5, 14) . "(" . $ip4 . ")" . "<br>";
}
// 顯示出席資訊
$response->addAssign("member_code", "innerHTML", $member_info[member_code]);
$response->addAssign("member_name", "innerHTML", $member_info[name]);
$response->addAssign("people", "innerHTML", $total_no);
$response->addAssign("log_time", "innerHTML", $log_time);
#$response->addPrepend("log_list", "innerHTML", "工號: " . $member_info[member_code] . " " . $member_info[name] . "  ");
$log_list = "抽獎號碼: " . $member_info[lottery_no];
$log_list .= " " . $member_info[name];
$log_list .= " 工號: " . $member_info[member_code];
$log_list .= " <br>";
$response->addPrepend("log_list", "innerHTML", $log_list);
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
}
return $response;
}
$ajax->registerFunction('checkLottery');
$ajax->ProcessRequests();
?>
\ No newline at end of file
<?php
/**
*
* 程式名稱: 系統組態檔
* 說  明: 系統中所有程式必須預先載入此檔案,以進行初始化設定。
* 檔案名稱: ajax.inc.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2005.04.24.
* 更新日期: 2007.12.11.
*
*/
/*
載入系統設定 2005.04.11. Gilbert.
包含檔案目錄常數設定、php系統參數設定、MySQL參數設定。
*/
require_once '../../php_lib_FC/Manager/config.system.php';
/* 初始化系統執行時所需的基本物件及函式 2005.04.12. Dolly. */
require_once _DIR_LIB_SMARTY . 'Smarty.class.php';
require_once _DIR_LIB_CLASS . 'class.layout.php';
require_once _DIR_LIB_CLASS . 'class.msg_handle.php';
require_once _DIR_LIB_CLASS . 'class.mysql.php';
require_once _DIR_LIB_CLASS . 'class.db.php';
#require_once _DIR_LIB_FUNCTION . 'gotoUrl.php';
#require_once _DIR_LIB_FUNCTION . 'createUpdateLog.php';
#require_once _DIR_LIB_FUNCTION . 'fileext.php';
/* MySQL連線初始化 */
require _DIR_LIB_MGR . 'config.mysql.php';
/* 載入客戶資訊 */
#require _DIR_MGR_CRS . 'config.client.php';
/* SESSION初始化 */
ini_set('session.save_path', _DIR_SESSION);
session_start();
/* Layout 物件初始化 */
#$layout = new LAYOUT();
#$layout->assign($CRS);
// 載入 PEAR 的 Log 套件並初始化
#require_once _DIR_LIB_CLASS . 'Log.php';
#$log = Log::factory('file', _DIR_LOG . 'pear.log', session_id(), array(), PEAR_LOG_DEBUG);
# 測試時用下面這行,上線之後再換上面那行。
#$log = Log::factory('file', _DIR_LOG . 'pear.log', substr(session_id(), 0, 6), array(), PEAR_LOG_DEBUG);
/* 使用者存取權限認證 */
#if (!$_SESSION['GSID']['UserInfo'] && basename($_SERVER['PHP_SELF'])!='index.php'){
// gotoUrl('index.php?PHP_action=login');
#}
# 不顯示錯誤。2006.06.19. Gilbert.
#error_reporting(0);
?>
\ No newline at end of file
<?php
/**
*
* 程式名稱: 得獎確認
* 檔案名稱: ajax.verify.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2007.12.11.
* 更新日期: 2007.12.11.
*
*/
/* 載入系統組態檔。*/
require_once 'ajax.inc.php';
/* 初始化連線 */
/*if (!isset($_SESSION[GSID])) {
$q_str = "INSERT INTO "._TBL_SYS_LOG." SET ";
$q_str .= "ip='{$_SERVER[REMOTE_ADDR]}', ";
$q_str .= "agent='{$_SERVER[HTTP_USER_AGENT]}', ";
$q_str .= "refer='{$_SERVER['HTTP_REFERER']}', ";
$q_str .= "method='{$_SERVER['REQUEST_METHOD']}', ";
$q_str .= "session_id='".session_id()."', ";
$q_str .= "log_time=NOW() ";
$mysql_obj->query($q_str);
$_SESSION[GSID][log_id]=$mysql_obj->insert_id();
}
*/
/* 使用者物件初始化 */
#require(_DIR_LIB_DBCFG.'config.sys_user.php');
#require(_DIR_LIB_DBCFG.'config.sys_config.php');
/* 簡化常用變數 */
#$SELF = basename($_SERVER[PHP_SELF]);
#$RQT = $_REQUEST;
#$op[UserInfo] = $_SESSION['UserInfo'];
#$op[ProjectInfo] = $_SESSION['ProjectInfo'];
#$layout->assign($op);
/* 主程式 */
require_once _DIR_LIB_CLASS . "xajax/xajax.inc.php";
$ajax = new xajax("ajax.verify.php");
/**
*
*/
function verifyLottery($lottery, $project_id){
$lottery = $lottery;
$project_id = $project_id;
$response = new xajaxResponse();
$response->setCharEncoding("utf-8");
if (!$lottery) {
$response->alert("未輸入抽獎號碼!");
return $response;
}
#$q_str = "SELECT * FROM member WHERE lottery_no='{$lottery}' AND status&1=0 AND project_id='{$project_id}' ";
# 2008.01.04. Gilbert.
$prefix = substr($lottery, 0, 1);
if ($prefix == "/") {
$search_pattern = substr($lottery, 1);
$q_str = "SELECT * FROM member WHERE member_code='{$search_pattern}' AND status&1=0 AND project_id='{$project_id}' ";
} else {
$q_str = "SELECT * FROM member WHERE lottery_no='{$lottery}' AND status&1=0 AND project_id='{$project_id}' ";
}
$rlt = mysql_query($q_str);
$qqty = @mysql_num_rows($rlt);
if ($qqty>1) {
unset($rlt, $qqty);
$response->alert("抽獎號碼重複!");
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
return $response;
}
elseif ($qqty<1) {
unset($rlt, $qqty);
$response->alert("抽獎號碼不存在!");
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
return $response;
}
else {
$member_info = mysql_fetch_assoc($rlt);
// 取得中獎資訊
$q_str = "SELECT prize.* FROM prize, prize_list WHERE prize.id=prize_list.prize_id AND prize_list.project_id='{$project_id}' AND prize_list.member_id='{$member_info[id]}' ";
$rlt = mysql_query($q_str);
$qqty = @mysql_num_rows($rlt);
if (!$qqty) {
$prize = "銘謝惠顧!";
}
else {
$prize = array();
while ($g_s = mysql_fetch_assoc($rlt)) {
$prize[] = "{$g_s[prize_name]}";
}
$prize = join("<br>", $prize);
}
// 出席記錄
$q_str = "SELECT * FROM checkin_log WHERE lottery_no='{$member_info[lottery_no]}' AND project_id='{$project_id}' ORDER BY log_time DESC LIMIT 5";
$rlt = mysql_query($q_str);
$log_time = "";
while ($g_s = mysql_fetch_assoc($rlt)) {
$ip4 = strrchr($g_s[log_ip], ".");
$ip4 = str_replace(".", "", $ip4);
$ip4 = sprintf("%03d", $ip4);
$log_time .= substr($g_s[log_time], 5, 14) . "(" . $ip4 . ")" . "<br>";
}
// 顯示出席資訊
$response->addAssign("member_code", "innerHTML", $member_info[member_code]);
$response->addAssign("member_name", "innerHTML", $member_info[name]);
$response->addAssign("member_memo", "innerHTML", $prize);
$response->addAssign("log_time", "innerHTML", $log_time);
// 清除抽獎號碼資訊
$response->addScript('document.getElementById("lotteryno").value="";');
$response->addScript('document.getElementById("lotteryno").focus();');
}
return $response;
}
$ajax->registerFunction('verifyLottery');
$ajax->ProcessRequests();
?>
\ No newline at end of file
<?php
/*
*
* 程式名稱: 登入後的系統主程式
* 說  明: 負責處理使用者登入後的功能。
* 檔案名稱: main.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* Hsiao Chuan Huang <dolly@price.com.tw>
* 著作聲明: Price Co. Ltd.
* 起草日期: 2005.05.24.
* 更新日期: 2005.05.24.
*
*/
/* 載入系統組態檔。*/
require_once 'config.inc.php';
/* 如果已登入且為受限制之前台功能,則轉至該功能頁面 */
if($ProjectInfo[drawing]){
gotoUrl('draw.php');
}
if($ProjectInfo[confirming]){
gotoUrl('confirm.php');
}
//新增顯示目前獎項列表 by Wun-Hao Liu @ 2012/01/09
// ===== 初始化物件
require_once _DIR_LIB_DBCFG . 'config.prize.php';
require_once _DIR_LIB_DBCFG . 'config.prize_quota.php';
$cm_obj = $prize_obj;
$cm_quota_obj = $przqt_obj;
/* 簡化常用變數 */
$SELF=basename($_SERVER[PHP_SELF]);
$RQT=$_REQUEST;
$op[UserInfo] = $UserInfo;
$op[ProjectInfo] = $ProjectInfo;
// ===== 模組化參數設定
$cm_title = '抽獎';
$cm_func = 'button';
$cm_func2 = 'BUTTON';
$op[cm_func] = $cm_func;
$op[cm_title] = $cm_title;
$op[cm_url] = $SELF;
$layout->assign($op);
/* 進入本功能後設定 _SESSION 變數使系統只能執行本項功能*/
$ProjectInfo[button] = 1;
switch($RQT['PHP_dType']){
//顯示目前抽獎項目 by Wun-Hao Liu @ 2012/01/09
/* ajax 查詢目前抽獎項目 */
case "check_current_item":
require_once _DIR_LIB_DBCFG . 'config.project.php';
$current_item = $prj_obj->get_db_detail($ProjectInfo[id]);
$current_item = $current_item[current_item];
header( "Content-Type: application/xml; charset=utf-8");
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); // disable IE caching
header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . "GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
$op[data] = $cm_obj->get_db_detail($current_item);
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
echo "<current_item>".$op[data][prize_name]."</current_item>";
break;
/* ajax 檢查抽獎狀態 */
case "check_status":
require_once _DIR_LIB_DBCFG . 'config.sys_config.php';
$sys_config = $sys_cfg_obj->get_db_detail(1);
$draw_status = $sys_config[status_ary][IS_DRAW]?1:0;
header( "Content-Type: application/xml; charset=utf-8");
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); // disable IE caching
header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . "GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
echo "<draw_status>".$draw_status."</draw_status>";
break;
/* 系統首頁 */
default:
// $op[onloadJavascript] = 'document.form1.PHP_lottery_no.focus()';
$layout->display('button.main.tpl', $op);
break;
// 抽獎
case "draw":
$tmp_argv= array();
$tmp_argv[id] = 1;
$tmp_argv[status_ary][IS_DRAW] = 1;
require_once _DIR_LIB_DBCFG . 'config.sys_config.php';
$sys_cfg_obj->db_modify($tmp_argv);
$status_str = "ready=1";
$fp = fopen("status.txt", "w");
fwrite($fp, $status_str);
fclose($fp);
$layout->display('button.done.tpl', $op);
break;
}
?>
\ No newline at end of file
<?php
/**
*
* 程式名稱: 出席確認
* 檔案名稱: checkin.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2007.12.11.
* 更新日期: 2007.12.11.
*
*/
/* 載入系統組態檔。*/
require_once 'config.inc.php';
/* 初始化連線 */
if (!isset($_SESSION[GSID])) {
$q_str = "INSERT INTO "._TBL_SYS_LOG." SET ";
$q_str .= "ip='{$_SERVER[REMOTE_ADDR]}', ";
$q_str .= "agent='{$_SERVER[HTTP_USER_AGENT]}', ";
$q_str .= "refer='{$_SERVER['HTTP_REFERER']}', ";
$q_str .= "method='{$_SERVER['REQUEST_METHOD']}', ";
$q_str .= "session_id='".session_id()."', ";
$q_str .= "log_time=NOW() ";
$mysql_obj->query($q_str);
$_SESSION[GSID][log_id]=$mysql_obj->insert_id();
}
// 取得目前正在進行的專案編號
$q_str = "SELECT * FROM project WHERE status&32!=0 AND status&1=0 AND status&4=0 ORDER BY id DESC LIMIT 1";
$rlt = mysql_query($q_str);
$ProjectInfo = @mysql_fetch_assoc($rlt);
if (!$ProjectInfo[id]) {
die("<h1 align='center'>目前沒有任何進行中的抽獎活動! <br> No lottery is in progress now.</h1>");
}
$op[ProjectInfo] = $ProjectInfo;
/* 如果已登入且為受限制之前台功能,則轉至該功能頁面 */
/*
// 獎項與得獎名單
if ($_SESSION['ProjectInfo'][drawing] && $RQT[PHP_action]!='logout'){
gotoUrl('draw.php');
}
// 領獎確認
if ($_SESSION['ProjectInfo'][confirming] && $RQT[PHP_action]!='logout'){
gotoUrl('confirm.php');
}
// 抽獎按鈕
if ($_SESSION['ProjectInfo'][button] && $RQT[PHP_action]!='logout'){
gotoUrl('button.php');
}
*/
require_once _DIR_LIB_CLASS . "xajax/xajax.inc.php";
$ajax = new xajax("ajax.checkin.php");
$ajax->registerFunction('checkLottery');
$op[ajax] = $ajax->getJavascript('./js/');
/* 2007.12.24. 移到 config.inc.php 內
// 目前出席人數
$q_str = "SELECT COUNT(*) AS cnt FROM member WHERE status&2!=0 AND project_id='{$ProjectInfo[id]}' ";
$rlt = mysql_query($q_str);
$g_s = mysql_fetch_assoc($rlt);
$total_no = $g_s[cnt];
$op[total_no] = $total_no;
*/
$layout->display('checkin.main.tpl', $op);
?>
\ No newline at end of file
<?php
/*
*
* 程式名稱: 系統組態檔
* 說  明: 系統中所有程式必須預先載入此檔案,以進行初始化設定。
* 檔案名稱: config.inc.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* Hsiao Chuan Huang <dolly@price.com.tw>
* 著作聲明: Price Co. Ltd.
* 起草日期: 2005.04.24.
* 更新日期: 2005.04.24.
*
*/
/*
載入系統設定 2005.04.11. Gilbert.
包含檔案目錄常數設定、php系統參數設定、MySQL參數設定。
*/
require_once 'php_lib_FC/Manager/config.system.php';
/* 初始化系統執行時所需的基本物件及函式 2005.04.12. Dolly. */
require_once _DIR_LIB_SMARTY . 'Smarty.class.php';
require_once _DIR_LIB_CLASS . 'class.layout.php';
require_once _DIR_LIB_CLASS . 'class.msg_handle.php';
require_once _DIR_LIB_CLASS . 'class.mysql.php';
require_once _DIR_LIB_CLASS . 'class.db.php';
require_once _DIR_LIB_FUNCTION . 'gotoUrl.php';
require_once _DIR_LIB_FUNCTION . 'createUpdateLog.php';
//require_once _DIR_LIB_FUNCTION . 'fileext.php';
/* MySQL連線初始化 */
require _DIR_LIB_MGR . 'config.mysql.php';
/* 載入客戶資訊 */
require _DIR_MGR_CRS . 'config.client.php';
/* SESSION初始化 */
ini_set('session.save_path', _DIR_SESSION);
session_start();
/* Layout 物件初始化 */
$layout = new LAYOUT();
$layout->assign($CRS);
/*
顯示系統訊息 2005.04.13. Dolly.
搭配gotoUrl錯誤處理函式的機制
*/
if ($_SESSION['GSID']['SystemMessage']){
$layout->assign($_SESSION['GSID']['SystemMessage']);
unset($_SESSION['GSID']['SystemMessage']);
$tpl = $_SESSION['GSID']['SystemMessage']['TemplateVars']['FileName'];
$tpl = $tpl? $tpl: 'sys.msg.html';
$layout->display($tpl);
exit;
}
// 載入 PEAR 的 Log 套件並初始化
require_once _DIR_LIB_CLASS . 'Log.php';
#$log = Log::factory('file', _DIR_LOG . 'pear.log', session_id(), array(), PEAR_LOG_DEBUG);
# 測試時用下面這行,上線之後再換上面那行。
$log = Log::factory('file', _DIR_LOG . 'pear.log', substr(session_id(), 0, 6), array(), PEAR_LOG_DEBUG);
/* 使用者存取權限認證 */
$bypass_phps = array("index.php", "checkin.php", "verify.php");
#if (!$_SESSION['GSID']['UserInfo'] && basename($_SERVER['PHP_SELF'])!='index.php'){
if (!$_SESSION['GSID']['UserInfo'] && !in_array(basename($_SERVER['PHP_SELF']), $bypass_phps)) {
gotoUrl('index.php?PHP_action=login');
}
// 若已選擇專案,則取得目前出席人員 2007.12.24.
if ($_SESSION[ProjectInfo][id]) {
$_project_id = $_SESSION[ProjectInfo][id];
$q_str = "SELECT COUNT(*) AS cnt FROM member WHERE status&2!=0 AND project_id='{$_project_id}' ";
$rlt = mysql_query($q_str);
$g_s = mysql_fetch_assoc($rlt);
$total_no = $g_s[cnt];
$op[total_no] = $total_no;
$layout->assign($op);
}
# 不顯示錯誤。2006.06.19. Gilbert.
#error_reporting(0);
?>
<?php
/**
*
* 程式名稱: 登入後的系統主程式
* 說  明: 負責處理使用者登入後的功能。
* 檔案名稱: main.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co. Ltd.
* 起草日期: 2005.05.24.
* 更新日期: 2005.05.24.
*
*/
/* 載入系統組態檔。*/
require_once 'config.inc.php';
/* 簡化常用變數 */
$SELF=basename($_SERVER[PHP_SELF]);
$RQT=$_REQUEST;
$op[UserInfo] = $UserInfo;
$op[ProjectInfo] = $ProjectInfo;
$layout->assign($op);
/* 如果已登入且為受限制之前台功能,則轉至該功能頁面 */
if($ProjectInfo[drawing]){
gotoUrl('draw.php');
}
if($ProjectInfo[button]){
gotoUrl('button.php');
}
/* 進入本功能後設定 _SESSION 變數使系統只能執行本項功能*/
$ProjectInfo[confirming] = 1;
// ===== 初始化物件
require_once _DIR_LIB_DBCFG . 'config.prize_list.php';
require_once _DIR_LIB_FUNCTION . 'JSescape.php';
require_once _DIR_LIB_CLASS . 'class.Javascript.php';
// ===== 模組化參數設定
$cm_title = '領獎';
$cm_func = 'confirm';
$cm_func2 = 'CONFIRM';
$cm_obj = $przlst_obj;
$op[cm_func] = $cm_func;
$op[cm_title] = $cm_title;
$op[cm_url] = $SELF;
# 除錯設定
$op[cm_debug] = true;
#$layout->smarty->debugging = true;
$layout->smarty->clear_compiled_tpl();
$layout->assign($op);
// ===== 常用變數
$return = $SELF . '?PHP_dType=' . $cm_func;
$action = $_REQUEST['PHP_dType'];
# 列表
//$xxx_list = $xxx_obj->db_browse('LIST_ALL', array('sr_not_deleted'=>1));
//$op[xxx_list] = $store_list[pds];
switch($action){
/* 系統首頁 */
default:
$op[onloadJavascript] = 'document.form1.PHP_lottery_no.focus()';
$layout->display('confirm.main.tpl', $op);
break;
/* 得獎確認 */
case 'submit_confirm':
$tmp_argv = array();
$tmp_argv[sr_project_id] = $ProjectInfo[id];
$tmp_argv[sr_lottery_no] = $RQT[PHP_lottery_no];
$tmp_argv[sr_not_deleted] = 1;
$tmp_argv[sr_need_confirm] = 1;
$op[lottery_no] = $RQT[PHP_lottery_no];
//$cm_obj->debug = true;
$op[datas] = $cm_obj->db_browse("LIST_ALL", $tmp_argv);
// 設定獎項為確認
foreach($op[datas][pds] as $val){
$tmp_argv = array();
$tmp_argv[id] = $val[id];
$tmp_argv[status_ary][IS_CONFIRMED] = 1;
$flag0 = $cm_obj->db_modify($tmp_argv);
if(!$flag0){
$tmp_msg[] = "更新確認狀態失敗,編號:".$val[id]."<br>\n";
}
}
if(count($tmp_msg)){
echo "<pre>"; print_r($tmp_msg);
}
else{
$op[onloadJavascript] ="parent.document.getElementById('confirm_frame').height= document.getElementById('result_tbl').offsetHeight;parent.document.form1.PHP_lottery_no.value='';parent.document.form1.PHP_lottery_no.focus()";
$layout->display('confirm.confirm.tpl', $op);
}
break;
/* 查詢 */
case 'query':
$tmp_argv = $RQT;
$tmp_argv[sr_project_id] = $ProjectInfo[id];
$tmp_argv[sr_not_deleted] = 1;
$tmp_argv[sr_need_confirm] = 1;
//$cm_obj->debug = true;
$op[datas] = $cm_obj->db_browse("LIST_ALL", $tmp_argv);
$op[onloadJavascript] ="parent.document.getElementById('query_frame').height= document.getElementById('result_tbl').offsetHeight;parent.document.form1.PHP_lottery_no.value='';parent.document.form1.PHP_lottery_no.focus()";
$layout->display('confirm.query.tpl', $op);
break;
}
?>
\ No newline at end of file
<?php
/**
* 程式名稱: 客戶資料設定
* 檔案名稱: config.client.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* Hsiao Chuan Huang <dolly@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2006/2/7
* 更新日期: 2006/2/7
* 說  明:
* 版本介紹:
*
*/
$CRS[ClientInfo] = array();
$CRS[ClientInfo][name] = '活動抽獎系統';
$CRS[ClientInfo][name_full] = '活動抽獎系統';
$CRS[ClientInfo][WebTitle] = '活動抽獎系統';
$CRS[ClientInfo][email] = 'service@price.com.tw';
?>
\ No newline at end of file
<div align=center>
<table cellspacing=0 cellpadding=0 border=0 align=center>
<tr><td><img src="crs/banner_lottery.gif" usemap="#GILBERTDOLLY" border=0></td></tr>
<map name=GILBERTDOLLY>
<area shape=rect href="main.php" coords="196,40,256,54">
<area shape=rect href="index.php?PHP_action=logout" coords="744,40,805,54">
<area shape=circle coords="874,37,4" onClick="document.getElementById('NETINFO').style.visibility='visible';" onDBLClick="document.getElementById('NETINFO').style.visibility='hidden';">
</map>
</table>
</div><div id="NETINFO" style="position:absolute;top:10px;left:10px;z-index:10;visibility:hidden;text-align:left;">
<span style="font-size:10px;font-family:Verdana;background-color:rgb(245,250,185);">
DN:{php}echo $_SERVER[SERVER_NAME];{/php}<br>IP:{php}echo $_SERVER[REMOTE_ADDR];{/php}<br>Srv:{php}echo $_SERVER[SERVER_ADDR];{/php}</span></div>
{if $smarty.session.ProjectInfo.id}<div style="position: absolute;top:10px;left:5px;font-size:15px;"><br>股票獎出席人數: <span style="color:red;font-family:Verdana,Arial,sans-serif;">{$total_no|number_format:0}</span></div>{/if}
\ No newline at end of file
<div align=center>
<table cellspacing=0 cellpadding=0 border=0 align=center>
<tr><td><img src="crs/banner_login.gif" usemap="#GILBERTDOLLY" border=0></td></tr>
<map name=GILBERTDOLLY>
{*<area shape=rect href="main.php" coords="196,40,256,54">*}
<area shape=rect href="logout.php" coords="744,40,805,54">
<area shape=circle coords="874,37,4" onClick="document.getElementById('NETINFO').style.visibility='visible';" onDBLClick="document.getElementById('NETINFO').style.visibility='hidden';">
</map>
</table>
</div><div id="NETINFO" style="position:absolute;top:10px;left:10px;z-index:10;visibility:hidden;text-align:left;">
<span style="font-size:10px;font-family:Verdana;background-color:rgb(245,250,185);">
DN:{php}echo $_SERVER[SERVER_NAME];{/php}<br>IP:{php}echo $_SERVER[REMOTE_ADDR];{/php}<br>Srv:{php}echo $_SERVER[SERVER_ADDR];{/php}</span></div>
\ No newline at end of file
<div style='border:1px solid rgb(128,128,128);text-align:center;font-size:11px;line-height:13px;font-family:Verdana,Arial;margin:5px;padding:3px;'>Copyrights. 2005-2008 Price Co., Ltd. 系統製作及維護。非經本公司正式書面同意,不得將全部或部分內容,轉載於任何形式媒體。</div>
{*<!-- 系統功能下拉式選單 -->*}<table width="99%" border=0 cellspacing=1 cellpadding=1><tr>
<td class=HAL>&nbsp;<span class="GF15">操作人員:<font color=blue>{$UserInfo.account|escape}</font> {if $ProjectInfo.name}工作專案:<font color=blue>{$ProjectInfo.name|escape}</font> {/if}</span></td>
<td align=right>
{*未選擇專案前僅能執行專案相關功能*}
<select name="PROJECT" onChange="MM_jumpMenu('parent',this,1);" style="background-color:#FAFCD6;" class="GF15">
<option value="#" selected>=== 專案管理 ===</option>
<option value="main.php?PHP_dType=project">專案管理</option>
<option value="main.php?PHP_dType=project&PHP_action=add">新增專案</option>
<option value="main.php?PHP_dType=project&PHP_action=browse&sr_not_closed=1">未結案專案一覽</option>
</select>
{if $ProjectInfo.id}{*選擇專案後功能*}{literal}
<select name="PRE_WORK" onChange="MM_jumpMenu('parent',this,1);" style="background-color:#FAFCD6;" class="GF15">
<option value="#" selected>=== 前置作業 ===</option>
<option value="main.php?PHP_dType=class">配額類別作業</option>
<option value="main.php?PHP_dType=prize">獎項管理</option>
<option value="main.php?PHP_dType=member">參加人員作業</option>
</select>
<select name="LIVE_WORK" onChange="MM_jumpMenu('parent',this,1);" style="background-color:#FAFCD6;" class="GF15">
<option value="#" selected>=== 現場作業 ===</option>
{/literal}{if $ProjectInfo.status_ary.IS_NEED_PRESENT}<option value="main.php?PHP_dType=present">出席管理</option>{/if}{literal}
<option value="main.php?PHP_dType=prize_list">抽獎後台管理</option>
<option value="main.php?PHP_dType=draw">抽獎前台</option>
<option value="main.php?PHP_dType=button">抽獎</option>
<option value="main.php?PHP_dType=confirm">領獎確認</option>
</select>{/literal}
{/if}
<select name="SYSTEM" onChange="MM_jumpMenu('parent',this,1);" style="background-color:#FAFCD6;" class="GF15">
<option value="#" selected>=== 系統設定 ===</option>
<option value="main.php?PHP_dType=sys_config">系統設定</option>
{if $ProjectInfo.id}<option value="main.php?PHP_dType=project&PHP_action=cong_msg">專案簡訊賀詞設定</option>{/if}
</select>
</td></tr></table>
\ No newline at end of file
{*<script type="text/javascript" src="js/prototype.js"></script>*}
\ No newline at end of file
/* The main calendar widget. DIV containing a table. */
.calendar {
position: relative;
display: none;
border-top: 2px solid #fff;
border-right: 2px solid #000;
border-bottom: 2px solid #000;
border-left: 2px solid #fff;
font-size: 11px;
color: #000;
cursor: default;
background: #d4d0c8;
font-family: tahoma,verdana,sans-serif;
line-height: 1.2em;
}
.calendar table {
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
font-size: 11px;
color: #000;
cursor: default;
background: #d4d0c8;
font-family: tahoma,verdana,sans-serif;
}
/* Header part -- contains navigation buttons and day names. */
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
text-align: center;
padding: 1px;
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 1px solid #fff;
}
.calendar .nav {
background: transparent url(../images/calendar-menuarrow.gif) no-repeat 100% 100%;
}
.calendar thead .title { /* This holds the current "month, year" */
font-weight: bold;
padding: 1px;
border: 1px solid #000;
background: #848078;
color: #fff;
text-align: center;
}
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}
.calendar thead .daynames { /* Row <TR> containing the day names */
}
.calendar thead .name { /* Cells <TD> containing the day names */
border-bottom: 1px solid #000;
padding: 2px;
text-align: center;
background: #f4f0e8;
}
.calendar thead .weekend { /* How a weekend day name shows in header */
color: #f00;
}
.calendar thead .hilite { /* How do the buttons in header appear when hover */
border-top: 2px solid #fff;
border-right: 2px solid #000;
border-bottom: 2px solid #000;
border-left: 2px solid #fff;
padding: 0px;
background-color: #e4e0d8;
}
.calendar thead .active { /* Active (pressed) buttons in header */
padding: 2px 0px 0px 2px;
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
background-color: #c4c0b8;
}
/* The body part -- contains all the days in month. */
.calendar tbody .day { /* Cells <TD> containing month days dates */
width: 2em;
text-align: right;
padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
font-size: 80%;
color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
color: #faa;
}
.calendar table .wn {
padding: 2px 3px 2px 2px;
border-right: 1px solid #000;
background: #f4f0e8;
}
.calendar tbody .rowhilite td {
background: #e4e0d8;
}
.calendar tbody .rowhilite td.wn {
background: #d4d0c8;
}
.calendar tbody td.hilite { /* Hovered cells <TD> */
padding: 1px 3px 1px 1px;
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 1px solid #fff;
}
.calendar tbody td.active { /* Active (pressed) cells <TD> */
padding: 2px 2px 0px 2px;
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
}
.calendar tbody td.selected { /* Cell showing selected date */
font-weight: bold;
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
padding: 2px 2px 0px 2px;
background: #e4e0d8;
}
.calendar tbody td.weekend { /* Cells showing weekend days */
color: #f00;
}
.calendar tbody td.today { /* Cell showing today date */
font-weight: bold;
color: #00f;
}
.calendar tbody .disabled { color: #999; }
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
visibility: hidden;
}
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
display: none;
}
/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
background: #f4f0e8;
padding: 1px;
border: 1px solid #000;
background: #848078;
color: #fff;
text-align: center;
}
.calendar tfoot .hilite { /* Hover style for buttons in footer */
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 1px solid #fff;
padding: 1px;
background: #e4e0d8;
}
.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
padding: 2px 0px 0px 2px;
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
}
/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
position: absolute;
display: none;
width: 4em;
top: 0px;
left: 0px;
cursor: default;
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 1px solid #fff;
background: #e4e0d8;
font-size: 90%;
padding: 1px;
z-index: 100;
}
.calendar .combo .label,
.calendar .combo .label-IEfix {
text-align: center;
padding: 1px;
}
.calendar .combo .label-IEfix {
width: 4em;
}
.calendar .combo .active {
background: #c4c0b8;
padding: 0px;
border-top: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #000;
}
.calendar .combo .hilite {
background: #048;
color: #fea;
}
.calendar td.time {
border-top: 1px solid #000;
padding: 1px 0px;
text-align: center;
background-color: #f4f0e8;
}
.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
padding: 0px 3px 0px 4px;
border: 1px solid #889;
font-weight: bold;
background-color: #fff;
}
.calendar td.time .ampm {
text-align: center;
}
.calendar td.time .colon {
padding: 0px 2px 0px 3px;
font-weight: bold;
}
.calendar td.time span.hilite {
border-color: #000;
background-color: #766;
color: #fff;
}
.calendar td.time span.active {
border-color: #f00;
background-color: #000;
color: #0f0;
}
/* jscalendar CSS setting */
img.jscalendar { cursor: pointer; vertical-align: middle; margin-left: 1px; margin-right: 2px;}
body {
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
}
img {
border: none;
}
div#content {
color: black;
background-color: #f0f6fb;
}
div#statistics {
margin: 10px auto;
background-image: url("../images/checkin-stat.gif");
background-repeat: no-repeat;
background-position: 490px 1px;
background-color: rgb(213,227,231);
width: 600px;
height: 100px;
font-size: 24px;
line-height: 1.5;
}
div#statistics span.people {
color: rgb(174,57,0);
}
div#log_list {
margin-left: 10px;
width: 580px;
height: 60px;
overflow: hidden;
font-size: 15px;
line-height: 1.5;
color: rgb(82,82,82);
}
div#information {
margin: 10px auto;
background-image: url("../images/checkin-info.gif");
background-repeat: no-repeat;
background-position: 444px 1px;
background-color: rgb(213,227,231);
width: 600px;
height: 400px;
font-size: 24px;
line-height: 1.5;
}
div#information span#member_name {
color: rgb(174,57,0);
}
div#log_time {
width: 200px;
height: 300px;
overflow: auto;
font-size: 15px;
line-height: 1.5;
color: black;
}
div#signin {
margin: 10px auto;
width: 500px;
height: 40px;
font-size: 24px;
line-height: 1.5;
}
input#lotteryno {
border: 1px solid black;
background-color: white;
font-size: 24px;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
margin-left: 5px;
margin-right: 5px;
}
input#lotterygo {
visibility: hidden;
border: 1px solid #f0f6fb;
background-color: #f0f6fb;
font-size: 15px;
height: 33px;
font-weight: bolder;
}
\ No newline at end of file
* {
font-family:Verdana, Arial, Helvetica, sans-serif;
}
/*
body {*/
/* 獎項名稱 */
/*margin: 0;*/
/* 2006year */
/*
background-image: url(../images/background.gif);
background-image: url(../images/2.jpg);
background-color: #2D0000;
*/
/* 2007year */
/*background-image: url(../images/2007_PrizeName.jpg);
background-repeat: no-repeat;
background-color: #960001;
*/
/*
}
*/
/* ////////title///////// '*/
#title {
/*height : 100px!important;*/
font-size : 72px;
font-weight:bold;
line-height:1.2;
color : #FFFFFF;
font-family : 華康中圓體, 標楷體, 文鼎PL中楷Uni;
margin-left: auto;
margin-right: auto;
text-align : center;
width : 600px;
}
/* ////////slot_center//////// */
#slotmain {
background-image:url(../images/slot.gif);
position:absolute;
top:180px;
margin-left:0px;
/*width:913px;
height:731px;*/
width:730px;
height:584px;
}
.img1 {
display:block;
margin-left:210px;
margin-top:130px;
}
.img2 {
display:block;
margin-left:210px;
margin-top:55px;
}
.img3 {
display:block;
margin-left:210px;
margin-top:55px;
}
*{
/*font-family:華康中圓體, 標楷體, 文鼎PL中楷Uni,Verdana, Arial, Helvetica, sans-serif;*/
font-family:Verdana, 新細明體;
}
body{
/* 得獎名單 */
margin: 0;
color: yellow;
/* 2006year */
/*
background-color:#2D0000;
background-image:url(../images/prize_list_bg.gif);
*/
/* 2007year */
/*background-image: url(../images/prize_list_2007_blue.jpg);*/
/* 2008year */
/*background-image: url(../images/2008_PrizeList.jpg);*/
/*background: url(../images/background.jpg) center center fixed;*/
background-repeat: no-repeat;
/*background-color: #960001;*/
/*background-color: red;*/
}
#main{
/*background-image:url(../images/prize_list.gif);
background-repeat:no-repeat;
width:1024px;
height:760px;
overflow:hidden;
font-size:34px;
color:white;*/
}
#con{
/*position:relative;
left:100px;
top:120px;
width:880px;
height:660px;
overflow:hidden;
border: 1px solid green;*/
}
#marqueecontainer{/*
position: relative;
width: 900px;
height: 528px;
overflow: hidden;
margin-top:10px;
*/
}
.color1{
/*color:#CAF4FF;*/
color:#AAFFFF;
}
.color2{
/*color:#F5FFA6;*/
color:yellow;
}
.color3{
/*color:#CBB6FF;*/
color:#AAFFFF;
}
.color4{
/*color:#FFB4C1;*/
color:yellow;
}
.color5{
/*color:#B6FFA4;*/
color:#AAFFFF;
}
.color6{
/*color:#CAF4FF;*/
color:yellow;
}
.color7{
/*color:#F5FFA6;*/
color:#AAFFFF;
}
.color8{
/*color:#CBB6FF;*/
color:yellow;
}
.color9{
/*color:#FFB4C1;*/
color:#AAFFFF;
}
.color10{
/*color:#B6FFA4;*/
color:yellow;
}
.special_item{
font-size:80px;
color:white;
margin-top:70px;
overflow:hidden;
}
.prize_item{
width:716px;
float:left;
overflow:hidden;
margin-left:7px;
height:48px;
font-weight: bold;
/*border:white solid 1px;*/
}
*{
/*font-family:華康中圓體, 標楷體, 文鼎PL中楷Uni,Verdana, Arial, Helvetica, sans-serif;*/
font-family:Verdana, 新細明體;
}
body{
/* 得獎名單 */
margin: 0;
color: yellow;
/* 2006year */
/*
background-color:#2D0000;
background-image:url(../images/prize_list_bg.gif);
*/
/* 2007year */
/*background-image: url(../images/prize_list_2007_blue.jpg);*/
/* 2008year */
/*background-image: url(../images/2008_PrizeList.jpg);*/
background-repeat: no-repeat;
background-color: #FFFFFF;
}
#main{
/*background-image:url(../images/prize_list.gif);
background-repeat:no-repeat;
width:1024px;
height:760px;
overflow:hidden;
font-size:34px;
color:white;*/
}
#con{
/*position:relative;
left:100px;
top:120px;
width:880px;
height:660px;
overflow:hidden;
border: 1px solid green;*/
}
#marqueecontainer{/*
position: relative;
width: 900px;
height: 528px;
overflow: hidden;
margin-top:10px;
*/
}
.color1{
/*color:#CAF4FF;*/
color:#AAFFFF;
}
.color2{
/*color:#F5FFA6;*/
color:yellow;
}
.color3{
/*color:#CBB6FF;*/
color:#AAFFFF;
}
.color4{
/*color:#FFB4C1;*/
color:yellow;
}
.color5{
/*color:#B6FFA4;*/
color:#AAFFFF;
}
.color6{
/*color:#CAF4FF;*/
color:yellow;
}
.color7{
/*color:#F5FFA6;*/
color:#AAFFFF;
}
.color8{
/*color:#CBB6FF;*/
color:yellow;
}
.color9{
/*color:#FFB4C1;*/
color:#AAFFFF;
}
.color10{
/*color:#B6FFA4;*/
color:yellow;
}
.special_item{
font-size:80px;
color:white;
margin-top:70px;
overflow:hidden;
}
.prize_item{
width:716px;
float:left;
overflow:hidden;
margin-left:7px;
height:48px;
font-weight: bold;
/*border:white solid 1px;*/
}
.main-div {
width: 100%;
height: 100%;
min-width:1024px;
min-height:768px;
/*background-image: url('../images/img2016/background.jpg');
*/background-image: url('../images/img2016/bg.gif');
background-repeat: no-repeat;
background-position: center top;
background-size: 1920px 1000px;
border: 1px solid #f00;
margin:0;
padding: 0;
font-size: 16px;
}
.counter {
background: url('../images/img2016/scrollCellBG.png') no-repeat;
width: 210px;
height: 240px;
background-size: 210px 240px;
overflow: hidden;
}
.bg {
/* background: url('./image/bg.png') no-repeat;
*/
width: 210px;
height: 240px;
position: absolute;
z-index: 1;
}
.scrollBG {
background: url('../images/img2016/scrollBG.gif') no-repeat;
background-repeat: no-repeat;
background-position: center top;
/*background-size: 1048px 760px;*/
background-size: 80% 70%;
}
.scrollCellBG {
background-repeat: no-repeat;
background-position: center top;
/*background-size: 210px 190px;*/
background-size: 80% auto;
margin-left: 15px;
}
This diff is collapsed.
INPUT, TEXTAREA, SELECT { font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:1.5;}
/* Align Setting*/
.HAL { text-align:left;}
.HAC { text-align:center;}
.HAR { text-align:right;}
.VAT { vertical-align:top;}
.VAM { vertical-align:middle;}
.VAB { vertical-align:bottom;}
/* Border Setting */
.BD1 { border:1px solid rgb(0,0,0);}
.BDT1 { border-top:1px solid rgb(0,0,0);}
.BDB1 { border-bottom:1px solid rgb(0,0,0);}
.BDL1 { border-left:1px solid rgb(0,0,0);}
.BDR1 { border-right:1px solid rgb(0,0,0);}
.BDT3D { border-top:3px double rgb(0,0,0);}
.BDB3D { border-bottom:3px double rgb(0,0,0);}
.BDL3D { border-left:3px double rgb(0,0,0);}
.BDR3D { border-right:3px double rgb(0,0,0);}
.BDT1T { border-top:1px dotted rgb(0,0,0);}
.BDB1T { border-bottom:1px dotted rgb(0,0,0);}
.BDL1T { border-left:1px dotted rgb(0,0,0);}
.BDR1T { border-right:1px dotted rgb(0,0,0);}
/* Font Color Setting */
.FC-R { color:rgb(255,0,0);}
.FC-G { color:rgb(0,255,0);}
.FC-B { color:rgb(0,0,255);}
.FC-W { color:rgb(255,255,255);}
.FC-K { color:rgb(0,0,0);}
/* Font Size & Font Family Setting*/
.F7 { font-size: 10px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F8 { font-size: 11px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F9 { font-size: 12px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F10 { font-size: 13px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F11 { font-size: 15px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F12 { font-size: 16px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF8 { font-size:8px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF9 { font-size:9px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF10 { font-size:10px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF11 { font-size:11px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF12 { font-size:12px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF13 { font-size:13px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF14 { font-size:14px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF15 { font-size:15px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF16 { font-size:16px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF18 { font-size:18px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF20 { font-size:20px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF24 { font-size:24px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF36 { font-size:36px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
/* Button Size Setting */
.BTZ1 { width:60px; height:60px;}
.BTZ2 { width:120px; height:30px;}
.BTZ3 { width:40px; height:40px;}
div#content {
color: black;
background-color: #f0f6fb;
}
span.help {
color: brown;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
span.must {
color: red;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
span.notice {
color: red;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
button.act {
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 15px;
}
/* 2007.12.24. 統一設定 */
/* 開獎按鈕 */
body.ButtonBefore {
/* 2008.01.03. marked.
background-image: url('../images/2007_PrizeName.jpg');
background-repeat: no-repeat;
*/
background-color: #960001;
}
/* 開獎按鈕(已開獎) */
body.ButtonAfter {
/* 2008.01.03. marked.
background-image: url('../images/page2.jpg');
background-repeat: no-repeat;
*/
background-color: #960001;
}
/* 待機畫面 */
body.StandBy {
/*background-image: url('../images/2007_StandBy.jpg');*/
/*background-image: url('../images/2008_StandBy.jpg');*/
background-image: url('../images/2011_StandBy.jpg');
background-repeat: no-repeat;
background-color: #d50100;
background-position: center top;
}
/* 獎項名稱 */
body.PrizeName {
/*background-image: url('../images/2007_PrizeName.jpg');*/
background-image: url('../images/2008_PrizeName.jpg');
background-repeat: no-repeat;
background-color: #960001;
background-position: center top;
}
div.PrizeNameTitle {
/*height : 100px!important;*/
font-size : 85px;
/*font-weight:bold;*/
line-height:1.5;
/*color : #FFFFFF;*/
/* 2008b */
color: #c1e3e5;
font-family : 超世紀粗毛楷, 華康中圓體, 標楷體, 文鼎PL中楷Uni;
margin-left: auto;
margin-right: auto;
text-align : center;
width : 800px;
}
/* 開獎動畫 */
body.Processing {
background-image: url('../images/back2.jpg');
background-repeat: no-repeat;
background-color: #1b0202;
}
/* 幸運輪 */
body.LuckyWheel {
/*background-image: url('../images/2007_StandBy.jpg');*/
background-repeat: no-repeat;
background-color: #d50100;
}
/* 得獎名單 */
body.PrizeWinner {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
background-image: url('../images/2008_PrizeList.jpg');
background-repeat: no-repeat;
background-color: #960001;
}
div.PrizeWinnerContainer {
font-size: 46px;
position:absolute;
top: 12px;
left:12px;
height: 744px;
text-align: center;
vertical-align: middle;
width: 1000px;
}
div.PrizeWinnerContainer2 {
margin:100px 20px 0 20px;
width:960px;
}
div.PrizeWinnerTitle {
margin-bottom:16px;
text-align:center;
}
div.colorEven {
/*width: 800px;
height: 55px;
text-align: left;
margin-left: 80px;*/
/*2009.01.15.*/
/*color:yellow;*/
/*2009.01.18.*/
color:brown;
}
div.colorOdd {
/*width: 800px;
height: 55px;
text-align: left;
margin-left: 80px;*/
/*2009.01.15.*/
/*color:#AAFFFF;*/
/*2009.01.18.*/
color:red;
}
div.PrizeWinnerLotteryNo {
float: left;
width: 150px;
height: 52px;
overflow: hidden;
white-space: nowrap;
font-family:Verdara;
}
div.PrizeWinnerDepartment {
float: left;
width: 376px;
height: 52px;
overflow: hidden;
white-space: nowrap;
margin-left: 20px;
}
div.PrizeWinnerName {
float: left;
width: 190px;
height: 52px;
overflow: hidden;
white-space: nowrap;
margin-left: 40px;
}
/* 得獎名單 - 跑馬燈 */
body.PrizeWinnerMarquee {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
/*background-image: url('../images/2008_PrizeList.jpg');*/
background-repeat: no-repeat;
/*background-color: #960001;
background-color: #080850;*/
background-color: #FFFFFF;
}
div.PrizeWinnerMarqueeMain{
/*background-image:url(../images/prize_list.gif);
background-repeat:no-repeat;*/
width: 1024px;
height: 760px;
overflow: hidden;
font-size: 45px;
color: white;
font-weight: bold;
}
div.PrizeWinnerMarqueeCon{
position: relative;
left: 40px; /* 50 */
/*top: 100px;*/
top: 50px;
width: 1000px;
height: 660px;
overflow: hidden;
}
div.MarqueeContainer{
position: relative;
width: 960px; /*marquee width: 960 */
height: 560px; /*marquee height: 560 */
overflow: hidden;
margin-top: 10px;
/*border:1px solid yellow;*/
}
div.PrizeWinnerMarqueePrizeItem {
width: 100%;
height: 56px;
/*font-size: 40px;*/
/*2009.01.15.*/
font-size: 38px;
line-height: 1.5;
float: left;
overflow: hidden;
margin-left: 0px;
font-weight: bold;
/*border:white solid 1px;*/
font-family: 'Courier New', '標楷體';
}
/* 得獎名單 - 特別獎 */
body.PrizeWinnerSpecial {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
background-image: url('../images/2008_PrizeList.jpg');
background-repeat: no-repeat;
background-color: #960001;
background-position: center top;
}
div.PrizeWinnerContainer {
font-size: 46px;
position: relative;
margin: 12px auto;
/* position: absolute;
top: 12px;
left: 12px;
*/
height: 744px;
text-align: center;
vertical-align: middle;
width: 1000px;
}
div.PrizeWinnerContainer2 {
margin: 60px 20px 0 20px;
width: 960px;
overflow: hidden;
}
div.PrizeWinnerTitle {
margin-bottom: 16px;
text-align: center;
overflow: hidden;
width: 960px;
}
div.PrizeWinnerSpecialPrizeItemLotteryNo {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
width: 330px;
}
div.PrizeWinnerSpecialPrizeItemLotteryNo2 {
margin-left: 30px;
width: 900px;
}
div.PrizeWinnerSpecialPrizeItemDepartment {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
width: 20px;
}
div.PrizeWinnerSpecialPrizeItemDepartment2 {
margin-left: 10px;
width: 920px;
}
div.PrizeWinnerSpecialPrizeItemName {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
/*width: 320px;*/
/*2009.01.15.*/
width: 300px;
}
div.PrizeWinnerSpecialPrizeItemName2 {
margin-left: 300px;
width: 330px;
}
INPUT, TEXTAREA, SELECT { font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:1.5;}
/* Align Setting*/
.HAL { text-align:left;}
.HAC { text-align:center;}
.HAR { text-align:right;}
.VAT { vertical-align:top;}
.VAM { vertical-align:middle;}
.VAB { vertical-align:bottom;}
/* Border Setting */
.BD1 { border:1px solid rgb(0,0,0);}
.BDT1 { border-top:1px solid rgb(0,0,0);}
.BDB1 { border-bottom:1px solid rgb(0,0,0);}
.BDL1 { border-left:1px solid rgb(0,0,0);}
.BDR1 { border-right:1px solid rgb(0,0,0);}
.BDT3D { border-top:3px double rgb(0,0,0);}
.BDB3D { border-bottom:3px double rgb(0,0,0);}
.BDL3D { border-left:3px double rgb(0,0,0);}
.BDR3D { border-right:3px double rgb(0,0,0);}
.BDT1T { border-top:1px dotted rgb(0,0,0);}
.BDB1T { border-bottom:1px dotted rgb(0,0,0);}
.BDL1T { border-left:1px dotted rgb(0,0,0);}
.BDR1T { border-right:1px dotted rgb(0,0,0);}
/* Font Color Setting */
.FC-R { color:rgb(255,0,0);}
.FC-G { color:rgb(0,255,0);}
.FC-B { color:rgb(0,0,255);}
.FC-W { color:rgb(255,255,255);}
.FC-K { color:rgb(0,0,0);}
/* Font Size & Font Family Setting*/
.F7 { font-size: 10px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F8 { font-size: 11px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F9 { font-size: 12px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F10 { font-size: 13px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F11 { font-size: 15px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.F12 { font-size: 16px; font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF8 { font-size:8px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF9 { font-size:9px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF10 { font-size:10px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF11 { font-size:11px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF12 { font-size:12px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF13 { font-size:13px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF14 { font-size:14px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF15 { font-size:15px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF16 { font-size:16px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF18 { font-size:18px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF20 { font-size:20px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF24 { font-size:24px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
.GF36 { font-size:36px; font-family:"Verdana", "Arial", "Helvetica", "sans-serif"; line-height: 1.5;}
/* Button Size Setting */
.BTZ1 { width:60px; height:60px;}
.BTZ2 { width:120px; height:30px;}
.BTZ3 { width:40px; height:40px;}
div#content {
color: black;
background-color: #f0f6fb;
}
span.help {
color: brown;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
span.must {
color: red;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
span.notice {
color: red;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
button.act {
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
font-size: 15px;
}
/* 2007.12.24. 統一設定 */
/* 開獎按鈕 */
body.ButtonBefore {
/* 2008.01.03. marked.
background-image: url('../images/2007_PrizeName.jpg');
background-repeat: no-repeat;
*/
background-color: #960001;
}
/* 開獎按鈕(已開獎) */
body.ButtonAfter {
/* 2008.01.03. marked.
background-image: url('../images/page2.jpg');
background-repeat: no-repeat;
*/
background-color: #960001;
}
/* 待機畫面 */
body.StandBy {
/*background-image: url('../images/2007_StandBy.jpg');*/
/*background-image: url('../images/2008_StandBy.jpg');*/
/*background-image: url('../images/2011_StandBy.jpg');*/
background-image: url('../images/civetstandby.jpg');
background-repeat: no-repeat;
background-color: #d50100;
background-position: center top;
}
/* 獎項名稱 */
body.PrizeName {
/*background-image: url('../images/2007_PrizeName.jpg');*/
background-image: url('../images/img2016/2008_PrizeList.jpg');
background-repeat: no-repeat;
background-color: #960001;
background-position: center top;
background-size:1980px 1000px;
}
div.PrizeNameTitle {
/*height : 100px!important;*/
font-size : 85px;
/*font-weight:bold;*/
line-height:1.5;
/*color : #FFFFFF;*/
/* 2008b */
color: #c1e3e5;
font-family : 超世紀粗毛楷, 華康中圓體, 標楷體, 文鼎PL中楷Uni;
margin-left: auto;
margin-right: auto;
text-align : center;
width : 800px;
}
/* 開獎動畫 */
body.Processing {
background-image: url('../images/back2.jpg');
background-repeat: no-repeat;
background-color: #1b0202;
}
/* 幸運輪 */
body.LuckyWheel {
/*background-image: url('../images/2007_StandBy.jpg');*/
background-repeat: no-repeat;
background-color: #d50100;
}
/* 得獎名單 */
body.PrizeWinner {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
background-image: url('../images/img2016/2008_PrizeName.jpg');
background-repeat: no-repeat;
background-color: #960001;
background-size:1980px 1000px;
}
div.PrizeWinnerContainer {
font-size: 46px;
position:absolute;
top: 12px;
left:12px;
height: 744px;
text-align: center;
vertical-align: middle;
width: 1000px;
}
div.PrizeWinnerContainer2 {
margin:100px 20px 0 20px;
width:960px;
}
div.PrizeWinnerTitle {
margin-bottom:16px;
text-align:center;
}
div.colorEven {
/*width: 800px;
height: 55px;
text-align: left;
margin-left: 80px;*/
/*2009.01.15.*/
color:yellow;
/*2009.01.18.*/
/*color:brown;*/
}
div.colorOdd {
/*width: 800px;
height: 55px;
text-align: left;
margin-left: 80px;*/
/*2009.01.15.*/
/*color:#AAFFFF;*/
/*2009.01.18.*/
/*color:red;*/
color:yellow;
}
div.PrizeWinnerLotteryNo {
float: left;
width: 150px;
height: 52px;
overflow: hidden;
white-space: nowrap;
font-family:Verdara;
}
div.PrizeWinnerDepartment {
float: left;
width: 376px;
height: 52px;
overflow: hidden;
white-space: nowrap;
margin-left: 20px;
}
div.PrizeWinnerName {
float: left;
width: 190px;
height: 52px;
overflow: hidden;
white-space: nowrap;
margin-left: 40px;
}
/* 得獎名單 - 跑馬燈 */
body.PrizeWinnerMarquee {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
/*background-image: url('../images/2008_PrizeList.jpg');*/
background-repeat: no-repeat;
/*background-color: #960001;
background-color: #080850;*/
/*background-color: #FFFFFF;*/
background-color: #960001;
}
div.PrizeWinnerMarqueeMain{
/*background-image:url(../images/prize_list.gif);
background-repeat:no-repeat;*/
width: 1920px;
height: 860px;
overflow: hidden;
font-size: 45px;
color: white;
font-weight: bold;
}
div.PrizeWinnerMarqueeCon{
position: relative;
left: 50px; /* 50 */
/*top: 100px;*/
top: 20px;
width: 1000px;
height: 840px;
overflow: hidden;
}
div.MarqueeContainer{
position: relative;
width: 960px; /*marquee width: 960 */
height: 700px; /*marquee height: 560 */
overflow: hidden;
margin-top: 35px;
/*border:1px solid yellow;*/
}
div.PrizeWinnerMarqueePrizeItem {
width: 100%;
height: 56px;
/*font-size: 40px;*/
/*2009.01.15.*/
font-size: 38px;
line-height: 1.5;
float: left;
overflow: hidden;
margin-left: 0px;
font-weight: bold;
/*border:white solid 1px;*/
font-family: 'Courier New', '標楷體';
}
/* 得獎名單 - 特別獎 */
body.PrizeWinnerSpecial {
margin: 0;
color: yellow;
/*background-image: url('../images/prize_list_2007.jpg');*/
background-image: url('../images/img2016/2008_PrizeName.jpg');
background-repeat: no-repeat;
background-color: #960001;
background-position: center top;
background-size:1980px 1000px;
}
div.PrizeWinnerContainer {
font-size: 46px;
position: relative;
margin: 12px auto;
height: 744px;
text-align: center;
vertical-align: middle;
width: 1000px;
}
div.PrizeWinnerContainer2 {
margin: 60px 20px 0 20px;
width: 960px;
overflow: hidden;
}
div.PrizeWinnerTitle {
margin-bottom: 16px;
text-align: center;
overflow: hidden;
width: 960px;
}
div.PrizeWinnerSpecialPrizeItemLotteryNo {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
width: 330px;
}
div.PrizeWinnerSpecialPrizeItemLotteryNo2 {
margin-left: 30px;
width: 900px;
}
div.PrizeWinnerSpecialPrizeItemDepartment {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
width: 20px;
}
div.PrizeWinnerSpecialPrizeItemDepartment2 {
margin-left: 10px;
width: 920px;
}
div.PrizeWinnerSpecialPrizeItemName {
font-size: 80px;
/*color: white;*/
color: red;
margin-top: 30px;
overflow: hidden;
/*width: 320px;*/
/*2009.01.15.*/
width: 300px;
}
div.PrizeWinnerSpecialPrizeItemName2 {
margin-left: 300px;
width: 330px;
}
body {
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
background-color: rgb(61,0,0);
}
img {
border: none;
}
div#content {
position: absolute;
top: 0;
left: 0;
background-image: url("../images/verify-bg.jpg");
background-repeat: no-repeat;
width: 1000px;
height: 722px;
color: black;
}
div#information {
position: relative;
top: 100px;
left: 200px;
width: 600px;
height: 300px;
font-size: 24px;
line-height: 1.5;
/*border: 1px solid green;*/
}
div.EmployeeNo {
color:rgb(0,147,199);
font-weight: bolder;
font-size: 80px;
line-height: 1;
}
div#information span#member_code {
color:rgb(0,147,199);
font-weight: bolder;
font-size: 80px;
line-height: 1;
}
div#information span#member_name {
color: white;
font-weight: bolder;
font-size: 80px;
line-height: 1;
}
div#log_time {
width: 200px;
height: 200px;
overflow: auto;
font-size: 15px;
line-height: 1.5;
color: black;
}
div#signin {
position: relative;
top: 580px;
left: 310px;
/*background-image: url("../images/verify-signin.gif");
background-repeat: no-repeat;
background-position: 0 4px;*/
width: 400px;
height: 40px;
font-size: 24px;
line-height: 1.5;
/*border: 1px solid green;*/
}
input#lotteryno {
border: none;
background-color: white;
font-size: 30px;
font-family: Verdana, Arial, sans-serif;
line-height: 1.5;
margin-left: 110px;
margin-top: -5px;
/*font-weight: bolder;*/
}
input#lotterygo {
visibility: hidden;
border: 1px solid #f0f6fb;
background-color: #f0f6fb;
font-size: 15px;
height: 33px;
font-weight: bolder;
}
div.MemberMemo {
font-size: 80px;
line-height: 1.2;
color: yellow;
font-weight: bolder;
}
\ No newline at end of file
<?php
/**
*
* 程式名稱: 展示各設計版面
* 檔案名稱: demo.php
* 版  本: 1.0.0.
* 作  者: Gilbert Chiao <gilbert@price.com.tw>
* 著作聲明: Price Co., Ltd.
* 起草日期: 2007.12.19.
* 更新日期: 2007.12.24.
*
*/
/**
* 載入系統設定 2005.04.11. Gilbert.
* 包含檔案目錄常數設定、php系統參數設定、MySQL參數設定。
*/
require_once '../../php_lib_FC/Manager/config.system.php';
/* 初始化系統執行時所需的基本物件及函式 2005.04.12. Dolly. */
require_once _DIR_LIB_SMARTY . 'Smarty.class.php';
require_once _DIR_LIB_CLASS . 'class.layout.php';
/* Layout 物件初始化 */
$layout = new LAYOUT();
// 載入 PEAR 的 Log 套件並初始化
require_once _DIR_LIB_CLASS . 'Log.php';
#$log = Log::factory('file', _DIR_LOG . 'pear.log', session_id(), array(), PEAR_LOG_DEBUG);
# 測試時用下面這行,上線之後再換上面那行。
$log = Log::factory('file', _DIR_LOG . 'pear.log', substr(session_id(), 0, 6), array(), PEAR_LOG_DEBUG);
/* 主程式 */
switch($_GET[mode]){
default:
$TPL = '_demo.tpl';
break;
/* 待機畫面 */
case 'StandBy':
$TPL = '_demo_StandBy.tpl';
break;
/* 獎項名稱 */
case 'PrizeName':
$TPL = '_demo_PrizeName.tpl';
break;
/* 開獎動畫 */
case 'Processing':
$TPL = '_demo_Processing.tpl';
break;
/* 中獎名單 */
case 'PrizeWinner':
$TPL = '_demo_PrizeWinner.tpl';
break;
/* 中獎名單 - 跑馬燈 */
case 'PrizeWinnerMarquee':
$TPL = '_demo_PrizeWinnerMarquee.tpl';
break;
/* 中獎名單 - 特別獎 */
case 'PrizeWinnerSpecial':
$TPL = '_demo_PrizeWinnerSpecial.tpl';
break;
/* 幸運輪 */
case 'LuckyWheel':
$TPL = '_demo_LuckyWheel.tpl';
break;
/* 開獎按鈕 */
case 'ButtonBefore':
$TPL = '_demo_ButtonBefore.tpl';
break;
/* 開獎按鈕(已開獎) */
case 'ButtonAfter':
$TPL = '_demo_ButtonAfter.tpl';
break;
/* 入口 check in 畫面 */
case 'CheckIn':
$TPL = '_demo_CheckIn.tpl';
break;
/* 中獎查詢畫面 */
case 'PrizeCheck':
$TPL = '_demo_PrizeCheck.tpl';
break;
}
$layout->display($TPL, $op);
?>
\ No newline at end of file
This diff is collapsed.
@charset "UTF-8";
@font-face {
font-family: "SourceHanSansCN-Regular";
src: url("SourceHanSansCN-Regular.woff2") format("woff2"),
url("SourceHanSansCN-Regular.woff") format("woff"),
url("SourceHanSansCN-Regular.ttf") format("truetype"),
url("SourceHanSansCN-Regular.eot") format("embedded-opentype"),
url("SourceHanSansCN-Regular.svg") format("svg"),
url("SourceHanSansCN-Regular.otf") format("opentype");
font-weight: normal;
font-style: normal;
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment