<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>
<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"> </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>
</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"> </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>
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"> </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"; ?>