├── .gitattributes ├── .gitignore ├── api ├── config.inc.php ├── include │ └── db_mysql.class.php ├── uc.php └── uc_client │ ├── client.php │ ├── control │ ├── app.php │ ├── cache.php │ ├── domain.php │ ├── feed.php │ ├── friend.php │ ├── index.htm │ ├── mail.php │ ├── pm.php │ ├── tag.php │ └── user.php │ ├── data │ ├── cache │ │ ├── apps.php │ │ └── index.htm │ └── index.htm │ ├── index.htm │ ├── lib │ ├── db.class.php │ ├── index.htm │ ├── sendmail.inc.php │ ├── uccode.class.php │ └── xml.class.php │ └── model │ ├── app.php │ ├── base.php │ ├── cache.php │ ├── domain.php │ ├── friend.php │ ├── index.htm │ ├── mail.php │ ├── misc.php │ ├── note.php │ ├── pm.php │ ├── tag.php │ └── user.php ├── app ├── bank │ ├── api.php │ ├── cls │ │ ├── coupon.cls.php │ │ └── orders.cls.php │ ├── master.php │ └── tpls │ │ └── master │ │ ├── addcoupon.tpl │ │ ├── coupon.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ ├── menu.tpl │ │ ├── nav.tpl │ │ ├── orders.tpl │ │ └── outcoupon.tpl ├── content │ ├── app.php │ ├── cls │ │ ├── ad.cls.php │ │ ├── api.cls.php │ │ ├── block.cls.php │ │ ├── config.cls.php │ │ ├── content.cls.php │ │ ├── position.cls.php │ │ └── work.cls.php │ ├── master.php │ ├── styles │ │ ├── css │ │ │ └── theme.css │ │ └── img │ │ │ ├── glyphicons-halflings-white.png │ │ │ ├── glyphicons-halflings.png │ │ │ └── theme │ │ │ ├── bg.png │ │ │ ├── foot.jpg │ │ │ ├── logo.jpg │ │ │ └── title.jpg │ └── tpls │ │ ├── app │ │ ├── category_default.tpl │ │ ├── content_default.tpl │ │ ├── foot.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ └── nav.tpl │ │ └── master │ │ ├── Copy of category.tpl │ │ ├── addfield.tpl │ │ ├── addmodule.tpl │ │ ├── blocks.tpl │ │ ├── blocks_add.tpl │ │ ├── blocks_modify.tpl │ │ ├── category.tpl │ │ ├── category_add.tpl │ │ ├── category_ajax_data.tpl │ │ ├── category_edit.tpl │ │ ├── content.tpl │ │ ├── content_add.tpl │ │ ├── content_copy.tpl │ │ ├── content_edit.tpl │ │ ├── content_move.tpl │ │ ├── content_position.tpl │ │ ├── fields.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ ├── menu.tpl │ │ ├── modifyfield.tpl │ │ ├── modifymodule.tpl │ │ ├── module.tpl │ │ ├── nav.tpl │ │ ├── preview.tpl │ │ └── preview_ajax.tpl ├── core │ ├── api.php │ ├── cls │ │ └── apps.cls.php │ ├── master.php │ ├── styles │ │ ├── css │ │ │ ├── bootstrap-combined.min.css │ │ │ ├── bootstrap-responsive.css │ │ │ ├── bootstrap.css │ │ │ ├── datepicker.css │ │ │ ├── datetimepicker.css │ │ │ ├── img │ │ │ │ ├── glyphicons-halflings-white.png │ │ │ │ └── glyphicons-halflings.png │ │ │ ├── jquery-ui.css │ │ │ ├── layoutit.css │ │ │ ├── moplugin.css │ │ │ └── plugin.css │ │ ├── images │ │ │ ├── board.png │ │ │ ├── favicon.png │ │ │ ├── icons │ │ │ │ ├── Book.png │ │ │ │ ├── Calendar.png │ │ │ │ ├── Chat.png │ │ │ │ ├── Clipboard.png │ │ │ │ ├── Compas.png │ │ │ │ ├── Gift-Box.png │ │ │ │ ├── Infinity-Loop.png │ │ │ │ ├── Mail.png │ │ │ │ ├── Map.png │ │ │ │ ├── Pensils.png │ │ │ │ ├── Pocket.png │ │ │ │ ├── Retina-Ready.png │ │ │ │ ├── Toilet-Paper.png │ │ │ │ └── Watches.png │ │ │ ├── layout.png │ │ │ ├── loader.gif │ │ │ ├── noimage.gif │ │ │ ├── none.gif │ │ │ ├── noupload.gif │ │ │ ├── private.png │ │ │ ├── private2.png │ │ │ ├── right.png │ │ │ ├── uploadico.png │ │ │ └── wrong.png │ │ ├── img │ │ │ ├── glyphicons-halflings-white.png │ │ │ └── glyphicons-halflings.png │ │ └── js │ │ │ ├── bootstrap-datepicker.js │ │ │ ├── bootstrap-datetimepicker.js │ │ │ ├── bootstrap-datetimepicker.zh-CN.js │ │ │ ├── bootstrap.min.js │ │ │ ├── ckeditor │ │ │ ├── CHANGES.md │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── build-config.js │ │ │ ├── ckeditor.js │ │ │ ├── config.js │ │ │ ├── contents.css │ │ │ ├── lang │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh.js │ │ │ ├── plugins │ │ │ │ ├── a11yhelp │ │ │ │ │ └── dialogs │ │ │ │ │ │ ├── a11yhelp.js │ │ │ │ │ │ └── lang │ │ │ │ │ │ ├── _translationstatus.txt │ │ │ │ │ │ ├── ar.js │ │ │ │ │ │ ├── bg.js │ │ │ │ │ │ ├── ca.js │ │ │ │ │ │ ├── cs.js │ │ │ │ │ │ ├── cy.js │ │ │ │ │ │ ├── da.js │ │ │ │ │ │ ├── de.js │ │ │ │ │ │ ├── el.js │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ ├── eo.js │ │ │ │ │ │ ├── es.js │ │ │ │ │ │ ├── et.js │ │ │ │ │ │ ├── fa.js │ │ │ │ │ │ ├── fi.js │ │ │ │ │ │ ├── fr-ca.js │ │ │ │ │ │ ├── fr.js │ │ │ │ │ │ ├── gu.js │ │ │ │ │ │ ├── he.js │ │ │ │ │ │ ├── hi.js │ │ │ │ │ │ ├── hr.js │ │ │ │ │ │ ├── hu.js │ │ │ │ │ │ ├── it.js │ │ │ │ │ │ ├── ja.js │ │ │ │ │ │ ├── km.js │ │ │ │ │ │ ├── ku.js │ │ │ │ │ │ ├── lt.js │ │ │ │ │ │ ├── lv.js │ │ │ │ │ │ ├── mk.js │ │ │ │ │ │ ├── mn.js │ │ │ │ │ │ ├── nb.js │ │ │ │ │ │ ├── nl.js │ │ │ │ │ │ ├── no.js │ │ │ │ │ │ ├── pl.js │ │ │ │ │ │ ├── pt-br.js │ │ │ │ │ │ ├── pt.js │ │ │ │ │ │ ├── ro.js │ │ │ │ │ │ ├── ru.js │ │ │ │ │ │ ├── sk.js │ │ │ │ │ │ ├── sl.js │ │ │ │ │ │ ├── sq.js │ │ │ │ │ │ ├── sv.js │ │ │ │ │ │ ├── th.js │ │ │ │ │ │ ├── tr.js │ │ │ │ │ │ ├── ug.js │ │ │ │ │ │ ├── uk.js │ │ │ │ │ │ ├── vi.js │ │ │ │ │ │ └── zh-cn.js │ │ │ │ ├── about │ │ │ │ │ └── dialogs │ │ │ │ │ │ ├── about.js │ │ │ │ │ │ └── logo_ckeditor.png │ │ │ │ ├── clipboard │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── paste.js │ │ │ │ ├── colordialog │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── colordialog.js │ │ │ │ ├── dialog │ │ │ │ │ └── dialogDefinition.js │ │ │ │ ├── div │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── div.js │ │ │ │ ├── fakeobjects │ │ │ │ │ └── images │ │ │ │ │ │ └── spacer.gif │ │ │ │ ├── find │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── find.js │ │ │ │ ├── flash │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── flash.js │ │ │ │ │ └── images │ │ │ │ │ │ └── placeholder.png │ │ │ │ ├── forms │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── button.js │ │ │ │ │ │ ├── checkbox.js │ │ │ │ │ │ ├── form.js │ │ │ │ │ │ ├── hiddenfield.js │ │ │ │ │ │ ├── radio.js │ │ │ │ │ │ ├── select.js │ │ │ │ │ │ ├── textarea.js │ │ │ │ │ │ └── textfield.js │ │ │ │ │ └── images │ │ │ │ │ │ └── hiddenfield.gif │ │ │ │ ├── icons.png │ │ │ │ ├── iframe │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── iframe.js │ │ │ │ │ └── images │ │ │ │ │ │ └── placeholder.png │ │ │ │ ├── image │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── image.js │ │ │ │ │ └── images │ │ │ │ │ │ └── noimage.png │ │ │ │ ├── link │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── anchor.js │ │ │ │ │ │ └── link.js │ │ │ │ │ └── images │ │ │ │ │ │ └── anchor.png │ │ │ │ ├── liststyle │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── liststyle.js │ │ │ │ ├── magicline │ │ │ │ │ └── images │ │ │ │ │ │ └── icon.png │ │ │ │ ├── pagebreak │ │ │ │ │ └── images │ │ │ │ │ │ └── pagebreak.gif │ │ │ │ ├── pastefromword │ │ │ │ │ └── filter │ │ │ │ │ │ └── default.js │ │ │ │ ├── preview │ │ │ │ │ └── preview.html │ │ │ │ ├── scayt │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ └── dialogs │ │ │ │ │ │ ├── options.js │ │ │ │ │ │ └── toolbar.css │ │ │ │ ├── showblocks │ │ │ │ │ └── images │ │ │ │ │ │ ├── block_address.png │ │ │ │ │ │ ├── block_blockquote.png │ │ │ │ │ │ ├── block_div.png │ │ │ │ │ │ ├── block_h1.png │ │ │ │ │ │ ├── block_h2.png │ │ │ │ │ │ ├── block_h3.png │ │ │ │ │ │ ├── block_h4.png │ │ │ │ │ │ ├── block_h5.png │ │ │ │ │ │ ├── block_h6.png │ │ │ │ │ │ ├── block_p.png │ │ │ │ │ │ └── block_pre.png │ │ │ │ ├── smiley │ │ │ │ │ ├── dialogs │ │ │ │ │ │ └── smiley.js │ │ │ │ │ └── images │ │ │ │ │ │ ├── angel_smile.gif │ │ │ │ │ │ ├── angry_smile.gif │ │ │ │ │ │ ├── broken_heart.gif │ │ │ │ │ │ ├── confused_smile.gif │ │ │ │ │ │ ├── cry_smile.gif │ │ │ │ │ │ ├── devil_smile.gif │ │ │ │ │ │ ├── embaressed_smile.gif │ │ │ │ │ │ ├── embarrassed_smile.gif │ │ │ │ │ │ ├── envelope.gif │ │ │ │ │ │ ├── heart.gif │ │ │ │ │ │ ├── kiss.gif │ │ │ │ │ │ ├── lightbulb.gif │ │ │ │ │ │ ├── omg_smile.gif │ │ │ │ │ │ ├── regular_smile.gif │ │ │ │ │ │ ├── sad_smile.gif │ │ │ │ │ │ ├── shades_smile.gif │ │ │ │ │ │ ├── teeth_smile.gif │ │ │ │ │ │ ├── thumbs_down.gif │ │ │ │ │ │ ├── thumbs_up.gif │ │ │ │ │ │ ├── tongue_smile.gif │ │ │ │ │ │ ├── tounge_smile.gif │ │ │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ │ │ └── wink_smile.gif │ │ │ │ ├── specialchar │ │ │ │ │ └── dialogs │ │ │ │ │ │ ├── lang │ │ │ │ │ │ ├── _translationstatus.txt │ │ │ │ │ │ ├── ca.js │ │ │ │ │ │ ├── cs.js │ │ │ │ │ │ ├── cy.js │ │ │ │ │ │ ├── de.js │ │ │ │ │ │ ├── el.js │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ ├── eo.js │ │ │ │ │ │ ├── es.js │ │ │ │ │ │ ├── et.js │ │ │ │ │ │ ├── fa.js │ │ │ │ │ │ ├── fi.js │ │ │ │ │ │ ├── fr-ca.js │ │ │ │ │ │ ├── fr.js │ │ │ │ │ │ ├── he.js │ │ │ │ │ │ ├── hr.js │ │ │ │ │ │ ├── it.js │ │ │ │ │ │ ├── ku.js │ │ │ │ │ │ ├── lv.js │ │ │ │ │ │ ├── nb.js │ │ │ │ │ │ ├── nl.js │ │ │ │ │ │ ├── no.js │ │ │ │ │ │ ├── pl.js │ │ │ │ │ │ ├── pt-br.js │ │ │ │ │ │ ├── sk.js │ │ │ │ │ │ ├── sq.js │ │ │ │ │ │ ├── sv.js │ │ │ │ │ │ ├── th.js │ │ │ │ │ │ ├── tr.js │ │ │ │ │ │ ├── ug.js │ │ │ │ │ │ └── zh-cn.js │ │ │ │ │ │ └── specialchar.js │ │ │ │ ├── table │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── table.js │ │ │ │ ├── tabletools │ │ │ │ │ └── dialogs │ │ │ │ │ │ └── tableCell.js │ │ │ │ ├── templates │ │ │ │ │ ├── dialogs │ │ │ │ │ │ ├── templates.css │ │ │ │ │ │ └── templates.js │ │ │ │ │ └── templates │ │ │ │ │ │ ├── default.js │ │ │ │ │ │ └── images │ │ │ │ │ │ ├── template1.gif │ │ │ │ │ │ ├── template2.gif │ │ │ │ │ │ └── template3.gif │ │ │ │ └── wsc │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ └── dialogs │ │ │ │ │ ├── ciframe.html │ │ │ │ │ ├── tmpFrameset.html │ │ │ │ │ ├── wsc.css │ │ │ │ │ └── wsc.js │ │ │ ├── skins │ │ │ │ └── moono │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── dialog_ie.css │ │ │ │ │ ├── dialog_ie7.css │ │ │ │ │ ├── dialog_ie8.css │ │ │ │ │ ├── dialog_iequirks.css │ │ │ │ │ ├── dialog_opera.css │ │ │ │ │ ├── editor.css │ │ │ │ │ ├── editor_gecko.css │ │ │ │ │ ├── editor_ie.css │ │ │ │ │ ├── editor_ie7.css │ │ │ │ │ ├── editor_ie8.css │ │ │ │ │ ├── editor_iequirks.css │ │ │ │ │ ├── icons.png │ │ │ │ │ ├── images │ │ │ │ │ ├── arrow.png │ │ │ │ │ ├── close.png │ │ │ │ │ └── mini.png │ │ │ │ │ └── readme.md │ │ │ └── styles.js │ │ │ ├── highcharts.js │ │ │ ├── html5.js │ │ │ ├── jquery-1.9.1.min.js │ │ │ ├── jquery-ui.js │ │ │ ├── jquery.json.js │ │ │ ├── jquery.min.js │ │ │ ├── plugin.js │ │ │ ├── swfu │ │ │ ├── swfupload.js │ │ │ ├── swfupload.swf │ │ │ └── swfuploadbutton.swf │ │ │ ├── unslider.min.js │ │ │ └── wechat.js │ └── tpls │ │ └── master │ │ ├── apps.tpl │ │ ├── config.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ ├── login.tpl │ │ ├── menu.tpl │ │ └── nav.tpl ├── document │ ├── api.php │ └── config │ │ └── config.php ├── exam │ ├── api.php │ ├── app.php │ ├── cls │ │ ├── answer.cls.php │ │ ├── area.cls.php │ │ ├── basic.cls.php │ │ ├── exam.cls.php │ │ ├── favor.cls.php │ │ ├── info.cls.php │ │ ├── question.cls.php │ │ └── section.cls.php │ ├── config │ │ └── config.php │ ├── lang │ │ └── exam.lang.php │ ├── master.php │ ├── phone.php │ ├── styles │ │ ├── css │ │ │ ├── core.css │ │ │ ├── exam_paper.css │ │ │ ├── global.css │ │ │ ├── login.css │ │ │ ├── mathquill.css │ │ │ ├── plugin.css │ │ │ └── style.css │ │ ├── image │ │ │ ├── answer_note_tit.jpg │ │ │ ├── answer_tit.jpg │ │ │ ├── body_bg.jpg │ │ │ ├── btn_begin_exam.jpg │ │ │ ├── btn_begin_exam_n.jpg │ │ │ ├── btn_begin_exam_y.jpg │ │ │ ├── btn_begin_exam_z.jpg │ │ │ ├── btn_begin_exer.jpg │ │ │ ├── btn_login.jpg │ │ │ ├── btn_open_basic.jpg │ │ │ ├── btn_qu_option.jpg │ │ │ ├── calculator.jpg │ │ │ ├── caozuoshuoming_tit.jpg │ │ │ ├── clue_bg.jpg │ │ │ ├── column_pic1.jpg │ │ │ ├── column_pic2.jpg │ │ │ ├── column_pic3.jpg │ │ │ ├── column_pic4.jpg │ │ │ ├── column_pic5.jpg │ │ │ ├── column_pic6.jpg │ │ │ ├── editor.jpg │ │ │ ├── editor │ │ │ │ ├── ColumnBg.gif │ │ │ │ ├── bg-menu-tab.gif │ │ │ │ ├── function.gif │ │ │ │ ├── icon.png │ │ │ │ └── icon1.png │ │ │ ├── exam_notice_basic.jpg │ │ │ ├── exam_notice_tit.jpg │ │ │ ├── exam_opened_basic.jpg │ │ │ ├── exam_paper_tit.jpg │ │ │ ├── exam_tit.jpg │ │ │ ├── exer_notice_tit.jpg │ │ │ ├── fenshu.gif │ │ │ ├── h-1.jpg │ │ │ ├── h-2.jpg │ │ │ ├── h-3.jpg │ │ │ ├── h-4.jpg │ │ │ ├── h-5.jpg │ │ │ ├── h-6.jpg │ │ │ ├── h-7.jpg │ │ │ ├── head_banner.jpg │ │ │ ├── head_bg.jpg │ │ │ ├── home_btn.jpg │ │ │ ├── house_tit.jpg │ │ │ ├── icon-mark.gif │ │ │ ├── icon.gif │ │ │ ├── icon.psd │ │ │ ├── icon_dot.jpg │ │ │ ├── icon_listen.jpg │ │ │ ├── icon_shopcar.jpg │ │ │ ├── importdemo.jpg │ │ │ ├── importdemo2.jpg │ │ │ ├── kaoshengxinxi_tit.jpg │ │ │ ├── km_kj_tit.jpg │ │ │ ├── left_lesson_bg_hb.jpg │ │ │ ├── left_lesson_bg_mid.jpg │ │ │ ├── lesson_nav_bg.gif │ │ │ ├── login02_tit.jpg │ │ │ ├── login_tit.jpg │ │ │ ├── lvbiao_close_btn.jpg │ │ │ ├── open_left_btn.gif │ │ │ ├── paper.png │ │ │ ├── photo.jpg │ │ │ ├── qianghuaxunlian_tit.jpg │ │ │ ├── result_img.jpg │ │ │ ├── result_tit.jpg │ │ │ ├── right_760_bor_hb.jpg │ │ │ ├── right_760_bor_mid.jpg │ │ │ ├── right_970_bor_hb.jpg │ │ │ ├── right_970_bor_mid.jpg │ │ │ ├── save_img.jpg │ │ │ ├── shitiliebiao_tit.jpg │ │ │ ├── shouze_tit.jpg │ │ │ ├── simulation_tit.jpg │ │ │ ├── suijikaoshi_tit.jpg │ │ │ ├── time_bg.jpg │ │ │ ├── tishi_tit.jpg │ │ │ ├── tit_bg.jpg │ │ │ ├── usertabledemo.jpg │ │ │ ├── usertabledemo2.jpg │ │ │ ├── wrong_note_tit.jpg │ │ │ └── xuanzekemu_tit.jpg │ │ └── js │ │ │ ├── SpryCollapsiblePanel.js │ │ │ ├── index.js │ │ │ ├── lesson_nav.js │ │ │ ├── lib.js │ │ │ ├── mathquill.min.js │ │ │ ├── paperview.js │ │ │ └── plugin.js │ ├── teach.php │ └── tpls │ │ ├── app │ │ ├── basics.tpl │ │ ├── basics_detail.tpl │ │ ├── basics_open.tpl │ │ ├── bread.tpl │ │ ├── exam.tpl │ │ ├── exam_mkscore.tpl │ │ ├── exam_order.tpl │ │ ├── exam_paper.tpl │ │ ├── exam_paper_question.tpl │ │ ├── exam_rules.tpl │ │ ├── exam_score.tpl │ │ ├── exam_selectsubject.tpl │ │ ├── exam_sign.tpl │ │ ├── exam_view.tpl │ │ ├── exampaper.tpl │ │ ├── exampaper_mkscore.tpl │ │ ├── exampaper_paper.tpl │ │ ├── exampaper_paper_question.tpl │ │ ├── exampaper_score.tpl │ │ ├── exampaper_sign.tpl │ │ ├── exampaper_view.tpl │ │ ├── exercise.tpl │ │ ├── exercise_mkscore.tpl │ │ ├── exercise_number.tpl │ │ ├── exercise_paper.tpl │ │ ├── exercise_paper_question.tpl │ │ ├── exercise_score.tpl │ │ ├── exercise_view.tpl │ │ ├── favor.tpl │ │ ├── foot.tpl │ │ ├── head.tpl │ │ ├── header.tpl │ │ ├── history.tpl │ │ ├── history_exampaperview.tpl │ │ ├── history_exampaperwrongs.tpl │ │ ├── history_examview.tpl │ │ ├── history_examwrongs.tpl │ │ ├── history_exerciseview.tpl │ │ ├── history_exercisewrongs.tpl │ │ ├── index.tpl │ │ ├── left.tpl │ │ ├── lesson.tpl │ │ ├── lesson_ajaxquestion.tpl │ │ ├── lesson_number.tpl │ │ ├── lesson_paper.tpl │ │ ├── nav.tpl │ │ ├── plugin_editor.tpl │ │ ├── record.tpl │ │ └── scores.tpl │ │ ├── master │ │ ├── basic.tpl │ │ ├── basic_add.tpl │ │ ├── basic_addarea.tpl │ │ ├── basic_addpoint.tpl │ │ ├── basic_addquestype.tpl │ │ ├── basic_addsection.tpl │ │ ├── basic_addsubject.tpl │ │ ├── basic_area.tpl │ │ ├── basic_examrange.tpl │ │ ├── basic_modify.tpl │ │ ├── basic_modifyarea.tpl │ │ ├── basic_modifypoint.tpl │ │ ├── basic_modifyquest.tpl │ │ ├── basic_modifysection.tpl │ │ ├── basic_modifysubject.tpl │ │ ├── basic_point.tpl │ │ ├── basic_questype.tpl │ │ ├── basic_section.tpl │ │ ├── basic_subject.tpl │ │ ├── exams.tpl │ │ ├── exams_ajaxsetting.tpl │ │ ├── exams_auto.tpl │ │ ├── exams_modifyauto.tpl │ │ ├── exams_modifyself.tpl │ │ ├── exams_selected.tpl │ │ ├── exams_self.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ ├── menu.tpl │ │ ├── nav.tpl │ │ ├── question_add.tpl │ │ ├── question_batadd.tpl │ │ ├── question_detail.tpl │ │ ├── question_filebatadd.tpl │ │ ├── questionchildrows_modify.tpl │ │ ├── questionrows.tpl │ │ ├── questionrows_add.tpl │ │ ├── questionrows_addchild.tpl │ │ ├── questionrows_batadd.tpl │ │ ├── questionrows_bataddchild.tpl │ │ ├── questionrows_detail.tpl │ │ ├── questionrows_list.tpl │ │ ├── questionrows_modify.tpl │ │ ├── questions.tpl │ │ ├── questions_modify.tpl │ │ ├── recyle_knows.tpl │ │ ├── recyle_questions.tpl │ │ ├── recyle_rowsquestions.tpl │ │ ├── selectquestions.tpl │ │ ├── tools.tpl │ │ ├── tools_history.tpl │ │ ├── tools_session.tpl │ │ ├── user.tpl │ │ ├── user_batopen.tpl │ │ └── users_basic.tpl │ │ ├── phone │ │ ├── basics.tpl │ │ ├── exercise.tpl │ │ ├── exercise_number.tpl │ │ ├── exercise_paper.tpl │ │ ├── exercise_score.tpl │ │ ├── exercise_view.tpl │ │ ├── favor.tpl │ │ ├── foot.tpl │ │ ├── header.tpl │ │ ├── history_exerciseview.tpl │ │ ├── index.tpl │ │ ├── login.tpl │ │ ├── nav.tpl │ │ └── scores.tpl │ │ └── teach │ │ ├── basic.tpl │ │ ├── basic_add.tpl │ │ ├── basic_addarea.tpl │ │ ├── basic_addpoint.tpl │ │ ├── basic_addquestype.tpl │ │ ├── basic_addsection.tpl │ │ ├── basic_addsubject.tpl │ │ ├── basic_area.tpl │ │ ├── basic_examrange.tpl │ │ ├── basic_modify.tpl │ │ ├── basic_modifypoint.tpl │ │ ├── basic_modifysection.tpl │ │ ├── basic_modifysubject.tpl │ │ ├── basic_point.tpl │ │ ├── basic_questype.tpl │ │ ├── basic_section.tpl │ │ ├── basic_subject.tpl │ │ ├── exams.tpl │ │ ├── exams_ajaxsetting.tpl │ │ ├── exams_auto.tpl │ │ ├── exams_modifyauto.tpl │ │ ├── exams_modifyself.tpl │ │ ├── exams_selected.tpl │ │ ├── exams_self.tpl │ │ ├── header.tpl │ │ ├── index.tpl │ │ ├── menu.tpl │ │ ├── nav.tpl │ │ ├── question_add.tpl │ │ ├── question_batadd.tpl │ │ ├── question_detail.tpl │ │ ├── questionchildrows_modify.tpl │ │ ├── questionrows.tpl │ │ ├── questionrows_add.tpl │ │ ├── questionrows_addchild.tpl │ │ ├── questionrows_batadd.tpl │ │ ├── questionrows_bataddchild.tpl │ │ ├── questionrows_detail.tpl │ │ ├── questionrows_list.tpl │ │ ├── questionrows_modify.tpl │ │ ├── questions.tpl │ │ ├── questions_modify.tpl │ │ ├── recyle_knows.tpl │ │ ├── recyle_questions.tpl │ │ ├── recyle_rowsquestions.tpl │ │ ├── selectquestions.tpl │ │ ├── user.tpl │ │ ├── users_basic.tpl │ │ ├── users_decide.tpl │ │ ├── users_history.tpl │ │ └── users_scorelist.tpl └── user │ ├── api.php │ ├── app.php │ ├── center.php │ ├── cls │ ├── config.cls.php │ ├── msg.cls.php │ └── user.cls.php │ ├── master.php │ ├── phone.php │ ├── styles │ ├── css │ │ ├── phone.css │ │ └── theme.css │ └── img │ │ └── theme │ │ ├── board.png │ │ ├── bom_cor.png │ │ ├── logo.png │ │ ├── right.png │ │ └── wrong.png │ └── tpls │ ├── api │ ├── foot.tpl │ ├── header.tpl │ └── payfor_status.tpl │ ├── app │ ├── foot.tpl │ ├── header.tpl │ ├── login.tpl │ ├── nav.tpl │ └── register.tpl │ ├── center │ ├── foot.tpl │ ├── header.tpl │ ├── index.tpl │ ├── menu.tpl │ ├── modifyuser.tpl │ ├── nav.tpl │ ├── payfor.tpl │ └── payfor_detail.tpl │ ├── master │ ├── actor.tpl │ ├── addactor.tpl │ ├── addfield.tpl │ ├── addmodule.tpl │ ├── adduser.tpl │ ├── batadduser.tpl │ ├── fields.tpl │ ├── header.tpl │ ├── index.tpl │ ├── menu.tpl │ ├── modifyactor.tpl │ ├── modifyfield.tpl │ ├── modifymodule.tpl │ ├── modifyuser.tpl │ ├── module.tpl │ ├── nav.tpl │ ├── preview.tpl │ └── user.tpl │ └── phone │ ├── foot.tpl │ ├── header.tpl │ ├── login.tpl │ └── register.tpl ├── data ├── compile │ ├── bank │ │ └── tpls │ │ │ └── master │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%menu.php │ │ │ └── %%cpl%%nav.php │ ├── content │ │ └── tpls │ │ │ ├── app │ │ │ ├── %%cpl%%content_default.php │ │ │ ├── %%cpl%%foot.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ └── %%cpl%%nav.php │ │ │ └── master │ │ │ ├── %%cpl%%addmodule.php │ │ │ ├── %%cpl%%blocks.php │ │ │ ├── %%cpl%%category.php │ │ │ ├── %%cpl%%content.php │ │ │ ├── %%cpl%%fields.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%menu.php │ │ │ ├── %%cpl%%module.php │ │ │ └── %%cpl%%nav.php │ ├── core │ │ └── tpls │ │ │ └── master │ │ │ ├── %%cpl%%apps.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%login.php │ │ │ ├── %%cpl%%menu.php │ │ │ └── %%cpl%%nav.php │ ├── exam │ │ └── tpls │ │ │ ├── app │ │ │ ├── %%cpl%%basics.php │ │ │ ├── %%cpl%%basics_detail.php │ │ │ ├── %%cpl%%basics_open.php │ │ │ ├── %%cpl%%exam.php │ │ │ ├── %%cpl%%exam_mkscore.php │ │ │ ├── %%cpl%%exam_paper_question.php │ │ │ ├── %%cpl%%exam_score.php │ │ │ ├── %%cpl%%exampaper.php │ │ │ ├── %%cpl%%exampaper_paper.php │ │ │ ├── %%cpl%%exercise.php │ │ │ ├── %%cpl%%foot.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%history.php │ │ │ ├── %%cpl%%history_examview.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%lesson.php │ │ │ ├── %%cpl%%lesson_ajaxquestion.php │ │ │ ├── %%cpl%%lesson_number.php │ │ │ ├── %%cpl%%lesson_paper.php │ │ │ ├── %%cpl%%nav.php │ │ │ └── %%cpl%%scores.php │ │ │ ├── master │ │ │ ├── %%cpl%%basic.php │ │ │ ├── %%cpl%%basic_addarea.php │ │ │ ├── %%cpl%%basic_addpoint.php │ │ │ ├── %%cpl%%basic_addsubject.php │ │ │ ├── %%cpl%%basic_area.php │ │ │ ├── %%cpl%%basic_examrange.php │ │ │ ├── %%cpl%%basic_modify.php │ │ │ ├── %%cpl%%basic_modifyarea.php │ │ │ ├── %%cpl%%basic_modifypoint.php │ │ │ ├── %%cpl%%basic_modifyquest.php │ │ │ ├── %%cpl%%basic_modifysubject.php │ │ │ ├── %%cpl%%basic_point.php │ │ │ ├── %%cpl%%basic_questype.php │ │ │ ├── %%cpl%%basic_section.php │ │ │ ├── %%cpl%%basic_subject.php │ │ │ ├── %%cpl%%exams.php │ │ │ ├── %%cpl%%exams_auto.php │ │ │ ├── %%cpl%%exams_modifyauto.php │ │ │ ├── %%cpl%%exams_modifyself.php │ │ │ ├── %%cpl%%exams_selected.php │ │ │ ├── %%cpl%%exams_self.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%menu.php │ │ │ ├── %%cpl%%nav.php │ │ │ ├── %%cpl%%question_add.php │ │ │ ├── %%cpl%%question_batadd.php │ │ │ ├── %%cpl%%question_detail.php │ │ │ ├── %%cpl%%question_filebatadd.php │ │ │ ├── %%cpl%%questionchildrows_modify.php │ │ │ ├── %%cpl%%questionrows.php │ │ │ ├── %%cpl%%questionrows_list.php │ │ │ ├── %%cpl%%questionrows_modify.php │ │ │ ├── %%cpl%%questions.php │ │ │ ├── %%cpl%%questions_modify.php │ │ │ ├── %%cpl%%recyle_knows.php │ │ │ ├── %%cpl%%recyle_questions.php │ │ │ ├── %%cpl%%recyle_rowsquestions.php │ │ │ ├── %%cpl%%selectquestions.php │ │ │ ├── %%cpl%%tools.php │ │ │ ├── %%cpl%%tools_history.php │ │ │ ├── %%cpl%%tools_session.php │ │ │ ├── %%cpl%%user.php │ │ │ ├── %%cpl%%user_batopen.php │ │ │ └── %%cpl%%users_basic.php │ │ │ ├── phone │ │ │ ├── %%cpl%%basics.php │ │ │ ├── %%cpl%%exercise.php │ │ │ ├── %%cpl%%exercise_number.php │ │ │ ├── %%cpl%%exercise_paper.php │ │ │ ├── %%cpl%%exercise_score.php │ │ │ ├── %%cpl%%foot.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ └── %%cpl%%nav.php │ │ │ └── teach │ │ │ ├── %%cpl%%basic.php │ │ │ ├── %%cpl%%basic_add.php │ │ │ ├── %%cpl%%basic_modify.php │ │ │ ├── %%cpl%%exams.php │ │ │ ├── %%cpl%%exams_auto.php │ │ │ ├── %%cpl%%exams_modifyself.php │ │ │ ├── %%cpl%%exams_self.php │ │ │ ├── %%cpl%%header.php │ │ │ ├── %%cpl%%index.php │ │ │ ├── %%cpl%%menu.php │ │ │ ├── %%cpl%%nav.php │ │ │ ├── %%cpl%%questions.php │ │ │ ├── %%cpl%%users_basic.php │ │ │ ├── %%cpl%%users_history.php │ │ │ └── %%cpl%%users_scorelist.php │ └── user │ │ └── tpls │ │ ├── app │ │ ├── %%cpl%%foot.php │ │ ├── %%cpl%%header.php │ │ ├── %%cpl%%login.php │ │ ├── %%cpl%%nav.php │ │ └── %%cpl%%register.php │ │ ├── center │ │ ├── %%cpl%%header.php │ │ ├── %%cpl%%index.php │ │ ├── %%cpl%%menu.php │ │ ├── %%cpl%%modifyuser.php │ │ ├── %%cpl%%nav.php │ │ └── %%cpl%%payfor.php │ │ └── master │ │ ├── %%cpl%%actor.php │ │ ├── %%cpl%%addfield.php │ │ ├── %%cpl%%adduser.php │ │ ├── %%cpl%%batadduser.php │ │ ├── %%cpl%%fields.php │ │ ├── %%cpl%%header.php │ │ ├── %%cpl%%index.php │ │ ├── %%cpl%%menu.php │ │ ├── %%cpl%%modifyactor.php │ │ ├── %%cpl%%modifyfield.php │ │ ├── %%cpl%%modifymodule.php │ │ ├── %%cpl%%modifyuser.php │ │ ├── %%cpl%%module.php │ │ ├── %%cpl%%nav.php │ │ ├── %%cpl%%preview.php │ │ └── %%cpl%%user.php ├── html │ ├── content │ │ └── tpls │ │ │ ├── app │ │ │ └── index.html │ │ │ └── master │ │ │ ├── blocks.html │ │ │ ├── category.html │ │ │ ├── content.html │ │ │ ├── index.html │ │ │ └── module.html │ ├── core │ │ └── tpls │ │ │ └── master │ │ │ ├── apps.html │ │ │ ├── index.html │ │ │ └── login.html │ ├── exam │ │ └── tpls │ │ │ ├── app │ │ │ ├── basics.html │ │ │ ├── basics_detail.html │ │ │ ├── basics_open.html │ │ │ ├── exam.html │ │ │ ├── exam_mkscore.html │ │ │ ├── exam_paper_question.html │ │ │ ├── exam_score.html │ │ │ ├── exampaper.html │ │ │ ├── exampaper_paper.html │ │ │ ├── exercise.html │ │ │ ├── history.html │ │ │ ├── history_examview.html │ │ │ ├── index.html │ │ │ └── scores.html │ │ │ ├── master │ │ │ ├── basic.html │ │ │ ├── basic_addpoint.html │ │ │ ├── basic_addsubject.html │ │ │ ├── basic_area.html │ │ │ ├── basic_examrange.html │ │ │ ├── basic_modify.html │ │ │ ├── basic_modifyarea.html │ │ │ ├── basic_modifypoint.html │ │ │ ├── basic_modifyquest.html │ │ │ ├── basic_modifysubject.html │ │ │ ├── basic_point.html │ │ │ ├── basic_questype.html │ │ │ ├── basic_section.html │ │ │ ├── basic_subject.html │ │ │ ├── exams.html │ │ │ ├── exams_auto.html │ │ │ ├── exams_modifyauto.html │ │ │ ├── exams_selected.html │ │ │ ├── exams_self.html │ │ │ ├── index.html │ │ │ ├── question_add.html │ │ │ ├── question_batadd.html │ │ │ ├── question_detail.html │ │ │ ├── question_filebatadd.html │ │ │ ├── questionchildrows_modify.html │ │ │ ├── questionrows.html │ │ │ ├── questionrows_list.html │ │ │ ├── questionrows_modify.html │ │ │ ├── questions.html │ │ │ ├── questions_modify.html │ │ │ ├── recyle_knows.html │ │ │ ├── recyle_questions.html │ │ │ ├── recyle_rowsquestions.html │ │ │ ├── selectquestions.html │ │ │ ├── tools.html │ │ │ ├── tools_history.html │ │ │ ├── tools_session.html │ │ │ ├── user.html │ │ │ ├── user_batopen.html │ │ │ └── users_basic.html │ │ │ └── teach │ │ │ ├── exams.html │ │ │ ├── index.html │ │ │ ├── questions.html │ │ │ ├── users_basic.html │ │ │ └── users_scorelist.html │ └── user │ │ └── tpls │ │ ├── app │ │ └── login.html │ │ ├── center │ │ ├── index.html │ │ ├── modifyuser.html │ │ └── payfor.html │ │ └── master │ │ ├── actor.html │ │ ├── addfield.html │ │ ├── adduser.html │ │ ├── batadduser.html │ │ ├── fields.html │ │ ├── index.html │ │ ├── modifyactor.html │ │ ├── modifyfield.html │ │ ├── modifymodule.html │ │ ├── modifyuser.html │ │ ├── module.html │ │ ├── preview.html │ │ └── user.html └── score │ ├── 1417590517-5-score.csv │ ├── 1417678891-5-score.csv │ ├── 1417679634-5-score.csv │ ├── 1417680229-5-score.csv │ └── 1417680349-5-score.csv ├── files ├── attach │ └── images │ │ └── content │ │ ├── 20141026 │ │ ├── 14143066236723.jpg │ │ ├── 14143066414697.jpg │ │ └── 14143066568097.jpg │ │ ├── 20141102 │ │ └── 14148992285450.png │ │ ├── 20141125 │ │ ├── 14169010829969.csv │ │ ├── 14169011374301.csv │ │ ├── 14169013893458.csv │ │ ├── 14169020886196.csv │ │ └── 14169021648233.csv │ │ ├── 20141203 │ │ ├── 14175882883869.csv │ │ └── 14175883635374.csv │ │ └── 20141204 │ │ ├── 14176757944439.csv │ │ ├── 14176758903129.csv │ │ └── 14176760382633.csv └── public │ └── font │ └── Symbola.ttf ├── index.php ├── lib ├── alipay.cls.php ├── api.cls.php ├── ca.cls.php ├── category.cls.php ├── cnf.cls.php ├── config.inc.php ├── db.cls.php ├── editor.cls.php ├── ev.cls.php ├── files.cls.php ├── ftp.cls.php ├── gd.cls.php ├── gms.cls.php ├── html.cls.php ├── http.cls.php ├── include │ ├── alipay.func.php │ ├── alipay_notify.class.php │ ├── alipay_submit.class.php │ ├── php_serial.class.php │ └── sphinxapi.php ├── init.cls.php ├── module.cls.php ├── pg.cls.php ├── session.cls.php ├── smtp.cls.php ├── sphinx.cls.php ├── sql.cls.php ├── strings.cls.php ├── tpl.cls.php └── wechat.cls.php ├── pechina.sql └── readMe.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must end with two \r 29 | Icon 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | -------------------------------------------------------------------------------- /api/config.inc.php: -------------------------------------------------------------------------------- 1 | appcontrol(); 16 | } 17 | 18 | function appcontrol() { 19 | parent::__construct(); 20 | $this->load('app'); 21 | } 22 | 23 | function onls() { 24 | $this->init_input(); 25 | $applist = $_ENV['app']->get_apps('appid, type, name, url, tagtemplates, viewprourl, synlogin'); 26 | $applist2 = array(); 27 | foreach($applist as $key => $app) { 28 | $app['tagtemplates'] = $this->unserialize($app['tagtemplates']); 29 | $applist2[$app['appid']] = $app; 30 | } 31 | return $applist2; 32 | } 33 | 34 | function onadd() { 35 | } 36 | 37 | function onucinfo() { 38 | } 39 | 40 | function _random($length, $numeric = 0) { 41 | } 42 | 43 | function _generate_key() { 44 | } 45 | 46 | function _format_notedata($notedata) { 47 | } 48 | } 49 | 50 | ?> -------------------------------------------------------------------------------- /api/uc_client/control/cache.php: -------------------------------------------------------------------------------- 1 | cachecontrol(); 16 | } 17 | 18 | function cachecontrol() { 19 | parent::__construct(); 20 | } 21 | 22 | function onupdate($arr) { 23 | $this->load("cache"); 24 | $_ENV['cache']->updatedata(); 25 | } 26 | 27 | } 28 | 29 | ?> -------------------------------------------------------------------------------- /api/uc_client/control/domain.php: -------------------------------------------------------------------------------- 1 | domaincontrol(); 16 | } 17 | 18 | function domaincontrol() { 19 | parent::__construct(); 20 | $this->init_input(); 21 | $this->load('domain'); 22 | } 23 | 24 | function onls() { 25 | return $_ENV['domain']->get_list(1, 9999, 9999); 26 | } 27 | } 28 | 29 | ?> -------------------------------------------------------------------------------- /api/uc_client/control/index.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/uc_client/control/mail.php: -------------------------------------------------------------------------------- 1 | mailcontrol(); 16 | } 17 | 18 | function mailcontrol() { 19 | parent::__construct(); 20 | $this->init_input(); 21 | } 22 | 23 | function onadd() { 24 | $this->load('mail'); 25 | $mail = array(); 26 | $mail['appid'] = UC_APPID; 27 | $mail['uids'] = explode(',', $this->input('uids')); 28 | $mail['emails'] = explode(',', $this->input('emails')); 29 | $mail['subject'] = $this->input('subject'); 30 | $mail['message'] = $this->input('message'); 31 | $mail['charset'] = $this->input('charset'); 32 | $mail['htmlon'] = intval($this->input('htmlon')); 33 | $mail['level'] = abs(intval($this->input('level'))); 34 | $mail['frommail'] = $this->input('frommail'); 35 | $mail['dateline'] = $this->time; 36 | return $_ENV['mail']->add($mail); 37 | } 38 | 39 | } 40 | 41 | ?> -------------------------------------------------------------------------------- /api/uc_client/control/user.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skymiao/phpems/398d200eeb6f748a5f3bf5ef90b96af6d6accc0c/api/uc_client/control/user.php -------------------------------------------------------------------------------- /api/uc_client/data/cache/apps.php: -------------------------------------------------------------------------------- 1 | 4 | array ( 5 | 'appid' => '1', 6 | 'type' => 'DISCUZX', 7 | 'name' => 'Discuz!', 8 | 'url' => 'http://127.0.0.1/dz31x', 9 | 'ip' => '', 10 | 'viewprourl' => '', 11 | 'apifilename' => 'uc.php', 12 | 'charset' => 'utf-8', 13 | 'synlogin' => '1', 14 | 'extra' => '', 15 | 'recvnote' => '1', 16 | ), 17 | 'UC_API' => 'http://127.0.0.1/ucenter', 18 | ); 19 | -------------------------------------------------------------------------------- /api/uc_client/data/cache/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skymiao/phpems/398d200eeb6f748a5f3bf5ef90b96af6d6accc0c/api/uc_client/data/cache/index.htm -------------------------------------------------------------------------------- /api/uc_client/data/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skymiao/phpems/398d200eeb6f748a5f3bf5ef90b96af6d6accc0c/api/uc_client/data/index.htm -------------------------------------------------------------------------------- /api/uc_client/index.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/uc_client/lib/index.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/uc_client/model/app.php: -------------------------------------------------------------------------------- 1 | appmodel($base); 19 | } 20 | 21 | function appmodel(&$base) { 22 | $this->base = $base; 23 | $this->db = $base->db; 24 | } 25 | 26 | function get_apps($col = '*', $where = '') { 27 | $arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$where : ''), 'appid'); 28 | foreach($arr as $k => $v) { 29 | isset($v['extra']) && !empty($v['extra']) && $v['extra'] = unserialize($v['extra']); 30 | unset($v['authkey']); 31 | $arr[$k] = $v; 32 | } 33 | return $arr; 34 | } 35 | } 36 | ?> -------------------------------------------------------------------------------- /api/uc_client/model/domain.php: -------------------------------------------------------------------------------- 1 | domainmodel($base); 19 | } 20 | 21 | function domainmodel(&$base) { 22 | $this->base = $base; 23 | $this->db = $base->db; 24 | } 25 | 26 | function add_domain($domain, $ip) { 27 | if($domain) { 28 | $this->db->query("INSERT INTO ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip'"); 29 | } 30 | return $this->db->insert_id(); 31 | } 32 | 33 | function get_total_num() { 34 | $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."domains"); 35 | return $data; 36 | } 37 | 38 | function get_list($page, $ppp, $totalnum) { 39 | $start = $this->base->page_get_start($page, $ppp, $totalnum); 40 | $data = $this->db->fetch_all("SELECT * FROM ".UC_DBTABLEPRE."domains LIMIT $start, $ppp"); 41 | return $data; 42 | } 43 | 44 | function delete_domain($arr) { 45 | $domainids = $this->base->implode($arr); 46 | $this->db->query("DELETE FROM ".UC_DBTABLEPRE."domains WHERE id IN ($domainids)"); 47 | return $this->db->affected_rows(); 48 | } 49 | 50 | function update_domain($domain, $ip, $id) { 51 | $this->db->query("UPDATE ".UC_DBTABLEPRE."domains SET domain='$domain', ip='$ip' WHERE id='$id'"); 52 | return $this->db->affected_rows(); 53 | } 54 | } 55 | 56 | ?> -------------------------------------------------------------------------------- /api/uc_client/model/index.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/uc_client/model/pm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skymiao/phpems/398d200eeb6f748a5f3bf5ef90b96af6d6accc0c/api/uc_client/model/pm.php -------------------------------------------------------------------------------- /app/bank/api.php: -------------------------------------------------------------------------------- 1 | G = $G; 10 | $this->files = $this->G->make('files'); 11 | $this->session = $this->G->make('session'); 12 | } 13 | 14 | public function randcode() 15 | { 16 | header("Content-type: image/png"); 17 | $rand = $this->session->setRandCode($rand); 18 | echo $this->files->createRandImage($rand,90,36); 19 | } 20 | } 21 | 22 | ?> -------------------------------------------------------------------------------- /app/bank/tpls/master/index.tpl: -------------------------------------------------------------------------------- 1 | {x2;include:header}
{x2;include:nav}QQ:278768688 官方站:http://www.phpems.net 本版版本号:{x2;c:PE_VERSION}