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


PHP Paginator::makeSortLink方法代码示例

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


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

示例1:

<?php 
    if ($rows) {
        echo str_replace("~nr~", $totalcount, $LDSearchFound) . ' ' . $LDShowing . ' ' . $pagen->BlockStartNr() . ' ' . $LDTo . ' ' . $pagen->BlockEndNr() . '.';
    } else {
        echo str_replace('~nr~', '0', $LDSearchFound);
    }
    ?>
</b></font></td>
  </tr>
</table>

<table border=0 cellpadding=0 cellspacing=0>
  <tr class="wardlisttitlerow">
     <td> <b>
	  <?php 
    echo $pagen->makeSortLink($LDPatientNr, 'encounter_nr', $oitem, $odir, $append);
    ?>
</b></td>
      <td> <b>
	  <?php 
    echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
    ?>
</b></td>
      <td> <b>
	  <?php 
    echo $pagen->makeSortLink($LDLastName, 'name_last', $oitem, $odir, $append);
    ?>
</b></td>
      <td> <b>
	  <?php 
    echo $pagen->makeSortLink($LDName, 'name_first', $oitem, $odir, $append);
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-doku-start.php

示例2: createComIcon

    # Preload  common icon images
    $img_male = createComIcon($root_path, 'spm.gif', '0', '', TRUE);
    $img_female = createComIcon($root_path, 'spf.gif', '0', '', TRUE);
    $bgimg = 'tableHeaderbg3.gif';
    //$tbg= 'background="'.$root_path.'gui/img/common/'.$theme_com_icon.'/'.$bgimg.'"';
    $tbg = 'class="adm_list_titlebar"';
    ?>
				<table border=0 cellpadding=2 cellspacing=1>
				<tr bgcolor="#abcdef">

     <td <?php 
    echo $tbg;
    ?>
><b>
	  <?php 
    echo $pagen->makeSortLink($LDPID, 'pid', $oitem, $odir, $append);
    ?>
</b></td>
      <td <?php 
    echo $tbg;
    ?>
><b>
	  <?php 
    echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
    ?>
</b></td>
      <td <?php 
    echo $tbg;
    ?>
><b>
	  <?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_search_patient.php

示例3: createLDImgSrc

            echo str_replace('~nr~', '0', $LDSearchFound);
        }
    }
    if (is_object($pers_obj) && $linecount) {
        # Load the common icons
        //$img_options_add=createComIcon($root_path,'add.gif','0');
        $img_options_add = createLDImgSrc($root_path, 'add2list_sm.gif', '0');
        $img_male = createComIcon($root_path, 'spm.gif', '0', '', TRUE);
        $img_female = createComIcon($root_path, 'spf.gif', '0', '', TRUE);
        echo '<p>
			<table border=0 cellpadding=2 cellspacing=1>
			<tr class="wardlisttitlerow">';
        ?>
     <td>
	  <?php 
        echo $pagen->makeSortLink($LDPersonellNr, 'nr', $oitem, $odir, $append);
        ?>
</td>
     <td>
	  <?php 
        echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
        ?>
</td>
      <td>
	  <?php 
        echo $pagen->makeSortLink($LDFamilyName, 'name_last', $oitem, $odir, $append);
        ?>
</td>
      <td>
	  <?php 
        echo $pagen->makeSortLink($LDGivenName, 'name_first', $oitem, $odir, $append);
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:doctors-dienst-personalliste.php

示例4:

<ul>

<?php 
if (is_object($firms)) {
    if ($linecount) {
        echo str_replace("~nr~", $totalcount, $LDSearchFound) . ' ' . $LDShowing . ' ' . $pagen->BlockStartNr() . ' ' . $LDTo . ' ' . $pagen->BlockEndNr() . '.';
    } else {
        echo str_replace('~nr~', '0', $LDSearchFound);
    }
    ?>
<table border=0 cellpadding=2 cellspacing=1>
  <tr class="wardlisttitlerow">
      <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDFirmID, 'firm_id', $oitem, $odir);
    ?>
</b>
	</td>
      <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDInsuranceCoName, 'name', $oitem, $odir);
    ?>
</b>
	</td>
      <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDMainPhoneNr, 'phone_main', $oitem, $odir);
    ?>
</b>
	</td>
开发者ID:patmark,项目名称:care2x-tz,代码行数:30,代码来源:insurance_co_list.php

示例5: createComIcon

if ($linecount) {
    $dcount = 0;
    $append = "&search=1&editmode={$editmode}";
    $img_male = createComIcon($root_path, 'spm.gif', '0', '', TRUE);
    $img_female = createComIcon($root_path, 'spf.gif', '0', '', TRUE);
    $bgimg = 'tableHeaderbg3.gif';
    $tbg = 'background="' . $root_path . 'gui/img/common/' . $theme_com_icon . '/' . $bgimg . '"';
    # Create the column descriptors
    ?>
	
	<table border=0 cellpadding=3 cellspacing=1> 
	<tr class="wardlisttitlerow">

     <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDCaseNr, 'encounter_nr', $oitem, $odir, $append);
    ?>
</b></td>
     <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDBatchNumber, 'batch_nr', $oitem, $odir, $append);
    ?>
</b></td>
     <td><b>
	  <?php 
    echo $pagen->makeSortLink($LDSelianFileNr, 'selian_pid', $oitem, $odir, $append);
    ?>
</b></td>
	  
      <td ><b>
	  <?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_data_patient_such.php

示例6: display


//.........这里部分代码省略.........
				<input type="hidden" name="lang" value="' . $lang . '">
				<input type="hidden" name="noresize" value="' . $noresize . '">
				<input type="hidden" name="target" value="' . $target . '">
				<input type="hidden" name="user_origin" value="' . $user_origin . '">
				<input type="hidden" name="origin" value="' . $origin . '">
				<input type="hidden" name="retpath" value="' . $retpath . '">
				<input type="hidden" name="aux1" value="' . $aux1 . '">
				<input type="hidden" name="ipath" value="' . $ipath . '">
				<input type="hidden" name="mode" value="search">');
        $this->smarty->assign('sCancelButton', '<a href="' . $this->cancelfile . URL_APPEND . '"><img ' . createLDImgSrc($root_path, 'cancel.gif', '0') . '></a>');
        //include($root_path.'include/inc_patient_searchmask.php');
        #
        # Create append data for previous and next page links
        #
        $this->targetappend .= "&firstname_too={$firstname_too}&origin={$origin}";
        //echo $mode;
        if ($parent_admit) {
            $bgimg = 'tableHeaderbg3.gif';
        } else {
            $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']));
                    #
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:67,代码来源:class_gui_search_person.php

示例7: createLDImgSrc

		<input type="hidden" name="mode" value="search">
		<input type="hidden" name="task" value="' . $task . '"');
$smarty->assign('sCancelButton', '<a href="patient.php' . URL_APPEND . '&target=search"><img ' . createLDImgSrc($root_path, 'cancel.gif', '0') . '></a>');
if ($mode == 'search' || $mode == 'paginate') {
    if ($linecount) {
        $smarty->assign('LDSearchFound', str_replace("~nr~", $totalcount, $LDSearchFound) . ' ' . $LDShowing . ' ' . $pagen->BlockStartNr() . ' ' . $LDTo . ' ' . $pagen->BlockEndNr() . '.');
    } else {
        $smarty->assign('LDSearchFound', str_replace('~nr~', '0', $LDSearchFound));
    }
    if ($linecount) {
        $smarty->assign('bShowResult', TRUE);
        # Load the common icons and images
        $img_options = createComIcon($root_path, 'pdata.gif', '0');
        $img_male = createComIcon($root_path, 'spm.gif', '0');
        $img_female = createComIcon($root_path, 'spf.gif', '0');
        $smarty->assign('LDCaseNr', $pagen->makeSortLink($LDCaseNr, 'encounter_nr', $oitem, $odir, $targetappend));
        $smarty->assign('LDSex', $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $targetappend));
        $smarty->assign('LDLastName', $pagen->makeSortLink($LDLastName, 'name_last', $oitem, $odir, $targetappend));
        $smarty->assign('LDName2', $pagen->makeSortLink($LDName2, 'name_2', $oitem, $odir, $targetappend));
        $smarty->assign('LDFirstName', $pagen->makeSortLink($LDFirstName, 'name_first', $oitem, $odir, $targetappend));
        $smarty->assign('LDBday', $pagen->makeSortLink($LDBday, 'date_birth', $oitem, $odir, $targetappend));
        $smarty->assign('LDZipCode', $pagen->makeSortLink($LDZipCode, 'addr_zip', $oitem, $odir, $targetappend));
        $smarty->assign('LDOptions', $LDOptions);
        $sTemp = '';
        while ($zeile = $ergebnis->FetchRow()) {
            $full_en = $zeile['encounter_nr'];
            $smarty->assign('toggle', $toggle);
            $toggle = !$toggle;
            $smarty->assign('sCaseNr', $full_en);
            if ($zeile['encounter_class_nr'] == 2) {
                $smarty->assign('sOutpatientIcon', '<img ' . createComIcon($root_path, 'redflag.gif') . '>');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:aufnahme_daten_such.php

示例8: createComIcon

    }
}
if ($linecount) {
    $img_male = createComIcon($root_path, 'spm.gif', '0');
    $img_female = createComIcon($root_path, 'spf.gif', '0');
    echo '<p>
		<table border=0 cellpadding=2 cellspacing=1> 
		
		<tr bgcolor="#66ee66" background="' . $root_path . 'gui/img/common/default/tableHeaderbg.gif">';
    ?>
      <td <?php 
    echo $tbg;
    ?>
><FONT  SIZE=-1  FACE="Arial" color="#000066"><b>
	  <?php 
    echo $pagen->makeSortLink($LDRegistryNr, 'pid', $oitem, $odir, $append);
    ?>
</b></td>
      <td <?php 
    echo $tbg;
    ?>
><FONT  SIZE=-1  FACE="Arial" color="#000066"><b>
	  <?php 
    echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
    ?>
</b></td>
      <td <?php 
    echo $tbg;
    ?>
><FONT  SIZE=-1  FACE="Arial" color="#000066"><b>
	  <?php 
开发者ID:BackupTheBerlios,项目名称:docame-svn,代码行数:31,代码来源:test_person_search.php

示例9: createComIcon

        # Load the common icons
        $img_options = createComIcon($root_path, 'dollarsign.gif', '0', '', TRUE);
        $img_male = createComIcon($root_path, 'spm.gif', '0', '', TRUE);
        $img_female = createComIcon($root_path, 'spf.gif', '0', '', TRUE);
        $bgimg = 'tableHeaderbg3.gif';
        $tbg = 'background="' . $root_path . 'gui/img/common/' . $theme_com_icon . '/' . $bgimg . '"';
        echo '
			<table border=0 cellpadding=2 cellspacing=1> 
			<tr bgcolor="#0000aa" background="' . createBgSkin($root_path, 'tableHeaderbg.gif') . '">';
        ?>
     <td <?php 
        echo $tbg;
        ?>
><FONT  SIZE=-1  FACE="Arial" color="#ffffff"><b>
	  <?php 
        echo $pagen->makeSortLink($LDCaseNr, 'encounter_nr', $oitem, $odir, $append);
        ?>
</b></td>
      <td <?php 
        echo $tbg;
        ?>
><FONT  SIZE=-1  FACE="Arial" color="#ffffff"><b>
	  <?php 
        echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
        ?>
</b></td>
      <td <?php 
        echo $tbg;
        ?>
><FONT  SIZE=-1  FACE="Arial" color="#ffffff"><b>
	  <?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:search.php

示例10:

		</tr>
	</table>

	<table border=0 cellpadding=0 cellspacing=0>
		<tr class="adm_item">

<?php 
    $bgimg = 'tableHeaderbg3.gif';
    //$bgimg='tableHeader_gr.gif';
    $tbg = 'background="' . $root_path . 'gui/img/common/' . $theme_com_icon . '/' . $bgimg . '"';
    $append = "&usenum={$usenum}&arch={$arch}";
    if ($usenum) {
        ?>
			<td><b>
<?php 
        echo $pagen->makeSortLink($LDAdm_Nr, 'encounter_nr', $oitem, $odir, $append);
        ?>
			</b>
			</td>
<?php 
    }
    ?>
			 <td><b>
<?php 
    echo $pagen->makeSortLink($LDLastName, 'name_last', $oitem, $odir, $append);
    ?>
				</b>
			</td>
			<td><b>
<?php 
    echo $pagen->makeSortLink($LDName, 'name_first', $oitem, $odir, $append);
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-patient-such-start.php

示例11: createComIcon

        $append = "&dept_nr={$dept_nr}&target=search&all_depts={$all_depts}";
        # Preload  common icon images
        $img_male = createComIcon($root_path, 'spm.gif', '0', '', TRUE);
        $img_female = createComIcon($root_path, 'spf.gif', '0', '', TRUE);
        $bgimg = 'tableHeaderbg3.gif';
        $tbg = 'background="' . $root_path . 'gui/img/common/' . $theme_com_icon . '/' . $bgimg . '"';
        ?>
</b></font></td>
  </tr>
</table>

<table border=0 cellpadding=0 cellspacing=0>
  <tr class="wardlisttitlerow">
      <td><b>
	  <?php 
        echo $pagen->makeSortLink($LDSex, 'sex', $oitem, $odir, $append);
        ?>
</b></td>
      <td><b>
	  <?php 
        echo $pagen->makeSortLink($LDLastName, 'name_last', $oitem, $odir, $append);
        ?>
</b></td>
      <td><b>
	  <?php 
        echo $pagen->makeSortLink($LDName, 'name_first', $oitem, $odir, $append);
        ?>
</b></td>
      <td><b>
	  <?php 
        echo $pagen->makeSortLink($LDBday, 'date_birth', $oitem, $odir, $append);
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-doku-search.php


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