Merge branch 'g5'
This commit is contained in:
@ -14,6 +14,15 @@ else
|
||||
$g5['title'] = '회원 비밀번호 확인';
|
||||
include_once('./_head.sub.php');
|
||||
|
||||
$url = $_GET['url'];
|
||||
|
||||
$p = parse_url($url);
|
||||
if ((isset($p['scheme']) && $p['scheme']) || (isset($p['host']) && $p['host'])) {
|
||||
//print_r2($p);
|
||||
if ($p['host'].(isset($p['port']) ? ':'.$p['port'] : '') != $_SERVER['HTTP_HOST'])
|
||||
alert('url에 타 도메인을 지정할 수 없습니다.');
|
||||
}
|
||||
|
||||
include_once($member_skin_path.'/member_confirm.skin.php');
|
||||
|
||||
include_once('./_tail.sub.php');
|
||||
|
||||
@ -100,6 +100,8 @@ function get_view_thumbnail($contents, $thumb_width=0)
|
||||
$width = $m[1];
|
||||
preg_match("/height:\s*(\d+)px/", $style, $m);
|
||||
$height = $m[1];
|
||||
preg_match("/alt=[\"\']?([^\"\']*)[\"\']?/", $img, $m);
|
||||
$alt = get_text($m[1]);
|
||||
|
||||
// 이미지 path 구함
|
||||
$p = parse_url($src);
|
||||
@ -165,8 +167,6 @@ function get_view_thumbnail($contents, $thumb_width=0)
|
||||
else
|
||||
$thumb_file = $filename;
|
||||
|
||||
preg_match("/alt=[\"\']?([^\"\']*)[\"\']?/", $img_tag, $malt);
|
||||
$alt = get_text($malt[1]);
|
||||
if ($width) {
|
||||
$thumb_tag = '<img src="'.G5_URL.str_replace($filename, $thumb_file, $data_path).'" alt="'.$alt.'" width="'.$width.'" height="'.$height.'"/>';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user