diff options
| -rw-r--r-- | LICENSE | 19 | ||||
| -rw-r--r-- | about.php | 8 | ||||
| -rw-r--r-- | add_diary.php | 8 | ||||
| -rw-r--r-- | add_food.php | 8 | ||||
| -rw-r--r-- | add_meal.php | 8 | ||||
| -rw-r--r-- | add_user.php | 8 | ||||
| -rw-r--r-- | edit_account.php | 8 | ||||
| -rw-r--r-- | edit_diary.php | 8 | ||||
| -rw-r--r-- | edit_food.php | 8 | ||||
| -rw-r--r-- | edit_meal.php | 8 | ||||
| -rw-r--r-- | faq.php | 8 | ||||
| -rw-r--r-- | food_quantity.php | 8 | ||||
| -rw-r--r-- | food_search.php | 8 | ||||
| -rw-r--r-- | footer.php | 8 | ||||
| -rw-r--r-- | guide.php | 8 | ||||
| -rw-r--r-- | header.php | 8 | ||||
| -rw-r--r-- | index.php | 8 | ||||
| -rw-r--r-- | list_diaries.php | 8 | ||||
| -rw-r--r-- | list_foods.php | 8 | ||||
| -rw-r--r-- | list_meals.php | 8 | ||||
| -rw-r--r-- | login.php | 8 | ||||
| -rw-r--r-- | logout.php | 8 | ||||
| -rw-r--r-- | manage.php | 8 | ||||
| -rw-r--r-- | meta.php | 8 | ||||
| -rw-r--r-- | nutrient_chooser.php | 8 | ||||
| -rw-r--r-- | nutrient_search.php | 8 | ||||
| -rw-r--r-- | register.php | 8 | ||||
| -rw-r--r-- | resources.php | 8 | ||||
| -rw-r--r-- | sidebar_left.php | 8 | ||||
| -rw-r--r-- | sidebar_right.php | 8 | ||||
| -rw-r--r-- | view_diary.php | 8 | ||||
| -rw-r--r-- | view_food.php | 8 | ||||
| -rw-r--r-- | view_meal.php | 8 |
33 files changed, 275 insertions, 0 deletions
@@ -0,0 +1,19 @@ +Copyright (c) 2007 Nathan Kinkade + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/add_diary.php b/add_diary.php index 9a470e8..9bd8f6d 100644 --- a/add_diary.php +++ b/add_diary.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/add_food.php b/add_food.php index fe832c4..cd61fb7 100644 --- a/add_food.php +++ b/add_food.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/add_meal.php b/add_meal.php index ded79b0..0e3e7c7 100644 --- a/add_meal.php +++ b/add_meal.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/add_user.php b/add_user.php index 754c946..eeff66c 100644 --- a/add_user.php +++ b/add_user.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + include "include/db.php"; # make sure that none of the fields are empty diff --git a/edit_account.php b/edit_account.php index 0555b54..e456162 100644 --- a/edit_account.php +++ b/edit_account.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/edit_diary.php b/edit_diary.php index 2a72e48..a85cd3a 100644 --- a/edit_diary.php +++ b/edit_diary.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/edit_food.php b/edit_food.php index f62d55a..6c60023 100644 --- a/edit_food.php +++ b/edit_food.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/edit_meal.php b/edit_meal.php index af61122..13665f6 100644 --- a/edit_meal.php +++ b/edit_meal.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/food_quantity.php b/food_quantity.php index d86c6b3..3d8a2a4 100644 --- a/food_quantity.php +++ b/food_quantity.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/food_search.php b/food_search.php index be5a8cc..73bba79 100644 --- a/food_search.php +++ b/food_search.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # grab the page $smarty->assign("footer", $smarty->fetch("footer.tpl")); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # this file allows us to change any info inside the # <head> tags for any given file, while still using # a common header file @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/list_diaries.php b/list_diaries.php index bea701a..02074bc 100644 --- a/list_diaries.php +++ b/list_diaries.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/list_foods.php b/list_foods.php index 9c8ccad..5c5b004 100644 --- a/list_foods.php +++ b/list_foods.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/list_meals.php b/list_meals.php index a066e5a..af2320d 100644 --- a/list_meals.php +++ b/list_meals.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # this script perhaps doesn't have the most apt name, but it made sense # to me at the time I first named it. # the purpose of this file is to allow adding custom <head> diff --git a/nutrient_chooser.php b/nutrient_chooser.php index 875801d..419afa6 100644 --- a/nutrient_chooser.php +++ b/nutrient_chooser.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/nutrient_search.php b/nutrient_search.php index 1eb1668..21531b4 100644 --- a/nutrient_search.php +++ b/nutrient_search.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/register.php b/register.php index e8cb2bf..56092e4 100644 --- a/register.php +++ b/register.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/resources.php b/resources.php index 8cb2540..2ce9ad5 100644 --- a/resources.php +++ b/resources.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included include("config.php"); diff --git a/sidebar_left.php b/sidebar_left.php index f1396ed..111d7c5 100644 --- a/sidebar_left.php +++ b/sidebar_left.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # put the current meal items in an array if it exists if ( isset($_SESSION['currentMeal']) ) { $smarty->assign("currentMealItems", $_SESSION['currentMeal']); diff --git a/sidebar_right.php b/sidebar_right.php index 07290db..f46bdb1 100644 --- a/sidebar_right.php +++ b/sidebar_right.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # grab the header $smarty->assign("sidebar_right", $smarty->fetch("sidebar_right.tpl")); diff --git a/view_diary.php b/view_diary.php index 69f8cbd..c46816e 100644 --- a/view_diary.php +++ b/view_diary.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/view_food.php b/view_food.php index 6a8bc03..75a53e3 100644 --- a/view_food.php +++ b/view_food.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); diff --git a/view_meal.php b/view_meal.php index bec1625..20ff14c 100644 --- a/view_meal.php +++ b/view_meal.php @@ -1,5 +1,13 @@ <?php +/** + * Copyright (c) 2007 Nathan Kinkade + * + * This code is offered under an MIT (X11) license. For more information + * about the terms of this license see the file LICENSE included with this + * software or visit: http://www.opensource.org/licenses/mit-license.php + */ + # include the main site config where various global variables # and libraries are included require("config.php"); |
