불당썸 그걸로 리스트는 수정을 했는데 index쪽은 안되더라구요 다른 사이트는 cimg 이런거 있어서 하라는대로 주석처리하고 하면 수정이 됐는데 이 사이트는 좀 다르게 되있어서 어렵네요 ;;
코드는
<table width="347" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="javascript:GoPage('6_3');"><img src="img/photo_tit.gif" width="347" height="43"></a></td>
</tr>
<tr>
<td align="center"><!--포토갤러리_사이즈_123_76 -->
<table border="10" cellspacing="0" cellpadding="0">
<tr>
<td width="137" height="92" align="center" background="img/photo_box.jpg">
<?
$sql_main = "select * from photo order by no DESC";
$page_view = 2;
$sq1=mysql_query("$sql_main limit $page_view");
$total = mysql_num_rows($sq1);
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
<table width="123" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="76"><!--포토갤러리_사이즈_123_76 -->
<?if($file_name[0]){?>
<A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
</tr>
</table>
</td>
<td width="30" height="92"> </td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
<td width="137" align="center" background="img/photo_box.jpg">
<table width="123" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="76"><?if($file_name[0]){?>
<A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
</tr>
</table>
</td>
</tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
<tr>
<td height="25" align="center" class="main_photo_tit"><!--타이틀출력 -->
<?=textCut($sq[subject],20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
<td align="center" class="main_photo_tit"> </td>
<td align="center" class="main_photo_tit"><?=textCut($sq[subject],20)?></td>
</tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
<tr>
<td height="30" class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
<td> </td>
<td class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<tr>
<td><a href="javascript:GoPage('6_3');"><img src="img/photo_tit.gif" width="347" height="43"></a></td>
</tr>
<tr>
<td align="center"><!--포토갤러리_사이즈_123_76 -->
<table border="10" cellspacing="0" cellpadding="0">
<tr>
<td width="137" height="92" align="center" background="img/photo_box.jpg">
<?
$sql_main = "select * from photo order by no DESC";
$page_view = 2;
$sq1=mysql_query("$sql_main limit $page_view");
$total = mysql_num_rows($sq1);
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
<table width="123" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="76"><!--포토갤러리_사이즈_123_76 -->
<?if($file_name[0]){?>
<A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
</tr>
</table>
</td>
<td width="30" height="92"> </td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
<td width="137" align="center" background="img/photo_box.jpg">
<table width="123" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="76"><?if($file_name[0]){?>
<A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
</tr>
</table>
</td>
</tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
<tr>
<td height="25" align="center" class="main_photo_tit"><!--타이틀출력 -->
<?=textCut($sq[subject],20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
<td align="center" class="main_photo_tit"> </td>
<td align="center" class="main_photo_tit"><?=textCut($sq[subject],20)?></td>
</tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
<tr>
<td height="30" class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
<td> </td>
<td class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
이렇게 되있습니다
어디를 수정해야 할까요 ㅠ
게시글 목록
| 번호 | 제목 |
|---|---|
| 1331 |
HTML
https 적용시
2
|
| 1324 | |
| 1320 |
HTML
자바스크립트 고급 팁&트릭 모음
5
|
| 1318 |
HTML
그누보드 프로그램 교육해주실 분
1
|
| 1312 |
HTML
모바일웹으로 포워딩하는 스크립트
6
|
| 1310 |
HTML
sql문 하나 도와주십시오 ㅠㅠ
1
|
| 1307 | |
| 1298 |
HTML
제발 부탁드립니다!! ㅜㅜㅜ
8
|
| 1293 | |
| 1290 | |
| 1286 | |
| 1282 |
HTML
한글파일 다운로드 받는 방법?
3
|
| 1277 |
HTML
아파치 에러로그
4
|
| 1273 |
HTML
질문/ 서브메뉴가 고정 되는 방법
3
|
| 1271 | |
| 1268 |
HTML
그누보드 말이지요...
2
|
| 1264 | |
| 1262 |
HTML
등록번호 재발급 요청드립니다.
1
|
| 1257 |
HTML
이건 무슨문제일까요..
4
|
| 1255 |
HTML
도와주세요 ㅠㅠ
1
|
| 1251 |
HTML
미치겠어요.도와주세요
3
|
| 1246 |
HTML
정말 미칠거 같아요
4
|
| 1243 |
HTML
고수님들 도와주세요.
2
|
| 1240 | |
| 1234 | |
| 1233 |
HTML
배경 이미지 - IE6 포함
1
|
| 1232 |
HTML
현재페이지 흑백으로 보이게 하기
|
| 1228 |
HTML
페이지 예쁘게 넘어가는 효과
4
|
| 1226 |
HTML
db 테이블 에러 좀 봐주세요..
1
|
| 1223 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기