<?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>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4030 | 14년 전 | 2110 | ||
| 4029 |
|
14년 전 | 705 | |
| 4028 | 14년 전 | 3618 | ||
| 4027 | 14년 전 | 3747 | ||
| 4026 |
techer
|
14년 전 | 1123 | |
| 4025 |
techer
|
14년 전 | 685 | |
| 4024 | 14년 전 | 1359 | ||
| 4023 | 14년 전 | 602 | ||
| 4022 | 14년 전 | 923 | ||
| 4021 | 14년 전 | 513 | ||
| 4020 | 14년 전 | 7338 | ||
| 4019 | 14년 전 | 1027 | ||
| 4018 | 14년 전 | 444 | ||
| 4017 | 14년 전 | 599 | ||
| 4016 | 14년 전 | 1303 | ||
| 4015 | 14년 전 | 734 | ||
| 4014 | 14년 전 | 565 | ||
| 4013 | 14년 전 | 687 | ||
| 4012 | 14년 전 | 617 | ||
| 4011 |
브라운벤취
|
14년 전 | 426 | |
| 4010 |
크라잉감튀
|
14년 전 | 593 | |
| 4009 | 14년 전 | 574 | ||
| 4008 | 14년 전 | 562 | ||
| 4007 | 14년 전 | 639 | ||
| 4006 |
네비플러스
|
14년 전 | 880 | |
| 4005 | 14년 전 | 895 | ||
| 4004 | 14년 전 | 1118 | ||
| 4003 | 14년 전 | 778 | ||
| 4002 |
핑크스파이더
|
14년 전 | 698 | |
| 4001 | 14년 전 | 578 | ||
| 4000 |
BYongLuv
|
14년 전 | 546 | |
| 3999 |
xxbobo
|
14년 전 | 530 | |
| 3998 | 14년 전 | 715 | ||
| 3997 | 14년 전 | 1930 | ||
| 3996 | 14년 전 | 582 | ||
| 3995 | 14년 전 | 908 | ||
| 3994 |
asdfdasfddd
|
14년 전 | 2078 | |
| 3993 | 14년 전 | 1181 | ||
| 3992 | 14년 전 | 953 | ||
| 3991 | 14년 전 | 4689 | ||
| 3990 |
Torrious
|
14년 전 | 1897 | |
| 3989 | 14년 전 | 765 | ||
| 3988 |
내꿈은대통령
|
14년 전 | 638 | |
| 3987 | 14년 전 | 617 | ||
| 3986 |
|
14년 전 | 472 | |
| 3985 | 14년 전 | 1738 | ||
| 3984 | 14년 전 | 3059 | ||
| 3983 | 14년 전 | 553 | ||
| 3982 | 14년 전 | 749 | ||
| 3981 | 14년 전 | 1733 | ||
| 3980 | 14년 전 | 601 | ||
| 3979 |
AMDbest
|
14년 전 | 1252 | |
| 3978 |
leadK
|
14년 전 | 1600 | |
| 3977 |
좋은천사7
|
14년 전 | 10383 | |
| 3976 |
좋은천사7
|
14년 전 | 1128 | |
| 3975 |
좋은천사7
|
14년 전 | 940 | |
| 3974 |
좋은천사7
|
14년 전 | 1659 | |
| 3973 |
좋은천사7
|
14년 전 | 1694 | |
| 3972 |
좋은천사7
|
14년 전 | 869 | |
| 3971 |
김준수사랑
|
14년 전 | 971 | |
| 3970 |
레인보우1492
|
14년 전 | 787 | |
| 3969 | 14년 전 | 2420 | ||
| 3968 | 14년 전 | 583 | ||
| 3967 | 14년 전 | 728 | ||
| 3966 | 14년 전 | 1784 | ||
| 3965 | 14년 전 | 2069 | ||
| 3964 |
방황하는중년
|
14년 전 | 515 | |
| 3963 |
네비플러스
|
14년 전 | 894 | |
| 3962 | 14년 전 | 679 | ||
| 3961 | 14년 전 | 733 | ||
| 3960 | 14년 전 | 929 | ||
| 3959 | 14년 전 | 740 | ||
| 3958 |
techer
|
14년 전 | 650 | |
| 3957 |
techer
|
14년 전 | 467 | |
| 3956 |
techer
|
14년 전 | 441 | |
| 3955 |
techer
|
14년 전 | 670 | |
| 3954 |
8제임스8
|
14년 전 | 824 | |
| 3953 |
구름1354
|
14년 전 | 646 | |
| 3952 |
8제임스8
|
14년 전 | 617 | |
| 3951 | 14년 전 | 2436 | ||
| 3950 | 14년 전 | 955 | ||
| 3949 | 14년 전 | 1101 | ||
| 3948 | 14년 전 | 1076 | ||
| 3947 | 14년 전 | 1511 | ||
| 3946 |
|
14년 전 | 1899 | |
| 3945 | 14년 전 | 596 | ||
| 3944 |
|
14년 전 | 778 | |
| 3943 | 14년 전 | 1812 | ||
| 3942 | 14년 전 | 800 | ||
| 3941 | 14년 전 | 2099 | ||
| 3940 |
내일은없다
|
14년 전 | 585 | |
| 3939 | 14년 전 | 786 | ||
| 3938 | 14년 전 | 894 | ||
| 3937 | 14년 전 | 2010 | ||
| 3936 | 14년 전 | 832 | ||
| 3935 | 14년 전 | 3199 | ||
| 3934 | 14년 전 | 964 | ||
| 3933 | 14년 전 | 497 | ||
| 3932 | 14년 전 | 827 | ||
| 3931 |
Jos87
|
14년 전 | 673 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기