コード例 #1
0
ファイル: list.inc.php プロジェクト: nicsopon/agilebill
 function check($input_id, $name, $table, $field, $default, $class)
 {
     include_once PATH_CORE . 'list_check.inc.php';
     echo list_check($input_id, $name, $table, $field, $default, $class);
 }
コード例 #2
0
    if (!$use_html) {
        $memo = del_html($memo);
    }
}
$data[memo] = $memo;
// 제목 제작
if (($is_admin || $member[level] <= $setup[use_html]) && $use_html) {
    $data[subject] = $subject;
} else {
    $data[subject] = del_html($subject);
}
// 기타 데이타 작성
$data[use_html] = $use_html;
$data[ismember] = $member[no];
// 데이타 가공
list_check($data, 1);
?>
<html>
<head>
	<title><?php 
echo $setup[title];
?>
</title>
	<meta http-equiv=Content-Type content=text/html; charset=EUC-KR>
	<link rel=StyleSheet HREF=skin/<?php 
echo $setup[skinname];
?>
/style.css type=text/css title=style>
</head>
<body topmargin='10'  leftmargin='10' marginwidth='10' marginheight='10' <?php 
if ($setup[bg_color]) {
コード例 #3
0
ファイル: view.php プロジェクト: kkskipper/KNOWME
        include "{$dir}/view_write_comment.php";
        $_skinTime += getmicrotime() - $_skinTimeStart;
    }
}
// 위, 아래글 출력, 코멘트, 버튼 출력
$_skinTimeStart = getmicrotime();
include $dir . "/view_foot.php";
$_skinTime += getmicrotime() - $_skinTimeStart;
// 관련글을 출력
if ($check_ref[0] > 1) {
    $_skinTimeStart = getmicrotime();
    include "{$dir}/view_list_head.php";
    $_skinTime += getmicrotime() - $_skinTimeStart;
    while ($data = mysql_fetch_array($view_result)) {
        // 데이타 정렬
        list_check($data);
        if ($data[no] == $no) {
            $number = "<img src={$dir}/arrow.gif border=0>";
        } else {
            $number = "&nbsp;";
        }
        // 목록을 출력하는 부분
        $_skinTimeStart = getmicrotime();
        include $dir . "/view_list_main.php";
        $_skinTime += getmicrotime() - $_skinTimeStart;
    }
    $_skinTimeStart = getmicrotime();
    include "{$dir}/view_list_foot.php";
    $_skinTime += getmicrotime() - $_skinTimeStart;
}
// layer 출력
コード例 #4
0
}
// 뽑혀진 데이타만큼 출력함
while ($data = @mysql_fetch_array($result)) {
    list_check(&$data);
    $_skinTimeStart = getmicrotime();
    if ($data[headnum] > -2000000000) {
        include $dir . "/list_main.php";
    } else {
        include $dir . "/list_notice.php";
    }
    $_skinTime += getmicrotime() - $_skinTimeStart;
    $loop_number--;
}
if ($check2) {
    while ($data = @mysql_fetch_array($result2)) {
        list_check(&$data);
        $_skinTimeStart = getmicrotime();
        if ($data[headnum] > -2000000000) {
            include $dir . "/list_main.php";
        } else {
            include $dir . "/list_notice.php";
        }
        $_skinTime += getmicrotime() - $_skinTimeStart;
        $loop_number--;
    }
}
// 마무리 부분 출력하는 부분;;
$_skinTimeStart = getmicrotime();
include $dir . "/list_foot.php";
$_skinTime += getmicrotime() - $_skinTimeStart;
if ($zbLayer) {