<?php
require_once $_SERVER['DOCUMENT_ROOT']."/include/conf.php";
require_once $_SERVER['DOCUMENT_ROOT']."/include/function_race.php";
require_once $_SERVER['DOCUMENT_ROOT']."/include/conf.php";
require_once $_SERVER['DOCUMENT_ROOT']."/include/function_race.php";
//******************** 데이타불러오기 *************************//
if($tbname == "money")
{
$que = "select * from money where id = '$id' and (length(shopCode)>=$shopSize and shopCode like '$shopCode%')";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$gubunSize = strlen($row[shopCode]);
if($gubunSize==2) $gubunSize ="$row[shopCode]";
else $gubunSize ="**";
$shopName = getColumnValueText(admin, "shopName", "shopCode", "$row[shopCode]");
if($row[gubun] == 1)
{
$title = "<font color=red size=3><b>- $row[shopName] 입금신청 </b>";
$subT = "($gubunSize : $shopName) -</font>";
}
else
elseif($tbname == "qna")
{
$que = "select * from qna where seq = '$seq' and (length(shopCode)>=$shopSize and shopCode like '$shopCode%')";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$gubunSize = strlen($row[shopCode]);
if($gubunSize==2) $gubunSize ="$row[shopCode]";
else $gubunSize ="**";
$shopName = getColumnValueText(admin, "shopName", "shopCode", "$row[shopCode]");
$title = "<font color=red size=3><b>- $row[shopName] 1:1문의 신청 </b>";
$subT = "($gubunSize : $shopName) -</font>";
$openwin = "A_OPEN_".$row[id];
if($tbname == "money")
{
$que = "select * from money where id = '$id' and (length(shopCode)>=$shopSize and shopCode like '$shopCode%')";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$gubunSize = strlen($row[shopCode]);
if($gubunSize==2) $gubunSize ="$row[shopCode]";
else $gubunSize ="**";
$shopName = getColumnValueText(admin, "shopName", "shopCode", "$row[shopCode]");
if($row[gubun] == 1)
{
$title = "<font color=red size=3><b>- $row[shopName] 입금신청 </b>";
$subT = "($gubunSize : $shopName) -</font>";
}
else
elseif($tbname == "qna")
{
$que = "select * from qna where seq = '$seq' and (length(shopCode)>=$shopSize and shopCode like '$shopCode%')";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$gubunSize = strlen($row[shopCode]);
if($gubunSize==2) $gubunSize ="$row[shopCode]";
else $gubunSize ="**";
$shopName = getColumnValueText(admin, "shopName", "shopCode", "$row[shopCode]");
$title = "<font color=red size=3><b>- $row[shopName] 1:1문의 신청 </b>";
$subT = "($gubunSize : $shopName) -</font>";
$openwin = "A_OPEN_".$row[id];
$row[memberId] = $row[m_id];
$row[name] = $row[m_name];
$row[name] = $row[m_name];
}
elseif($tbname =="jm")
{
$que = "select * from race_time where id = '$id' ";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$codename = "select cateName from cate where cateCode = '$row[cateCode]' ";
$codename = mysql_query($codename);
$codename = mysql_fetch_array($codename);
elseif($tbname =="jm")
{
$que = "select * from race_time where id = '$id' ";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$codename = "select cateName from cate where cateCode = '$row[cateCode]' ";
$codename = mysql_query($codename);
$codename = mysql_fetch_array($codename);
$title = "<font color=red size=3><b>- $row[shopName] 마감 </b>";
$subT = "($row[time]) -</font>";
$subT = "($row[time]) -</font>";
$price = $row[round]."라운드";
$openwin = "M_OPEN_".$row[id];
$openwin = "M_OPEN_".$row[id];
}elseif($tbname =="jm1")
{
$que = "select * from race_result where id = '$id' ";
$result = mysql_query($que);
mysql_data_seek($result, 0);
$row = mysql_fetch_array($result);
$codename = "select cateName from cate where cateCode = '$row[cateCode]' ";
$codename = mysql_query($codename);
$codename = mysql_fetch_array($codename);
$title = "<font color=red size=3><b>- 결과 </b>";
$subT = "($row[time]) -</font>";
$subT = "($row[time]) -</font>";
$price = $row[round]."라운드";
$openwin = "M_OPEN_".$row[id];
$openwin = "M_OPEN_".$row[id];
}
?>
<html>
<head>
<title>관리자</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel="stylesheet" type="text/css" href="/adminBasic.style.css">
<html>
<head>
<title>관리자</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel="stylesheet" type="text/css" href="/adminBasic.style.css">
<script language="javascript">
//self.moveTo(0,0);
//self.moveTo(0,0);
<!---
//쿠키 생성 함수
function setCookie(name, value, expire)
{
var expire_date = new Date(expire)
var today = new Date()
var todayStr = today.getYear()+"-"+(today.getMonth()+1)+"-"+today.getDate()
document.cookie = name + "=" + escape( todayStr ) + "; path=/; expires=" + expire_date.toGMTString() + ";"
}
//쿠키 생성 함수
function setCookie(name, value, expire)
{
var expire_date = new Date(expire)
var today = new Date()
var todayStr = today.getYear()+"-"+(today.getMonth()+1)+"-"+today.getDate()
document.cookie = name + "=" + escape( todayStr ) + "; path=/; expires=" + expire_date.toGMTString() + ";"
}
//쿠키 소멸 함수
function clearCookie(name)
{
var today = new Date()
//어제 날짜를 쿠키 소멸 날짜로 설정한다.
var expire_date = new Date(today.getTime() - 60*60*24*1000)
document.cookie = name + "= " + "; path=/; expires=" + expire_date.toGMTString() + ";"
}
function clearCookie(name)
{
var today = new Date()
//어제 날짜를 쿠키 소멸 날짜로 설정한다.
var expire_date = new Date(today.getTime() - 60*60*24*1000)
document.cookie = name + "= " + "; path=/; expires=" + expire_date.toGMTString() + ";"
}
//쿠키값을 가져오는 함수
function getCookie(name)
{
var from_idx = document.cookie.indexOf(name+'=');
if (from_idx != -1)
{
from_idx += name.length + 1
to_idx = document.cookie.indexOf(';', from_idx)
function getCookie(name)
{
var from_idx = document.cookie.indexOf(name+'=');
if (from_idx != -1)
{
from_idx += name.length + 1
to_idx = document.cookie.indexOf(';', from_idx)
if (to_idx == -1)
{
to_idx = document.cookie.length
}
return unescape(document.cookie.substring(from_idx, to_idx))
}
}
{
to_idx = document.cookie.length
}
return unescape(document.cookie.substring(from_idx, to_idx))
}
}
//체크 상태에 따라 쿠키 생성과 소멸을 제어하는 함수
function controlCookie(elemnt) {
clearCookie("<?echo("$openwin")?>");
self.close();
return
}
function linkcheck() {
<?if($tbname == "ask"){?>
opener.parent.location.href ='<?=$admin_dir?>/board/ask.html?gubun=<?=$row[gubun]?>&siteItem=<?=$siteItem?>'
<?}else{?>
opener.parent.location.href ='<?=$admin_dir?>/money/money.html?gubun=<?=$row[gubun]?>siteItem=<?=$siteItem?>'
<?}?>
self.close();
return
}
//alert("${$openwin}");
function controlCookie(elemnt) {
clearCookie("<?echo("$openwin")?>");
self.close();
return
}
function linkcheck() {
<?if($tbname == "ask"){?>
opener.parent.location.href ='<?=$admin_dir?>/board/ask.html?gubun=<?=$row[gubun]?>&siteItem=<?=$siteItem?>'
<?}else{?>
opener.parent.location.href ='<?=$admin_dir?>/money/money.html?gubun=<?=$row[gubun]?>siteItem=<?=$siteItem?>'
<?}?>
self.close();
return
}
//alert("${$openwin}");
//--->
</script>
</head>
</script>
</head>
<?
echo("
<bgsound src=msg_voice.wav width=0 height=0>
<body leftmargin=0 rightmargin=0 topmargin=0 onUnload='controlCookie(this);' >
<table width=$row[width] height=$row[height] border=0 cellspacing=0 cellpadding=0 align=center>
<a href=\"javascript:linkcheck(this)\">
<tr height=30 align=center>
<td>$title $subT</td>
</tr>
<tr height=30>
<td align=left>아이디 : $row[memberId]</td>
</tr>
");
if($tbname == "money")
{
echo("
<tr height=30>
<td align=left>신청자 : $row[name]</td>
</tr>
<tr height=30>
<td align=left>금 액 : $price</td>
</tr>
");
}
elseif($tbname == "qna")
{
echo("
<tr height=30>
<td align=left>회원명 : $row[name]</td>
</tr>
<tr height=30>
<td align=left>제 목 : $row[subject]</td>
</tr>
");
}
elseif($tbname == "jm")
{
echo("
<tr height=30>
<td align=left>$codename[cateName] : $row[round] 마감</td>
</tr>
<tr height=30>
<td align=left></td>
</tr>
");
}
elseif($tbname == "jm1")
{
echo("
<tr height=30>
<td align=left>$codename[cateName] : $row[round] 결과입력</td>
</tr>
<tr height=30>
<td align=left></td>
</tr>
");
}
echo("
<tr height=30>
<td></td>
</tr>
</a>
</table>
<table width=100% border=0 cellspacing=0 cellpadding=0 align=center>
<tr height=30>
<td align=center bgcolor=818181>
<bgsound src=1.wav style='display:none loop=100'>
echo("
<bgsound src=msg_voice.wav width=0 height=0>
<body leftmargin=0 rightmargin=0 topmargin=0 onUnload='controlCookie(this);' >
<table width=$row[width] height=$row[height] border=0 cellspacing=0 cellpadding=0 align=center>
<a href=\"javascript:linkcheck(this)\">
<tr height=30 align=center>
<td>$title $subT</td>
</tr>
<tr height=30>
<td align=left>아이디 : $row[memberId]</td>
</tr>
");
if($tbname == "money")
{
echo("
<tr height=30>
<td align=left>신청자 : $row[name]</td>
</tr>
<tr height=30>
<td align=left>금 액 : $price</td>
</tr>
");
}
elseif($tbname == "qna")
{
echo("
<tr height=30>
<td align=left>회원명 : $row[name]</td>
</tr>
<tr height=30>
<td align=left>제 목 : $row[subject]</td>
</tr>
");
}
elseif($tbname == "jm")
{
echo("
<tr height=30>
<td align=left>$codename[cateName] : $row[round] 마감</td>
</tr>
<tr height=30>
<td align=left></td>
</tr>
");
}
elseif($tbname == "jm1")
{
echo("
<tr height=30>
<td align=left>$codename[cateName] : $row[round] 결과입력</td>
</tr>
<tr height=30>
<td align=left></td>
</tr>
");
}
echo("
<tr height=30>
<td></td>
</tr>
</a>
</table>
<table width=100% border=0 cellspacing=0 cellpadding=0 align=center>
<tr height=30>
<td align=center bgcolor=818181>
<bgsound src=1.wav style='display:none loop=100'>
<a href=\"javascript:controlCookie(this)\"><font color=FFFFFF><b>[확 인]</font></a>
</td>
</tr>
</table>
</body>
</html>
");
?>
</td>
</tr>
</table>
</body>
</html>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8130 | 9년 전 | 459 | ||
| 8129 |
|
9년 전 | 626 | |
| 8128 | 9년 전 | 496 | ||
| 8127 |
|
9년 전 | 557 | |
| 8126 | 9년 전 | 490 | ||
| 8125 | 9년 전 | 747 | ||
| 8124 |
|
9년 전 | 479 | |
| 8123 | 9년 전 | 464 | ||
| 8122 | 9년 전 | 400 | ||
| 8121 | 9년 전 | 509 | ||
| 8120 | 9년 전 | 441 | ||
| 8119 | 9년 전 | 522 | ||
| 8118 |
|
9년 전 | 607 | |
| 8117 |
|
9년 전 | 381 | |
| 8116 |
PASKRAN
|
9년 전 | 449 | |
| 8115 | 9년 전 | 441 | ||
| 8114 |
kiplayer
|
9년 전 | 582 | |
| 8113 | 9년 전 | 413 | ||
| 8112 |
|
9년 전 | 530 | |
| 8111 | 9년 전 | 381 | ||
| 8110 | 9년 전 | 424 | ||
| 8109 | 9년 전 | 333 | ||
| 8108 |
|
9년 전 | 521 | |
| 8107 |
|
9년 전 | 414 | |
| 8106 |
|
9년 전 | 409 | |
| 8105 | 9년 전 | 456 | ||
| 8104 |
|
9년 전 | 406 | |
| 8103 |
|
9년 전 | 408 | |
| 8102 |
|
9년 전 | 358 | |
| 8101 |
snshero
|
9년 전 | 749 | |
| 8100 | 9년 전 | 817 | ||
| 8099 | 9년 전 | 779 | ||
| 8098 | 9년 전 | 691 | ||
| 8097 | 9년 전 | 481 | ||
| 8096 | 9년 전 | 680 | ||
| 8095 | 9년 전 | 799 | ||
| 8094 | 9년 전 | 474 | ||
| 8093 | 9년 전 | 773 | ||
| 8092 | 9년 전 | 733 | ||
| 8091 | 9년 전 | 1126 | ||
| 8090 | 9년 전 | 734 | ||
| 8089 | 9년 전 | 940 | ||
| 8088 | 9년 전 | 615 | ||
| 8087 | 9년 전 | 720 | ||
| 8086 | 9년 전 | 494 | ||
| 8085 | 9년 전 | 457 | ||
| 8084 | 9년 전 | 598 | ||
| 8083 | 9년 전 | 568 | ||
| 8082 | 9년 전 | 733 | ||
| 8081 | 9년 전 | 446 | ||
| 8080 | 9년 전 | 531 | ||
| 8079 | 9년 전 | 488 | ||
| 8078 | 9년 전 | 419 | ||
| 8077 | 9년 전 | 495 | ||
| 8076 | 9년 전 | 383 | ||
| 8075 | 9년 전 | 396 | ||
| 8074 | 9년 전 | 365 | ||
| 8073 | 9년 전 | 414 | ||
| 8072 | 9년 전 | 403 | ||
| 8071 |
o1o111
|
9년 전 | 853 | |
| 8070 | 9년 전 | 374 | ||
| 8069 | 9년 전 | 302 | ||
| 8068 | 9년 전 | 566 | ||
| 8067 | 9년 전 | 374 | ||
| 8066 | 9년 전 | 402 | ||
| 8065 | 9년 전 | 352 | ||
| 8064 | 9년 전 | 332 | ||
| 8063 | 9년 전 | 294 | ||
| 8062 | 9년 전 | 283 | ||
| 8061 | 9년 전 | 330 | ||
| 8060 | 9년 전 | 352 | ||
| 8059 | 9년 전 | 284 | ||
| 8058 | 9년 전 | 225 | ||
| 8057 | 9년 전 | 349 | ||
| 8056 | 9년 전 | 277 | ||
| 8055 | 9년 전 | 312 | ||
| 8054 | 9년 전 | 329 | ||
| 8053 | 9년 전 | 370 | ||
| 8052 | 9년 전 | 257 | ||
| 8051 | 9년 전 | 301 | ||
| 8050 | 9년 전 | 366 | ||
| 8049 | 9년 전 | 287 | ||
| 8048 | 9년 전 | 401 | ||
| 8047 | 9년 전 | 335 | ||
| 8046 | 9년 전 | 263 | ||
| 8045 | 9년 전 | 236 | ||
| 8044 | 9년 전 | 300 | ||
| 8043 | 9년 전 | 241 | ||
| 8042 | 9년 전 | 267 | ||
| 8041 | 9년 전 | 303 | ||
| 8040 | 9년 전 | 236 | ||
| 8039 | 9년 전 | 298 | ||
| 8038 | 9년 전 | 251 | ||
| 8037 | 9년 전 | 363 | ||
| 8036 | 9년 전 | 449 | ||
| 8035 | 9년 전 | 401 | ||
| 8034 | 9년 전 | 364 | ||
| 8033 | 9년 전 | 316 | ||
| 8032 | 9년 전 | 369 | ||
| 8031 | 9년 전 | 309 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기