팁 공유 관련 궁금하신 사항이 있으면 이곳에 질문 해주세요.
검색을 해보시면 원하는 답을 찾을수도 있답니다.
팁관련 답변은 누구나 하실 수 있습니다.
  • 웹미니 한줄 전광판 영역 입니다.
글 수 905

3

조회 수 : 1405 신고 : 0

profile
작성자 : title: [ani]깜빡이는 표정빽짱구
포인트 : 56933 | 레벨 : 25
<? include "$dir/variable.php"; ?>

<script language="javascript">

function rChgImg(num)
{
document.write.NowImg.src = "<?=$dir?>/icon/icon_"+num+".gif";
document.write.sitelink2.value =num;
}

</script>


<SCRIPT LANGUAGE="JavaScript">
<!--
function zb_formresize_inc(obj) {
obj.rows += 3;
}
function zb_formresize_dec(obj) {
if (obj.rows >=11) {
obj.rows -= 3;
}
}
// -->
</SCRIPT>

<?
if($mode=="reply") { ?>

<table align="center" border="0" width=400 bgcolor=#EEEEEE style='table-layout:fixed ;word-break:break-all;' >
<tr>
<td align=left style="width:99%;height=20 padding:10;"><?=$data[name]?> (<?= $date=date("m/d H:i", $data[reg_date])?>)</td>
</tr>
<tr>
<td align=center style="width:99%;height:100%;overflow-x:hidden;overflow-y:auto; padding:10"><?=trim(nl2br(stripslashes($data[memo])))?></td>
</tr>
</table>
<? } ?>


<table>
<form method=post name=write action=write_ok.php enctype=multipart/form-data>
<input type=hidden name=page value=<?=$page?>>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<? if ($rViewSubject==0) { ?>
<input type=hidden name=subject value="guest subject">
<? } ?>
<input type=hidden name=mode value="<?=$mode?>">

<table align=center border="0" width=400 cellspacing=0>
<?=$hide_start?>

<tr>
<td width="40" ><img src=<?=$dir?>/w_id.gif border=0></td>
<td width="160" ><input type=text name=name value="<?=$name?>" <?=size(20)?> maxlength=20 style=width:160 class=rinput ></td>
<td width="40" ><img src=<?=$dir?>/w_password.gif border=0></td>
<td width="170"><input type=password name=password value="<?=$password?>" <?=size(20)?> maxlength=20 style=width:170 class=rinput ></td>
</tr>
<tr>
<td width="40" ><img src=<?=$dir?>/w_mail.gif border=0></td>
<td width="160" ><input type=text name=email value="<?=$email?>" <?=size(20)?> maxlength=50 style=width:160 class=rinput ></td>
<td width="40" ><img src=<?=$dir?>/w_homepage.gif border=0></td>
<td width="170" ><input type=text name=homepage value="<?=$homepage?>" <?=size(40)?> maxlength=200 style=width:170 class=rinput ></td>
</tr>


<?=$hide_end?>
</table>
<? if ($rViewSubject==1) { ?>
<table align=center border="0" width=400 cellspacing=0 >

<tr valign=center>
<td width="40" ><img src=<?=$dir?>/w_subject.gif border=0></td>
<td>
<? if($mode=="reply") { ?>
<input type=text name=subject value="" <?=size(60)?> maxlength=200 style=width:100% class=input>
<? } elseif($mode=="modify") { ?>
<input type=text name=subject value="<?=$subject?>" <?=size(60)?> maxlength=200 style=width:100% class=input>
<? } else { ?>
<input type=text name=subject value="" <?=size(60)?> maxlength=200 style=width:100% class=input>
<? } ?>
</td>
</tr>
</table>
<? } ?>

<table align=center border="0" width=400 cellspacing=0>
<tr>
<td colspan="4" >

<? if($mode=="modify") { ?>

<?=$hide_notice_start?> <input type=checkbox name=notice <?=$notice?> value=1 > Notice <?=$hide_notice_end?>
<?=$hide_html_start?> <input type=checkbox name=use_html <?=$use_html?> value=1 > Use html <?=$hide_html_end?>
<input type=checkbox name=reply_mail <?=$reply_mail?> value=1 > Reply mail
<img src=<?=$dir?>/btn_down.gif border=0 valign=absmiddle style=cursor:hand; onclick=zb_formresize_inc(document.write.memo)>
<img src=<?=$dir?>/btn_up.gif border=0 valign=absmiddle style=cursor:hand; onclick=zb_formresize_dec(document.write.memo)>

<? } else { ?>
<?=$hide_notice_start?> <input type=checkbox name=notice value=1 > Notice <?=$hide_notice_end?>
<?=$hide_html_start?> <input type=checkbox name=use_html value=1 > Use html <?=$hide_html_end?>
<input type=checkbox name=reply_mail value=1 checked> Reply mail
<img src=<?=$dir?>/btn_down.gif border=0 valign=absmiddle style=cursor:hand; onclick=zb_formresize_inc(document.write.memo)>
<img src=<?=$dir?>/btn_up.gif border=0 valign=absmiddle style=cursor:hand; onclick=zb_formresize_dec(document.write.memo)>



<? } ?>
</td>
</tr>
<tr>
<td colspan=4>
<?
for($i=1;$i<=$rImageCount;$i++) echo "<a href='javascript:rChgImg($i)' onfocus='this.blur()'><img src='$dir/icon/icon_$i.gif' width=$rListImageWidth height=$rListImageHeight border=0></a> ";
?>
</td>
</tr>
</table>
<table align="center" border="0" width=400 cellspacing=0>
<tr>
<td colspan="4">
<table border="0" width=400 height=100 cellspacing=0 >
<tr>
<td width="100" height=100 valign=top align=left>

<? if($mode=="reply" || $mode=="modify") { ?>
<? if ($data[sitelink2]) { ?>
<img src="<?=$dir?>/icon/icon_<?=$data[sitelink2]?>.gif" width=100 height=100 border="0" name="NowImg">
<? } else { ?>
<img src="<?=$dir?>/icon/icon_1.gif" width=100 height=100 border="0" name="NowImg">
<? } ?>
<? } else { ?>
<img src="<?=$dir?>/icon/icon_1.gif" width=100 height=100 border="0" name="NowImg">
<? } ?>
</td>

<? if($mode=="reply") { ?>
<td height=100 valign=top style='word-break:break-all;'><textarea name=memo <?=size2(90)?> rows=8 style=width:100% class=rTextarea ></textarea></td>
<? } elseif($mode=="modify") { ?>
<td height=100 valign=top style='word-break:break-all;'><textarea name=memo <?=size2(90)?> rows=8 style=width:100% class=rTextarea ><?=$memo?></textarea></td>
<? } else { ?>
<td height=100 valign=top style='word-break:break-all;'><textarea name=memo <?=size2(90)?> rows=8 style=width:100% class=rTextarea ></textarea></td>
<? } ?>
</tr>
</table>
</td>
</tr>
</table>
<table align="center" border="0" width=400 cellspacing=0 >

<?
if($mode=="reply") { if ($data[sitelink2]) { ?>
<td><input type=hidden style="width:100%" type=text name=sitelink2 value="<?=$data[sitelink2]?>" > </td>
<? } else { ?>
<td><input type=hidden style="width:100%" type=text name=sitelink2 value="1" ></td>
<? }

} else { if ($data[sitelink2]) { ?>
<td><input type=hidden style="width:100%" type=text name=sitelink2 value="<?=$sitelink2?>" > </td>
<? } else { ?>
<td><input type=hidden style="width:100%" type=text name=sitelink2 value="1" ></td>
<? }
} ?>
</table>
<table align="center" border="0" width=400 cellspacing=0 >


<tr>
<td align=right>
<input type=image src=<?=$dir?>/btn_writeok.gif border=0 onfocus=blur() border=0 >  
<? if($mode=="reply") { ?>
<a href=javascript:void(history.back()) onfocus=blur()><img src=<?=$dir?>/btn_writecancel.gif border=0> </a>
<? } ?>
<? if($mode=="modify") { ?>
<a href=javascript:void(history.back()) onfocus=blur()><img src=<?=$dir?>/btn_writecancel.gif border=0> </a>
<? } ?>

</td>

</tr>
</table>
</form>
<!-- </table> -->
profile 글쓴이 빽짱구

단점이 없는 사람은 장점도 거의 없다 - 에이브러햄 링컨

엮인글 :
https://web.webmini.net/question/14991/c04/trackback
소중한 댓글 부탁드립니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 BEST 아이콘이 붙게됩니다.
추천수에 따른 배경색 보기 본문으로 바로가기
  • 추천수 50개이상
  • 추천수 30개이상
  • 추천수 20개이상
  • 추천수 10개이상
  • 추천수 3개이상
닫기

댓글 '3'

profile
title: [ani]깜빡이는 표정빽짱구 (14992)

2004.07.31 13:32:09

작성자
이렇게 해보세요.. 안되시면 저도 잘 모르겟어요.. 직접해보면서 해야하는데..일딴 위에 소스데로 해보시고 줄어드는지 확인해보세요.
VIBA (14993)

2004.07.31 13:35:14

우와아-되네요~!
어디가 바뀌었는진 모르겠지만
잘되네요~넘 감사해요-
profile
title: [ani]깜빡이는 표정빽짱구 (14994)

2004.07.31 14:02:52

작성자
잘되어서 다행이네요.. 인제 저도 영화나 감상해야겠네요..^^
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
905 출첵게시판 [3] title: [ani]보라색 나비바비인형 2004-06-10 7116
904 외부로그인과 게시판 로그인버튼 등의 문제 [2] 비전 2007-02-04 6723
903 즐겨찾기 아이콘 <link rel="shortcut icon" href="/images/fav.ico"> file [3] 김선생 2008-05-23 6585
902 아이폰 카테고리 위젯질문 [5] 전설의아라곤 2009-08-30 6501
901 이전 카페24에서 구글메일 설정하는 글이있었는데 없어졌네요.. [3] holix2 2009-08-24 6187
900 텍스타일용 스킨 아이폰 위젯 [1] ks 2009-09-01 6106
899 오픈 아이디 로그인 file [2] 레디 2009-07-16 6066
898 웹미니 레이아웃 버그 문의 드립니다.. file [2] gallerzone 2009-07-28 6042
897 제로보드 xe 1.2.4에서 레이아웃 적용시 2차메뉴가 안보이는데요 [7] 말라말라 2009-07-24 5906
896 웹미니 최근글위젯 사용법 [2] jts 2009-08-12 5657
895 웹미니 검색 레이아웃 적용안됩니다..;; ? file [2] 뉴클리어 2009-08-23 5638
894 저 웹미니. 이건 뭐죠 (?) file [1] 뉴클리어 2009-07-20 5580
893 웹미니 상단메뉴의 new 아이콘.. [5] gallerzone 2009-07-28 5566
892 검색용 레이아웃 ie6에서 깨져서 나옵니다. [4] illamian 2009-08-23 5507
891 메뉴주소 경로 설정 질문 [2] 전설의아라곤 2009-09-02 5456
890 2단 레이아웃의 좌측 2차 메뉴에 버그가 있습니다.^^ [4] flowerrain 2009-08-28 5456
889 백짱구님 봐주세요! 레이아웃 관련... [2] 만남 2009-08-22 5451
888 뻑짱구님 안녕하세요? ^^ 질문하나 드릴꼐요 file [9] 앙피니 2006-11-07 5378
887 회원가입시 생일 입력하는 것이 너무 힘드네요. [3] 연인의삶 2009-09-03 5375
886 빽짱구님 [1] 아하 2009-07-30 5367