master
editor 4 months ago
commit 6c62e5dba4

@ -0,0 +1,165 @@
PHPEMS在线模拟考试系统 V9.0
PHPEMS在线模拟考试系统主要用于构建在线考试系统如驾照、英语等练习系统。
系统功能:
1、强化训练测验对知识点进行单独联系
2、随机组卷练习系统自动抽取题目进行练习
3、手工组卷联系通过教师平台手工组卷形成考卷进行模拟练习
4、支持主客观题型并存主观题评分可以设置为学生自评和教师后台评分
5、支持题冒题如英语阅读理解一个题干下属多道小题的类型随机抽取
6、支持考场功能可以对单个用户开通单独考场
7、支持题目收藏、错题重做、考试记录等功能
系统运行环境:
php(5.3-5.6)+mysql5.0
安装方法:
1、将pe.sql用phpmyadmin导入数据库
2、在lib/config.inc.php文件中设置数据库参数注意都要保存为utf8无bom形式
3、设置data目录、files/attach目录为可读写777权限
4、以上3步完成后即可完成安装。
前台地址:
域名/index.php
后台地址:
域名/index.php?core-master
默认管理员:
用户名peadmin
密码peadmin
PHPEMS在线模拟考试系统 更新日志:
v7.0 bulid2021-10-07
1、后台界面优化
2、重写证书功能增加在线生成证书
3、增加后台查看课程学习进度
4、修复已知bug
v6.1 bulid2020-08-25
1、增加微信一键登录
2、编辑器支持图片粘贴
3、修复已知bug
v6.0 bulid2019.09.24
1、优化手机端
2、题帽题支持多题型
3、优化正式考试
4、优化课程
5、修复已知bug
作者: 可乐馒头
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/AMockExam
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2013-12-26
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
define('PEPATH',dirname(dirname(__FILE__)));
class app
{
public $G;
public function __construct()

@ -0,0 +1,15 @@
<?php
/*
* Created on 2013-12-26
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
define('PEPATH',dirname(dirname(__FILE__)));
class app
{
public $G;
public function __construct()
{

@ -0,0 +1,15 @@
<?php
/*
* Created on 2013-12-26
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
define('PEPATH',dirname(dirname(__FILE__)));
class app
{
public $G;
public function __construct()
{

@ -0,0 +1,15 @@
<?php
/*
* Created on 2013-12-26
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
define('PEPATH',dirname(dirname(__FILE__)));
class app
{
public $G;
public function __construct()
{

@ -0,0 +1,15 @@
<?php
/*
* Created on 2013-12-26
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
define('PEPATH',dirname(dirname(__FILE__)));
class app
{
public $G;
public function __construct()
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->session = \PHPEMS\ginkgo::make('session');
$this->ask = \PHPEMS\ginkgo::make('ask','ask');
$this->user = \PHPEMS\ginkgo::make('user','user');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class ask_ask
{
public $G;
public function __construct()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pepdo');
$this->pg = \PHPEMS\ginkgo::make('pg');
$this->ev = \PHPEMS\ginkgo::make('ev');
}

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->coin = 20;
if(!$this->_user['sessionuserid'])
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->tpl->assign('status',array("未回答","已回答"));
$this->tpl->assign('showstatus',array("不公开","公开"));
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->ask = \PHPEMS\ginkgo::make('ask','ask');
$this->apps = \PHPEMS\ginkgo::make('apps','core');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->session = \PHPEMS\ginkgo::make('session');
$this->ask = \PHPEMS\ginkgo::make('ask','ask');
$this->user = \PHPEMS\ginkgo::make('user','user');
$this->_user = $_user = $this->session->getSessionUser();

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
if($this->ev->isMobile())
{
header("location:index.php?content-phone");

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pdodb');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class consume_bank
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class coupon_bank
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->sql = \PHPEMS\ginkgo::make('sql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class orders_bank
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$this->coupon = \PHPEMS\ginkgo::make('coupon','bank');
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->module = \PHPEMS\ginkgo::make('module');
$action = $this->ev->url(3);
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public $_user;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public $data = array();
public $sessionvars;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class ce_certificate
{
public $G;
public function __construct()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pepdo');
$this->pg = \PHPEMS\ginkgo::make('pg');
$this->ev = \PHPEMS\ginkgo::make('ev');
}

@ -0,0 +1,13 @@
<?php
namespace PHPEMS;
/*
* Created on 2013-5-31
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class config_certificate
{
public $status = array('申请中','已受理','已出证','申请被驳回');
}
?>

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->gd = \PHPEMS\ginkgo::make('gd');
$new = $this->ce->getCeQueueList($args,1,10);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->gd = \PHPEMS\ginkgo::make('gd');
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->config = \PHPEMS\ginkgo::make('config','certificate');
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->config = \PHPEMS\ginkgo::make('config','ce');
$action = $this->ev->url(3);
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
//初始化信息
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->user = \PHPEMS\ginkgo::make('user','user');
$this->_user = $_user = $this->session->getSessionUser();
$group = $this->user->getGroupById($_user['sessiongroupid']);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public $data = array();
public $sessionvars;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class api_content
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->sql = \PHPEMS\ginkgo::make('sql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class block_content
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->categories = NULL;

@ -0,0 +1,13 @@
<?php
namespace PHPEMS;
/*
* Created on 2013-5-31
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class config_content
{
public $fields = array('contentid','contentcatid','contentmoduleid','contentuserid','contentusername','contenttitle','contentthumb','contentlink','contentinputtime','contentmodifytime','contentsequence','contentdescribe','contentstatus','contenttemplate','contenttext','contenttags','contentkeywords');
}
?>

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class content_content
{
public $G;
public function __construct()
{
}
public function _init()
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class position_content
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->positions = NULL;

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->position = \PHPEMS\ginkgo::make('position','content');
$action = $this->ev->url(3);
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$search = $this->ev->get('search');
$this->u = '';

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
class action extends app
{
public function display()
{
if($this->ev->isMobile())
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$search = $this->ev->get('search');
$this->u = '';

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pdodb');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->files = \PHPEMS\ginkgo::make('files');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->ev = \PHPEMS\ginkgo::make('ev');
}

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->session = \PHPEMS\ginkgo::make('session');
$this->user = \PHPEMS\ginkgo::make('user','user');
$this->_user = $_user = $this->session->getSessionUser();

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class apps_core
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class nav_core
{
public $G;
public function _init()
{
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pepdo');
}
public function getNav($navid)
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
use thiagoalessio\TesseractOCR\TesseractOCR;
set_time_limit(0);
class action extends app
{
public function display()
{

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->nav = \PHPEMS\ginkgo::make('nav','core');
$action = $this->ev->url(3);
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
namespace PHPEMS;
set_time_limit(0);
class action extends app
{
public function display()
{
$this->pdo = \PHPEMS\ginkgo::make('pepdo');
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
set_time_limit(0);
class action extends app
{
public function display()
{
$this->area = \PHPEMS\ginkgo::make('area');
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public $_user;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->session = \PHPEMS\ginkgo::make('session');
$this->course = \PHPEMS\ginkgo::make('course','course');
$this->content = \PHPEMS\ginkgo::make('content','content');
$this->user = \PHPEMS\ginkgo::make('user','user');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
//初始化信息
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->session = \PHPEMS\ginkgo::make('session');
$this->user = \PHPEMS\ginkgo::make('user','user');
$_user = $this->session->getSessionUser();
$this->_user = $this->user->getUserById($_user['sessionuserid']);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class app
{
public $G;
public function __construct()
{
$this->ev = \PHPEMS\ginkgo::make('ev');
$this->tpl = \PHPEMS\ginkgo::make('tpl');
$this->sql = \PHPEMS\ginkgo::make('sql');
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pdodb');

@ -0,0 +1,13 @@
<?php
namespace PHPEMS;
/*
* Created on 2013-5-31
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class config_course
{
public $fields = array('courseid','coursetitle','coursecsid','coursethumb','courseuserid','coursemoduleid','courseinputtime','coursemodifytime','coursesequence','coursedescribe');
}
?>

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class content_course
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->categories = NULL;

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class course_course
{
public $G;
public function __construct()
{
$this->categories = NULL;
$this->tidycategories = NULL;
$this->pdosql = \PHPEMS\ginkgo::make('pdosql');
$this->db = \PHPEMS\ginkgo::make('pepdo');
$this->pg = \PHPEMS\ginkgo::make('pg');
$this->ev = \PHPEMS\ginkgo::make('ev');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
class log_course
{
public $G;
public function __construct()
{
}
public function _init()
{
$this->categories = NULL;

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$this->html = \PHPEMS\ginkgo::make('html');
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$this->coupon = \PHPEMS\ginkgo::make('coupon','bank');
if(!method_exists($this,$action))

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$this->progress = \PHPEMS\ginkgo::make('progress','user');
$this->module = \PHPEMS\ginkgo::make('module');

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->log = \PHPEMS\ginkgo::make('log','course');
$action = $this->ev->url(3);
$subjects = $this->basic->getSubjectList();

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$this->module = \PHPEMS\ginkgo::make('module');
$this->progress = \PHPEMS\ginkgo::make('progress','user');
$action = $this->ev->url(3);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$subjects = $this->basic->getSubjectList();
$this->tpl->assign('subjects',$subjects);

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
$search = $this->ev->get('search');
$this->u = '';

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

@ -0,0 +1,15 @@
<?php
namespace PHPEMS;
/*
* Created on 2016-5-19
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
class action extends app
{
public function display()
{
$action = $this->ev->url(3);
if(!method_exists($this,$action))
$action = "index";

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save