<!-- 목록 출력 -->
<table cellspacing="0" class="boardtable" >
<col width="60" />
<col width="62" />
<col width="413"/>
<col width="105" />
<col width="30" />
<col width="30" />
<col width="70" />
<thead>
<th class="num" scope="col" >{$lang->module}</th>
<th ></th>
<th class="title" scope="col" >{$lang->title}</th>
<th class="author" scope="col">{$lang->writer}</th>
<th class="reading" scope="col" >{$lang->readed_count}</th>
<th class="recommend" scope="col">{$lang->voted_count}</th>
<th class="date" scope="col">{$lang->date}</th>
</thead>
- <tbody >
<!--@if(!$document_list)-->
<tr class="bg_0">
<td class="title" colspan="6" >
{$lang->no_documents} <!-- 게시물이 없으면 등록된 글이 없음을 표시 -->
</td>
</tr>
<!--@end-->
{@$ttt=1}
<!--=======================================-->
<!--@foreach($document_list as $no => $document)-->
{@$doc_m_srl = $document->get('module_srl')}
{@$j_doc_mid = htmlspecialchars($module_list[$doc_m_srl]->browser_title)}
- <!--=======================================-->
- <?php
$ttt++;
echo "-{$mid}-";
$x=sprintf("가자 %d [%s]<br>",$ttt,$j_doc_mid);
$fp = fopen("assa.txt","w");
fputs($fp,$x);
fclose($fp);
- $fp = fopen("assa.txt", "r");
$a = fgets($fp,1000);
fclose($fp);
echo "$a";
- ?>
- <!--=======================================-->
- <!--@if(($j_doc_mid != "수퍼맨작업실")&&($j_doc_mid != "비공개회의실"))-->
- <tr class="bg_{($no+1)%2+1}" onmouseover="this.style.backgroundColor='#d0ffea';" onmouseout="this.style.backgroundColor='';">
<!--========================================-->
<td class="num"> <!-- rowspan="2"-->
<!--@if($document_srl == $document->document_srl)-->
<img src="./images/common/iconArrowD8.gif" alt="" border="0" />
<!--@else-->
<!--@if($grant->is_admin)-->
<span id="jdocsrl">
<!--@if($document->isNotice())-->{$lang->notice}<!--@else-->{$document->document_srl}<!--@end-->
</span>
<br>
<!--@end-->
<span id="jbrowser">
<a href="{getUrl('','mid',$module_list[$document->get('module_srl')]->mid)}" >
{$j_doc_mid}
</a>
</span>
- 제로보드 스킨 파일의 리스트.html의 일부입니다.
- 노란색으로 표시한 php부분을 넣어서 파일에 저장하려고 시도중인데요
- 이상하게 저장도 안되고 출력도 안됩니다.
- $ttt는 출력되는데 $j_doc_mid는 입력도 출력도 안되네요
- 이유가 뭔지 모르겠습니다.
php를 처음해봐서 이해를 못하겠습니다.
아주 오래전에 C언어 문법을 조금 배운적은 있을뿐 php를 아는 것은 아닙니다.
php.net에서 찾아봐도 알수가 없어서요
위 부분의 출력결과는 대충 이렇습니다.
--가자 1 []
--가자 2 []
비선교봉사활동 |
사회-사회봉사-비선교봉서활동 게시판입니다 |
하하 |
1 |
|
2007.09.21 |
연습입니다. | |
--가자 3 []
--가자 4 []
--가자 5 []
문화 |
이곳에 글을 올리면 ㅋㅋㅋ |
1 |
2 |
|
2007.09.14 |
사랑방에 보이겠지? | |