메인페이지 최근사진 엑박 뜨는데요
불당썸 그걸로 리스트는 수정을 했는데 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>
이렇게 되있습니다
어디를 수정해야 할까요 ㅠ
게시글 목록
| 번호 | 제목 |
|---|---|
| 1411 | |
| 1410 |
HTML
배경이미지 고정하기 스타일시트
|
| 1409 | |
| 1407 | |
| 1406 |
HTML
HTML5 elements
|
| 1404 |
HTML
한글 체크 함수
1
|
| 1403 | |
| 1399 |
HTML
질문드립니다.답답해죽겠습니다.
3
|
| 1394 | |
| 1391 | |
| 1387 |
HTML
자바스크립트 정규식 질문 드립니다
3
|
| 1385 | |
| 1384 | |
| 1382 | |
| 1380 |
HTML
소스가 안되서 질문을 좀 드려요
1
|
| 1378 |
HTML
제이쿼리 부문 질문입니다.
1
|
| 1376 | |
| 1374 | |
| 1371 | |
| 1368 |
HTML
회원가입폼 수정
2
|
| 1364 |
HTML
[유트브]동영상 사이트 만들기
3
|
| 1360 |
HTML
도시 이름 한국어 리스트
4
|
| 1357 | |
| 1356 |
HTML
계정홈디렉토리에 파일 복사해 넣기
|
| 1349 | |
| 1347 | |
| 1341 |
HTML
html5 가이드 입니다.
5
|
| 1339 |
HTML
웹 접근성 검사 K-WAH 3.0
1
|
| 1336 | |
| 1334 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기