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


PHP gopage函数代码示例

本文整理汇总了PHP中gopage函数的典型用法代码示例。如果您正苦于以下问题:PHP gopage函数的具体用法?PHP gopage怎么用?PHP gopage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     $CI =& get_instance();
     if (!$this->auth->isLoggedIn()) {
         gopage('admin');
     }
 }
开发者ID:nstungxd,项目名称:F2CA5,代码行数:8,代码来源:MY_Controller.php

示例2: logout

 public function logout()
 {
     $this->auth->logout();
     gopage('admin');
 }
开发者ID:nstungxd,项目名称:F2CA5,代码行数:5,代码来源:scadmin.php

示例3: show_ckp

function show_ckp($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'dockp', $page, $menu, $name, $user);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:4,代码来源:page_ckp.php

示例4: show_mpayouts

function show_mpayouts($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'dompayouts', $page, $menu, $name, $user);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:4,代码来源:page_mpayouts.php

示例5: show_shifts

function show_shifts($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'doshifts', $page, $menu, $name, $user);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:4,代码来源:page_shifts.php

示例6: show_percent

function show_percent($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'dopercent', $page, $menu, $name, $user);
}
开发者ID:ctubio,项目名称:ckpool,代码行数:4,代码来源:page_percent.php

示例7: show_settings

function show_settings($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'dosettings', $page, $menu, $name, $user);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:4,代码来源:page_settings.php

示例8: save_member_group

 function save_member_group()
 {
     global $data;
     global $TABLE;
     // Set validation rules
     /*$this->form_validation->set_rules('member', 'member', 'required');
     
             // If validation is failed
             if ($this->form_validation->run() == FALSE)
             {
                 $this->load->admin_view("add_member_group", $data);
             }
             // If validation is successed
             else
             {*/
     try {
         $seq = $this->post("seq", "");
         $member_arr = $this->post("member", "");
         $adminseq = $this->post("adminseq", "");
         $account = $this->auth->getUser();
         foreach ($member_arr as $val) {
             $this->dbop->update($TABLE['user'], array("GroupSeq" => $seq, "CreateBy" => $adminseq, "DateModified" => now()), array("Seq" => $val));
         }
         gopage("admin/cgroup/details?page=" . $this->post("page", 0) . '&seq=' . $seq);
     } catch (Exception $e) {
     }
     //}
 }
开发者ID:nstungxd,项目名称:F2CA5,代码行数:28,代码来源:cgroup.php

示例9: show_reset

function show_reset($info, $page, $menu, $name, $u)
{
    gopage($info, array(), 'doreset', $page, $menu, $name, $u, true, true, false);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:4,代码来源:page_reset.php

示例10: show_events

function show_events($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'doevents', $page, $menu, $name, $user);
}
开发者ID:jameshilliard,项目名称:ckpool,代码行数:4,代码来源:page_events.php

示例11: show_index

function show_index($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'doindex', $page, $menu, $name, $user);
}
开发者ID:ctubio,项目名称:ckpool,代码行数:4,代码来源:page_index.php

示例12: try_reset

function try_reset($info, $page, $menu, $name, $u)
{
    $user = getparam('user', false);
    $mail = trim(getparam('mail', false));
    $data = array();
    if (!nuem($user)) {
        $user = loginStr($user);
    }
    if (!nuem($user) && !nuem($mail)) {
        $ans = userSettings($user);
        if ($ans['STATUS'] == 'ok' && isset($ans['email']) && $ans['email'] == $mail) {
            $data = array('user' => $user, 'email' => $mail);
            gopage($info, $data, 'doreset2', $page, $menu, $name, $u, true, true, false);
        }
    }
    gopage($info, $data, 'doregres', $page, $menu, $name, $u, true, true, false);
}
开发者ID:nullivex,项目名称:ckpool,代码行数:17,代码来源:page_reg.php

示例13: show_help

function show_help($info, $page, $menu, $name, $user)
{
    gopage($info, NULL, 'dohelp', $page, $menu, $name, $user);
}
开发者ID:ctubio,项目名称:ckpool,代码行数:4,代码来源:page_help.php

示例14: modify_trainer

 function modify_trainer()
 {
     global $data;
     global $TABLE;
     // Set validation rules
     $this->form_validation->set_rules('centercode', 'Center Code', 'required');
     $this->form_validation->set_rules('userid', 'User ID', 'required');
     $this->form_validation->set_rules('userpwd', 'Password', 'required');
     // If validation is failed
     if ($this->form_validation->run() == FALSE) {
         $this->load->admin_view("trainer_register", $data);
     } else {
         try {
             $seq = $this->post("seq", "");
             $this->dbop->update($TABLE['trainer'], array("CenterCode" => $this->post("centercode", ""), "Name" => $this->post("name", ""), "UserID" => $this->post("userid", ""), "UserPW" => $this->post("userpwd", ""), "RegDate" => now(), "Sex" => $this->post("sex", "1")), array("Seq" => $seq));
             $this->dbop->update($TABLE['admin'], array("AdminID" => $this->post("userid", ""), "AdminPW" => $this->post("userpwd", ""), "CenterCode" => $this->post("centercode", "")), array("AdminSeq" => $seq, "Permission" => "2"));
             gopage("admin/ctrainer/lists?page=" . $this->post("page", 0));
         } catch (Exception $e) {
         }
     }
 }
开发者ID:nstungxd,项目名称:F2CA5,代码行数:21,代码来源:ctrainer.php

示例15: save_member_category

 function save_member_category()
 {
     global $data;
     global $TABLE;
     // Set validation rules
     $this->form_validation->set_rules('member', 'member', 'required');
     // If validation is failed
     if ($this->form_validation->run() == FALSE) {
         $this->load->admin_view("add_member_category", $data);
     } else {
         try {
             $seq = $this->post("seq", "");
             $member = $this->post("member", "");
             $adminseq = $this->post("adminseq", "");
             $this->dbop->insert($TABLE['category_detail'], array("Name" => $member, "CategorySeq" => $seq, "DateModified" => now()));
             gopage("admin/ccategory/details?page=" . $this->post("page", 0) . '&seq=' . $seq);
         } catch (Exception $e) {
         }
     }
 }
开发者ID:nstungxd,项目名称:F2CA5,代码行数:20,代码来源:ccategory.php


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