Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-03-19 09:30:33 +09:00
5 changed files with 10 additions and 18 deletions

View File

@ -3,7 +3,7 @@ include_once('./_common.php');
// 로그인중인 경우 회원가입 할 수 없습니다.
if ($is_member) {
goto_url(G4_PATH);
goto_url(G4_URL);
}
// 세션을 지웁니다.

View File

@ -1,12 +1,12 @@
<?
include_once('./_common.php');
if (isset($_SESSION['ss_mb_reg']))
if (isset($_SESSION['ss_mb_reg']))
$mb = get_member($_SESSION['ss_mb_reg']);
// 회원정보가 없다면 초기 페이지로 이동
if (!$mb['mb_id'])
goto_url(G4_PATH);
if (!$mb['mb_id'])
goto_url(G4_URL);
$g4['title'] = '회원가입이 완료되었습니다.';
include_once('./_head.php');

View File

@ -42,6 +42,9 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
$filename = basename($srcfile);
$filepath = dirname($srcfile);
preg_match("/alt=[\'\"]{1}(.*)[\'\"]{1}/", $matchs[0][$i], $malt);
$alt = get_text($malt[1]);
break;
}
}

View File

@ -1,19 +1,8 @@
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
global $is_admin;
// 투표번호가 넘어오지 않았다면 가장 큰(최근에 등록한) 투표번호를 얻는다
if (!$po_id) {
$po_id = $config['cf_max_po_id'];
if (!$po_id) return;
}
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
?>
<form name="fpoll" action="<?=G4_BBS_URL?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="win_poXll" method="post">
<form name="fpoll" action="<?=G4_BBS_URL?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="win_poll" method="post">
<input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="skin_dir" value="<?=$skin_dir?>">
<section id="poll">
@ -55,7 +44,7 @@ function fpoll_submit(f)
return false;
}
win_poll();
win_poll(f.action);
return true;
}

View File

@ -44,7 +44,7 @@ function fpoll_submit(f)
return false;
}
win_poll();
win_poll(f.action);
return true;
}