short open tag off
This commit is contained in:
12
index.php
12
index.php
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
define('_INDEX_', true);
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -19,7 +19,7 @@ include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<!-- 메인화면 최신글 시작 -->
|
||||
<?
|
||||
<?php
|
||||
// 최신글
|
||||
$sql = " select bo_table from `{$g4['board_table']}` a left join `{$g4['group_table']}` b on (a.gr_id=b.gr_id) where a.bo_device <> 'mobile' order by b.gr_order, a.bo_order ";
|
||||
$result = sql_query($sql);
|
||||
@ -27,8 +27,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
if ($i%2==1) $lt_style = "margin-left:20px";
|
||||
else $lt_style = "";
|
||||
?>
|
||||
<div style="float:left;<?=$lt_style?>">
|
||||
<?
|
||||
<div style="float:left;<?php echo $lt_style ?>">
|
||||
<?php
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
|
||||
|
||||
@ -37,11 +37,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo latest("basic", $row['bo_table'], 5, 25);
|
||||
?>
|
||||
</div>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<!-- 메인화면 최신글 끝 -->
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user