팁 공유 관련 궁금하신 사항이 있으면 이곳에 질문 해주세요.
검색을 해보시면 원하는 답을 찾을수도 있답니다.
팁관련 답변은 누구나 하실 수 있습니다.
  • 웹미니 한줄 전광판 영역 입니다.
글 수 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/9d8/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
번호 제목 글쓴이 날짜 조회 수
165 메인에 있는 nav 질문이 있는데요. [1] 김경호 2004-08-15 1524
164 이상 합니다 file [7] 에벤에셀 2004-08-14 1519
163 안녕하세요. 지난번에 질문드린.. [1] 김종창 2004-08-14 1523
162 테크노트 의 게시물을 제로보드로. [2] 맑은숲 2004-08-11 1583
161 관리자님.. file 나그네 2004-08-10 1527
160 [re] 관리자님.. [2] title: [ani]깜빡이는 표정빽짱구 2004-08-10 1572
159 설문조사 스킨 적용에 대하여 [2] 에벤에셀 2004-08-09 1568
158 [re] 설문조사 스킨 적용에 대하여 file [2] title: [ani]깜빡이는 표정빽짱구 2004-08-09 1526
157 안녕하세요.. 오랜만에 다시 질문드리네요.. file [6] 김종창 2004-08-09 1586
156 끝말이어가기 스킨에서. [4] 맑은숲 2004-08-09 1574
155 질문방은 제가 접수; [1] VIBA 2004-08-04 1523
154 혹시...아세요? [2] 맑은숲 2004-08-04 1528
153 또 질문이요~ VIBA 2004-08-01 1538
152 [re] 또 질문이요~ [3] title: [ani]깜빡이는 표정빽짱구 2004-08-01 1548
151 --;;;; VIBA 2004-07-31 1505
150 [re] --;;;; [2] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1518
149 헬푸미... [2] 맑은숲 2004-07-31 1491
148 앗,또 ^^; [2] gohm 2004-07-31 1735
147 [re] 아니면 이렇게 해보세요. [13] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1587
146 [re] 방명록 [3] title: [ani]깜빡이는 표정빽짱구 2004-07-31 1405