묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요?
2005.05.31 19:37
회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요?
$lang->msg_exists_nick_name = \
댓글 3
-
홈리스
2005.06.01 12:52
-
홈리스
2005.06.01 13:20
워 소스에서요
<base target="_top">
부분을
<base target="body">
이렇케 소중하세요 -
이동근
2005.06.01 13:11
답변 정말 감사합니다 ㅠ_ㅠ
<?
$_zb_url = "bbs/"; //제로보드 폴더명만 적으세요
$_zb_path = "bbs/"; //제로보드 폴더명만 적으세요
include $_zb_path."outlogin.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>
<head>
<title>스크롤 공지사항</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
BODY,TABLE,TR,TD,SELECT,input,DIV,form,TEXTAREA,center,option,pre,blockquote {font-size:9pt; font-family:굴림; color:#666666; line-height:170%;}
A:link {color:666666;text-decoration:none;}
A:visited {color:666666;text-decoration:none;}
A:active {color:666666;text-decoration:none;}
A:hover {color:gray;text-decoration:none;}
</style>
<base target="_top">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<script language="javascript">
<!--
//Math.random()
var scrollerheight=100; // 스크롤러의 세로
var html,total_area=0,wait_flag=true;
var bMouseOver = 1;
var scrollspeed = 1; // Scrolling 속도
var waitingtime = 5000; // 멈추는 시간
var s_tmp = 0, s_amount = 60;
var scroll_content=new Array();
var startPanel=0, n_panel=0, i=0;
function startscroll()
{ // 스크롤 시작
i=0;
for (i in scroll_content)
n_panel++;
n_panel = n_panel -1 ;
startPanel = Math.round(Math.random()*n_panel);
if(startPanel == 0)
{
i=0;
for (i in scroll_content)
insert_area(total_area, total_area++);
}
else if(startPanel == n_panel)
{
insert_area(startPanel, total_area);
total_area++;
for (i=0; i<startPanel; i++)
{
insert_area(i, total_area);
total_area++;
}
}
else if((startPanel > 0) || (startPanel < n_panel))
{
insert_area(startPanel, total_area);
total_area++;
for (i=startPanel+1; i<=n_panel; i++)
{
insert_area(i, total_area);
total_area++;
}
for (i=0; i<startPanel; i++)
{
insert_area(i, total_area);
total_area++;
}
}
window.setTimeout("scrolling()",waitingtime);
}
function scrolling(){ // 실제로 스크롤 하는 부분
if (bMouseOver && wait_flag)
{
for (i=0;i<total_area;i++){
tmp = document.getElementById('scroll_area'+i).style;
tmp.top = parseInt(tmp.top)-scrollspeed;
if (parseInt(tmp.top) <= -scrollerheight){
tmp.top = scrollerheight*(total_area-1);
}
if (s_tmp++ > (s_amount-1)*scroll_content.length){
wait_flag=false;
window.setTimeout("wait_flag=true;s_tmp=0;",waitingtime);
}
}
}
window.setTimeout("scrolling()",1);
}
function insert_area(idx, n){
html='<div style="left: 0px; width: 100%; position: absolute; top: '+(scrollerheight*n)+'px" id="scroll_area'+n+'">\n';
html+=scroll_content[idx]+'\n';
html+='</div>\n';
document.write(html);
}
// 스크롤러에 들어갈 내용들을 태그와 함께 넣어 줍니다
<?
$id = "noti"; //불러낼 게시판 이름
$result = @mysql_query("select * from zetyx_board_$id where is_secret!='1' order by no desc limit 10"); // 최근에 게시된 게시물 중에서 10개만 뽑아와서 출력함
$result_category = @mysql_query("select * from zetyx_board_category_$id");
$i = 0;$j = 0;
while($data=@mysql_fetch_array($result)) {
$datetype="m-d";
$date = date($datetype, $data[reg_date]);
$subject = cut_str(stripslashes($data[subject]),25)."</font></b>";//제목 글자수자르기
if($i==0) {
echo "scroll_content[".$j."]=\"";
}
echo "<b>ㆍ</b><a href='./bbs/view.php?id=$id&no=$data[no]'>[".$date."]".$subject."</a><br>";
$i++;
if($i==5) {
echo "\";\n\t";
$i = 0; $j++;
}
}
?>
//-->
</script>
<table border="0" cellpadding="0" cellspacing="0" width="260">
<tr>
<td width="260"><img src="scroll_notice/top.gif" width="260" height="10" border="0"></td>
</tr>
<tr>
<td width="260" background="scroll_notice/middle.gif" height="53">
<table border="0" cellpadding="0" cellspacing="0" width="259" height="53" style="border-right-width:1; border-right-color:rgb(153,153,153); border-right-style:solid;">
<tr>
<td width="85"> </td>
<td width="175" valign=top><div style="position: absolute; width: 175px; height: 60px; overflow:hidden;" onMouseover="bMouseOver=0" onMouseout="bMouseOver=1" id="scroll_image"><script>startscroll();</script></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260"><img src="scroll_notice/bot.gif" width="260" height="17" border="0"></td>
</tr>
</table>
</body>
</html>
<?
if($connect) @mysql_close($connect);
?>