<?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>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4330 |
aequum
|
13년 전 | 827 | |
| 4329 | 13년 전 | 1048 | ||
| 4328 |
aequum
|
13년 전 | 1330 | |
| 4327 |
aequum
|
13년 전 | 1394 | |
| 4326 | 13년 전 | 776 | ||
| 4325 |
aequum
|
13년 전 | 931 | |
| 4324 |
aequum
|
13년 전 | 1651 | |
| 4323 |
aequum
|
13년 전 | 2739 | |
| 4322 |
aequum
|
13년 전 | 1996 | |
| 4321 |
aequum
|
13년 전 | 2060 | |
| 4320 |
aequum
|
13년 전 | 1461 | |
| 4319 |
aequum
|
13년 전 | 1264 | |
| 4318 |
aequum
|
13년 전 | 1163 | |
| 4317 |
aequum
|
13년 전 | 950 | |
| 4316 | 13년 전 | 419 | ||
| 4315 |
Raincommunication
|
13년 전 | 1336 | |
| 4314 |
aequum
|
13년 전 | 4445 | |
| 4313 | 13년 전 | 1303 | ||
| 4312 |
|
13년 전 | 1070 | |
| 4311 | 13년 전 | 562 | ||
| 4310 |
후라보노보노
|
13년 전 | 796 | |
| 4309 | 13년 전 | 627 | ||
| 4308 |
levin
|
13년 전 | 506 | |
| 4307 | 13년 전 | 583 | ||
| 4306 | 13년 전 | 564 | ||
| 4305 | 13년 전 | 502 | ||
| 4304 | 13년 전 | 1377 | ||
| 4303 | 13년 전 | 705 | ||
| 4302 | 13년 전 | 550 | ||
| 4301 | 13년 전 | 530 | ||
| 4300 |
내꿈은대통령
|
13년 전 | 584 | |
| 4299 | 13년 전 | 873 | ||
| 4298 | 13년 전 | 779 | ||
| 4297 | 13년 전 | 1370 | ||
| 4296 | 13년 전 | 986 | ||
| 4295 |
원시인교주
|
13년 전 | 3449 | |
| 4294 | 13년 전 | 665 | ||
| 4293 | 13년 전 | 1216 | ||
| 4292 | 13년 전 | 962 | ||
| 4291 | 13년 전 | 2691 | ||
| 4290 |
Kanzi
|
13년 전 | 2299 | |
| 4289 |
393939
|
13년 전 | 513 | |
| 4288 | 13년 전 | 1578 | ||
| 4287 |
393939
|
13년 전 | 520 | |
| 4286 |
alenjoe
|
13년 전 | 2316 | |
| 4285 |
alenjoe
|
13년 전 | 1861 | |
| 4284 | 13년 전 | 474 | ||
| 4283 |
|
13년 전 | 5566 | |
| 4282 | 13년 전 | 830 | ||
| 4281 | 13년 전 | 1339 | ||
| 4280 | 13년 전 | 1153 | ||
| 4279 | 13년 전 | 1197 | ||
| 4278 | 13년 전 | 1074 | ||
| 4277 | 13년 전 | 1088 | ||
| 4276 |
|
13년 전 | 943 | |
| 4275 |
스누피사랑
|
13년 전 | 1274 | |
| 4274 |
스누피사랑
|
13년 전 | 1656 | |
| 4273 |
스누피사랑
|
13년 전 | 673 | |
| 4272 |
스누피사랑
|
13년 전 | 1044 | |
| 4271 |
한번잘해보자
|
13년 전 | 2092 | |
| 4270 | 13년 전 | 1946 | ||
| 4269 | 13년 전 | 895 | ||
| 4268 |
mydie
|
13년 전 | 1390 | |
| 4267 | 13년 전 | 3875 | ||
| 4266 | 13년 전 | 612 | ||
| 4265 |
|
13년 전 | 2596 | |
| 4264 |
onlymilk74
|
13년 전 | 1375 | |
| 4263 | 13년 전 | 1808 | ||
| 4262 | 13년 전 | 1021 | ||
| 4261 | 13년 전 | 803 | ||
| 4260 |
|
13년 전 | 804 | |
| 4259 | 13년 전 | 939 | ||
| 4258 |
|
13년 전 | 1024 | |
| 4257 |
|
13년 전 | 1915 | |
| 4256 | 13년 전 | 3151 | ||
| 4255 | 13년 전 | 2190 | ||
| 4254 | 13년 전 | 906 | ||
| 4253 | 13년 전 | 1513 | ||
| 4252 |
|
13년 전 | 1749 | |
| 4251 | 13년 전 | 564 | ||
| 4250 | 13년 전 | 1797 | ||
| 4249 |
|
13년 전 | 3038 | |
| 4248 | 13년 전 | 1712 | ||
| 4247 | 13년 전 | 2647 | ||
| 4246 | 13년 전 | 3958 | ||
| 4245 | 13년 전 | 3991 | ||
| 4244 |
아이피마스터
|
13년 전 | 2392 | |
| 4243 |
|
13년 전 | 835 | |
| 4242 | 13년 전 | 1127 | ||
| 4241 | 13년 전 | 3945 | ||
| 4240 |
Kanzi
|
13년 전 | 2271 | |
| 4239 |
Kanzi
|
13년 전 | 1419 | |
| 4238 | 13년 전 | 3789 | ||
| 4237 | 13년 전 | 2468 | ||
| 4236 | 13년 전 | 556 | ||
| 4235 | 13년 전 | 2455 | ||
| 4234 | 13년 전 | 610 | ||
| 4233 |
|
13년 전 | 853 | |
| 4232 |
|
13년 전 | 1677 | |
| 4231 |
|
13년 전 | 1295 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기