팁 공유 관련 궁금하신 사항이 있으면 이곳에 질문 해주세요.
검색을 해보시면 원하는 답을 찾을수도 있답니다.
팁관련 답변은 누구나 하실 수 있습니다.
  • 웹미니 한줄 전광판 영역 입니다.
글 수 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/ded/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 조회 수
165 [re] --;;;; [2] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1518
164 --;;;; VIBA 2004-07-31 1505
163 헬푸미... [2] 맑은숲 2004-07-31 1491
162 [re] 방명록 [3] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1405
161 [re] 아니면 이렇게 해보세요. [13] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1587
160 [re] 앗,또 ^^; [2] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1862
159 앗,또 ^^; [2] gohm 2004-07-31 1735
158 짱구님 ~ secret [4] gohm 2004-07-30 287
157 짱구님.. [2] gohm 2004-07-29 1567
156 관리자님.. [3] 나그네 2004-07-28 1606
155 도와주세요 [2] gohm 2004-07-28 1418
154 [re] 관리자님 file [1] title: [ani]깜빡이는 표정빽짱구 2004-07-27 1562
153 관리자님 file 나그네 2004-07-27 1508
152 관리자님.. [1] 나그네 2004-07-27 1469
151 백짱구님 계졍 무료로 주는데없는가요? [1] 조민수 2004-07-27 1576
150 도와주셔요..... [2] 맑은숲 2004-07-26 1511
149 [re] 찾아봐도..안보여서요.. [2] title: [ani]깜빡이는 표정빽짱구 2004-07-26 1517
148 찾아봐도..안보여서요.. 맑은숲 2004-07-26 1573
147 짱구님..ㅜㅜ secret [11] bunny 2004-07-26 310
146 게시판 본문 내용이 길어지면 테이블이 길게 보이면서.. [1] 김종창 2004-07-22 1736