Emily Lazo, Nicholas Mitchell, and Hillary Funk
THE IDEA
Create a website where Flipsider entries can be posted, similar to Craigslist.
TABLES
Useruser_id INTeid VARCHAR(15)first_name VARCHAR(40)last_name VARCHAR(40)email VARCHAR(50)
CommunityCategorycommunity_id INTcommunitycategory_name VARCHAR(25)
CommunityPostcommunitypost_id INTuser_id INTcommunity_id INTcommunity_title VARCHAR(60)description TEXTphoto VARCHAR(40)date date
JobCategoryjobcategory_id INTjobcategory_name VARCHAR(25)
JobPostjobpost_id INTuser_id INTjobcategory_id INTjob_title VARCHAR(100)description TEXTdate date
HousingCategoryhousing_id INThousing_type VARCHAR(25)
HousingPosthousingpost_id INTuser_id INThousing_id INThousing_title VARCHAR(60)location VARCHAR(25)monthly_rent DECIMAL (6, 2)description TEXTphoto VARCHAR(75)date date
SaleCategorysalecategory_id INTsalecategory_name VARCHAR(25)
SalesPostsalespost_id INTuser_id INTsalecategory_id INTitem_name VARCHAR(60)price DECIMAL(7,2)description TEXTphoto VARCHAR(75)date date
The Code
bootstrapIn addition to a local stylesheet, the site uses Twitter bootstrap CSS file
.jsNavigation bar is handled with javascript and CSS.
include()Header and footer files.
The Code pt. 2
cd Main DirectoryHomepage, login files, and files that handle creating new posts.
cd Other DirectoriesSubdirectories for storing images and structuring each post category.
The code pt. 3
<?php // PHP Scripts
● Browse/sort existing content
● Search
● Add content
● Get newly added content
● Handle login/out
?>
http://herbie.ischool.utexas.edu/flipsider