SNS 구조 및 기능 보완

This commit is contained in:
gnuboard
2013-06-04 13:15:21 +09:00
parent e245a53207
commit 9f6974cbcc
13 changed files with 47 additions and 26 deletions

View File

@ -166,8 +166,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
}
?>
<?php
// SNS 보내기
@include(G4_SKIN_PATH."/board/basic/view.sns.skin.php");
include(G4_SNS_PATH."/view.sns.skin.php");
?>
</section>

View File

@ -32,6 +32,9 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php } ?>
작성일
<span class="bo_vc_hdinfo"><time datetime="<?php echo date('Y-m-d\TH:i:s+09:00', strtotime($list[$i]['datetime'])) ?>"><?php echo $list[$i]['datetime'] ?></time></span>
<?php
include(G4_SNS_PATH."/view_comment_list.sns.skin.php");
?>
</header>
<!-- 댓글 출력 -->
@ -113,7 +116,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
</tr>
<?php } ?>
<?php
@include(G4_SKIN_PATH."/board/basic/view_comment.sns.skin.php");
include(G4_SNS_PATH."/view_comment_write.sns.skin.php");
?>
<tr>
<th scope="row">내용</th>

View File

@ -166,8 +166,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
}
?>
<?php
// SNS 보내기
@include(G4_SKIN_PATH."/board/basic/view.sns.skin.php");
include(G4_SNS_PATH."/view.sns.skin.php");
?>
</section>

View File

@ -32,6 +32,9 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php } ?>
작성일
<span class="bo_vc_hdinfo"><time datetime="<?php echo date('Y-m-d\TH:i:s+09:00', strtotime($list[$i]['datetime'])) ?>"><?php echo $list[$i]['datetime'] ?></time></span>
<?php
include(G4_SNS_PATH."/view_comment_list.sns.skin.php");
?>
</header>
<!-- 댓글 출력 -->
@ -113,6 +116,9 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
</tr>
<?php } ?>
<?php
include(G4_SNS_PATH."/view_comment_write.sns.skin.php");
?>
<?php
@include(G4_SKIN_PATH."/board/basic/view_comment.sns.skin.php");
?>
<tr>
@ -128,7 +134,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
</table>
<div class="btn_confirm">
<input type="submit" class="btn_submit" value="댓글등록">
<input type="submit" id="btn_submit" class="btn_submit" value="댓글등록">
</div>
</form>
@ -236,6 +242,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php if($is_guest) echo chk_captcha_js(); ?>
document.getElementById("btn_submit").disabled = "disabled";
return true;
}