인기검색어 스킨 및 lib

This commit is contained in:
whitedot
2012-12-07 14:13:24 +09:00
parent 32e624809a
commit 0fc633a5a8
6 changed files with 24 additions and 20 deletions

View File

@ -11,7 +11,7 @@ if ($g4['is_cheditor5'])
global $g4;
return "
<script type='text/javascript'>
<script>
var ed_{$id} = new cheditor('ed_{$id}');
ed_{$id}.config.editorHeight = '{$height}';
ed_{$id}.config.editorWidth = '{$width}';
@ -26,7 +26,7 @@ else
global $g4;
return "
<script type='text/javascript'>
<script>
var ed_{$id} = new cheditor('ed_{$id}');
ed_{$id}.config.editorHeight = '{$height}';
ed_{$id}.config.editorWidth = '{$width}';
@ -44,7 +44,7 @@ function cheditor2($id, $content='')
return "
<textarea name='{$id}' id='tx_{$id}' style='display:none;'>{$content}</textarea>
<script type='text/javascript'>
<script>
ed_{$id}.run();
</script>";
}

View File

@ -207,7 +207,7 @@ function get_file($bo_table, $wr_id)
while ($row = sql_fetch_array($result))
{
$no = $row['bf_no'];
$file[$no]['href'] = "./download.php?bo_table=$bo_table&wr_id=$wr_id&no=$no" . $qstr;
$file[$no]['href'] = "./download.php?bo_table=$bo_table&amp;wr_id=$wr_id&amp;no=$no" . $qstr;
$file[$no]['download'] = $row['bf_download'];
// 4.00.11 - 파일 path 추가
$file[$no]['path'] = $g4['path'].'/data/file/'.$bo_table;
@ -334,7 +334,7 @@ function get_list($write_row, $board, $skin_path, $subject_len=40)
$list['ca_name_href'] = $g4['bbs_path'].'/board.php?bo_table='.$board['bo_table'].'&amp;sca='.urlencode($list['ca_name']);
$list['href'] = $g4['bbs_path'].'/board.php?bo_table='.$board['bo_table'].'&amp;wr_id='.$list['wr_id'].$qstr;
//$list['href'] = "$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id=$list[wr_id]";
//$list['href'] = "$g4[bbs_path]/board.php?bo_table=$board[bo_table]&amp;wr_id=$list[wr_id]";
if ($board['bo_use_comment'])
$list['comment_href'] = "javascript:win_comment('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&amp;wr_id={$list['wr_id']}&amp;cwin=1');";
else

View File

@ -29,11 +29,11 @@ function send_trackback($tb_url, $url, $title, $blog_name, $excerpt)
$title = strip_tags($title);
$excerpt = strip_tags($excerpt);
$tmp_data = "url=".rawurlencode($url)."&title=".rawurlencode($title)."&blog_name=".rawurlencode($blog_name)."&excerpt=".rawurlencode($excerpt);
$tmp_data = "url=".rawurlencode($url)."&amp;title=".rawurlencode($title)."&amp;blog_name=".rawurlencode($blog_name)."&amp;excerpt=".rawurlencode($excerpt);
//주소 처리
$uinfo = parse_url($tb_url);
if($uinfo['query']) $tmp_data .= "&".$uinfo['query'];
if($uinfo['query']) $tmp_data .= "&amp;".$uinfo['query'];
if(!$uinfo['port']) $uinfo['port'] = "80";
//최종 전송 자료