当前位置: 首页>>代码示例>>PHP>>正文


PHP Paginator::makeNextLink方法代码示例

本文整理汇总了PHP中Paginator::makeNextLink方法的典型用法代码示例。如果您正苦于以下问题:PHP Paginator::makeNextLink方法的具体用法?PHP Paginator::makeNextLink怎么用?PHP Paginator::makeNextLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Paginator的用法示例。


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

示例1:

        ?>
</td>
    <td><a href="<?php 
        echo $addr['info_url'];
        ?>
"><?php 
        echo $addr['info_url'];
        ?>
</a></td>
</td>
  </tr> 
<?php 
    }
    echo '
	<tr><td colspan=3>' . $pagen->makePrevLink($LDPrevious) . '</td>
	<td align=right>' . $pagen->makeNextLink($LDNext) . '</td>
	</tr>';
    ?>
  </table>
<?php 
}
?>
<p>

<form action="citytown_new.php" method="post">
<input type="hidden" name="lang" value="<?php 
echo $lang;
?>
">
<input type="hidden" name="sid" value="<?php 
echo $sid;
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:citytown_list.php

示例2: createLDImgSrc

        echo "</td>";
        if ($_COOKIE[$local_user . $sid]) {
            echo '
						<td>&nbsp;';
        }
        echo "\n\t\t\t\t\t\t\t<a href=\"" . $root_path . "modules/nursing/nursing-station-patientdaten-doconsil-" . $target . ".php" . URL_APPEND . "&pn=" . $row['encounter_nr'] . "&edit=1&status=" . $status . "&target=" . $target . "&user_origin=" . $user_origin . "&noresize=1&mode=\">";
        echo '
							<img ' . createLDImgSrc($root_path, 'ok_small.gif', '0') . ' alt="' . $LDTestThisPatient . '"></a>&nbsp;';
        if (!file_exists($root_path . "cache/barcodes/en_" . $full_en . ".png")) {
            echo "<img src='" . $root_path . "classes/barcode/image.php?code=" . $full_en . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2&form_file=en' border=0 width=0 height=0>";
        }
        echo '</td></tr>';
    }
    echo '
						<tr><td colspan=6>' . $pagen->makePrevLink($LDPrevious, $append) . '</td>
						<td align=right>' . $pagen->makeNextLink($LDNext, $append) . '</td>
						</tr>
						</table>';
    if ($linecount > $pagen->MaxCount()) {
        ?>
		 <table border=0 cellpadding=10 bgcolor="<?php 
        echo $entry_border_bgcolor;
        ?>
">
     <tr>
       <td>
	   <?php 
        $searchform_count = 2;
        include $root_path . 'include/inc_test_request_searchmask.php';
        ?>
</td>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_search_patient.php

示例3: display


//.........这里部分代码省略.........
            $bgimg = 'tableHeader_gr.gif';
        }
        $tbg = 'background="' . $root_path . 'gui/img/common/' . $theme_com_icon . '/' . $bgimg . '"';
        if ($mode == 'search' || $mode == 'paginate') {
            if ($linecount) {
                $this->smarty->assign('LDSearchFound', str_replace("~nr~", $totalcount, $LDSearchFound) . ' ' . $LDShowing . ' ' . $pagen->BlockStartNr() . ' ' . $LDTo . ' ' . $pagen->BlockEndNr() . '.');
            } else {
                $this->smarty->assign('LDSearchFound', str_replace('~nr~', '0', $LDSearchFound));
            }
        }
        if ($linecount) {
            $this->smarty->assign('bShowResult', TRUE);
            $img_male = createComIcon($root_path, 'spm.gif', '0');
            $img_female = createComIcon($root_path, 'spf.gif', '0');
            $this->smarty->assign('LDRegistryNr', $pagen->makeSortLink($LDRegistryNr, 'pid', $oitem, $odir, $this->targetappend));
            $this->smarty->assign('LDSex', $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $this->targetappend));
            $this->smarty->assign('LDLastName', $pagen->makeSortLink($LDLastName, 'name_last', $oitem, $odir, $this->targetappend));
            $this->smarty->assign('LDFirstName', $pagen->makeSortLink($LDFirstName, 'name_first', $oitem, $odir, $this->targetappend));
            $this->smarty->assign('LDBday', $pagen->makeSortLink($LDBday, 'date_birth', $oitem, $odir, $this->targetappend));
            $this->smarty->assign('LDZipCode', $pagen->makeSortLink($LDZipCode, 'addr_zip', $oitem, $odir, $this->targetappend));
            if (!empty($this->targetfile)) {
                $this->smarty->assign('LDOptions', $LDOptions);
            }
            #
            # Generate the resulting list rows using the reg_search_list_row.tpl template
            #
            $sTemp = '';
            $toggle = 0;
            while ($zeile = $ergebnis->FetchRow()) {
                if ($zeile['status'] == '' || $zeile['status'] == 'normal') {
                    $this->smarty->assign('toggle', $toggle);
                    $toggle = !$toggle;
                    $this->smarty->assign('sRegistryNr', $zeile['pid']);
                    switch (strtolower($zeile['sex'])) {
                        case 'f':
                            $this->smarty->assign('sSex', '<img ' . $img_female . '>');
                            break;
                        case 'm':
                            $this->smarty->assign('sSex', '<img ' . $img_male . '>');
                            break;
                        default:
                            $this->smarty->assign('sSex', '&nbsp;');
                            break;
                    }
                    $this->smarty->assign('sLastName', ucfirst($zeile['name_last']));
                    $this->smarty->assign('sFirstName', ucfirst($zeile['name_first']));
                    #
                    # If person is dead show a black cross
                    #
                    if ($zeile['death_date'] && $zeile['death_date'] != $dbf_nodate) {
                        $this->smarty->assign('sCrossIcon', '<img ' . createComIcon($root_path, 'blackcross_sm.gif', '0', 'absmiddle') . '>');
                    } else {
                        $this->smarty->assign('sCrossIcon', '');
                    }
                    $this->smarty->assign('sBday', formatDate2Local($zeile['date_birth'], $date_format));
                    $this->smarty->assign('sZipCode', $zeile['addr_zip']);
                    if ($withtarget) {
                        $sTarget = "<a href=\"{$this->targetfile}" . URL_APPEND . "&pid=" . $zeile['pid'] . "&edit=1&status=" . $status . "&target=" . $target . "&user_origin=" . $user_origin . "&noresize=1&mode=\">";
                        $sTarget = $sTarget . '<img ' . createLDImgSrc($root_path, 'ok_small.gif', '0') . ' title="' . $LDShowDetails . '"></a>';
                        $this->smarty->assign('sOptions', $sTarget);
                    }
                    if (!file_exists($root_path . 'cache/barcodes/pn_' . $zeile['pid'] . '.png')) {
                        $this->smarty->assign('sHiddenBarcode', "<img src='" . $root_path . "classes/barcode/image.php?code=" . $zeile['pid'] . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2' border=0 width=0 height=0>");
                    }
                    #
                    # Generate the row in buffer and append as string
                    #
                    ob_start();
                    $this->smarty->display('registration_admission/reg_search_list_row.tpl');
                    $sTemp = $sTemp . ob_get_contents();
                    ob_end_clean();
                }
            }
            #
            # Assign the rows string to template
            #
            $this->smarty->assign('sResultListRows', $sTemp);
            $this->smarty->assign('sPreviousPage', $pagen->makePrevLink($LDPrevious, $this->targetappend));
            $this->smarty->assign('sNextPage', $pagen->makeNextLink($LDNext, $this->targetappend));
        }
        #
        # Add eventual appending text block
        #
        if (!empty($this->posttext)) {
            $this->smarty->assign('sPostText', $this->posttext);
        }
        #
        # Displays the search page
        #
        if ($this->bReturnOnly) {
            ob_start();
            $this->smarty->display('registration_admission/reg_search_main.tpl');
            $sTemp = ob_get_contents();
            ob_end_clean();
            return $sTemp;
        } else {
            # show Template
            $this->smarty->display('registration_admission/reg_search_main.tpl');
        }
    }
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:101,代码来源:class_gui_search_person.php

示例4: createLDImgSrc

	<td><font face=arial size=2>&nbsp;';
        echo '<a href="' . $thisfile . URL_APPEND . '&mode=select&pn=' . $enc_row['encounter_nr'] . '&dept_nr=' . $dept_nr . '&target=' . $target . '">';
        echo '	
	<img ' . createLDImgSrc($root_path, 'ok_small.gif', '0') . ' alt="' . $LDTestThisPatient . '"></a>&nbsp;';
        if (!file_exists($root_path . "cache/barcodes/en_" . $full_en . ".png")) {
            echo "<img src='" . $root_path . "classes/barcode/image.php?code=" . $full_en . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2&form_file=en' border=0 width=0 height=0>";
        }
        echo '</td>';
        echo '</tr>
  <tr class="thinrow_vspacer">
  <td colspan=6 height=1><img src="' . $root_path . 'gui/img/common/default/pixel.gif" border=0 width=1 height=1 align="absmiddle"></td>
  </tr>';
    }
    echo '
	<tr><td colspan=5><font face=arial size=2>' . $pagen->makePrevLink($LDPrevious, $append) . '</td>
	<td align=right><font face=arial size=2>' . $pagen->makeNextLink($LDNext, $append) . '</td>
	</tr>';
    ?>
</table>
<p>
<?php 
} else {
    if (!$rows && !$err_data) {
        ?>
	<table border="0">
          <tr>
            <td><img <?php 
        echo createComIcon($root_path, 'angle_down_l.gif', '0', 'absmiddle', TRUE);
        ?>
></td>
            <td class="prompt">
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-doku-start.php

示例5:

            }
            $sTarget = $sTarget . '<img ' . $img_options . ' title="' . $LDShowData . '"></a>';
            $smarty->assign('sOptions', $sTarget);
            if (!file_exists($root_path . 'cache/barcodes/en_' . $full_en . '.png')) {
                $smarty->assign('sHiddenBarcode', "<img src='" . $root_path . "classes/barcode/image.php?code=" . $full_en . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2' border=0 width=0 height=0>");
            }
            #
            # Generate the row in buffer and append as string
            #
            ob_start();
            $smarty->display('registration_admission/admit_search_list_row.tpl');
            $sTemp = $sTemp . ob_get_contents();
            ob_end_clean();
        }
        #
        # Assign the rows string to template
        #
        $smarty->assign('sResultListRows', $sTemp);
        $smarty->assign('sPreviousPage', $pagen->makePrevLink($LDPrevious));
        $smarty->assign('sNextPage', $pagen->makeNextLink($LDNext));
    }
}
/*
$smarty->assign('sPostText','<a href="aufnahme_start.php'.URL_APPEND.'&mode=?">'.$LDAdmWantEntry.'</a><br>
	<a href="aufnahme_list.php'.URL_APPEND.'">'.$LDAdmWantArchive.'</a>');
*/
$smarty->assign('sPostText', '<a href="aufnahme_list.php' . URL_APPEND . '">' . $LDAdmWantArchive . '</a>');
# Stop buffering, assign contents and display template
$smarty->assign('sMainIncludeFile', 'registration_admission/admit_search_main.tpl');
$smarty->assign('sMainBlockIncludeFile', 'registration_admission/admit_plain.tpl');
$smarty->display('common/mainframe.tpl');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:aufnahme_daten_such.php


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