Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?php
/**
* @name 驾驶执照考试
* @package DrivingTest
* @author 冰剑
* @link http://www.binjoo.net
* @description 考驾照科目一练习
* @version 1.0.0
*/
class AddonsDrivingTest {
private $result;
private $data;
function __construct($result) {
$this->result = $result;
$this->data = array(
array(
'title' => '驾校一点通模拟考试',
'description' => '',
'picurl' => '',
'url' => ''
),
array(
'title' => '小车考试科目一 车型C1 C2照',
'description' => '',
'picurl' => '',
'url' => 'http://m.jxedt.com/mnks/indexlx.asp'
),
array(
'title' => '货车考试科目一 车型A2 B2照',
'description' => '',
'picurl' => '',
'url' => 'http://m.jxedt.com/mnks/indexlx.asp?type=b'
),
array(
'title' => '客车考试科目一 车型A1 A3 B1照',
'description' => '',
'picurl' => '',
'url' => 'http://m.jxedt.com/mnks/indexlx.asp?type=a'
),
array(
'title' => '安全文明科目四 车型C1 C2 B2照',
'description' => '',
'picurl' => '',
'url' => 'http://m.jxedt.com/mnks/indexlx.asp?type=s'
)
);
}
public function execute(){
foreach ($this->data as $row) {
$this->result->addItem($row);
}
$this->result->setMsgType(MessageTemplate::NEWS)->send();
}
}
?>