本文整理汇总了PHP中CommonFunctions::printPageLinks方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonFunctions::printPageLinks方法的具体用法?PHP CommonFunctions::printPageLinks怎么用?PHP CommonFunctions::printPageLinks使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommonFunctions
的用法示例。
在下文中一共展示了CommonFunctions::printPageLinks方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CommonFunctions
<div style="padding-top: 4px; width: 98%">
<span id="messageDisplay">
<?php
if (empty($list)) {
echo $dispMessage;
}
?>
</span>
</div>
<div style="text-align: right; padding-top: 4px; width: 98%">
<?php
$temp = $this->popArr['count'];
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($temp, $currentPage);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
?>
</div>
<div class="roundbox">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="">
<tr style="white-space: nowrap">
<td width="50" nowrap="nowrap" class="listViewThS1" scope="col">
<?php
if ($allowDelete) {
?>
<input type='checkbox' class='checkbox' name='allCheck' value='' onclick="doHandleAll();" />
<?php
示例2: CommonFunctions
echo $records['message'];
?>
</span>
</div>
<?php
}
?>
<!-- Message box: Ends -->
<!-- Paging: Begins -->
<?php
if (isset($records['recordsCount']) && $records['recordsCount'] > 50) {
echo '<div id="paging">';
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($records['recordsCount'], $records['pageNo'], 50);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
echo '</div>';
}
?>
<!-- Paging: Ends -->
<?php
if (isset($records['editMode'])) {
?>
<form id="frmSaveAttendanceReport" name="frmSaveAttendanceReport" method="post" action="?timecode=Time&action=Save_Attendance_Report">
<?php
}
?>
示例3: CommonFunctions
?>
</a>
<?php
}
?>
<?php
}
}
?>
</div>
<div class="noresultsbar"></div>
<div class="pagingbar">
<?php
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($allRecords, $currentPage);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
?>
</div>
</div>
<br class="clear"/>
<table border="0" cellpadding="0" cellspacing="0" class="data-table">
<thead>
<tr>
<?php
if (isset($_REQUEST['id']) && empty($_REQUEST['id']) && ($_SESSION['isAdmin'] == 'Yes' || isset($_SESSION['empID']) && (!empty($empInfo) && $empInfo[0] != $_SESSION['empID']))) {
?>
<?php
示例4: CommonFunctions
<hr style="width:420px;float:left;margin:15px 0px 15px 0px"/>
<?php
if (empty($empTimeArray)) {
?>
<br/><div class="notice" style="float:left"><?php
echo $lang_Time_Activity_Report_NoEvents;
?>
</div>
<?php
} else {
?>
<div class="paging">
<?php
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($count, $pageNo);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
?>
</div></br>
<div style="float:left">
<table width="250" class="simpleList" >
<thead>
<tr>
<th class="listViewThS1"><?php
echo $lang_Time_Activity_Report_EmployeeName;
?>
</th>
<th class="listViewThS1"><?php
echo $lang_Time_TimeInHours;
示例5: CommonFunctions
?>
';" />
<?php
}
?>
<br class="clear"/>
</div>
</table>
</form>
<!-- Search form ends -->
<div class="pagingbar">
<?php
if (!isset($oneEmployee)) {
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($records[4], $records[3], 50);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
}
?>
</div><br class="clear" />
<!-- Summary form begins -->
<form name="hspFullSummary" id="hspFullSummary" action="" method="post">
<input type="hidden" name="pageNo" value="<?php
echo $records[3];
?>
">
<table border="0" cellspacing="0" cellpadding="0" class="data-table">
<thead>
<tr>
示例6: CommonFunctions
" />
<?php
}
?>
</div>
<div class="noresultsbar"><?php
echo !is_array($records) ? $lang_Error_NoRecordsFound : '';
?>
</div>
<!-- Paging: Begins -->
<?php
if ($recordsCount > 50) {
echo '<div class="pagingbar">';
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($recordsCount, $pageNo, 50);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
echo '</div>';
}
?>
<!-- Paging: Ends -->
<br class="clear" />
</div>
<?php
}
?>
<br class="clear" />
<table border="0" cellpadding="0" cellspacing="0" class="data-table">
示例7: CommonFunctions
onMouseOut="this.src='../../themes/beyondT/pictures/btn_add.gif';"
onMouseOver="this.src='../../themes/beyondT/pictures/btn_add_02.gif';"
src="../../themes/beyondT/pictures/btn_add.gif">
<img
onClick="<?php
echo $delBtnAction;
?>
"
src="../../themes/beyondT/pictures/btn_delete.gif"
onMouseOut="this.src='../../themes/beyondT/pictures/btn_delete.gif';"
onMouseOver="this.src='../../themes/beyondT/pictures/btn_delete_02.gif';">
</div>
</td><td>
<?php
$commonFunc = new CommonFunctions();
$pageStr = $commonFunc->printPageLinks($this->popArr['recordCount'], $this->popArr['pageNo'], 10);
$pageStr = preg_replace(array('/#first/', '/#previous/', '/#next/', '/#last/'), array($lang_empview_first, $lang_empview_previous, $lang_empview_next, $lang_empview_last), $pageStr);
echo $pageStr;
?>
</td>
</tr>
</table>
<?php
}
?>
<!--Property List section-->
<?php
if (!isset($this->getArr['action'])) {
?>