include "./inocomm/mobile_check.php"; ?> $f=@file($config_dir."config.php"); if(!$f){ echo("config.php파일이 없습니다. install.php에서 DB설정을 먼저 하십시요."); exit; } for($i=1;$i<=8;$i++) $f[$i]=trim(str_replace("\n","",$f[$i])); $mconnect = @mysql_connect($f[1],$f[2],$f[3],$f[4],$f[5],$f[6],$f[7]); $db = mysql_connect("localhost", "$f[2]", "$f[3]") or die(" SQL server에 연결할 수 없습니다."); mysql_select_db("$f[4]", $db); if($lng==kor){ $inosite_main_type = inosite_main ; $inosite_memform_type = inosite_memform; } else if ($lng==eng){ $inosite_main_type = e_inosite_main ; $inosite_memform_type = e_inosite_memform; } else if ($lng==jpn){ $inosite_main_type = j_inosite_main ; $inosite_memform_type = j_inosite_memform; } else if ($lng==chi){ $inosite_main_type = c_inosite_main ; $inosite_memform_type = c_inosite_memform; } else { $inosite_main_type = inosite_main ; $inosite_memform_type = inosite_memform; } $query="SELECT * from $inosite_main_type where uid='1'"; $result = mysql_query($query,$db); $bottom_txt=mysql_fetch_array($result); $query_fm="SELECT * from $inosite_memform_type where uid='1'"; $result_fm = mysql_query($query_fm,$db); $mem_form_ck=mysql_fetch_array($result_fm); ?> if($mem_form_ck[sp18]=="1" and $members_auth){ ?> $bottom_txt[sp_07]='2'; // 성인인증 후 메인화면이동시 인트로 패스?> } else { } ?> if($bottom_txt[sp_07]=='1') { ?> include "./comm/config_root.html"; ?> include "$skin_url_main/intro.html"; ?> } else { ?> if ($bottom_txt[g_start]=='1' ) { ?> include "./comm/config_root.html"; $lng=kor ; include "$skin_url_main/index.html"; ?> } else if ($bottom_txt[g_start]=='2' ) { ?> include "./comm/config_root.html"; $lng=eng ; include "$skin_url_main/index.html"; ?> } else if ($bottom_txt[g_start]=='3' ) { ?> include "./comm/config_root.html"; $lng=jpn ; include "$skin_url_main/index.html"; ?> } else if ($bottom_txt[g_start]=='4' ) { ?> include "./comm/config_root.html"; $lng=chi ; include "$skin_url_main/index.html"; ?> } else if ($bottom_txt[g_start]=='5' ) { ?> include "./comm/config_root.html"; $lng=kor ; $shop_ck=main; ?>