#############################################
SweetRice - Simple Website Management System
Version 1.2.3
Author:Hiler Liu steelcal@gmail.com
Home page:http://www.basic-cms.org/
#############################################
Get your rice,Cook your food,SweetRice is very simple,but it can give you big help for website management.


Download : http://www.basic-cms.org/download.html

System Recommendations
PHP version 4.3 or higher.
MySQL version 4.0 or higher or PostgreSQL or SQLite

Installation: just 1-minute install

   1. Unzip the package in an empty directory.
   2. Upload everything.
   3. Chmod directory inc,attachment,and root / permision to 755
   4. Open http://yourdomain/[rootdir]/ in your browser,accept the GPL license and jump to install form,enter your website ,database and administrator information .
   5. The install script should then send you to the welcome page. 
   6. Login to SweetRice dashboard.

Feedback and comment 
If you have any suggestions, ideas, comments, or if you found a bug,please mail to support@basic-cms.org or post comment at basic-cms.org.

Copyright
SweetRice is released under the GPL V2.

Help SweetRice
1),If you want to help SweetRice,you may make a donation to me via paypal,my paypal account is steelcal@gmail.com 
OR
2),If you can speak in any language English, French, German, Japanese, Korean, Spanish,Russian,Polish etc,you may help me to translate SweetRice language file,example file at as/lang/,that are default three kind of language:English,Simplified Chinese,Traditional Chinese
Thank you.

SweetRice change log:
======================================
Change log V1.3.1 07/23/2012
core update
	add pluginHook - allow plugin share function to other plugin; 
	add post/category insert function - easy to add post/category by plugin
theme update
	support multiple theme language
	add pins.js support
======================================
Change log V1.3.0 04/30/2012
core update
	add pluginHook - allow plugin share function to other plugin; 
	add post/category insert function - easy to add post/category by plugin
theme update
	support multiple theme language
	add pins.js support

======================================
Change log V1.2.5 12/29/2011
database update
 - remove database table "blog" 
 - add table "options" to save site config data
 - add table "item_plugin" to save relationship of post/category with plugin,this feature allow us more flexible manage content create by plugin
theme update
 - enable variable global_setting and remove old site config variable.
 - enable variable categories replace old categories data
dashboard update
 - auto detect server type,write .htaccess file to root dir if server supports url rewrite module
304 status update
 - count template update time
======================================
Change log V1.2.4 11/06/2011
 - update theme css
 - update SweetRice update function
 - update dashboard do_post change date when updated
 - update theme do_post change last modify date
 - update function my_post
======================================
Change log V1.2.3 10/30/2011
 - update media management to support remote file
 - update header status support 304
======================================
Change log V1.2.2 10/06/2011
 - update ad output function
 - update ads managemet fix bug when delete ad.
 - update tag description include top 3 post name.
======================================
Change log V1.2.1 9/26/2011
 - update dashboard:update ads management
 - update track add HTML5 CANVAS support,add top 10 visited,referrer,ip list.
 - update theme management
 - update read more setting:remove link and add js control
 - update user_track function add IE9 and IE10 support
======================================
Change log V1.2.0 8/31/2011
 - update dashboard:add URL redirect feature
 - update function support post preview:only show first content in P tag,add Read More link.
 - update theme CSS
 - update js/comment_form.js and fix bug which db_insert use Postgresql
 - update post,category modify page,support more template option
 - update for SEO,clear title,keywords,description data.
 - update dashboard media_center and post modify template js,fix minor bug.
======================================
Change log V1.1.0 8/18/2011
 - update attachment : fix bug - attachment link
 - update dashboard media_center and post_modify theme
======================================
Change log V1.0.1 5/29/2011
 - fix some minor bug
 - support quick sort for posts/category etc 
======================================
Change log V1.0.0 4/19/2011
 - upgrade dashboard 
    support IE9 track
	update post ,category management template
	add function subCategory for list category
	update dashboard css
	update language pack
	update menu and navigation
	support .htaccess online edit
	upgrade tinymce to support IE9
	auto update comment data when update post.
	update comment list style.
	update function.php
	use popup window to add attachment
	add dashboard function.php move management functions from inc/function.php
	add SweetRice self update - support upgrade SweetRice automatically or manually.
 - update default sidebar.php template
 - update RSSFEED - only show lastest 30 posts.
 - updata comment form style.
======================================
Change log V0.7.1 12/9/2010
 - upgrade core - fix some minor bug
 - support HTML5
 - suppport nginx server
	 add these code to nginx.conf
	 if (!-e $request_filename){
	   rewrite ^/sweetrice_root/.+$ /sweetrice_root/index.php last;
	 }
	 location ~* \.(db|txt)$ {
		if (-f $request_filename) {
		root sweetrice_root/inc/;
		break;
		}
	}
 - upgrade SweetRice installer
 - new form style : remove table tag
 - update post and comment form.
 - support attachment alias
 - quick update post and category
 - enable autosave when edit post or reply comment
 - provide webeditor as html or visual
 - update RSSFEED format - change RSSFEED link
 - update sitemap add RSSFEED link

Yes,you can modify SweetRice yourself.
======================================
Change log V0.7.0 11/11/2010

upgrade dashboard
 - optimize dashboard index.php.
 - upgrade css
 - support quickly delete object with AJAX
 - upgrade media center
 - remove column top_home from table posts (by dbto0.7.0.php)
 - upgrade comment add column
 - add post comment bulk edit,quickly modify post and comment.
 - change db_converter for sqlite to sqlite,clean the target file before convert.
 - upgrade language file.
 - use new action icon
 - upgrade cache clean : clean expired cache data or all data.
 - fix bug : cache for sqlite.(report by jonas at http://www.basic-cms.org/comment/release/)
 - fix bug for create subcategory. (report by jonas at http://www.basic-cms.org/comment/release/)

upgrade theme
- update m_list.php and add css.
- add db_unescape function for built tags link.
- show 404 error for invalid request url.
- upgrade RSSFeed.
- re-design theme for web standard.
- upgrade comment submit script.
- upgrade htaccess.txt and change page link when disabled url rewrite. 

At this time ,i must thank my wife for she long time support me,thank my computer,my house,my basketball,my mobile phone and myself,and thank you for use or support SweetRice.
======================================
Change log V0.6.7.1 10/22/2010

upgrade dashboard
 - add function completeInsert ,when complete insert post or category ,you can quickly add another or show list.
Upgrade theme
 - upgrade default css 
Fix vulnerability: http://www.htbridge.ch/advisory/xss_in_sweetrice_cms.html 

Solution for older version:you can change the dashboard directory[recommended] or upgrade SweetRice to 0.6.7.1
======================================
Change log V0.6.7 6/28/2010

upgrade core
 - add custome template to template list
 - upgrade TinyMCE css

Upgrade theme
 - upgrade theme's css
======================================
Change log V0.6.6 6/4/2010

upgrade core
 - support sqlite function if web server do not support PDO

======================================
Change log V0.6.5 5/26/2010

upgrade dashborad
 - cache management
 - media management
upgrade theme
======================================
Change log V0.6.4fix 5/14/2010

Fix some minor bug.
======================================
Change log V0.6.4 4/27/2010

Upgrade Dashboard
- support TinyMCE with file management plugin,re-write post add/modify page.
======================================
Change log V0.6.3 4/12/2010

Upgrade Dashboard
- add template to post and category modify page
Upgrade SweetRice core
- upgrade db_insert function.
- upgrade database table design add some field
- fix some translate error
- optimize cache
Upgrade notes:
If you want to upgrade SweetRice to 0.6.3 from 0.5.x or 0.6.x,you may need execute 0.5_upgrade_0.6.3.php to upgrade database table.[copy 0.5_upgrade_to_0.6.3.php to root dir and access]
======================================
Change log V0.6.2 3/16/2010

Upgrade Dashboard
- upgrade ad code management
Upgrade theme
- without ads code. 
======================================
Change log V0.6.1 2010-3-13

Upgrade Dashboard 
- add database optimizer
- upgrade dashboard style
Fix : if get_magic_quotes_gpc = ON,data insert error.
======================================
Change log V0.6.0 3/8/2010

Upgrade Dashboard 
- upgrade database backup .
- add cache option and "clean cache" button
upgrade core
- add cache option,it can help you save resource when query database.
- upgrade data escape function ,this allow you to insert data with quote to database.
- update database table *_blog,add cache,cache_expired field. you can execute 0.5_upgrade_to_0.6.php to upgrade it.[copy 0.5_upgrade_to_0.6.php to root dir and access]
======================================
Change log V0.5.5.5 1/23/2010

Upgrade Dashboard 
- add Database converter .
- update plugin list
- update database backup.
- update search form.
======================================
Change log V0.5.5.4 1/13/2010

Upgrade Dashboard 
- add tiny head mode.
- add quick link of plugin list.
======================================
Change log V0.5.5.3 12/22/2009

Upgrade Dashboard - view chart
======================================
Change log V0.5.5.2 12/15/2009

Upgrade Dashboard  - add Media Center
======================================
Change log V0.5.5.1 12/11/2009

Upgrade Dashboard
======================================
Change log V0.5.5 12/8/2009

Change SweetRice core.
Upgrade theme.
Support AJAX.
Upgrade core for Sqlite.
======================================
Change log V0.5.4 2009/11/29

Fix some minor bug.
Upgrade classic theme.
======================================
Change log V0.5.3 11/13/2009

Upgrade theme.
======================================
Change log V0.5.2 11/3/2009

Support database PostgreSql
fix bug:tag list error
fix bug:attachment link in non-rewrite mode error 11/2/2009
fix some minor bug.
add database time line,your web site can go back to every history.
======================================
Change log V0.5.0 10/15/2009

Fix bug:comment form include posts's url.
Change attachment url non-absolute for diffrent domain.
Add database Sqlite ,user can select Sqlite for SweetRice
Add 404 page for "Page not found"
SweetRice plugin add support Sqlite ,for develop SweetRice plugin,you can see Subscriber document,which include _plugin/subscriber.
======================================
Change log V0.4.4 2009-8-28

Support php short tag => off
more easy to use as old version
change user track ,you can enable it in dashborad [default is disable]
User track data use SQLite3 ,fast and reliable. 
======================================
Change log V0.4.2 2009-7-21

Add support for dashboard directory custom
Fix bug:view post in non-rewrite mode.
Change category link auto creat by time() as post sys-name;
======================================
Change log V0.4.1 2009-7-16

Change .htaccess RewriteBase output
php short_tag ON auto set
======================================
Change log V0.4.0 2009-6-24

support password recovery. 
Change sitemap.xml output[include true time of post]
======================================
Change log V0.3.1 2009-5-19

change database table posts and category
support parent category. 

Notice:for update your SweetRice database table,please open the link http://yourdomain/upgrade_db.php?sql=upgrade_0.3.0-0.3.1.sql 
when you update your database,please remove the script upgrade_db.php and upgrade_0.3.0-0.3.1.sql from your root directory.

========================================
Change log V0.3.0 2009-5-12

add plugin support,user can creat own plugin for SweetRice
add example plugin emaillist:allow user subscribe.
fix bug sitting => change mysql server.

========================================

======================================
Change log V0.2.1 2009-4-15
add theme allrp which basic-cms.org used.
update dashborad style design
modify comment form,add url.
========================================

======================================
Change log V0.2.0 2009-4-12
add attachment download times track.
add more language pack.
add SweetRice update check.
modify plugin fckeditor php4 config same to php5

fix bug sitting => site close bug.

========================================