26 lines
673 B
PHP
26 lines
673 B
PHP
<?php
|
|
if(!defined('__KIMS__')) exit;
|
|
|
|
if (!$my['uid'])
|
|
{
|
|
getLink('','','정상적인 접근이 아닙니다.','');
|
|
}
|
|
|
|
$g['memberVarForSite'] = $g['path_var'].'site/'.$r.'/member.var.php';
|
|
$_tmpvfile = file_exists($g['memberVarForSite']) ? $g['memberVarForSite'] : $g['path_module'].$module.'/var/var.php';
|
|
include_once $_tmpvfile;
|
|
|
|
|
|
if ($act == 'id')
|
|
{
|
|
if(!$id || $id==$my['id']) exit;
|
|
$isId = getDbRows($table['s_mbrid'],"id='".$id."' and id<>'".$my['id']."'");
|
|
if($isId) getLink('','','존재하는 아이디입니다.','');
|
|
|
|
getDbUpdate($table['s_mbrid'],"id='".$id."'",'uid='.$my['uid']);
|
|
|
|
getLink('reload','parent.parent.','','');
|
|
}
|
|
|
|
?>
|