first
This commit is contained in:
25
modules/member/action/a.account_config.php
Normal file
25
modules/member/action/a.account_config.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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.','','');
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user