Warning: main(../../../_var/board/.var.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/lhouse01/www/_system/module/upload/view.php on line 19
Warning: main(../../../_var/board/.var.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/lhouse01/www/_system/module/upload/view.php on line 19
Warning: main() [function.include]: Failed opening '../../../_var/board/.var.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/hosting_users/lhouse01/www/_system/module/upload/view.php on line 19
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/hosting_users/lhouse01/www/_var/db/set/mysql.php on line 16 Å´½º¿Â-¾÷·Îµåºä¾î");
}
function down(xid)
{
frames._action_frame_.location.href = "./down.php?xsite=&id=&uid=&xid=" + xid;
}
var mouseX,mouseY,mouseID;
function getMemberLayer(id,e)
{
var x = (e.pageX) ? e.pageX : document.body.scrollLeft+event.clientX;
var y = (e.pageY) ? e.pageY : document.body.scrollTop+event.clientY;
var layer = document.getElementById('_member_layer_');
if (location.href.indexOf('/home/') != -1||location.href.indexOf('/_system/') != -1)frames._action_frame_.location.href = "../../../home/mypage.php?a=mbr_layer&id=" + id;
else frames._action_frame_.location.href = "./_check.php?checkfile=mbrlayer&id=" + id;
layer.style.display = 'block';
layer.style.top = y-10;
layer.style.left = x+20;
mouseX = x;
mouseY = y;
mouseID= id;
}
function MemberLayerHide(e)
{
var x = (e.pageX) ? e.pageX : document.body.scrollLeft+event.clientX;
var y = (e.pageY) ? e.pageY : document.body.scrollTop+event.clientY;
if (x != mouseX || y != mouseY)
{
var layer = document.getElementById('_member_layer_');
layer.style.display = 'none';
}
}
function getMemberWin(que)
{
window.open('../../module/member/member.php?xsite=&id=' + que,'','left=0,top=0,width=500,height=380,status=yes,scrollbars=no');
}
function getEmailWin(domain,id)
{
location.href = "mailto:" + id + "@" + domain;
}
function OpenZipcode(pwd,z1,z2,ad,ad1)
{
var gpwd = (pwd) ? pwd : '.';
var url = gpwd+'/zipsearch/zipcode.php?zip1='+z1+'&zip2='+z2+'&address='+ad+'&address1='+ad1;
window.open(url,'zip_win','width=460,height=550,statusbar=no,scrollbars=yes,toolbar=no');
}
function smOver(obj)
{
obj.style.background='#FE8820';
obj.style.color='white';
}
function smOut(obj)
{
obj.style.background='#EFECE0';
obj.style.color='black';
}
function goUrl(url,opt)
{
if (opt == "")
location.href = url;
else
window.open(url , '' , opt);
}
function reqChat(myid,userid)
{
if (myid == '')
{
alert('·Î±×ÀÎÇØ ÁÖ¼¼¿ä. ');
}
else {
window.open('../../module/chat/chat.php?xsite=&a=mkroom&que=mantoman/main&callid='+userid,'','left=0,top=0,width=500,height=480,scrollbars=no,status=yes');
}
}
function SendSms(name,num,path)
{
if (num == "")
{
alert("ÈÞ´ëÆù ¹øÈ£°¡ ÁöÁ¤µÇÁö ¾Ê¾Ò½À´Ï´Ù. ");
}
else
{
var n = num.split('-');
url = path+"module.php?module=sms&q=phone&mobile_1="+n[0]+"&mobile_2="+n[1]+""+n[2]+"&toname="+name;
getPopUpFlag(window.open(url , '' , 'left=0,top=0,width=170,height=390,scrollbars=no,status=yes,resizable=no'));
}
}
function UploadView(id,uid,ok,que)
{
if (ok == '1')
{
getPopUpFlag(window.open("../../module/upload/view.php?xsite=&id="+id+"&uid=" + uid + "&view=" + que , 'uploadviewwin', 'left=0,top=0,width=440,height=100,scrollbars=yes,status=yes'));
}
else {
alert('´Ù¿î·Îµå ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ');
}
}
function BbsArticleWin(url,w,h)
{
getPopUpFlag(window.open(url , 'articlewin' , 'left=0,top=0,width='+w+',height='+h+',scrollbars=yes,status=yes'));
}
function imgpreview1(obj)
{
var KimsonPopupCheck = getPopUpFlag(window.open('','iwin','left=0,top=0,width=100,height=100,scrollbars=yes,status=yes'));
KimsonPopupCheck.document.write("¹Ì¸®º¸±â\");
}
function imgpreview2(id,uid)
{
var KimsonPopupCheck = getPopUpFlag(window.open('','iwin','left=0,top=0,width=100,height=100,scrollbars=yes,status=yes'));
KimsonPopupCheck.document.write("¹Ì¸®º¸±â\");
}
function showInvWin(url)
{
getPopUpFlag(window.open(url , 'articlewin' , 'left=0,top=0,width=800,height=600,scrollbars=yes,status=yes'));
}
function zoom(uid)
{
window.open('../../module/shop/zoom.php?uid=' + uid,'','left=0,top=0,width=480,height=555,scrollbars=no,status=yes');
}
function getTpriceLoyaltyJs(tprice,val)
{
var tmpval = val ? val : 1;
return parseInt(Math.floor(parseInt(tprice)/tmpval ) * tmpval);
}
function getLoginNeed()
{
if(confirm('·Î±×ÀÎÇÏ¼Å¾ß ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. \n\nÁö±Ý ·Î±×ÀÎÇϽðڽÀ´Ï±î?'))
{
location.href = "./login.php?referer=" + escape(location.href);
}
}
function getDownInfo(uid)
{
window.open('../../module/upload/info.php?uid=' + uid,'','left=0,top=0,width=480,height=555,scrollbars=yes,status=yes');
}
function getDateFormat(date , type)
{
var ck;
var rtstr = "";
var j = 0;
for(var i = 0; i < type.length; i++)
{
if(type.substring(i,i+1) == 'x')
{
rtstr += date.substring(j,j+1);
}
else {
j--;
rtstr += type.substring(i,i+1);
}
j++;
}
document.write(rtstr);
}