• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_paging函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_paging函数的典型用法代码示例。如果您正苦于以下问题:PHP get_paging函数的具体用法?PHP get_paging怎么用?PHP get_paging使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_paging函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: array

$item = array();
$sql = "select *\n        {$sql_common}\n        {$sql_search}\n        {$sql_order}\n        limit {$from_record}, {$rows} ";
$qry = sql_query($sql);
$list = array();
for ($i = 0; $row = sql_fetch_array($qry); ++$i) {
    $row[num] = $total_count - ($page - 1) * $rows - $i;
    if (is_null($item[$row['vt_num']])) {
        $tmp = sql_fetch(" select * from {$mw['vote_item_table']} where vt_id = '{$vt_id}' and vt_num = '{$row['vt_num']}' ");
        $item[$row['vt_num']] = $tmp['vt_item'];
    }
    $row['vt_item'] = $item[$row['vt_num']];
    $mb = get_member($row[mb_id], "mb_nick, mb_name, mb_email, mb_homepage");
    $row[name] = get_sideview($row[mb_id], $board[bo_use_name] ? $mb[mb_name] : $mb[mb_nick], $mb[mb_email], $mb[mb_homepage]);
    $list[$i] = $row;
}
$write_pages = get_paging($config[cf_write_pages], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?bo_table={$bo_table}&wr_id={$wr_id}{$qstr}&page=");
$colspan = 5;
$g4[title] = "설문 참여 목록";
include_once "{$g4['path']}/head.sub.php";
?>
<script src="<?php 
echo $g4[path];
?>
/js/sideview.js"></script>

<link rel="stylesheet" href="<?php 
echo $board_skin_path;
?>
/style.common.css" type="text/css">

<style>
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:mw.vote.list.php


示例2: get_paging

}
?>
    </tbody>
    </table>
</div>

<div class="btn_list01 btn_list">
    <input type="submit" name="act_button" value="선택수정" onclick="document.pressed=this.value">
    <input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
    <input type="submit" name="act_button" value="완전삭제" onclick="document.pressed=this.value">
</div>

</form>

<?php 
echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, '?' . $qstr . '&amp;page=');
?>

<script>
function fmemberlist_submit(f)
{
    if (!is_checked("chk[]")) {
        alert(document.pressed+" 하실 항목을 하나 이상 선택하세요.");
        return false;
    }

    if(document.pressed == "선택삭제") {
        if(!confirm("선택회원의 기본정보만 삭제되며 아이디, 닉네임 기록은 남습니다.\n\n선택한 자료를 정말 삭제하시겠습니까?")) {
            return false;
        }
    }
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:member_list.php


示例3: get_paging

if ($i == 0) {
    echo '<tr><td colspan="' . $colspan . '" class="empty_table">자료가 없습니다.</td></tr>';
}
?>
    </tbody>
    </table>
</div>

<div class="btn_list01 btn_list">
    <input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
</div>

</form>

<?php 
echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?{$qstr}&amp;page=");
?>

<section id="point_mng">
    <h2 class="h2_frm">개별회원 포인트 증감 설정</h2>

    <form name="fpointlist2" method="post" id="fpointlist2" action="./point_update.php" autocomplete="off">
    <input type="hidden" name="sfl" value="<?php 
echo $sfl;
?>
">
    <input type="hidden" name="stx" value="<?php 
echo $stx;
?>
">
    <input type="hidden" name="sst" value="<?php 
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:point_list.php


示例4: get_paging

                <?php 
}
?>

                <?php 
if ($i == 0) {
    echo "<tr><td colspan=5 align=center height=100>자료가 없습니다.</td></tr>";
}
?>
                </table></td>
        </tr>
        </table></td>
</tr>
<tr> 
    <td height="30" align="center"><?php 
echo get_paging($config[cf_write_pages], $page, $total_page, "?{$qstr}&page=");
?>
</td>
</tr>
<tr> 
    <td height="2" align="center" valign="top" bgcolor="#D5D5D5"></td>
</tr>
<tr>
    <td height="2" align="center" valign="top" bgcolor="#E6E6E6"></td>
</tr>
<tr>
    <td height="40" align="center" valign="bottom"><a href="javascript:window.close();"><img src="<?php 
echo $member_skin_path;
?>
/img/btn_close.gif" width="48" height="20" border="0"></a></td>
</tr>
开发者ID:jin255ff,项目名称:company_website,代码行数:31,代码来源:scrap.skin.php


示例5: get_paging

} else {
    if ($stx) {
        echo '<p class="empty_list">검색된 게시물이 없습니다.</p>';
    } else {
        echo '<div class="empty_list">등록된 FAQ가 없습니다.';
        if ($is_admin) {
            echo '<br><a href="' . G5_ADMIN_URL . '/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.';
        }
        echo '</div>';
    }
}
?>
</div>

<?php 
echo get_paging($page_rows, $page, $total_page, $_SERVER['SCRIPT_NAME'] . '?' . $qstr . '&amp;page=');
?>

<?php 
// 하단 HTML
echo '<div id="faq_thtml">' . conv_content($fm['fm_tail_html'], 1) . '</div>';
if ($timg_src) {
    echo '<div id="faq_timg" class="faq_img"><img src="' . $timg_src . '" alt=""></div>';
}
?>

<fieldset id="faq_sch">
    <legend>FAQ 검색</legend>

    <form name="faq_search_form" method="get">
    <input type="hidden" name="fm_id" value="<?php 
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:list.skin.php


示例6: get_paging

    echo "<input type=hidden name=pp_id[{$i}] value='{$row['pp_id']}'>";
    echo "<tr class='list{$list} col1 ht center'>";
    echo "<td height=25><input type=checkbox name=chk[] value='{$i}'></td>";
    echo "<td align='left'>&nbsp; <a href='{$_SERVER['PHP_SELF']}?sfl=pp_word&stx={$word}'>{$word}</a></td>";
    echo "<td>{$row['pp_date']}</td>";
    echo "<td>{$row['pp_ip']}</td>";
    echo "</tr>";
    echo "<tr class='list{$list} col1 ht center'>";
    echo "</tr>\n";
}
if ($i == 0) {
    echo "<tr><td colspan='{$colspan}' align=center height=100 bgcolor=#ffffff>자료가 없습니다.</td></tr>";
}
echo "<tr><td colspan='{$colspan}' class='line2'></td></tr>";
echo "</table>";
$pagelist = get_paging($config[cf_write_pages], $page, $total_page, "{$_SERVER['PHP_SELF']}?{$qstr}&page=");
echo "<table width=100% cellpadding=3 cellspacing=1>";
echo "<tr><td width=50%>";
if ($is_admin == "super") {
    echo "<input type=button class='btn1' value='선택삭제' onclick=\"btn_check(this.form, 'delete')\">";
}
echo "</td>";
echo "<td width=50% align=right>{$pagelist}</td></tr></table>\n";
if ($stx) {
    echo "<script>document.fsearch.sfl.value = '{$sfl}';</script>";
}
?>
</form>

<?php 
include_once "./admin.tail.php";
开发者ID:jin255ff,项目名称:company_website,代码行数:31,代码来源:popular_list.php


示例7: get_text

    for ($i = 0; $row = sql_fetch_array($result); $i++) {
        $list[$i] = $row;
        $list[$i]['category'] = get_text($row['qa_category']);
        $list[$i]['subject'] = conv_subject($row['qa_subject'], $subject_len, '…');
        if ($stx) {
            $list[$i]['subject'] = search_font($stx, $list[$i]['subject']);
        }
        $list[$i]['view_href'] = G5_BBS_URL . '/qaview.php?qa_id=' . $row['qa_id'] . $qstr;
        $list[$i]['icon_file'] = '';
        if (trim($row['qa_file1']) || trim($row['qa_file2'])) {
            $list[$i]['icon_file'] = '<img src="' . $qa_skin_url . '/img/icon_file.gif">';
        }
        $list[$i]['name'] = get_text($row['qa_name']);
        $list[$i]['date'] = substr($row['qa_datetime'], 2, 8);
        $list[$i]['num'] = $num - $i;
    }
    $is_checkbox = false;
    $admin_href = '';
    if ($is_admin) {
        $is_checkbox = true;
        $admin_href = G5_ADMIN_URL . '/qa_config.php';
    }
    $list_href = G5_BBS_URL . '/qalist.php';
    $write_href = G5_BBS_URL . '/qawrite.php';
    $list_pages = preg_replace('/(\\.php)(&amp;|&)/i', '$1?', get_paging(G5_IS_MOBILE ? $qaconfig['qa_mobile_page_rows'] : $qaconfig['qa_page_rows'], $page, $total_page, './qalist.php' . $qstr . '&amp;page='));
    $stx = get_text(stripslashes($stx));
    include_once $skin_file;
} else {
    echo '<div>' . str_replace(G5_PATH . '/', '', $skin_file) . '이 존재하지 않습니다.</div>';
}
include_once './_tail.php';
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:qalist.php


示例8: sql_query

// 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows;
// 시작 열을 구함
$sql = "select *\r\n        {$sql_common}\r\n        {$sql_search}\r\n        {$sql_order}\r\n        limit {$from_record}, {$rows} ";
$qry = sql_query($sql);
$list = array();
for ($i = 0; $row = sql_fetch_array($qry); ++$i) {
    $row[num] = $total_count - ($page - 1) * $rows - $i;
    $mb = get_member($row[mb_id], "mb_id, mb_nick, mb_homepage, mb_email");
    $row[name] = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_homepage], $mb[mb_email]);
    if (!$row[bm_limit][0]) {
        $row[bm_limit] = '';
    }
    $list[$i] = $row;
}
$write_pages = get_paging($rows, $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?bo_table={$bo_table}{$qstr}&page=");
//$g4[title] = "배추 BASIC SKIN 접근권한 설정";
//include_once("$g4[path]/head.sub.php");
?>
<!doctype html>
<html lang="ko">
<head>
<meta charset="<?php 
echo $g4['charset'];
?>
">
<title><?php 
echo $g4['title'];
?>
</title>
<script>
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:mw.board.member.php


示例9: get_paging

        <td class="td_category"><?php 
    echo $os;
    ?>
</td>
        <td class="td_datetime"><?php 
    echo $row['vi_date'];
    ?>
 <?php 
    echo $row['vi_time'];
    ?>
</td>
    </tr>

    <?php 
}
if ($i == 0) {
    echo '<tr><td colspan="' . $colspan . '" class="empty_table">자료가 없거나 관리자에 의해 삭제되었습니다.</td></tr>';
}
?>
    </tbody>
    </table>
</div>

<?php 
if (isset($domain)) {
    $qstr .= "&amp;domain={$domain}";
}
$qstr .= "&amp;page=";
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?{$qstr}");
echo $pagelist;
include_once './admin.tail.php';
开发者ID:khk0613,项目名称:YHK,代码行数:31,代码来源:visit_list.php


示例10: sql_query

    $sql = " select *\n                {$sql_common}\n                {$sql_search}\n                {$sql_order}\n                limit {$from_record}, {$page_rows} ";
    $result = sql_query($sql);
    $list = array();
    $num = $total_count - ($page - 1) * $page_rows;
    $subject_len = $qaconfig['qa_subject_len'];
    for ($i = 0; $row = sql_fetch_array($result); $i++) {
        $list[$i] = $row;
        $list[$i]['category'] = get_text($row['qa_category']);
        $list[$i]['subject'] = conv_subject($row['qa_subject'], $subject_len, '…');
        if ($stx) {
            $list[$i]['subject'] = search_font($stx, $list[$i]['subject']);
        }
        $list[$i]['view_href'] = G5_ADMIN_URL . '/shop_admin/admin_qaview.php?qa_id=' . $row['qa_id'] . $qstr;
        $list[$i]['icon_file'] = '';
        if (trim($row['qa_file1']) || trim($row['qa_file2'])) {
            $list[$i]['icon_file'] = '<img src="' . $admin_qa_skin_url . '/img/icon_file.gif">';
        }
        $list[$i]['name'] = get_text($row['qa_name']);
        $list[$i]['date'] = substr($row['qa_datetime'], 2, 8);
        $list[$i]['num'] = $num - $i;
    }
    $is_checkbox = true;
    $list_href = G5_ADMIN_URL . '/shop_admin/admin_qalist.php';
    $write_href = G5_ADMIN_URL . '/shop_admin/admin_qawrite.php';
    $list_pages = preg_replace('/(\\.php)(&amp;|&)/i', '$1?', get_paging($qaconfig['qa_page_rows'], $page, $total_page, './admin_qalist.php?' . $qstr . '&amp;page='));
    $stx = get_text(stripslashes($stx));
    include_once $skin_file;
} else {
    echo '<div>' . str_replace(G5_PATH . '/', '', $skin_file) . '이 존재하지 않습니다.</div>';
}
include_once './admin_qatail.php';
开发者ID:najinsu,项目名称:nsle,代码行数:31,代码来源:admin_qalist.php


示例11: get_paging

</td>
        <td><?php 
    echo $row['mh_hp'];
    ?>
</td>
        <td><?php 
    echo $row['mh_datetime'];
    ?>
</td>
        <td><?php 
    echo $row['mh_booking'] != '0000-00-00 00:00:00' ? "<span title='{$row['mh_booking']}' class='btn btn-default'>예약</span>" : '';
    ?>
</td>
        <td><?php 
    echo $row['mh_log'];
    ?>
</td>
    </tr>
    <?php 
}
?>
    </tbody>
    </table>
</div>

<?php 
echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'] . "?st={$st}&amp;sv={$sv}&amp;page=");
?>

<?php 
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:history_member.php


示例12: array

<?php

include_once "./_common.php";
$g4['title'] = "현재접속자";
$connect_skin_path = "{$g4['path']}/skin/connect/{$config['cf_connect_skin']}";
include_once "./_head.php";
$list = array();
$sql = " select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_open, b.mb_point, a.lo_ip, a.lo_location, a.lo_url\n           from {$g4['login_table']} a left join {$g4['member_table']} b on (a.mb_id = b.mb_id)\n          where a.mb_id <> '{$config['cf_admin']}'\n          order by a.lo_datetime desc ";
$result = sql_query($sql);
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $list[$i] = $row;
    if ($row['mb_id']) {
        //$list[$i][name] = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
        $list[$i][name] = get_sideview($row['mb_id'], cut_str($row['mb_nick'], $config['cf_cut_name']), $row['mb_email'], $row['mb_homepage']);
    } else {
        if ($is_admin) {
            $list[$i][name] = $row['lo_ip'];
        } else {
            $list[$i][name] = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", "\\1.♡.\\3.\\4", $row['lo_ip']);
        }
    }
    $list[$i][num] = sprintf("%03d", $i + 1);
}
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, "?gr_id={$gr_id}&page=");
echo "<script type='text/javascript' src=\"{$g4['path']}/js/sideview.js\"></script>\n";
include_once "{$connect_skin_path}/current_connect.skin.php";
include_once "./_tail.php";
开发者ID:ragi79,项目名称:g4dtd,代码行数:27,代码来源:current_connect.php


示例13: get_paging

            <td class="td_datetime"><?php 
    echo $list[$i]['ms_datetime'];
    ?>
</td>
            <td class="td_mng"><a href="<?php 
    echo $list[$i]['del_href'];
    ?>
" onclick="del(this.href); return false;">삭제</a></td>
        </tr>
        <?php 
}
?>

        <?php 
if ($i == 0) {
    echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>";
}
?>
        </tbody>
        </table>
    </div>

    <?php 
echo get_paging($config['cf_write_pages'], $page, $total_page, "?{$qstr}&amp;page=");
?>

    <div class="win_btn">
        <button type="button" onclick="window.close();">창닫기</button>
    </div>
</div>
<!-- } 스크랩 목록 끝 -->
开发者ID:davis00,项目名称:test,代码行数:31,代码来源:scrap.skin.php


示例14: get_paging

    echo $row['ct_status_sum'];
    ?>
</td>
        </tr>
        <?php 
}
if ($i == 0) {
    echo '<tr><td colspan="12" class="empty_table">자료가 없습니다.</td></tr>';
}
?>
    </tbody>
    </table>
</div>

<?php 
echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?{$qstr1}&amp;page=");
?>

<script>
$(function() {
    $("#fr_date, #to_date").datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: "yymmdd",
        showButtonPanel: true,
        yearRange: "c-99:c+99",
        maxDate: "+0d"
    });
});
</script>
开发者ID:davis00,项目名称:youngcart,代码行数:30,代码来源:itemsellrank.php


示例15: get_sideview

            }
            $list[$idx][$i][subject] = $subject;
            $list[$idx][$i][content] = $content;
            $list[$idx][$i][name] = get_sideview($row[mb_id], cut_str($row[wr_name], $config[cf_cut_name]), $row[wr_email], $row[wr_homepage]);
            $k++;
            if ($k >= $rows) {
                break;
            }
        }
        sql_free_result($result);
        if ($k >= $rows) {
            break;
        }
        $from_record = 0;
    }
    $write_pages = get_paging($config[cf_write_pages], $page, $total_page, "{$_SERVER['PHP_SELF']}?{$search_query}&gr_id={$gr_id}&srows={$srows}&onetable={$onetable}&page=");
    echo "<script type=\"text/javascript\" src=\"{$g4['path']}/js/sideview.js\"></script>";
}
$group_select = "<select id='gr_id' name='gr_id' class=select><option value=''>전체 분류";
$sql = " select gr_id, gr_subject from {$g4['group_table']} order by gr_id ";
$result = sql_query($sql);
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $group_select .= "<option value='{$row['gr_id']}'>{$row['gr_subject']}";
}
$group_select .= "</select>";
if (!$sfl) {
    $sfl = "wr_subject";
}
if (!$sop) {
    $sop = "or";
}
开发者ID:jin255ff,项目名称:company_website,代码行数:31,代码来源:search.php


示例16: get_paging

								<td><a class="bcolor" href='buy-reports.php?reportid=<?php 
                                    echo $row['proxyaddid'];
                                    ?>
'>Purchase</a></td>
							</tr>
					<?php 
                                }
                                ?>
				</table>
			</div>
		</div>
		<div>
			<label>Page : </label>
			<span class="td-set">
				<?php 
                                get_paging($page_clicked, $final_total_pages);
                                ?>
			</span>
		</div>
<?php 
                            }
                        } else {
                            if (isset($_GET['get_block1'])) {
                                echo "<div class='block-set-pillar-1 return_block'>\n\t\t\t<span style='font-size:16px;text-transform:uppercase; text-decoration: underline;'>Independence</span>\n\t\t\t<p style='margin-top:10px;text-align:justify;font-size:14px;'>We do not have any material association with listed firms. Our employees do not hold directorships at listed companies. This helps us maintain our independence and provide unbiased advice to clients. We do not accept assignments that may have a potential conflict with our objectives.</p>\n\t\t</div>";
                            } else {
                                if (isset($_GET['get_block2'])) {
                                    echo "<div class='block-set-pillar-2 return_block'>\n\t\t\t<span style='font-size:16px;text-transform:uppercase; text-decoration: underline;'>Conflict Management</span>\n\t\t\t<p style='margin-top:10px;text-align:justify;font-size:14px;'>We provide governance advisory services to investors at listed companies. To remove any conflict of interests, we do not have any pecuniary or advisory relationship with listed companies. We have internal controls for interactions with listed firms and maintain a clear audit trail.</p>\n\t\t</div>";
                                } else {
                                    if (isset($_GET['get_block3'])) {
                                        echo "<div class='block-set-pillar-3 return_block'>\n\t\t\t<span style='font-size:16px;text-transform:uppercase; text-decoration: underline;'>Not For Profit</span>\n\t\t\t<p style='margin-top:10px;text-align:justify;font-size:14px;'>SES has adopted a not-for-profit business model to eliminate any perceived compromise with independence and to mitigate any potential conflict of interests. Our business model ensures that we place clients’ interests above our own and treat each client equally.</p>\n\t\t</div>";
                                    } else {
开发者ID:pradeep-chauhan,项目名称:chanchal,代码行数:31,代码来源:jquery-data.php


示例17: sql_fetch

        // 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
        if ($sca || $stx) {
            $row = sql_fetch(" select * from {$write_table} where wr_id = '{$row['wr_parent']}' ");
        }
        $list[$i] = get_list($row, $board, $board_skin_url, G5_IS_MOBILE ? $board['bo_mobile_subject_len'] : $board['bo_subject_len']);
        if (strstr($sfl, 'subject')) {
            $list[$i]['subject'] = search_font($stx, $list[$i]['subject']);
        }
        $list[$i]['is_notice'] = false;
        $list_num = $total_count - ($page - 1) * $list_page_rows - $notice_count;
        $list[$i]['num'] = $list_num - $k;
        $i++;
        $k++;
    }
}
$write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, './board.php?bo_table=' . $bo_table . $qstr . '&amp;page=');
$list_href = '';
$prev_part_href = '';
$next_part_href = '';
if ($sca || $stx) {
    $list_href = './board.php?bo_table=' . $bo_table;
    $patterns = array('#&amp;page=[0-9]*#', '#&amp;spt=[0-9\\-]*#');
    //if ($prev_spt >= $min_spt)
    $prev_spt = $spt - $config['cf_search_part'];
    if (isset($min_spt) && $prev_spt >= $min_spt) {
        $qstr1 = preg_replace($patterns, '', $qstr);
        $prev_part_href = './board.php?bo_table=' . $bo_table . $qstr1 . '&amp;spt=' . $prev_spt . '&amp;page=1';
        $write_pages = page_insertbefore($write_pages, '<a href="' . $prev_part_href . '" class="pg_page pg_prev">이전검색</a>');
    }
    $next_spt = $spt + $config['cf_search_part'];
    if ($next_spt < 0) {
开发者ID:davis00,项目名称:test,代码行数:31,代码来源:list.php


示例18: sql_query

    $page = 1;
}
// 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows;
// 시작 열을 구함
$sql = "select *\n        {$sql_common}\n        {$sql_search}\n        {$sql_order}\n        limit {$from_record}, {$rows} ";
$qry = sql_query($sql);
$list = array();
for ($i = 0; $row = sql_fetch_array($qry); ++$i) {
    $list[$i] = $row;
    $list[$i][num] = $total_count - ($page - 1) * $rows - $i;
    if (!$row[mb_name]) {
        $list[$i][mb_name] = $row[mb_id];
    }
}
$write_pages = get_paging($config[cf_write_pages], $page, $total_page, "./mw.download.log.php?bo_table={$bo_table}&wr_id={$wr_id}{$qstr}&page=");
$colspan = 5;
$g4[title] = "다운로드 기록";
include_once "{$g4['path']}/head.sub.php";
?>
<script language="javascript" src="<?php 
echo $g4[path];
?>
/js/sideview.js"></script>

<link rel="stylesheet" href="<?php 
echo $board_skin_path;
?>
/style.common.css" type="text/css">

<style type="text/css">
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:mw.download.log.php


示例19: get_paging

        }
    }
    $list[$i]['gr_id'] = $row['gr_id'];
    $list[$i]['bo_table'] = $row['bo_table'];
    $list[$i]['name'] = $name;
    $list[$i]['comment'] = $comment;
    $list[$i]['is_lock'] = $is_lock;
    $list[$i]['href'] = './board.php?bo_table=' . $row['bo_table'] . '&amp;wr_id=' . $row2['wr_id'] . $comment_link;
    $list[$i]['wr_datetime'] = $wr_datetime;
    $list[$i]['datetime'] = $datetime;
    $list[$i]['datetime2'] = $datetime2;
    $list[$i]['gr_subject'] = $row['gr_subject'];
    $list[$i]['bo_subject'] = G5_IS_MOBILE && $row['bo_mobile_subject'] ? $row['bo_mobile_subject'] : $row['bo_subject'];
    $list[$i]['wr_subject'] = $row2['wr_subject'];
}
$write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "?gr_id={$gr_id}&amp;view={$view}&amp;mb_id={$mb_id}&amp;page=");
$write_page_rows = G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'];
$list_page = "?gr_id={$gr_id}&amp;view={$view}&amp;mb_id={$mb_id}&amp;page=";
// 스킨설정
$wset = G5_IS_MOBILE ? apms_skin_set('new_mobile') : apms_skin_set('new');
$setup_href = '';
if (is_file($skin_path . '/setup.skin.php') && ($is_demo || $is_admin == 'super')) {
    $setup_href = './skin.setup.php?skin=new';
}
include_once $skin_path . '/new.skin.php';
include_once './_tail.php';
?>



开发者ID:peb317,项目名称:gbamn,代码行数:27,代码来源:ga_tk.php


示例20: sql_fetch

        $row3 = sql_fetch(" select mb_id, wr_name, wr_email, wr_homepage, wr_datetime from {$tmp_write_table} where wr_id = '{$row['wr_id']}' ");
        $list[$i] = $row2;
        $list[$i]['mb_id'] = $row3['mb_id'];
        $list[$i]['wr_name'] = $row3['wr_name'];
        $list[$i]['wr_email'] = $row3['wr_email'];
        $list[$i]['wr_homepage'] = $row3['wr_homepage'];
        $name = get_sideview($row3['mb_id'], cut_str($row3['wr_name'], $config['cf_cut_name']), $row3['wr_email'], $row3['wr_homepage']);
        // 당일인 경우 시간으로 표시함
        $datetime = substr($row3['wr_datetime'], 0, 10);
        $datetime2 = $row3['wr_datetime'];
        if ($datetime == $g4['time_ymd']) {
            $datetime2 = substr($datetime2, 11, 5);
        } else {
            $datetime2 = substr($datetime2, 5, 5);
        }
    }
    $list[$i]['gr_id'] = $row['gr_id'];
    $list[$i]['bo_table'] = $row['bo_table'];
    $list[$i]['name'] = $name;
    $list[$i]['comment'] = $comment;
    $list[$i]['href'] = "./board.php?bo_table={$row['bo_table']}&amp;wr_id={$row2['wr_id']}{$comment_link}";
    $list[$i]['datetime'] = $datetime;
    $list[$i]['datetime2'] = $datetime2;
    $list[$i]['gr_subject'] = $row['gr_subject'];
    $list[$i]['bo_subject'] = $row['bo_subject'];
    $list[$i]['wr_subject'] = $row2['wr_subject'];
}
$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, "?gr_id={$gr_id}&amp;view={$view}&amp;mb_id={$mb_id}&amp;page=");
echo "<script type=\"text/javascript\" src=\"{$g4['path']}/js/sideview.js\"></script>\n";
include_once "{$new_skin_path}/new.skin.php";
include_once "./_tail.php";
开发者ID:ragi79,项目名称:g4dtd,代码行数:31,代码来源:new.php



注:本文中的get_paging函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_param函数代码示例发布时间:2022-05-15
下一篇:
PHP get_pagination函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap