<?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>
");
?>
고수님들 이 소스가 뭐가 잘못됐는지 확인해주세요
입금이나 결과가 입력하면 자동으로 팝업이 나와서 알려주는건데 팝업이 일정한 시간되었다가 다 확인해준 팝업도 계속 나오네요 한번에 몇백개씩 나옵니다 ㅠ,ㅠ 죽겠습니다
어떻게 처리할 방법이 없나요
게시글 목록
| 번호 | 제목 |
|---|---|
| 30076 |
HTML
css 질문드립니다.
1
|
| 16255 |
JavaScript
자바스크립트 문장해석
2
|
| 16251 | |
| 16247 | |
| 16244 | |
| 16242 |
MySQL
주말 PHP + Mysql 알바하실분.
1
|
| 16237 | |
| 16236 |
jQuery
체크박스 체크시 셀렉트 선택 못하게
|
| 16233 | |
| 16230 |
JavaScript
텍스트 박스 숫자 증가 관련하여서
2
|
| 16220 | |
| 16219 |
Linux
리눅스 메모리 테스트 유틸 memtest
|
| 16218 |
Linux
nginx 에서 대역폭 제한하기~
|
| 26286 | |
| 16215 | |
| 30075 |
HTML
메인페이지 최근사진 엑박 뜨는데요
|
| 16212 |
jQuery
블랙바탕에 유용한 셀렉트박스 디자인
2
|
| 16209 | |
| 30072 | |
| 30069 | |
| 3938 | |
| 30065 | |
| 16207 |
JavaScript
밑에 질문 첨부파일 추가했어요..
1
|
| 16195 | |
| 16193 | |
| 30064 | |
| 30063 |
HTML
css3 질문인데요..
|
| 16191 |
PHP
정규식에 관한
1
|
| 16183 |
JavaScript
이 오류 해석좀 해주세요..
7
|
| 16177 | |
| 16175 | |
| 16170 |
Mobile
모바일 관련 두가지 질문드릴게요!
4
|
| 26283 |
계약서
노하우사용계약서
2
|
| 26282 |
서식
공유물분할합의서
|
| 26281 |
서식
금전차용증서
|
| 26280 |
계약서
근로계약서
|
| 26279 |
서식
고소장(2)
|
| 26278 |
서식
고소장(1)
|
| 26277 |
서식
계약해제통지서
|
| 26276 |
계약서
계속적상거래계약서
|
| 26275 |
계약서
건축하도급계약서
|
| 26274 |
계약서
건물임대차계약서
|
| 26273 |
서식
건물매수청구서
|
| 26272 |
계약서
건물매매계약서(2면)
|
| 26271 |
계약서
건물매매계약서(1면)
|
| 26270 |
서식
거래약정서
|
| 26269 |
서식
거래사실확인서
|
| 26268 |
계약서
가옥임대차계약서
|
| 26267 |
계약서
가등기담보설정계약서
|
| 26266 |
계약서
가공위탁계약서
|
| 26265 |
계약서
가계임대계약서
|
| 26263 |
계약서
OEM계약서
1
|
| 16168 | |
| 16137 | |
| 16136 |
PHP
고수님들 들어오세요
현재글
|
| 16135 |
JavaScript
스크립트에 설명좀 달아주십시요~~
|
| 3933 | |
| 26261 | |
| 24349 | |
| 30060 |
HTML
background 반복질문 ㅠㅠ
2
|
| 3929 | |
| 16133 |
기타
공공아이핀
1
|
| 16132 |
JavaScript
풀다운메뉴에서 테두리및버튼색깔 변경하기
|
| 30056 |
HTML
플래시를 수정해서 넣었는데
3
|
| 16126 | |
| 3926 | |
| 26259 | |
| 24346 | |
| 16123 |
JavaScript
뮤직플레이어 질문이에요!
2
|
| 30044 |
HTML
지적 부탁드립니다.
11
|
| 3923 | |
| 3921 | |
| 16116 | |
| 16112 |
PHP
db를 불러올때말이지요..
3
|
| 16107 |
JavaScript
ajax 관련 한글 깨짐 어떻게 해야 하나요?
4
|
| 16099 |
JavaScript
접기/펼치기 태그 질문입니다.
7
|
| 3920 | |
| 26253 | |
| 26252 | |
| 24345 | |
| 16093 |
JavaScript
onclick 익스버전문제인가요?
5
|
| 3914 | |
| 3911 | |
| 16089 | |
| 16087 |
JavaScript
AJAX에서 euc-kr 한글처리시 깨질때
1
|
| 16084 |
jQuery
책 목록 슬라이드
2
|
| 3908 | |
| 16081 | |
| 24344 | |
| 16078 |
PHP
다른함수는 없을까요????
2
|
| 3903 | |
| 26250 |
계약서
연봉계약서
1
|
| 26249 |
계약서
표준 매매계약서
|
| 3899 | |
| 3898 | |
| 16066 | |
| 30038 | |
| 16056 |
jQuery
E-BOOK 하나 올립니다.
9
|
| 16053 | |
| 16051 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기