<?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>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4130 |
진정한승리v
|
14년 전 | 1068 | |
| 4129 | 14년 전 | 1431 | ||
| 4128 |
onlymilk74
|
14년 전 | 631 | |
| 4127 | 14년 전 | 541 | ||
| 4126 |
visualp
|
14년 전 | 1259 | |
| 4125 |
visualp
|
14년 전 | 1593 | |
| 4124 | 14년 전 | 1663 | ||
| 4123 | 14년 전 | 836 | ||
| 4122 |
visualp
|
14년 전 | 644 | |
| 4121 |
visualp
|
14년 전 | 1799 | |
| 4120 |
visualp
|
14년 전 | 869 | |
| 4119 |
visualp
|
14년 전 | 1241 | |
| 4118 |
그래픽노블
|
14년 전 | 695 | |
| 4117 |
visualp
|
14년 전 | 753 | |
| 4116 | 14년 전 | 741 | ||
| 4115 |
visualp
|
14년 전 | 826 | |
| 4114 |
onlymilk74
|
14년 전 | 4634 | |
| 4113 | 14년 전 | 743 | ||
| 4112 |
그래픽노블
|
14년 전 | 868 | |
| 4111 | 14년 전 | 1517 | ||
| 4110 | 14년 전 | 682 | ||
| 4109 | 14년 전 | 477 | ||
| 4108 | 14년 전 | 847 | ||
| 4107 | 14년 전 | 2116 | ||
| 4106 | 14년 전 | 1590 | ||
| 4105 |
onlymilk74
|
14년 전 | 1411 | |
| 4104 | 14년 전 | 2851 | ||
| 4103 | 14년 전 | 1958 | ||
| 4102 | 14년 전 | 932 | ||
| 4101 | 14년 전 | 990 | ||
| 4100 | 14년 전 | 945 | ||
| 4099 | 14년 전 | 1038 | ||
| 4098 |
Lonnie
|
14년 전 | 532 | |
| 4097 | 14년 전 | 832 | ||
| 4096 | 14년 전 | 977 | ||
| 4095 | 14년 전 | 2528 | ||
| 4094 | 14년 전 | 846 | ||
| 4093 | 14년 전 | 582 | ||
| 4092 |
|
14년 전 | 603 | |
| 4091 | 14년 전 | 2939 | ||
| 4090 | 14년 전 | 737 | ||
| 4089 |
|
14년 전 | 1448 | |
| 4088 | 14년 전 | 1450 | ||
| 4087 | 14년 전 | 645 | ||
| 4086 | 14년 전 | 1363 | ||
| 4085 | 14년 전 | 759 | ||
| 4084 | 14년 전 | 858 | ||
| 4083 | 14년 전 | 1818 | ||
| 4082 | 14년 전 | 1525 | ||
| 4081 | 14년 전 | 2128 | ||
| 4080 |
onlymilk74
|
14년 전 | 862 | |
| 4079 | 14년 전 | 755 | ||
| 4078 | 14년 전 | 2146 | ||
| 4077 |
DreamT
|
14년 전 | 776 | |
| 4076 | 14년 전 | 878 | ||
| 4075 | 14년 전 | 1988 | ||
| 4074 | 14년 전 | 1005 | ||
| 4073 | 14년 전 | 905 | ||
| 4072 |
onlymilk74
|
14년 전 | 660 | |
| 4071 | 14년 전 | 907 | ||
| 4070 | 14년 전 | 1921 | ||
| 4069 | 14년 전 | 485 | ||
| 4068 | 14년 전 | 2446 | ||
| 4067 | 14년 전 | 811 | ||
| 4066 | 14년 전 | 522 | ||
| 4065 | 14년 전 | 532 | ||
| 4064 | 14년 전 | 794 | ||
| 4063 | 14년 전 | 701 | ||
| 4062 | 14년 전 | 596 | ||
| 4061 | 14년 전 | 1093 | ||
| 4060 | 14년 전 | 526 | ||
| 4059 | 14년 전 | 1212 | ||
| 4058 | 14년 전 | 1583 | ||
| 4057 | 14년 전 | 538 | ||
| 4056 |
|
14년 전 | 673 | |
| 4055 |
SGFlash
|
14년 전 | 522 | |
| 4054 |
Priere
|
14년 전 | 667 | |
| 4053 | 14년 전 | 1091 | ||
| 4052 | 14년 전 | 792 | ||
| 4051 | 14년 전 | 921 | ||
| 4050 | 14년 전 | 743 | ||
| 4049 | 14년 전 | 886 | ||
| 4048 |
내꿈은대통령
|
14년 전 | 469 | |
| 4047 |
visualp
|
14년 전 | 1277 | |
| 4046 |
visualp
|
14년 전 | 617 | |
| 4045 |
visualp
|
14년 전 | 1383 | |
| 4044 | 14년 전 | 8137 | ||
| 4043 | 14년 전 | 766 | ||
| 4042 | 14년 전 | 1611 | ||
| 4041 | 14년 전 | 1328 | ||
| 4040 | 14년 전 | 1604 | ||
| 4039 | 14년 전 | 1943 | ||
| 4038 | 14년 전 | 537 | ||
| 4037 |
sider
|
14년 전 | 680 | |
| 4036 | 14년 전 | 6470 | ||
| 4035 | 14년 전 | 657 | ||
| 4034 | 14년 전 | 593 | ||
| 4033 |
techer
|
14년 전 | 1741 | |
| 4032 | 14년 전 | 648 | ||
| 4031 | 14년 전 | 640 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기