當前位置: 首頁>>代碼示例>>PHP>>正文


PHP page::fenye方法代碼示例

本文整理匯總了PHP中page::fenye方法的典型用法代碼示例。如果您正苦於以下問題:PHP page::fenye方法的具體用法?PHP page::fenye怎麽用?PHP page::fenye使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在page的用法示例。


在下文中一共展示了page::fenye方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: page

				<td colspan="2"><input id="btn_search" type="submit" value="提交"></td>
			</tr>
		</table>
	</form>
</div>
<div class="wrap">
<?php 
include "../inc/class/page_courseUnit.php";
$f = new page();
$self = $_SERVER["PHP_SELF"];
$userid = 0;
@($aim = isset($_GET["aim"]) ? $_GET["aim"] : 1);
if ($_SESSION["role"] == ADMIN) {
    if (isset($_GET["userid"])) {
        $userid = $_GET["userid"];
    }
} else {
    $userid = $_SESSION["userid"];
}
$linkPage = "{$self}";
//$userid = isset($_GET["userid"])?$_GET["userid"]:0;
if ($aim == 1) {
    //為課程目錄分配課程單元,顯示版本信息
    $f->fenye($page, $order, $linkPage, $userid, $keyword, 0, 1, 1);
} else {
    $f->fenye($page, $order, $linkPage, $userid, $keyword, 0, 1, 0);
}
//為課程單元組分配課程單元,不顯示版本信息
?>
</div>
</div>
開發者ID:Eidn,項目名稱:shanghai,代碼行數:31,代碼來源:courseUnitList.php

示例2: page

			<div class="wrap">
			<?php 
include "../inc/class/page_courseUnit.php";
$f = new page();
$self = $_SERVER["PHP_SELF"];
$userid = 0;
if ($_SESSION["role"] == ADMIN) {
    if (isset($_GET["userid"])) {
        $userid = $_GET["userid"];
    }
} else {
    $userid = $_SESSION["userid"];
}
$linkPage = "{$self}";
//$userid = isset($_GET["userid"])?$_GET["userid"]:0;
$f->fenye($page, $order, $linkPage, $userid, $keyword);
?>
			</div>
		</div>
	</div>
</div> <div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
</div> <!-- end of #main" started at the end of banner.inc.php -->

<div class="push"></div>
</div> <!-- end of #wrapper section -->

<?php 
include "../inc/footer.php";
?>

</body>
開發者ID:Eidn,項目名稱:shanghai,代碼行數:31,代碼來源:courseUnit.php

示例3: page

							</td>
						</tr>
						<tr>
							<td colspan="2"><input type="submit" value="提交"></td>
						</tr>
					</table>
				</form>
			</div>
			<div class="wrap">
			<?php 
include "../inc/class/page_user.php";
$f = new page();
$by = "order by time desc";
$self = $_SERVER["PHP_SELF"];
$linkPage = "{$self}";
$f->fenye($page, $order, $linkPage, 2, $username, $realname);
?>
			</div>
		</div>
	</div>
</div> <div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
</div> <!-- end of #main" started at the end of banner.inc.php -->

<div class="push"></div>
</div> <!-- end of #wrapper section -->

<?php 
include "../inc/footer.php";
?>

</body>
開發者ID:Eidn,項目名稱:shanghai,代碼行數:31,代碼來源:user_teacher.php

示例4: page

include "../inc/class/page_course.php";
//呈現課程列表
$page_course = new page();
//初始化課程列表頁麵
$self = $_SERVER["PHP_SELF"];
$userid = 0;
if ($_SESSION["role"] == ADMIN) {
    if (isset($_GET["userid"])) {
        $userid = $_GET["userid"];
    }
} else {
    $userid = $_SESSION["userid"];
}
$linkPage = "{$self}";
//$userid = isset($_GET["userid"])?$_GET["userid"]:0;
$page_course->fenye($page, $order, $linkPage, $userid, $keyword);
//課程列表頁麵實現分頁功能
?>
			</div>
		</div>
	</div>

</div> <div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
</div> <!-- end of #main" started at the end of banner.inc.php -->

<div class="push"></div>
</div> <!-- end of #wrapper section -->

<?php 
include "../inc/footer.php";
?>
開發者ID:Eidn,項目名稱:shanghai,代碼行數:31,代碼來源:course.php


注:本文中的page::fenye方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。