initial commit

This commit is contained in:
Andrew Davidson 2014-12-11 22:04:34 -05:00
commit 369954c713
822 changed files with 135192 additions and 0 deletions

8
.htaccess Normal file
View file

@ -0,0 +1,8 @@
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

29
.svn/all-wcprops Normal file
View file

@ -0,0 +1,29 @@
K 25
svn:wc:ra_dav:version-url
V 23
/svn/!svn/ver/124/trunk
END
license.txt
K 25
svn:wc:ra_dav:version-url
V 35
/svn/!svn/ver/124/trunk/license.txt
END
.htaccess
K 25
svn:wc:ra_dav:version-url
V 33
/svn/!svn/ver/117/trunk/.htaccess
END
index.php
K 25
svn:wc:ra_dav:version-url
V 32
/svn/!svn/ver/70/trunk/index.php
END
favicon.ico
K 25
svn:wc:ra_dav:version-url
V 34
/svn/!svn/ver/22/trunk/favicon.ico
END

170
.svn/entries Normal file
View file

@ -0,0 +1,170 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk
http://sweetcron.googlecode.com/svn
2008-12-22T02:10:08.113778Z
124
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
license.txt
file
2009-09-15T00:18:34.000000Z
3a2341294d3e46142c79542e316da02b
2008-12-22T02:10:08.113778Z
124
yongfook
has-props
5326
system
dir
.htaccess
file
2009-09-15T00:18:34.000000Z
781fdf0fd635748fda3268f24548b328
2008-10-05T07:25:02.976982Z
117
yongfook
165
index.php
file
2009-09-15T00:18:34.000000Z
d2f2d19a28f9a5145744217210550a51
2008-09-01T02:27:50.235233Z
70
yongfook
has-props
3267
public
dir
favicon.ico
file
2009-09-15T00:18:34.000000Z
a5f1a691bab04269a95d74e45d8d3ff0
2008-08-28T08:25:40.070317Z
22
yongfook
has-props
1150

View file

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,8 @@
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,116 @@
<?php
/*
|---------------------------------------------------------------
| PHP ERROR REPORTING LEVEL
|---------------------------------------------------------------
|
| By default CI runs with error reporting set to ALL. For security
| reasons you are encouraged to change this when your site goes live.
| For more info visit: http://www.php.net/error_reporting
|
*/
error_reporting(E_ERROR | E_WARNING | E_PARSE);
/*
|---------------------------------------------------------------
| SYSTEM FOLDER NAME
|---------------------------------------------------------------
|
| This variable must contain the name of your "system" folder.
| Include the path if the folder is not in the same directory
| as this file.
|
| NO TRAILING SLASH!
|
*/
$system_folder = "system";
/*
|---------------------------------------------------------------
| APPLICATION FOLDER NAME
|---------------------------------------------------------------
|
| If you want this front controller to use a different "application"
| folder then the default one you can set its name here. The folder
| can also be renamed or relocated anywhere on your server.
| For more info please see the user guide:
| http://codeigniter.com/user_guide/general/managing_apps.html
|
|
| NO TRAILING SLASH!
|
*/
$application_folder = "application";
/*
|===============================================================
| END OF USER CONFIGURABLE SETTINGS
|===============================================================
*/
/*
|---------------------------------------------------------------
| SET THE SERVER PATH
|---------------------------------------------------------------
|
| Let's attempt to determine the full-server path to the "system"
| folder in order to reduce the possibility of path problems.
| Note: We only attempt this if the user hasn't specified a
| full server path.
|
*/
if (strpos($system_folder, '/') === FALSE)
{
if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
{
$system_folder = realpath(dirname(__FILE__)).'/'.$system_folder;
}
}
else
{
// Swap directory separators to Unix style for consistency
$system_folder = str_replace("\\", "/", $system_folder);
}
/*
|---------------------------------------------------------------
| DEFINE APPLICATION CONSTANTS
|---------------------------------------------------------------
|
| EXT - The file extension. Typically ".php"
| FCPATH - The full server path to THIS file
| SELF - The name of THIS file (typically "index.php)
| BASEPATH - The full server path to the "system" folder
| APPPATH - The full server path to the "application" folder
|
*/
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('FCPATH', __FILE__);
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_folder.'/');
if (is_dir($application_folder))
{
define('APPPATH', $application_folder.'/');
}
else
{
if ($application_folder == '')
{
$application_folder = 'application';
}
define('APPPATH', BASEPATH.$application_folder.'/');
}
/*
|---------------------------------------------------------------
| LOAD THE FRONT CONTROLLER
|---------------------------------------------------------------
|
| And away we go...
|
*/
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;
?>

View file

@ -0,0 +1,118 @@
Sweetcron
The Free & Open Source Automated Lifestream Software
http://www.sweetcron.com
Developed by Yongfook
http://www.yongfook.com
Written in CodeIgniter
http://www.codeigniter.com
Sweetcron is Copyright (c) 2008, Egg & Co.
All rights reserved.
This license is a legal agreement between you and Edible Inc. for the use
of Sweetcron Software (the "Software"). By obtaining the Software you
agree to comply with the terms and conditions of this license.
PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:
1. A copy of this license agreement must be included with the distribution.
2. Redistributions of source code must retain the above copyright notice in
all source code files.
3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.
4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.
5. Products derived from the Software must include an acknowledgment that
they are derived from Sweetcron in their documentation and/or other
materials provided with the distribution.
6. Products derived from the Software may not be called "Sweetcron",
nor may "Sweetcron" appear in their name, without prior written
permission from Egg & Co.
INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.
DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.
-----------------------------------------------------------------------------------------------------------------------
###Original CodeIgniter License Below###
Copyright (c) 2006, EllisLab, Inc.
All rights reserved.
This license is a legal agreement between you and EllisLab Inc. for the use
of CodeIgniter Software (the "Software"). By obtaining the Software you
agree to comply with the terms and conditions of this license.
PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:
1. A copy of this license agreement must be included with the distribution.
2. Redistributions of source code must retain the above copyright notice in
all source code files.
3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.
4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.
5. Products derived from the Software must include an acknowledgment that
they are derived from CodeIgniter in their documentation and/or other
materials provided with the distribution.
6. Products derived from the Software may not be called "CodeIgniter",
nor may "CodeIgniter" appear in their name, without prior written
permission from EllisLab, Inc.
INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.
DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

116
index.php Executable file
View file

@ -0,0 +1,116 @@
<?php
/*
|---------------------------------------------------------------
| PHP ERROR REPORTING LEVEL
|---------------------------------------------------------------
|
| By default CI runs with error reporting set to ALL. For security
| reasons you are encouraged to change this when your site goes live.
| For more info visit: http://www.php.net/error_reporting
|
*/
error_reporting(E_ERROR | E_WARNING | E_PARSE);
/*
|---------------------------------------------------------------
| SYSTEM FOLDER NAME
|---------------------------------------------------------------
|
| This variable must contain the name of your "system" folder.
| Include the path if the folder is not in the same directory
| as this file.
|
| NO TRAILING SLASH!
|
*/
$system_folder = "system";
/*
|---------------------------------------------------------------
| APPLICATION FOLDER NAME
|---------------------------------------------------------------
|
| If you want this front controller to use a different "application"
| folder then the default one you can set its name here. The folder
| can also be renamed or relocated anywhere on your server.
| For more info please see the user guide:
| http://codeigniter.com/user_guide/general/managing_apps.html
|
|
| NO TRAILING SLASH!
|
*/
$application_folder = "application";
/*
|===============================================================
| END OF USER CONFIGURABLE SETTINGS
|===============================================================
*/
/*
|---------------------------------------------------------------
| SET THE SERVER PATH
|---------------------------------------------------------------
|
| Let's attempt to determine the full-server path to the "system"
| folder in order to reduce the possibility of path problems.
| Note: We only attempt this if the user hasn't specified a
| full server path.
|
*/
if (strpos($system_folder, '/') === FALSE)
{
if (function_exists('realpath') AND @realpath(dirname(__FILE__)) !== FALSE)
{
$system_folder = realpath(dirname(__FILE__)).'/'.$system_folder;
}
}
else
{
// Swap directory separators to Unix style for consistency
$system_folder = str_replace("\\", "/", $system_folder);
}
/*
|---------------------------------------------------------------
| DEFINE APPLICATION CONSTANTS
|---------------------------------------------------------------
|
| EXT - The file extension. Typically ".php"
| FCPATH - The full server path to THIS file
| SELF - The name of THIS file (typically "index.php)
| BASEPATH - The full server path to the "system" folder
| APPPATH - The full server path to the "application" folder
|
*/
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('FCPATH', __FILE__);
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('BASEPATH', $system_folder.'/');
if (is_dir($application_folder))
{
define('APPPATH', $application_folder.'/');
}
else
{
if ($application_folder == '')
{
$application_folder = 'application';
}
define('APPPATH', BASEPATH.$application_folder.'/');
}
/*
|---------------------------------------------------------------
| LOAD THE FRONT CONTROLLER
|---------------------------------------------------------------
|
| And away we go...
|
*/
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;
?>

118
license.txt Executable file
View file

@ -0,0 +1,118 @@
Sweetcron
The Free & Open Source Automated Lifestream Software
http://www.sweetcron.com
Developed by Yongfook
http://www.yongfook.com
Written in CodeIgniter
http://www.codeigniter.com
Sweetcron is Copyright (c) 2008, Egg & Co.
All rights reserved.
This license is a legal agreement between you and Edible Inc. for the use
of Sweetcron Software (the "Software"). By obtaining the Software you
agree to comply with the terms and conditions of this license.
PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:
1. A copy of this license agreement must be included with the distribution.
2. Redistributions of source code must retain the above copyright notice in
all source code files.
3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.
4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.
5. Products derived from the Software must include an acknowledgment that
they are derived from Sweetcron in their documentation and/or other
materials provided with the distribution.
6. Products derived from the Software may not be called "Sweetcron",
nor may "Sweetcron" appear in their name, without prior written
permission from Egg & Co.
INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.
DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.
-----------------------------------------------------------------------------------------------------------------------
###Original CodeIgniter License Below###
Copyright (c) 2006, EllisLab, Inc.
All rights reserved.
This license is a legal agreement between you and EllisLab Inc. for the use
of CodeIgniter Software (the "Software"). By obtaining the Software you
agree to comply with the terms and conditions of this license.
PERMITTED USE
You are permitted to use, copy, modify, and distribute the Software and its
documentation, with or without modification, for any purpose, provided that
the following conditions are met:
1. A copy of this license agreement must be included with the distribution.
2. Redistributions of source code must retain the above copyright notice in
all source code files.
3. Redistributions in binary form must reproduce the above copyright notice
in the documentation and/or other materials provided with the distribution.
4. Any files that have been modified must carry notices stating the nature
of the change and the names of those who changed them.
5. Products derived from the Software must include an acknowledgment that
they are derived from CodeIgniter in their documentation and/or other
materials provided with the distribution.
6. Products derived from the Software may not be called "CodeIgniter",
nor may "CodeIgniter" appear in their name, without prior written
permission from EllisLab, Inc.
INDEMNITY
You agree to indemnify and hold harmless the authors of the Software and
any contributors for any direct, indirect, incidental, or consequential
third-party claims, actions or suits, as well as any related expenses,
liabilities, damages, settlements or fees arising from your use or misuse
of the Software, or a violation of any terms of this license.
DISCLAIMER OF WARRANTY
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
LIMITATIONS OF LIABILITY
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.

5
public/.svn/all-wcprops Normal file
View file

@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 29
/svn/!svn/ver/65/trunk/public
END

37
public/.svn/entries Normal file
View file

@ -0,0 +1,37 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public
http://sweetcron.googlecode.com/svn
2008-08-31T15:12:40.450252Z
65
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
images
dir
scripts
dir
css
dir

View file

@ -0,0 +1,17 @@
K 25
svn:wc:ra_dav:version-url
V 33
/svn/!svn/ver/64/trunk/public/css
END
admin.css
K 25
svn:wc:ra_dav:version-url
V 43
/svn/!svn/ver/64/trunk/public/css/admin.css
END
reset.css
K 25
svn:wc:ra_dav:version-url
V 43
/svn/!svn/ver/22/trunk/public/css/reset.css
END

96
public/css/.svn/entries Normal file
View file

@ -0,0 +1,96 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/css
http://sweetcron.googlecode.com/svn
2008-08-31T15:02:40.078308Z
64
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
admin.css
file
2009-09-15T00:18:34.000000Z
b0b92c73f4adbed3cd6083f9a0a06b38
2008-08-31T15:02:40.078308Z
64
yongfook
10673
reset.css
file
2009-09-15T00:18:34.000000Z
e28325e63ae9afb38f8795e17cf29365
2008-08-28T08:25:40.070317Z
22
yongfook
543

View file

@ -0,0 +1,598 @@
/* SWEETCRON ADMIN CSS
Table of Contents:
Reset
Typography
Positioning
Buttons
*/
/* Reset
---------------------------------------------------------------------------------------- */
@import "reset.css";
* {
margin: 0;
padding: 0;
}
/* now I'm working with a clean slate! */
/* Typography
---------------------------------------------------------------------------------------- */
body {
font-family: "Lucida Grande", Helvetica, Arial, sans serif;
font-size: 12px;
color: black;
line-height: 1.5em;
}
p.permalink, p.item_count, p#button_explain, span.input_explain {
font-size: 10px;
}
p.icon, ul.tags, ul.item_tools, p.tip, ul.feed_tools {
font-size: 11px;
}
table.generic_table {
font-size: 12px;
}
ul#nav, p.title, p#pagination {
font-size: 15px;
}
input.text_input, form.item_search input, textarea.text_input {
font-size: 14px;
}
span.under_input, span.added, ul.admin_list ul li, p.feed_action, p.icon, ul.item_tools a, ul#nav a, ul#sub_nav a, div#user_info p, p.permalink a, p.item_count, p#button_explain, p.tip, ul.feed_tools a, span.input_explain, div.content blockquote, a.show_all_tags {
color: #999;
}
div.content, ul.item_tools a:hover {
color: #333;
}
a, li.expand a {
color: #3399ff;
}
a:hover, li.expand a:hover {
color: #003366;
}
div.error {
color: #CC0000;
}
div.success {
color: green;
}
span.option label {
color: #486d9b;
}
ul#nav li.current_item a, ul#nav a:hover, p.tip strong, ul#sub_nav li.current_item a, ul#sub_nav a:hover, span.input_explain strong {
color: black;
}
label.title, div#footer, div#footer a, ul.feed_tools a:hover, li.item_delete a:hover {
color: white;
}
div.content strong, ul#nav, div.error, div.success, label.title, p.feed_title, p.title, li.title, p#pagination, p.tip strong, li.expand a, p#breadcrumb a, ul#sub_nav, span.input_explain strong {
font-weight: bold;
}
div.content em {
font-style: italic;
}
ul#nav a, p.permalink a, ul#sub_nav a {
text-decoration: none;
}
div#user_info {
line-height: 1.4em;
}
p.title {
line-height: 1.6em;
}
p.icon {
line-height: 16px;
}
/* Positioning
---------------------------------------------------------------------------------------- */
body, html {
height: 100%;
}
body {
background: white;
border: 5px solid #0458a3;
border-style: solid none none none;
}
div#footer {
padding: 10px;
background: #0458a3;
}
div#header {
padding: 20px;
}
p#logo a {
display: block;
width: 254px;
height: 42px;
background: transparent url(../images/system/logo.gif);
}
div#user_info {
position: absolute;
top: 36px;
left: 285px;
}
div#nav_container, div#sub_nav_container {
position: relative;
border: 1px solid #CCC;
border-style: none none solid none;
margin: 35px 0 0 0;
}
div#nav_container.login {
margin: 5px 0 0 0;
}
div#sub_nav_container {
margin: 30px 0 20px 0;
}
ul#nav, ul#sub_nav {
float: left;
width: 100%;
position: absolute;
bottom: -1px;
}
ul#sub_nav {
border: 1px solid #CCC;
border-style: none none none solid;
}
ul#nav li, ul#nav li a, ul#sub_nav li, ul#sub_nav li a {
float: left;
}
ul#nav li a, ul#sub_nav li a {
background: #EEE;
padding: 7px 15px;
border: 1px solid #CCC;
border-style: solid solid solid none;
}
ul#sub_nav li a {
padding: 5px 10px;
}
ul#nav li#nav_dashboard {
margin-left: 20px;
}
ul#nav li#nav_dashboard a {
border: 1px solid #CCC;
}
ul#nav li.current_item a, ul#nav li#nav_dashboard.current_item a, ul#sub_nav li.current_item a {
background: white;
border-color: #CCC #CCC white #CCC;
}
div#breadcrumb_container {
background: #006699;
position: relative;
border: 1px solid #CCC;
border-style: none none solid none;
}
div#main_content {
padding: 20px 20px 0 20px;
width: 588px;
position: relative;
float: left;
}
div#side_content {
width: 200px;
float: left;
padding: 20px;
border: 1px solid #CCC;
border-style: none none none dashed;
}
p#button_explain {
clear: both;
padding: 5px 0 0 0;
}
div#main_content p, div.error, div.success, table.generic_table {
margin-bottom: 20px;
}
div#main_content div.error p, div#main_content table.generic_table p {
margin: 0;
}
div.error, div.success {
background: #FFCCCC;
padding: 8px;
}
div.success {
background: #ccffcc;
}
label.title {
background: #999;
padding: 2px 5px;
}
input.text_input, form.item_search input, textarea.text_input {
border: 1px solid #999;
background: #fefee2;
width: 570px;
display: block;
padding: 5px;
}
textarea.text_input {
height: 300px;
}
form.item_search input {
width: 187px;
}
table.generic_table {
width: 100%;
clear: both;
}
table.generic_table td {
border: 1px solid #EEE;
padding: 8px;
}
form.generic {
padding-bottom: 20px;
float: left;
}
p.icon {
background-repeat: no-repeat;
background-position: 5px center;
background-color: #F9F9F9;
height: 16px;
padding: 5px 0 5px 25px;
border: 1px solid #EEE;
border-style: none none solid none;
}
div#main_content ul.activity_list p, div#main_content ul.feed_list p {
margin: 0;
}
div#main_content ul.activity_list p.permalink {
margin-bottom: 3px;
}
div.image img {
display: block;
border: 1px solid #CCC;
padding: 5px;
}
div.image {
margin: 5px 0;
}
ul.activity_list li.item {
margin-bottom: 20px;
border: 1px solid #999;
position: relative;
}
ul.item_tools, ul.feed_tools {
position: absolute;
right: 10px;
top: 4px;
}
ul.item_tools li, ul.feed_tools li {
display: inline;
padding: 0 0 0 5px;
}
ul.item_tools li.expand {
background: transparent url(../images/system/icons/silk/bullet_arrow_right.png) 0 center no-repeat;
padding-left: 15px;
}
ul.item_tools li.expand.expanded {
background: transparent url(../images/system/icons/silk/bullet_arrow_down.png) 0 center no-repeat;
}
div.item_container {
padding: 8px 12px 10px 12px;
}
div#main_content ul.activity_list div.content p, div.content ul, div.content ol {
margin-bottom: 10px;
}
div.content ul, div.content ol {
margin-left: 20px;
list-style-type: disc;
}
div.content ol {
list-style-type: decimal
}
div.content blockquote {
margin-left: 20px;
border: 3px solid #CCC;
border-style: none none none solid;
padding-left: 10px;
}
ul.tags li {
display: inline;
padding: 0 5px 0 0;
}
div.hideshow, ul.item_tools li.expand {
display: none;
}
ul.activity_list li.publish li.publish_this, ul.activity_list li.draft li.unpublish_this {
display: none;
}
ul.activity_list li.draft li.publish_this, ul.activity_list li.publish li.unpublish_this {
display: inline;
}
ul.activity_list li div.item_container {
position: relative;
}
ul.activity_list li.draft {
opacity: 0.4;
-moz-opacity: 0.4;
filter: alpha(opacity=40);
}
ul.feed_list p.title {
background-repeat: no-repeat;
background-position: left center;
}
ul.feed_list p {
padding: 0 0 0 22px;
}
ul.feed_list {
border: 1px solid #EEE;
border-style: solid none none none;
margin-bottom: 20px;
}
ul.feed_list li.feed {
border: 1px solid #EEE;
border-style: none solid solid solid;
padding: 10px;
background: transparent url(../images/system/dither.gif) bottom left repeat-x;
position: relative;
}
li.feed_delete a, li.item_delete a {
padding: 1px 2px;
}
li.feed_delete a:hover, li.item_delete a:hover {
background: red;
}
div.clear {
clear: both;
}
p#pagination {
padding: 15px 10px;
background: #F8F8F8;
}
p#pagination a {
background: white;
padding: 5px 8px;
border: 1px solid #EEE;
}
p#pagination a:hover {
border: 1px solid #CCC;
}
h4.side_title {
margin: 15px 0 8px 0;
border: 1px solid #EEE;
border-style: none none solid none;
padding: 0 0 3px 0;
}
ul.tag_list li {
display: inline;
padding: 0 0 5px 0;
}
span.highlight {
background: #FFFFCC;
}
span.option_container {
border: 1px solid #999;
padding: 8px 10px 3px 10px;
display: block;
}
span.option {
display: block;
margin-bottom: 5px;
}
span.option label {
background: #f1f5fa;
padding: 1px 2px;
cursor: pointer;
}
span.input_explain {
display: block;
margin-top: -15px;
margin-bottom: 15px;
}
a.reset_cron_key {
position: absolute;
right: 25px;
}
ul.tag_list.all {
display: none;
}
ul.active_feeds li {
padding-left: 22px;
margin-bottom: 5px;
}
a.change_password {
background: transparent url(../images/system/icons/silk/bullet_arrow_right.png) 0 center no-repeat;
padding-left: 15px;
}
a.change_password.toggle {
background: transparent url(../images/system/icons/silk/bullet_arrow_down.png) 0 center no-repeat;
}
div#change_password_container {
display: none;
}
/* Buttons
---------------------------------------------------------------------------------------- */
.buttons a, .buttons button{
display:block;
float:left;
margin:0 7px 0 0;
background-color:#f5f5f5;
border:1px solid #dedede;
border-top:1px solid #eee;
border-left:1px solid #eee;
font-size:100%;
line-height:130%;
text-decoration:none;
font-weight:bold;
color:#565656;
cursor:pointer;
padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
width:auto;
overflow:visible;
padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
padding:5px 10px 5px 7px; /* Firefox */
line-height:17px; /* Safari */
}
*:first-child+html button[type]{
padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
margin:0 3px -3px 0 !important;
padding:0;
border:none;
width:16px;
height:16px;
}
/* STANDARD */
button:hover, .buttons a:hover{
background-color:#dff4ff;
border:1px solid #c2e1ef;
color:#336699;
}
.buttons a:active{
background-color:#6299c5;
border:1px solid #6299c5;
color:#fff;
}
/* POSITIVE */
button.positive, .buttons a.positive{
color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
background-color:#E6EFC2;
border:1px solid #C6D880;
color:#529214;
}
.buttons a.positive:active{
background-color:#529214;
border:1px solid #529214;
color:#fff;
}
/* NEGATIVE */
.buttons a.negative, button.negative{
color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
background:#fbe3e4;
border:1px solid #fbc2c4;
color:#d12f19;
}
.buttons a.negative:active{
background-color:#d12f19;
border:1px solid #d12f19;
color:#fff;
}
/* Teh IE haxx
---------------------------------------------------------------------------------------- */
* html div#nav_container {
height: 38px;
}

View file

@ -0,0 +1,14 @@
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.10.0
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}

598
public/css/admin.css Normal file
View file

@ -0,0 +1,598 @@
/* SWEETCRON ADMIN CSS
Table of Contents:
Reset
Typography
Positioning
Buttons
*/
/* Reset
---------------------------------------------------------------------------------------- */
@import "reset.css";
* {
margin: 0;
padding: 0;
}
/* now I'm working with a clean slate! */
/* Typography
---------------------------------------------------------------------------------------- */
body {
font-family: "Lucida Grande", Helvetica, Arial, sans serif;
font-size: 12px;
color: black;
line-height: 1.5em;
}
p.permalink, p.item_count, p#button_explain, span.input_explain {
font-size: 10px;
}
p.icon, ul.tags, ul.item_tools, p.tip, ul.feed_tools {
font-size: 11px;
}
table.generic_table {
font-size: 12px;
}
ul#nav, p.title, p#pagination {
font-size: 15px;
}
input.text_input, form.item_search input, textarea.text_input {
font-size: 14px;
}
span.under_input, span.added, ul.admin_list ul li, p.feed_action, p.icon, ul.item_tools a, ul#nav a, ul#sub_nav a, div#user_info p, p.permalink a, p.item_count, p#button_explain, p.tip, ul.feed_tools a, span.input_explain, div.content blockquote, a.show_all_tags {
color: #999;
}
div.content, ul.item_tools a:hover {
color: #333;
}
a, li.expand a {
color: #3399ff;
}
a:hover, li.expand a:hover {
color: #003366;
}
div.error {
color: #CC0000;
}
div.success {
color: green;
}
span.option label {
color: #486d9b;
}
ul#nav li.current_item a, ul#nav a:hover, p.tip strong, ul#sub_nav li.current_item a, ul#sub_nav a:hover, span.input_explain strong {
color: black;
}
label.title, div#footer, div#footer a, ul.feed_tools a:hover, li.item_delete a:hover {
color: white;
}
div.content strong, ul#nav, div.error, div.success, label.title, p.feed_title, p.title, li.title, p#pagination, p.tip strong, li.expand a, p#breadcrumb a, ul#sub_nav, span.input_explain strong {
font-weight: bold;
}
div.content em {
font-style: italic;
}
ul#nav a, p.permalink a, ul#sub_nav a {
text-decoration: none;
}
div#user_info {
line-height: 1.4em;
}
p.title {
line-height: 1.6em;
}
p.icon {
line-height: 16px;
}
/* Positioning
---------------------------------------------------------------------------------------- */
body, html {
height: 100%;
}
body {
background: white;
border: 5px solid #0458a3;
border-style: solid none none none;
}
div#footer {
padding: 10px;
background: #0458a3;
}
div#header {
padding: 20px;
}
p#logo a {
display: block;
width: 254px;
height: 42px;
background: transparent url(../images/system/logo.gif);
}
div#user_info {
position: absolute;
top: 36px;
left: 285px;
}
div#nav_container, div#sub_nav_container {
position: relative;
border: 1px solid #CCC;
border-style: none none solid none;
margin: 35px 0 0 0;
}
div#nav_container.login {
margin: 5px 0 0 0;
}
div#sub_nav_container {
margin: 30px 0 20px 0;
}
ul#nav, ul#sub_nav {
float: left;
width: 100%;
position: absolute;
bottom: -1px;
}
ul#sub_nav {
border: 1px solid #CCC;
border-style: none none none solid;
}
ul#nav li, ul#nav li a, ul#sub_nav li, ul#sub_nav li a {
float: left;
}
ul#nav li a, ul#sub_nav li a {
background: #EEE;
padding: 7px 15px;
border: 1px solid #CCC;
border-style: solid solid solid none;
}
ul#sub_nav li a {
padding: 5px 10px;
}
ul#nav li#nav_dashboard {
margin-left: 20px;
}
ul#nav li#nav_dashboard a {
border: 1px solid #CCC;
}
ul#nav li.current_item a, ul#nav li#nav_dashboard.current_item a, ul#sub_nav li.current_item a {
background: white;
border-color: #CCC #CCC white #CCC;
}
div#breadcrumb_container {
background: #006699;
position: relative;
border: 1px solid #CCC;
border-style: none none solid none;
}
div#main_content {
padding: 20px 20px 0 20px;
width: 588px;
position: relative;
float: left;
}
div#side_content {
width: 200px;
float: left;
padding: 20px;
border: 1px solid #CCC;
border-style: none none none dashed;
}
p#button_explain {
clear: both;
padding: 5px 0 0 0;
}
div#main_content p, div.error, div.success, table.generic_table {
margin-bottom: 20px;
}
div#main_content div.error p, div#main_content table.generic_table p {
margin: 0;
}
div.error, div.success {
background: #FFCCCC;
padding: 8px;
}
div.success {
background: #ccffcc;
}
label.title {
background: #999;
padding: 2px 5px;
}
input.text_input, form.item_search input, textarea.text_input {
border: 1px solid #999;
background: #fefee2;
width: 570px;
display: block;
padding: 5px;
}
textarea.text_input {
height: 300px;
}
form.item_search input {
width: 187px;
}
table.generic_table {
width: 100%;
clear: both;
}
table.generic_table td {
border: 1px solid #EEE;
padding: 8px;
}
form.generic {
padding-bottom: 20px;
float: left;
}
p.icon {
background-repeat: no-repeat;
background-position: 5px center;
background-color: #F9F9F9;
height: 16px;
padding: 5px 0 5px 25px;
border: 1px solid #EEE;
border-style: none none solid none;
}
div#main_content ul.activity_list p, div#main_content ul.feed_list p {
margin: 0;
}
div#main_content ul.activity_list p.permalink {
margin-bottom: 3px;
}
div.image img {
display: block;
border: 1px solid #CCC;
padding: 5px;
}
div.image {
margin: 5px 0;
}
ul.activity_list li.item {
margin-bottom: 20px;
border: 1px solid #999;
position: relative;
}
ul.item_tools, ul.feed_tools {
position: absolute;
right: 10px;
top: 4px;
}
ul.item_tools li, ul.feed_tools li {
display: inline;
padding: 0 0 0 5px;
}
ul.item_tools li.expand {
background: transparent url(../images/system/icons/silk/bullet_arrow_right.png) 0 center no-repeat;
padding-left: 15px;
}
ul.item_tools li.expand.expanded {
background: transparent url(../images/system/icons/silk/bullet_arrow_down.png) 0 center no-repeat;
}
div.item_container {
padding: 8px 12px 10px 12px;
}
div#main_content ul.activity_list div.content p, div.content ul, div.content ol {
margin-bottom: 10px;
}
div.content ul, div.content ol {
margin-left: 20px;
list-style-type: disc;
}
div.content ol {
list-style-type: decimal
}
div.content blockquote {
margin-left: 20px;
border: 3px solid #CCC;
border-style: none none none solid;
padding-left: 10px;
}
ul.tags li {
display: inline;
padding: 0 5px 0 0;
}
div.hideshow, ul.item_tools li.expand {
display: none;
}
ul.activity_list li.publish li.publish_this, ul.activity_list li.draft li.unpublish_this {
display: none;
}
ul.activity_list li.draft li.publish_this, ul.activity_list li.publish li.unpublish_this {
display: inline;
}
ul.activity_list li div.item_container {
position: relative;
}
ul.activity_list li.draft {
opacity: 0.4;
-moz-opacity: 0.4;
filter: alpha(opacity=40);
}
ul.feed_list p.title {
background-repeat: no-repeat;
background-position: left center;
}
ul.feed_list p {
padding: 0 0 0 22px;
}
ul.feed_list {
border: 1px solid #EEE;
border-style: solid none none none;
margin-bottom: 20px;
}
ul.feed_list li.feed {
border: 1px solid #EEE;
border-style: none solid solid solid;
padding: 10px;
background: transparent url(../images/system/dither.gif) bottom left repeat-x;
position: relative;
}
li.feed_delete a, li.item_delete a {
padding: 1px 2px;
}
li.feed_delete a:hover, li.item_delete a:hover {
background: red;
}
div.clear {
clear: both;
}
p#pagination {
padding: 15px 10px;
background: #F8F8F8;
}
p#pagination a {
background: white;
padding: 5px 8px;
border: 1px solid #EEE;
}
p#pagination a:hover {
border: 1px solid #CCC;
}
h4.side_title {
margin: 15px 0 8px 0;
border: 1px solid #EEE;
border-style: none none solid none;
padding: 0 0 3px 0;
}
ul.tag_list li {
display: inline;
padding: 0 0 5px 0;
}
span.highlight {
background: #FFFFCC;
}
span.option_container {
border: 1px solid #999;
padding: 8px 10px 3px 10px;
display: block;
}
span.option {
display: block;
margin-bottom: 5px;
}
span.option label {
background: #f1f5fa;
padding: 1px 2px;
cursor: pointer;
}
span.input_explain {
display: block;
margin-top: -15px;
margin-bottom: 15px;
}
a.reset_cron_key {
position: absolute;
right: 25px;
}
ul.tag_list.all {
display: none;
}
ul.active_feeds li {
padding-left: 22px;
margin-bottom: 5px;
}
a.change_password {
background: transparent url(../images/system/icons/silk/bullet_arrow_right.png) 0 center no-repeat;
padding-left: 15px;
}
a.change_password.toggle {
background: transparent url(../images/system/icons/silk/bullet_arrow_down.png) 0 center no-repeat;
}
div#change_password_container {
display: none;
}
/* Buttons
---------------------------------------------------------------------------------------- */
.buttons a, .buttons button{
display:block;
float:left;
margin:0 7px 0 0;
background-color:#f5f5f5;
border:1px solid #dedede;
border-top:1px solid #eee;
border-left:1px solid #eee;
font-size:100%;
line-height:130%;
text-decoration:none;
font-weight:bold;
color:#565656;
cursor:pointer;
padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
width:auto;
overflow:visible;
padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
padding:5px 10px 5px 7px; /* Firefox */
line-height:17px; /* Safari */
}
*:first-child+html button[type]{
padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
margin:0 3px -3px 0 !important;
padding:0;
border:none;
width:16px;
height:16px;
}
/* STANDARD */
button:hover, .buttons a:hover{
background-color:#dff4ff;
border:1px solid #c2e1ef;
color:#336699;
}
.buttons a:active{
background-color:#6299c5;
border:1px solid #6299c5;
color:#fff;
}
/* POSITIVE */
button.positive, .buttons a.positive{
color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
background-color:#E6EFC2;
border:1px solid #C6D880;
color:#529214;
}
.buttons a.positive:active{
background-color:#529214;
border:1px solid #529214;
color:#fff;
}
/* NEGATIVE */
.buttons a.negative, button.negative{
color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
background:#fbe3e4;
border:1px solid #fbc2c4;
color:#d12f19;
}
.buttons a.negative:active{
background-color:#d12f19;
border:1px solid #d12f19;
color:#fff;
}
/* Teh IE haxx
---------------------------------------------------------------------------------------- */
* html div#nav_container {
height: 38px;
}

14
public/css/reset.css Normal file
View file

@ -0,0 +1,14 @@
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.10.0
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}

View file

@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 36
/svn/!svn/ver/65/trunk/public/images
END

View file

@ -0,0 +1,31 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/images
http://sweetcron.googlecode.com/svn
2008-08-31T15:12:40.450252Z
65
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
system
dir

View file

@ -0,0 +1,23 @@
K 25
svn:wc:ra_dav:version-url
V 43
/svn/!svn/ver/65/trunk/public/images/system
END
dither.gif
K 25
svn:wc:ra_dav:version-url
V 54
/svn/!svn/ver/22/trunk/public/images/system/dither.gif
END
logo.gif
K 25
svn:wc:ra_dav:version-url
V 52
/svn/!svn/ver/22/trunk/public/images/system/logo.gif
END
disable.gif
K 25
svn:wc:ra_dav:version-url
V 55
/svn/!svn/ver/22/trunk/public/images/system/disable.gif
END

View file

@ -0,0 +1,133 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/images/system
http://sweetcron.googlecode.com/svn
2008-08-31T15:12:40.450252Z
65
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
dither.gif
file
2009-09-15T00:18:31.000000Z
00b7ff90a4d931ca43ee3e6f63ecc91f
2008-08-28T08:25:40.070317Z
22
yongfook
has-props
119
logo.gif
file
2009-09-15T00:18:31.000000Z
ab628778fed40fd506bd5b86a7f6fda2
2008-08-28T08:25:40.070317Z
22
yongfook
has-props
3591
disable.gif
file
2009-09-15T00:18:31.000000Z
4857c0d2e46abc6b09fd43e42f303989
2008-08-28T08:25:40.070317Z
22
yongfook
has-props
44
icons
dir

View file

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

View file

@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 49
/svn/!svn/ver/65/trunk/public/images/system/icons
END

View file

@ -0,0 +1,31 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/images/system/icons
http://sweetcron.googlecode.com/svn
2008-08-31T15:12:40.450252Z
65
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
silk
dir

View file

@ -0,0 +1,47 @@
K 25
svn:wc:ra_dav:version-url
V 54
/svn/!svn/ver/65/trunk/public/images/system/icons/silk
END
page_white.png
K 25
svn:wc:ra_dav:version-url
V 69
/svn/!svn/ver/65/trunk/public/images/system/icons/silk/page_white.png
END
cog_go.png
K 25
svn:wc:ra_dav:version-url
V 65
/svn/!svn/ver/32/trunk/public/images/system/icons/silk/cog_go.png
END
bullet_arrow_right.png
K 25
svn:wc:ra_dav:version-url
V 77
/svn/!svn/ver/36/trunk/public/images/system/icons/silk/bullet_arrow_right.png
END
accept.png
K 25
svn:wc:ra_dav:version-url
V 65
/svn/!svn/ver/32/trunk/public/images/system/icons/silk/accept.png
END
add.png
K 25
svn:wc:ra_dav:version-url
V 62
/svn/!svn/ver/32/trunk/public/images/system/icons/silk/add.png
END
key.png
K 25
svn:wc:ra_dav:version-url
V 62
/svn/!svn/ver/32/trunk/public/images/system/icons/silk/key.png
END
bullet_arrow_down.png
K 25
svn:wc:ra_dav:version-url
V 76
/svn/!svn/ver/36/trunk/public/images/system/icons/silk/bullet_arrow_down.png
END

View file

@ -0,0 +1,266 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/images/system/icons/silk
http://sweetcron.googlecode.com/svn
2008-08-31T15:12:40.450252Z
65
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
page_white.png
file
2009-09-15T00:18:31.000000Z
a3112ba7e266938321394347e2a6e107
2008-08-31T15:12:40.450252Z
65
yongfook
has-props
294
cog_go.png
file
2009-09-15T00:18:31.000000Z
142d11b5225a02229478dd1370092db0
2008-08-28T13:03:46.682478Z
32
yongfook
has-props
859
bullet_arrow_right.png
file
2009-09-15T00:18:31.000000Z
d66c161eb603177fc8fedf70c3224581
2008-08-28T14:39:55.799261Z
36
yongfook
has-props
259
accept.png
file
2009-09-15T00:18:31.000000Z
8bfed48756f192ed7afe6eaa4799aae4
2008-08-28T13:03:46.682478Z
32
yongfook
has-props
781
add.png
file
2009-09-15T00:18:31.000000Z
1988c3cc1384a3ac9b9a4129183248f3
2008-08-28T13:03:46.682478Z
32
yongfook
has-props
733
key.png
file
2009-09-15T00:18:31.000000Z
70ecb91f3ae79ec3c40ac74c5468a392
2008-08-28T13:03:46.682478Z
32
yongfook
has-props
612
bullet_arrow_down.png
file
2009-09-15T00:18:31.000000Z
6817b10435d889646ce9b3b22b9c16cb
2008-08-28T14:39:55.799261Z
36
yongfook
has-props
201

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

View file

@ -0,0 +1,9 @@
K 14
svn:executable
V 1
*
K 13
svn:mime-type
V 24
application/octet-stream
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -0,0 +1,23 @@
K 25
svn:wc:ra_dav:version-url
V 37
/svn/!svn/ver/64/trunk/public/scripts
END
main.js
K 25
svn:wc:ra_dav:version-url
V 45
/svn/!svn/ver/22/trunk/public/scripts/main.js
END
admin.js
K 25
svn:wc:ra_dav:version-url
V 46
/svn/!svn/ver/64/trunk/public/scripts/admin.js
END
jquery.js
K 25
svn:wc:ra_dav:version-url
V 47
/svn/!svn/ver/22/trunk/public/scripts/jquery.js
END

130
public/scripts/.svn/entries Normal file
View file

@ -0,0 +1,130 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/public/scripts
http://sweetcron.googlecode.com/svn
2008-08-31T15:02:40.078308Z
64
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
main.js
file
2009-09-15T00:18:34.000000Z
d41d8cd98f00b204e9800998ecf8427e
2008-08-28T08:25:40.070317Z
22
yongfook
0
admin.js
file
2009-09-15T00:18:34.000000Z
a255440ac63270a2a125ed2893ebf547
2008-08-31T15:02:40.078308Z
64
yongfook
3013
jquery.js
file
2009-09-15T00:18:34.000000Z
7447d985396a9b7b507d5841c28dd7f8
2008-08-28T08:25:40.070317Z
22
yongfook
31033

View file

@ -0,0 +1,113 @@
$(document).ready(function(){
var base_url = $('input[name=base_url]').val();
$('a.change_password').click(function(){
$('div#change_password_container').toggle();
$('a.change_password').toggleClass('toggle');
});
//show all tags
$('a.show_all_tags').click(function(){
if ($('ul.tag_list.some').is(':visible')) {
$('ul.tag_list.some').slideUp('normal', function(){
$('ul.tag_list.all').slideDown('normal');
$('a.show_all_tags').html('Show Some Tags');
});
} else {
$('ul.tag_list.all').slideUp('normal', function(){
$('ul.tag_list.some').slideDown('normal');
$('a.show_all_tags').html('Show All Tags');
});
}
});
//reset cron key
$('a.reset_cron_key').click(function(){
$.ajax({
type: "POST",
url: base_url + "admin/ajax/reset_cron_key",
success: function(msg){
$('span#cron_key').html(msg);
}
});
});
//cron url display
$('form#options_form').change(function(){
if ($('input#radio_true').is(':checked')) {
$('span#cron_url').show();
} else {
$('span#cron_url').hide();
}
});
//save draft button
$('a.draft_button').click(function(){
$('input[name=draft]').val('true');
$('form').submit();
});
//must confirm link
$('a.confirm_first').click(function(){
if (confirm('Sure?')) {
return true;
} else {
return false;
}
});
//unpublish button
$('ul.activity_list li.unpublish_this a').click(function(){
var id = $(this).parents('li.item').attr('id').replace('item_','');
$.ajax({
type: "POST",
url: base_url + "admin/ajax/unpublish_item",
data: "id=" + id,
success: function(){
$('li#item_' + id).removeClass('publish');
$('li#item_' + id).addClass('draft');
}
});
});
//publish button
$('ul.activity_list li.publish_this a').click(function(){
var id = $(this).parents('li.item').attr('id').replace('item_','');
$.ajax({
type: "POST",
url: base_url + "admin/ajax/publish_item",
data: "id=" + id,
success: function(){
$('li#item_' + id).removeClass('draft');
$('li#item_' + id).addClass('publish');
}
});
});
//external links, xhtml friendly
$('a[rel=external]').click(function(){
//open new window
var myurl = $(this).attr('href');
window.open(myurl, 'external');
return false;
});
if ($('li.item div.hideshow:parent').length) {
$('li.item div.hideshow:parent').each(function(){
$(this).parents('li.item').children('ul.item_tools').children('li.expand').css({display: 'inline'});
});
}
$('li.expand a').click(function(){
$(this).parents('li.item').children('div.item_container').children('div.hideshow').slideToggle();
if ($(this).parents('li').hasClass('expanded')) {
$(this).parents('li').removeClass('expanded');
$(this).html('Expand');
} else {
$(this).parents('li').addClass('expanded');
$(this).html('Collapse');
}
});
});

File diff suppressed because one or more lines are too long

113
public/scripts/admin.js Normal file
View file

@ -0,0 +1,113 @@
$(document).ready(function(){
var base_url = $('input[name=base_url]').val();
$('a.change_password').click(function(){
$('div#change_password_container').toggle();
$('a.change_password').toggleClass('toggle');
});
//show all tags
$('a.show_all_tags').click(function(){
if ($('ul.tag_list.some').is(':visible')) {
$('ul.tag_list.some').slideUp('normal', function(){
$('ul.tag_list.all').slideDown('normal');
$('a.show_all_tags').html('Show Some Tags');
});
} else {
$('ul.tag_list.all').slideUp('normal', function(){
$('ul.tag_list.some').slideDown('normal');
$('a.show_all_tags').html('Show All Tags');
});
}
});
//reset cron key
$('a.reset_cron_key').click(function(){
$.ajax({
type: "POST",
url: base_url + "admin/ajax/reset_cron_key",
success: function(msg){
$('span#cron_key').html(msg);
}
});
});
//cron url display
$('form#options_form').change(function(){
if ($('input#radio_true').is(':checked')) {
$('span#cron_url').show();
} else {
$('span#cron_url').hide();
}
});
//save draft button
$('a.draft_button').click(function(){
$('input[name=draft]').val('true');
$('form').submit();
});
//must confirm link
$('a.confirm_first').click(function(){
if (confirm('Sure?')) {
return true;
} else {
return false;
}
});
//unpublish button
$('ul.activity_list li.unpublish_this a').click(function(){
var id = $(this).parents('li.item').attr('id').replace('item_','');
$.ajax({
type: "POST",
url: base_url + "admin/ajax/unpublish_item",
data: "id=" + id,
success: function(){
$('li#item_' + id).removeClass('publish');
$('li#item_' + id).addClass('draft');
}
});
});
//publish button
$('ul.activity_list li.publish_this a').click(function(){
var id = $(this).parents('li.item').attr('id').replace('item_','');
$.ajax({
type: "POST",
url: base_url + "admin/ajax/publish_item",
data: "id=" + id,
success: function(){
$('li#item_' + id).removeClass('draft');
$('li#item_' + id).addClass('publish');
}
});
});
//external links, xhtml friendly
$('a[rel=external]').click(function(){
//open new window
var myurl = $(this).attr('href');
window.open(myurl, 'external');
return false;
});
if ($('li.item div.hideshow:parent').length) {
$('li.item div.hideshow:parent').each(function(){
$(this).parents('li.item').children('ul.item_tools').children('li.expand').css({display: 'inline'});
});
}
$('li.expand a').click(function(){
$(this).parents('li.item').children('div.item_container').children('div.hideshow').slideToggle();
if ($(this).parents('li').hasClass('expanded')) {
$(this).parents('li').removeClass('expanded');
$(this).html('Expand');
} else {
$(this).parents('li').addClass('expanded');
$(this).html('Collapse');
}
});
});

11
public/scripts/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

0
public/scripts/main.js Normal file
View file

5
system/.svn/all-wcprops Normal file
View file

@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 30
/svn/!svn/ver/124/trunk/system
END

64
system/.svn/entries Normal file
View file

@ -0,0 +1,64 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/system
http://sweetcron.googlecode.com/svn
2008-12-22T02:10:08.113778Z
124
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
scaffolding
dir
plugins
dir
helpers
dir
application
dir
cache
dir
language
dir
database
dir
logs
dir
fonts
dir
utilities
dir
codeigniter
dir
libraries
dir

View file

@ -0,0 +1,11 @@
K 25
svn:wc:ra_dav:version-url
V 42
/svn/!svn/ver/124/trunk/system/application
END
index.html
K 25
svn:wc:ra_dav:version-url
V 52
/svn/!svn/ver/18/trunk/system/application/index.html
END

View file

@ -0,0 +1,92 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/system/application
http://sweetcron.googlecode.com/svn
2008-12-22T02:10:08.113778Z
124
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
plugins
dir
helpers
dir
hooks
dir
language
dir
models
dir
config
dir
controllers
dir
index.html
file
2009-09-15T00:18:04.000000Z
362a648cc43551584abe596372cb8da8
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
149
errors
dir
libraries
dir
views
dir

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,15 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body bgcolor='#ffffff'>
<p>Directory access is forbidden.<p>
</body>
</html>

View file

@ -0,0 +1,59 @@
K 25
svn:wc:ra_dav:version-url
V 49
/svn/!svn/ver/117/trunk/system/application/config
END
mimes.php
K 25
svn:wc:ra_dav:version-url
V 58
/svn/!svn/ver/18/trunk/system/application/config/mimes.php
END
user_agents.php
K 25
svn:wc:ra_dav:version-url
V 64
/svn/!svn/ver/18/trunk/system/application/config/user_agents.php
END
routes.php
K 25
svn:wc:ra_dav:version-url
V 59
/svn/!svn/ver/18/trunk/system/application/config/routes.php
END
hooks.php
K 25
svn:wc:ra_dav:version-url
V 58
/svn/!svn/ver/18/trunk/system/application/config/hooks.php
END
database-sample.php
K 25
svn:wc:ra_dav:version-url
V 68
/svn/!svn/ver/18/trunk/system/application/config/database-sample.php
END
index.html
K 25
svn:wc:ra_dav:version-url
V 59
/svn/!svn/ver/18/trunk/system/application/config/index.html
END
config-sample.php
K 25
svn:wc:ra_dav:version-url
V 67
/svn/!svn/ver/117/trunk/system/application/config/config-sample.php
END
smileys.php
K 25
svn:wc:ra_dav:version-url
V 60
/svn/!svn/ver/18/trunk/system/application/config/smileys.php
END
autoload.php
K 25
svn:wc:ra_dav:version-url
V 61
/svn/!svn/ver/18/trunk/system/application/config/autoload.php
END

View file

@ -0,0 +1,334 @@
10
dir
124
http://sweetcron.googlecode.com/svn/trunk/system/application/config
http://sweetcron.googlecode.com/svn
2008-10-05T07:25:02.976982Z
117
yongfook
51b50d7d-0b4b-0410-974b-f188aa86c7d9
mimes.php
file
2009-09-15T00:17:49.000000Z
f448652e2041378459f98e1351fa2075
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
3915
user_agents.php
file
2009-09-15T00:17:49.000000Z
af54d668da8675307fd1e58dccaeced8
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
3333
routes.php
file
2009-09-15T00:17:49.000000Z
ac739e7cd13dc9d819de049f867f2364
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
1871
hooks.php
file
2009-09-15T00:17:49.000000Z
18ccf2a3e220d7a493e3bc8801a1cd87
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
423
database-sample.php
file
2009-09-15T00:17:49.000000Z
f6427b46fae29e65fdd56438cae76a83
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
2277
index.html
file
2009-09-15T00:17:49.000000Z
362a648cc43551584abe596372cb8da8
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
149
config-sample.php
file
2009-09-15T00:17:49.000000Z
a25db98cac3f754b9ccaea9d132d7c27
2008-10-05T07:25:02.976982Z
117
yongfook
has-props
10721
smileys.php
file
2009-09-15T00:17:49.000000Z
9c96d1097118853e6ef60b36e74ae897
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
3217
autoload.php
file
2009-09-15T00:17:49.000000Z
4d2649f038c629ccaaf4d1c4e84bc08e
2008-08-28T06:03:25.654136Z
18
yongfook
has-props
3280

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END

View file

@ -0,0 +1,125 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Libraries
| 2. Helper files
| 3. Plugins
| 4. Custom config files
| 5. Language files
| 6. Models
|
*/
/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your system/application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/
$autoload['libraries'] = array('database', 'session');
/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Plugins
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['plugin'] = array('captcha', 'js_calendar');
*/
$autoload['plugin'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/
$autoload['config'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/
$autoload['language'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('model1', 'model2');
|
*/
$autoload['model'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Core Libraries
| -------------------------------------------------------------------
|
| DEPRECATED: Use $autoload['libraries'] above instead.
|
*/
// $autoload['core'] = array();
?>

View file

@ -0,0 +1,314 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://www.your-site.com/
|
*/
$config['base_url'] = "http://www.your-site.com/";
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = "";
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string. The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO' Default - auto detects
| 'PATH_INFO' Uses the PATH_INFO
| 'QUERY_STRING' Uses the QUERY_STRING
| 'REQUEST_URI' Uses the REQUEST_URI
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = "REQUEST_URI";
/*
|--------------------------------------------------------------------------
| URL suffix
|--------------------------------------------------------------------------
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
| For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/urls.html
*/
$config['url_suffix'] = "";
/*
|--------------------------------------------------------------------------
| Default Language
|--------------------------------------------------------------------------
|
| This determines which set of language files should be used. Make sure
| there is an available translation if you intend to use something other
| than english.
|
*/
$config['language'] = "english";
/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
*/
$config['charset'] = "UTF-8";
/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the "hooks" feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;
/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries. For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/core_classes.html
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'MY_';
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
|
| This lets you specify which characters are permitted within your URLs.
| When someone tries to submit a URL with disallowed characters they will
| get a warning message.
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
| Leave blank to allow all characters -- but only if you are insane.
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_?=#+-';
/*
|--------------------------------------------------------------------------
| Enable Query Strings
|--------------------------------------------------------------------------
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
| www.your-site.com/who/what/where/
|
| You can optionally enable standard query string based URLs:
| www.your-site.com?who=me&what=something&where=here
|
| Options are: TRUE or FALSE (boolean)
|
| The other items let you set the query string "words" that will
| invoke your controllers and its functions:
| www.your-site.com/index.php?c=controller&m=function
|
| Please note that some of the helpers won't work as expected when
| this feature is enabled, since CodeIgniter is designed primarily to
| use segment based URLs.
|
*/
$config['enable_query_strings'] = FALSE;
$config['directory_trigger'] = 'd';
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| If you have enabled error logging, you can set an error threshold to
| determine what gets logged. Threshold options are:
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 0;
/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/logs/ folder. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
| Each item that is logged has an associated date. You can use PHP date
| codes to set your own date formatting
|
*/
$config['log_date_format'] = 'Y-m-d H:i:s';
/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/cache/ folder. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class or the Sessions class with encryption
| enabled you MUST set an encryption key. See the user guide for info.
|
*/
$config['encryption_key'] = "";
/*
|--------------------------------------------------------------------------
| Session Variables
|--------------------------------------------------------------------------
|
| 'session_cookie_name' = the name you want for the cookie
| 'encrypt_sess_cookie' = TRUE/FALSE (boolean). Whether to encrypt the cookie
| 'session_expiration' = the number of SECONDS you want the session to last.
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
| 'time_to_update' = how many seconds between CI refreshing Session Information
|
*/
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = FALSE;
/*
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads. When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts. For
| compression to work, nothing can be sent before the output buffer is called
| by the output class. Do not "echo" any values with compression enabled.
|
*/
$config['compress_output'] = FALSE;
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are "local" or "gmt". This pref tells the system whether to use
| your server's local time as the master "now" reference, or convert it to
| GMT. See the "date helper" page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = FALSE;
?>

View file

@ -0,0 +1,53 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the "Database Connection"
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported:
mysql, mysqli, postgre, odbc, mssql
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the "default" group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "";
$db['default']['password'] = "";
$db['default']['database'] = "";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
?>

View file

@ -0,0 +1,14 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files. Please see the user guide for info:
|
| http://codeigniter.com/user_guide/general/hooks.html
|
*/
?>

View file

@ -0,0 +1,15 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body bgcolor='#ffffff'>
<p>Directory access is forbidden.<p>
</body>
</html>

View file

@ -0,0 +1,102 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help identify allowed file types.
|
*/
$mimes = array( 'hqx' => 'application/mac-binhex40',
'cpt' => 'application/mac-compactpro',
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
'bin' => 'application/macbinary',
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'exe' => 'application/octet-stream',
'class' => 'application/octet-stream',
'psd' => 'application/x-photoshop',
'so' => 'application/octet-stream',
'sea' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'oda' => 'application/oda',
'pdf' => array('application/pdf', 'application/x-download'),
'ai' => 'application/postscript',
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
'xls' => array('application/excel', 'application/vnd.ms-excel'),
'ppt' => 'application/powerpoint',
'wbxml' => 'application/wbxml',
'wmlc' => 'application/wmlc',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'php' => 'application/x-httpd-php',
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'js' => 'application/x-javascript',
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
'tgz' => 'application/x-tar',
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'),
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'aif' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ra' => 'audio/x-realaudio',
'rv' => 'video/vnd.rn-realvideo',
'wav' => 'audio/x-wav',
'bmp' => 'image/bmp',
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => 'text/css',
'html' => 'text/html',
'htm' => 'text/html',
'shtml' => 'text/html',
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => array('text/plain', 'text/x-log'),
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
'xml' => 'text/xml',
'xsl' => 'text/xml',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpe' => 'video/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie',
'doc' => 'application/msword',
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822'
);
?>

View file

@ -0,0 +1,53 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| www.your-site.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are two reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['scaffolding_trigger'] = 'scaffolding';
|
| This route lets you set a "secret" word that will trigger the
| scaffolding feature for added security. Note: Scaffolding must be
| enabled in the controller in which you intend to use it. The reserved
| routes must come before any wildcard or regular expression routes.
|
*/
$route['default_controller'] = "home";
$route['scaffolding_trigger'] = "";
$route['page/:num'] = "home";
$route['admin'] = "admin/dashboard";
$route['admin/items/page/:num'] = 'admin/items';
$route['admin/write/page'] = 'admin/write/index';
$route['admin/write/edit/:num'] = 'admin/write/index';
$route['p/:any'] = "p";
?>

View file

@ -0,0 +1,64 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| SMILEYS
| -------------------------------------------------------------------
| This file contains an array of smileys for use with the emoticon helper.
| Individual images can be used to replace multiple simileys. For example:
| :-) and :) use the same image replacement.
|
| Please see user guide for more info:
| http://codeigniter.com/user_guide/helpers/smiley_helper.html
|
*/
$smileys = array(
// smiley image name width height alt
':-)' => array('grin.gif', '19', '19', 'grin'),
':lol:' => array('lol.gif', '19', '19', 'LOL'),
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
':)' => array('smile.gif', '19', '19', 'smile'),
';-)' => array('wink.gif', '19', '19', 'wink'),
';)' => array('wink.gif', '19', '19', 'wink'),
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
':-S' => array('confused.gif', '19', '19', 'confused'),
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
':P' => array('rasberry.gif', '19', '19', 'rasberry'),
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
':long:' => array('longface.gif', '19', '19', 'long face'),
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
':down:' => array('downer.gif', '19', '19', 'downer'),
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
':sick:' => array('sick.gif', '19', '19', 'sick'),
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
'>:(' => array('mad.gif', '19', '19', 'mad'),
':mad:' => array('mad.gif', '19', '19', 'mad'),
'>:-(' => array('angry.gif', '19', '19', 'angry'),
':angry:' => array('angry.gif', '19', '19', 'angry'),
':zip:' => array('zip.gif', '19', '19', 'zipper'),
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
':snake:' => array('snake.gif', '19', '19', 'snake'),
':exclaim:' => array('exclaim.gif', '19', '19', 'excaim'),
':question:' => array('question.gif', '19', '19', 'question') // no comma after last item
);
?>

View file

@ -0,0 +1,103 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| USER AGENT TYPES
| -------------------------------------------------------------------
| This file contains four arrays of user agent data. It is used by the
| User Agent Class to help identify browser, platform, robot, and
| mobile device data. The array keys are used to identify the device
| and the array values are used to set the actual name of the item.
|
*/
$platforms = array (
'windows nt 6.0' => 'Windows Longhorn',
'windows nt 5.2' => 'Windows 2003',
'windows nt 5.0' => 'Windows 2000',
'windows nt 5.1' => 'Windows XP',
'windows nt 4.0' => 'Windows NT 4.0',
'winnt4.0' => 'Windows NT 4.0',
'winnt 4.0' => 'Windows NT',
'winnt' => 'Windows NT',
'windows 98' => 'Windows 98',
'win98' => 'Windows 98',
'windows 95' => 'Windows 95',
'win95' => 'Windows 95',
'windows' => 'Unknown Windows OS',
'os x' => 'Mac OS X',
'ppc mac' => 'Power PC Mac',
'freebsd' => 'FreeBSD',
'ppc' => 'Macintosh',
'linux' => 'Linux',
'debian' => 'Debian',
'sunos' => 'Sun Solaris',
'beos' => 'BeOS',
'apachebench' => 'ApacheBench',
'aix' => 'AIX',
'irix' => 'Irix',
'osf' => 'DEC OSF',
'hp-ux' => 'HP-UX',
'netbsd' => 'NetBSD',
'bsdi' => 'BSDi',
'openbsd' => 'OpenBSD',
'gnu' => 'GNU/Linux',
'unix' => 'Unknown Unix OS'
);
// The order of this array should NOT be changed. Many browsers return
// multiple browser types so we want to identify the sub-type first.
$browsers = array(
'Opera' => 'Opera',
'MSIE' => 'Internet Explorer',
'Internet Explorer' => 'Internet Explorer',
'Shiira' => 'Shiira',
'Firefox' => 'Firefox',
'Chimera' => 'Chimera',
'Phoenix' => 'Phoenix',
'Firebird' => 'Firebird',
'Camino' => 'Camino',
'Netscape' => 'Netscape',
'OmniWeb' => 'OmniWeb',
'Mozilla' => 'Mozilla',
'Safari' => 'Safari',
'Konqueror' => 'Konqueror',
'icab' => 'iCab',
'Lynx' => 'Lynx',
'Links' => 'Links',
'hotjava' => 'HotJava',
'amaya' => 'Amaya',
'IBrowse' => 'IBrowse'
);
$mobiles = array(
'mobileexplorer' => 'Mobile Explorer',
'openwave' => 'Open Wave',
'opera mini' => 'Opera Mini',
'operamini' => 'Opera Mini',
'elaine' => 'Palm',
'palmsource' => 'Palm',
'digital paths' => 'Palm',
'avantgo' => 'Avantgo',
'xiino' => 'Xiino',
'palmscape' => 'Palmscape',
'nokia' => 'Nokia',
'ericsson' => 'Ericsson',
'blackberry' => 'BlackBerry',
'motorola' => 'Motorola'
);
// There are hundreds of bots but these are the most common.
$robots = array(
'googlebot' => 'Googlebot',
'msnbot' => 'MSNBot',
'slurp' => 'Inktomi Slurp',
'yahoo' => 'Yahoo',
'askjeeves' => 'AskJeeves',
'fastcrawler' => 'FastCrawler',
'infoseek' => 'InfoSeek Robot 1.0',
'lycos' => 'Lycos'
);
?>

View file

@ -0,0 +1,125 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every
| request.
|
| -------------------------------------------------------------------
| Instructions
| -------------------------------------------------------------------
|
| These are the things you can load automatically:
|
| 1. Libraries
| 2. Helper files
| 3. Plugins
| 4. Custom config files
| 5. Language files
| 6. Models
|
*/
/*
| -------------------------------------------------------------------
| Auto-load Libraries
| -------------------------------------------------------------------
| These are the classes located in the system/libraries folder
| or in your system/application/libraries folder.
|
| Prototype:
|
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
*/
$autoload['libraries'] = array('database', 'session');
/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Plugins
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['plugin'] = array('captcha', 'js_calendar');
*/
$autoload['plugin'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Config files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['config'] = array('config1', 'config2');
|
| NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank.
|
*/
$autoload['config'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Language files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['language'] = array('lang1', 'lang2');
|
| NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
*/
$autoload['language'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Models
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('model1', 'model2');
|
*/
$autoload['model'] = array();
/*
| -------------------------------------------------------------------
| Auto-load Core Libraries
| -------------------------------------------------------------------
|
| DEPRECATED: Use $autoload['libraries'] above instead.
|
*/
// $autoload['core'] = array();
?>

View file

@ -0,0 +1,314 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://www.your-site.com/
|
*/
$config['base_url'] = "http://www.your-site.com/";
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = "";
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string. The default setting of "AUTO" works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO' Default - auto detects
| 'PATH_INFO' Uses the PATH_INFO
| 'QUERY_STRING' Uses the QUERY_STRING
| 'REQUEST_URI' Uses the REQUEST_URI
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = "REQUEST_URI";
/*
|--------------------------------------------------------------------------
| URL suffix
|--------------------------------------------------------------------------
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
| For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/urls.html
*/
$config['url_suffix'] = "";
/*
|--------------------------------------------------------------------------
| Default Language
|--------------------------------------------------------------------------
|
| This determines which set of language files should be used. Make sure
| there is an available translation if you intend to use something other
| than english.
|
*/
$config['language'] = "english";
/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
*/
$config['charset'] = "UTF-8";
/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the "hooks" feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;
/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries. For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/core_classes.html
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'MY_';
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
|
| This lets you specify which characters are permitted within your URLs.
| When someone tries to submit a URL with disallowed characters they will
| get a warning message.
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
| Leave blank to allow all characters -- but only if you are insane.
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_?=#+-';
/*
|--------------------------------------------------------------------------
| Enable Query Strings
|--------------------------------------------------------------------------
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
| www.your-site.com/who/what/where/
|
| You can optionally enable standard query string based URLs:
| www.your-site.com?who=me&what=something&where=here
|
| Options are: TRUE or FALSE (boolean)
|
| The other items let you set the query string "words" that will
| invoke your controllers and its functions:
| www.your-site.com/index.php?c=controller&m=function
|
| Please note that some of the helpers won't work as expected when
| this feature is enabled, since CodeIgniter is designed primarily to
| use segment based URLs.
|
*/
$config['enable_query_strings'] = FALSE;
$config['directory_trigger'] = 'd';
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| If you have enabled error logging, you can set an error threshold to
| determine what gets logged. Threshold options are:
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 0;
/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/logs/ folder. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
| Each item that is logged has an associated date. You can use PHP date
| codes to set your own date formatting
|
*/
$config['log_date_format'] = 'Y-m-d H:i:s';
/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/cache/ folder. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class or the Sessions class with encryption
| enabled you MUST set an encryption key. See the user guide for info.
|
*/
$config['encryption_key'] = "";
/*
|--------------------------------------------------------------------------
| Session Variables
|--------------------------------------------------------------------------
|
| 'session_cookie_name' = the name you want for the cookie
| 'encrypt_sess_cookie' = TRUE/FALSE (boolean). Whether to encrypt the cookie
| 'session_expiration' = the number of SECONDS you want the session to last.
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
| 'time_to_update' = how many seconds between CI refreshing Session Information
|
*/
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = FALSE;
/*
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads. When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts. For
| compression to work, nothing can be sent before the output buffer is called
| by the output class. Do not "echo" any values with compression enabled.
|
*/
$config['compress_output'] = FALSE;
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are "local" or "gmt". This pref tells the system whether to use
| your server's local time as the master "now" reference, or convert it to
| GMT. See the "date helper" page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = FALSE;
?>

View file

@ -0,0 +1,53 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the "Database Connection"
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported:
mysql, mysqli, postgre, odbc, mssql
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the "default" group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "";
$db['default']['password'] = "";
$db['default']['database'] = "";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
?>

View file

@ -0,0 +1,14 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files. Please see the user guide for info:
|
| http://codeigniter.com/user_guide/general/hooks.html
|
*/
?>

View file

@ -0,0 +1,15 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body bgcolor='#ffffff'>
<p>Directory access is forbidden.<p>
</body>
</html>

View file

@ -0,0 +1,102 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help identify allowed file types.
|
*/
$mimes = array( 'hqx' => 'application/mac-binhex40',
'cpt' => 'application/mac-compactpro',
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
'bin' => 'application/macbinary',
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'exe' => 'application/octet-stream',
'class' => 'application/octet-stream',
'psd' => 'application/x-photoshop',
'so' => 'application/octet-stream',
'sea' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'oda' => 'application/oda',
'pdf' => array('application/pdf', 'application/x-download'),
'ai' => 'application/postscript',
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
'xls' => array('application/excel', 'application/vnd.ms-excel'),
'ppt' => 'application/powerpoint',
'wbxml' => 'application/wbxml',
'wmlc' => 'application/wmlc',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'php' => 'application/x-httpd-php',
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'js' => 'application/x-javascript',
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
'tgz' => 'application/x-tar',
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'),
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'aif' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ra' => 'audio/x-realaudio',
'rv' => 'video/vnd.rn-realvideo',
'wav' => 'audio/x-wav',
'bmp' => 'image/bmp',
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => 'text/css',
'html' => 'text/html',
'htm' => 'text/html',
'shtml' => 'text/html',
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => array('text/plain', 'text/x-log'),
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
'xml' => 'text/xml',
'xsl' => 'text/xml',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpe' => 'video/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
'avi' => 'video/x-msvideo',
'movie' => 'video/x-sgi-movie',
'doc' => 'application/msword',
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822'
);
?>

View file

@ -0,0 +1,53 @@
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| www.your-site.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
| http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are two reserved routes:
|
| $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
| $route['scaffolding_trigger'] = 'scaffolding';
|
| This route lets you set a "secret" word that will trigger the
| scaffolding feature for added security. Note: Scaffolding must be
| enabled in the controller in which you intend to use it. The reserved
| routes must come before any wildcard or regular expression routes.
|
*/
$route['default_controller'] = "home";
$route['scaffolding_trigger'] = "";
$route['page/:num'] = "home";
$route['admin'] = "admin/dashboard";
$route['admin/items/page/:num'] = 'admin/items';
$route['admin/write/page'] = 'admin/write/index';
$route['admin/write/edit/:num'] = 'admin/write/index';
$route['p/:any'] = "p";
?>

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