【实例简介】
相比于php的其他框架,CI的优势在于几乎零配置,且能够很好地反映MVC思想。这是一个应用CI开发的新闻系统,希望能够给你们带来帮助!
【实例截图】
【核心代码】
ci
└── ci
├── data
│ └── ci_new.sql
├── images
│ ├── arrow_red.gif
│ ├── arrow_white.gif
│ ├── arrow_white_hover.gif
│ ├── body_bottom_bg.gif
│ ├── bottom_logo.gif
│ ├── btn_go.gif
│ ├── css_bg.gif
│ ├── css_bg_hover.gif
│ ├── date_bg.gif
│ ├── footer_bg.gif
│ ├── header.gif
│ ├── lft_box_bg.gif
│ ├── lft_pic1.gif
│ ├── lft_pic2.gif
│ ├── lft_pic3.gif
│ ├── logo.gif
│ ├── member_form_bg.gif
│ ├── member_login_bg.gif
│ ├── nav_bar.gif
│ ├── nav_bg.gif
│ ├── nav_div.gif
│ ├── nav_hover.gif
│ ├── one.gif
│ ├── overview_bg.gif
│ ├── read_more.gif
│ ├── read_more_hover.gif
│ ├── register_member_icon.gif
│ ├── right_bottom.gif
│ ├── right_panel_bg.gif
│ ├── right_panel_pic.gif
│ ├── right_top.gif
│ ├── slogan.gif
│ ├── xhtml_bg.gif
│ └── xhtml_bg_hover.gif
├── index.php
├── style
│ ├── style.css
│ └── style.css.bak
└── system
├── application
│ ├── config
│ │ ├── autoload.php
│ │ ├── config.php
│ │ ├── constants.php
│ │ ├── database.php
│ │ ├── doctypes.php
│ │ ├── hooks.php
│ │ ├── index.html
│ │ ├── mimes.php
│ │ ├── routes.php
│ │ ├── smileys.php
│ │ └── user_agents.php
│ ├── controllers
│ │ ├── home.php
│ │ └── index.html
│ ├── errors
│ │ ├── error_404.php
│ │ ├── error_db.php
│ │ ├── error_general.php
│ │ ├── error_php.php
│ │ └── index.html
│ ├── helpers
│ │ └── index.html
│ ├── hooks
│ │ └── index.html
│ ├── index.html
│ ├── language
│ │ └── english
│ │ └── index.html
│ ├── libraries
│ │ └── index.html
│ ├── models
│ │ ├── index.html
│ │ └── Mhome.php
│ └── views
│ ├── category.php
│ ├── content.php
│ ├── footer.php
│ ├── header.php
│ ├── index.html
│ └── index.php
├── cache
│ └── index.html
├── codeigniter
│ ├── Base4.php
│ ├── Base5.php
│ ├── CodeIgniter.php
│ ├── Common.php
│ ├── Compat.php
│ └── index.html
├── database
│ ├── DB_active_rec.php
│ ├── DB_cache.php
│ ├── DB_driver.php
│ ├── DB_forge.php
│ ├── DB.php
│ ├── DB_result.php
│ ├── DB_utility.php
│ ├── drivers
│ │ ├── index.html
│ │ ├── mssql
│ │ │ ├── index.html
│ │ │ ├── mssql_driver.php
│ │ │ ├── mssql_forge.php
│ │ │ ├── mssql_result.php
│ │ │ └── mssql_utility.php
│ │ ├── mysql
│ │ │ ├── index.html
│ │ │ ├── mysql_driver.php
│ │ │ ├── mysql_forge.php
│ │ │ ├── mysql_result.php
│ │ │ └── mysql_utility.php
│ │ ├── mysqli
│ │ │ ├── index.html
│ │ │ ├── mysqli_driver.php
│ │ │ ├── mysqli_forge.php
│ │ │ ├── mysqli_result.php
│ │ │ └── mysqli_utility.php
│ │ ├── oci8
│ │ │ ├── index.html
│ │ │ ├── oci8_driver.php
│ │ │ ├── oci8_forge.php
│ │ │ ├── oci8_result.php
│ │ │ └── oci8_utility.php
│ │ ├── odbc
│ │ │ ├── index.html
│ │ │ ├── odbc_driver.php
│ │ │ ├── odbc_forge.php
│ │ │ ├── odbc_result.php
│ │ │ └── odbc_utility.php
│ │ ├── postgre
│ │ │ ├── index.html
│ │ │ ├── postgre_driver.php
│ │ │ ├── postgre_forge.php
│ │ │ ├── postgre_result.php
│ │ │ └── postgre_utility.php
│ │ └── sqlite
│ │ ├── index.html
│ │ ├── sqlite_driver.php
│ │ ├── sqlite_forge.php
│ │ ├── sqlite_result.php
│ │ └── sqlite_utility.php
│ └── index.html
├── fonts
│ ├── index.html
│ └── texb.ttf
├── helpers
│ ├── array_helper.php
│ ├── compatibility_helper.php
│ ├── cookie_helper.php
│ ├── date_helper.php
│ ├── directory_helper.php
│ ├── download_helper.php
│ ├── email_helper.php
│ ├── file_helper.php
│ ├── form_helper.php
│ ├── html_helper.php
│ ├── index.html
│ ├── inflector_helper.php
│ ├── language_helper.php
│ ├── number_helper.php
│ ├── path_helper.php
│ ├── security_helper.php
│ ├── smiley_helper.php
│ ├── string_helper.php
│ ├── text_helper.php
│ ├── typography_helper.php
│ ├── url_helper.php
│ └── xml_helper.php
├── index.html
├── language
│ ├── english
│ │ ├── calendar_lang.php
│ │ ├── date_lang.php
│ │ ├── db_lang.php
│ │ ├── email_lang.php
│ │ ├── form_validation_lang.php
│ │ ├── ftp_lang.php
│ │ ├── imglib_lang.php
│ │ ├── index.html
│ │ ├── number_lang.php
│ │ ├── profiler_lang.php
│ │ ├── scaffolding_lang.php
│ │ ├── unit_test_lang.php
│ │ ├── upload_lang.php
│ │ └── validation_lang.php
│ └── index.html
├── libraries
│ ├── Benchmark.php
│ ├── Calendar.php
│ ├── Cart.php
│ ├── Config.php
│ ├── Controller.php
│ ├── Email.php
│ ├── Encrypt.php
│ ├── Exceptions.php
│ ├── Form_validation.php
│ ├── Ftp.php
│ ├── Hooks.php
│ ├── Image_lib.php
│ ├── index.html
│ ├── Input.php
│ ├── Language.php
│ ├── Loader.php
│ ├── Log.php
│ ├── Model.php
│ ├── Output.php
│ ├── Pagination.php
│ ├── Parser.php
│ ├── Profiler.php
│ ├── Router.php
│ ├── Session.php
│ ├── Sha1.php
│ ├── Table.php
│ ├── Trackback.php
│ ├── Typography.php
│ ├── Unit_test.php
│ ├── Upload.php
│ ├── URI.php
│ ├── User_agent.php
│ ├── Validation.php
│ ├── Xmlrpc.php
│ ├── Xmlrpcs.php
│ └── Zip.php
├── logs
│ └── index.html
├── plugins
│ ├── captcha_pi.php
│ ├── index.html
│ └── js_calendar_pi.php
└── scaffolding
├── images
│ ├── background.jpg
│ ├── index.html
│ └── logo.jpg
├── index.html
├── Scaffolding.php
└── views
├── add.php
├── delete.php
├── edit.php
├── footer.php
├── header.php
├── index.html
├── no_data.php
├── stylesheet.css
└── view.php
37 directories, 214 files