<?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>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4230 |
|
13년 전 | 1546 | |
| 4229 | 13년 전 | 1107 | ||
| 4228 | 13년 전 | 2099 | ||
| 4227 | 13년 전 | 780 | ||
| 4226 |
|
13년 전 | 790 | |
| 4225 |
천국의눈믈
|
13년 전 | 616 | |
| 4224 |
visualp
|
13년 전 | 1426 | |
| 4223 |
visualp
|
13년 전 | 1040 | |
| 4222 |
visualp
|
13년 전 | 765 | |
| 4221 |
visualp
|
13년 전 | 5294 | |
| 4220 | 13년 전 | 1899 | ||
| 4219 | 13년 전 | 1139 | ||
| 4218 | 13년 전 | 632 | ||
| 4217 | 13년 전 | 9426 | ||
| 4216 | 13년 전 | 1544 | ||
| 4215 |
|
13년 전 | 564 | |
| 4214 | 13년 전 | 545 | ||
| 4213 | 13년 전 | 1417 | ||
| 4212 |
visualp
|
13년 전 | 1993 | |
| 4211 | 13년 전 | 1541 | ||
| 4210 | 13년 전 | 792 | ||
| 4209 |
|
13년 전 | 2038 | |
| 4208 | 13년 전 | 2044 | ||
| 4207 | 13년 전 | 2997 | ||
| 4206 | 13년 전 | 1095 | ||
| 4205 |
SGFlash
|
13년 전 | 1284 | |
| 4204 | 13년 전 | 807 | ||
| 4203 | 13년 전 | 893 | ||
| 4202 | 13년 전 | 2109 | ||
| 4201 | 13년 전 | 900 | ||
| 4200 | 13년 전 | 2374 | ||
| 4199 | 13년 전 | 618 | ||
| 4198 |
visualp
|
13년 전 | 3493 | |
| 4197 |
visualp
|
13년 전 | 710 | |
| 4196 | 13년 전 | 2071 | ||
| 4195 |
미사카10777호
|
13년 전 | 3451 | |
| 4194 |
senseme
|
13년 전 | 760 | |
| 4193 | 13년 전 | 944 | ||
| 4192 | 13년 전 | 1301 | ||
| 4191 |
DreamT
|
13년 전 | 793 | |
| 4190 |
onlymilk74
|
13년 전 | 1302 | |
| 4189 | 13년 전 | 1235 | ||
| 4188 | 13년 전 | 1349 | ||
| 4187 | 13년 전 | 1091 | ||
| 4186 |
|
13년 전 | 720 | |
| 4185 | 13년 전 | 1191 | ||
| 4184 | 13년 전 | 1166 | ||
| 4183 |
visualp
|
13년 전 | 1042 | |
| 4182 |
visualp
|
13년 전 | 607 | |
| 4181 |
|
13년 전 | 585 | |
| 4180 |
techer
|
13년 전 | 926 | |
| 4179 | 13년 전 | 491 | ||
| 4178 | 13년 전 | 3057 | ||
| 4177 | 13년 전 | 576 | ||
| 4176 | 13년 전 | 932 | ||
| 4175 | 13년 전 | 583 | ||
| 4174 |
|
13년 전 | 616 | |
| 4173 |
|
13년 전 | 1848 | |
| 4172 |
|
13년 전 | 902 | |
| 4171 | 13년 전 | 1385 | ||
| 4170 | 13년 전 | 649 | ||
| 4169 | 13년 전 | 1277 | ||
| 4168 | 13년 전 | 1763 | ||
| 4167 | 13년 전 | 805 | ||
| 4166 | 13년 전 | 1315 | ||
| 4165 |
visualp
|
13년 전 | 809 | |
| 4164 | 13년 전 | 1172 | ||
| 4163 | 13년 전 | 2600 | ||
| 4162 | 13년 전 | 652 | ||
| 4161 |
onlymilk74
|
13년 전 | 4781 | |
| 4160 | 13년 전 | 670 | ||
| 4159 | 13년 전 | 863 | ||
| 4158 | 13년 전 | 701 | ||
| 4157 | 13년 전 | 3388 | ||
| 4156 | 13년 전 | 501 | ||
| 4155 | 13년 전 | 834 | ||
| 4154 | 13년 전 | 1137 | ||
| 4153 | 13년 전 | 1139 | ||
| 4152 | 13년 전 | 624 | ||
| 4151 | 13년 전 | 1231 | ||
| 4150 | 13년 전 | 719 | ||
| 4149 | 13년 전 | 608 | ||
| 4148 |
쉽다zzz
|
13년 전 | 2252 | |
| 4147 | 13년 전 | 945 | ||
| 4146 | 13년 전 | 573 | ||
| 4145 | 13년 전 | 573 | ||
| 4144 | 13년 전 | 1608 | ||
| 4143 | 13년 전 | 761 | ||
| 4142 | 13년 전 | 1166 | ||
| 4141 | 13년 전 | 1153 | ||
| 4140 |
|
13년 전 | 1760 | |
| 4139 |
visualp
|
13년 전 | 1841 | |
| 4138 |
visualp
|
13년 전 | 1113 | |
| 4137 | 13년 전 | 768 | ||
| 4136 | 13년 전 | 705 | ||
| 4135 | 13년 전 | 956 | ||
| 4134 | 13년 전 | 1113 | ||
| 4133 | 13년 전 | 2521 | ||
| 4132 | 13년 전 | 574 | ||
| 4131 | 13년 전 | 888 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기