commit 024d6465c5e8fff2bfbc99005e8544644a32e883 Author: mauirixxx Date: Tue Jan 30 15:56:23 2018 -1000 actual initial commit just looking to back this little project up diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ab11804 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 mauirixxx + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..95f7352 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# funkopopscollector +Yet another PHP based Funko Pop collection tracker, about as bare bones as you can get, but it's functional. + +Basically you can add a new Funko Pop you own - it collects the Pop number, Pop name, Pop collection, +you can add/edit the date you bought the Pop, and add an image to it afterwards. You can edit/delete stored +pops, AND it's multi user friendly, so you and your family/friends can all use it to track their collection. + +I know it's ugly, but it's highly functional, and searching works well, but the mobile version (ha!) needs +to be done/started/helped. + +Just need PHP & MySQL/MariaDB and some know how to get this thing going. I forget how to add users :( diff --git a/collection.php b/collection.php new file mode 100644 index 0000000..2d1057f --- /dev/null +++ b/collection.php @@ -0,0 +1,34 @@ +'; + $fpcname = (isset($_POST['collection']) ? $_POST['collection'] : null); + $fpcname = mysqli_real_escape_string($con, $fpcname); + $sqlfpcname = "INSERT INTO funkopops.popcollection (popcollection) VALUES ('$fpcname')"; + if (!empty($fpcname)) { + if (!$result = $con->query($sqlfpcname)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo 'You have successfully entered ' . $fpcname . ' into the database!
'; + echo 'Refreshing page in 2 seconds to add another pop collection group.
'; + header("refresh:2;url=collection.php"); + } else { + echo ''; + echo ''; + echo '
Collection Name:
'; + echo '
'; + echo 'Here\'s the existing groups:

'; + } +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/connect.php b/connect.php new file mode 100644 index 0000000..d4dcd02 --- /dev/null +++ b/connect.php @@ -0,0 +1,6 @@ + diff --git a/edit.php b/edit.php new file mode 100644 index 0000000..70b45d0 --- /dev/null +++ b/edit.php @@ -0,0 +1,89 @@ +'; + echo 'Date format is YYYY-MM-DD / 1977-06-07
'; + echo 'Please click HERE to try again'; + include_once ('footer.php'); + exit(); + } + $sqlupdate = "UPDATE `pops` SET `popno` = $fno, `popname` = '$fname', `popcollectionid` = $fpcid, `inserteddate` = '$fdate' WHERE `funkoid` = $fid AND `userid` = $userid"; + if (!$result = $con->query($sqlupdate)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo $fname . ' info successfully updated, returning to editor.'; + header("refresh:2;url=edit.php?id=$fid"); + include_once ('footer.php'); + exit(); + } else { + echo 'Editing data
'; + if (!$editid == "") { + $sqlfind = "SELECT * FROM (pops INNER JOIN popcollection ON pops.popcollectionid = popcollection.popcollectionid) WHERE `funkoid` = $editid AND `userid` = $userid"; + if (!$result = $con->query($sqlfind)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo '
'; + while ($row = $result->fetch_array()){ + $fid = $row['funkoid']; + $fuid = $row['userid']; + $fno = $row['popno']; + $fname = $row['popname']; + $fpcid = $row['popcollectionid']; + $fdate = $row['inserteddate']; + $fcollection = $row['popcollection']; + $_SESSION['popno'] = $fno; + $_SESSION['popname'] = $fname; + echo ''; + echo ''; + } + echo '
Pop NoPop NamePurchase DatePop Collection
'; + echo '
'; + echo ''; + echo '

'; + $sqlimage = "SELECT popimages.imageid, popimages.imagepath FROM popimages WHERE popimages.funkoid = $fid AND popimages.userid = $fuid"; + if (!$result3 = $con->query($sqlimage)){ + die ('There was an error running the query [' . $con->error . ']'); + } + if (mysqli_num_rows($result3) == 1) { + $row3 = mysqli_fetch_array($result3); + echo '' . $fname . '
'; + $_SESSION['imageid'] = $row3['imageid']; + $_SESSION['imagepath'] = $row3['imagepath']; + $_SESSION['image'] = "existing"; + } else { + echo ''; + $_SESSION['image'] = "default"; + } + echo '
'; + echo '


'; + } else { + echo 'Please select a Funko Pop to edit!'; + } + } + echo 'Retun to Funko Pop list
'; +} +include_once 'footer.php'; +?> \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..b1a0dbb --- /dev/null +++ b/footer.php @@ -0,0 +1,8 @@ + +
'; +} +?> + + \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..cf37d5a --- /dev/null +++ b/header.php @@ -0,0 +1,23 @@ + + + + +connect_errno){ + die ('Unable to connect to database [' . $db->connect_errno . ']'); +} +if (!$userid){ + echo 'Please login first'; + echo '
Username:
'; + echo 'Password:
'; + echo '
'; +} else { + echo '' . $pagetitle . '
'; + echo '(Home) (SEARCH) (Logout ' . $uname . ')

'; +} +?> \ No newline at end of file diff --git a/images/no-image-available.jpg b/images/no-image-available.jpg new file mode 100644 index 0000000..626d664 Binary files /dev/null and b/images/no-image-available.jpg differ diff --git a/imageupload.php b/imageupload.php new file mode 100644 index 0000000..6c94e9a --- /dev/null +++ b/imageupload.php @@ -0,0 +1,75 @@ +query($insertfile)) { + die ('There was an error running the query: [' . $con->error . ']'); + } + } + } + echo 'You have successfully uploaded a new image.
'; + echo 'Redirecting back to editor.
'; + header("refresh:2;url=edit.php?id=$funkoid"); + include_once ('footer.php'); + exit(); + } else if ($uploadedimage == "existing") { + extract($_POST); + $UploadedFileName = $_FILES['uploadedfile']['name']; + $extension = end(explode(".", $UploadedFileName)); + if($UploadedFileName != '') { + $upload_directory = "images/"; //This is the folder which you created just now + $TargetPath=time()."_".$_SESSION['popno']."_".$_SESSION['popname']."_".$uname.".".$extension; + if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $upload_directory.$TargetPath)) { + $resized = $upload_directory.$TargetPath; + smart_resize_image ($upload_directory.$TargetPath, null, 250, 0, true, $resized, false, false, 100); + $insertfile = "UPDATE funkopops.popimages SET imagepath = ('$TargetPath') WHERE imageid = $imageid AND funkoid = $funkoid AND userid = $userid"; + if (!$addpath = $con->query($insertfile)) { + die ('There was an error running the query: [' . $con->error . ']'); + } + } + } + if (file_exists("images/$remimage")) { + unlink("images/$remimage"); + } else { + echo 'Image ' . $remimage . ' was NOT deleted.
'; + } + echo 'You have successfully updated the image.
'; + echo 'Redirecting back to editor.
'; + header("refresh:2;url=edit.php?id=$funkoid"); + include_once ('footer.php'); + exit(); + } else { + $fid = $funkoid; + echo '
'; + echo 'Filename: '; + echo ''; + echo '
'; + echo '
'; + } +} else { + echo 'Please login HERE before continuing.
'; +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..8d55941 --- /dev/null +++ b/index.php @@ -0,0 +1,11 @@ +here

'; + echo 'Search for existing Funko Pop here

'; + echo 'List ALL Funko Pops here

'; + echo 'Add a new Funko Pop group here
'; +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/list.php b/list.php new file mode 100644 index 0000000..f9bf8eb --- /dev/null +++ b/list.php @@ -0,0 +1,27 @@ +query($sql)){ + die ('There was an error running the query [' . $con->error . ']'); + } + $count = mysqli_query($con, $sqlcount); + $row3 = mysqli_fetch_array($count); + if ($row3[0] <> 1) { + echo 'You have ' . $row3[0] . ' Funko Pops!
Click the Pop # to edit the data
'; + } else { + echo 'You have ' . $row3[0] . ' Funko Pop - go buy some more, it\s lonely!
Click the Pop # to edit the data
'; + } + echo ''; + echo ''; + if (mysqli_num_rows($result) > 0) { + while ($row = $result->fetch_array()){ + echo ''; + } + } + echo '
Pop #Pop NameDate AddedPop Collection
' . $row['popno'] . '' . $row['popname'] . '' . $row['inserteddate'] . '' . $row['popcollection'] . '
'; +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..278f9c9 --- /dev/null +++ b/login.php @@ -0,0 +1,37 @@ + + + + +Logging in + + +
+connect_errno > 0){ + die ('Unable to connect to database [' . $db->connect_errno . ']'); +} +$sqllogin = "SELECT * FROM users WHERE users.username = '$username' and passwd = '$password'"; +if ($result = $con->query($sqllogin)){ + $row_cnt = mysqli_num_rows($result); + if ($row_cnt > 0){ + while ($row = $result->fetch_array()){ + $uname = $row['username']; + $uid = $row['userid']; + $_SESSION['username'] = $uname; + $_SESSION['userid'] = $uid; + } + header("refresh:1;url=index.php"); + echo 'You have successfully logged in ...
Returning to index in a few seconds
'; + } else { + echo 'That was not a valid username or password!

'; + echo 'Please try again here
'; + } +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..4c3a5d9 --- /dev/null +++ b/logout.php @@ -0,0 +1,19 @@ +You have been logged out ...
Returning to login screen in a few seconds'; +} else if (isset($_POST['logout'])){ + session_unset(); + session_destroy(); + header("refresh:2;url=index.php"); + echo '
You have been logged out ...
Returning to login screen in a few seconds
'; +} else { + echo '
Something went wrong, you haven\'t been logged out!

Please click HERE to try again
'; +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/newfunko.php b/newfunko.php new file mode 100644 index 0000000..2200387 --- /dev/null +++ b/newfunko.php @@ -0,0 +1,51 @@ +'; + if ($insfunko == 1){ + $popno = mysqli_real_escape_string($con, $_POST['popno']); + $popname = mysqli_real_escape_string($con, $_POST['popname']); + $popdate = mysqli_real_escape_string($con, $_POST['todaysdate']); + $popcollectionid = mysqli_real_escape_string($con, $_POST['popcollectionid']); + list ($y, $m, $d) = explode('-', $popdate); + if (!checkdate($m, $d, $y)) { + echo 'Date is invalid ' . $popdate . '
'; + echo 'Date format is YYYY-MM-DD / 1977-06-07
'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; + include_once ('footer.php'); + exit(); + } + $sqlfunkins = "INSERT INTO funkopops.pops (userid, popno, popname, popcollectionid, inserteddate) VALUES ($userid, $popno, '$popname', $popcollectionid, '$popdate')"; + if (!$funkoinsert = $con->query($sqlfunkins)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo 'You have successfully entered ' . $popname . ' into the database!
'; + echo 'Refreshing page in 2 seconds to add another pop to your collection!
'; + header("refresh:2;url=newfunko.php"); + } else { + echo ''; + echo ''; + echo ''; + $sqlpopcollection = "SELECT * FROM popcollection ORDER BY popcollection ASC"; + if (!$results = $con->query($sqlpopcollection)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo ''; + echo ''; + echo '
Pop Number:
Pop Name:
Pop Collection:
Date Purchased:
'; + } +} else { + echo 'Please login HERE before continuing.'; +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/register.php b/register.php new file mode 100644 index 0000000..5118ae0 --- /dev/null +++ b/register.php @@ -0,0 +1,2 @@ +'; + $searchtype = (isset($_POST['stype']) ? $_POST['stype'] : null); + $searchtype = mysqli_real_escape_string($con, $searchtype); + $searchname = (isset($_POST['searchname']) ? $_POST['searchname'] : null); + $searchname = mysqli_real_escape_string($con, $searchname); + $searchcollection = (isset($_POST['collectionid']) ? $_POST['collectionid'] : null); + $searchcollection = mysqli_real_escape_string($con, $searchcollection); + if (!empty($searchname) || !empty($searchcollection)) { + if ($searchtype == "name") { + $sqlsearch = "SELECT * FROM (pops INNER JOIN popcollection ON pops.popcollectionid = popcollection.popcollectionid) WHERE `popname` LIKE '%$searchname%' AND `userid` = $userid ORDER BY popcollection.popcollection, pops.popno ASC"; + $sqlcount = "SELECT COUNT(*) as count FROM (pops INNER JOIN popcollection ON pops.popcollectionid = popcollection.popcollectionid) WHERE `popname` LIKE '%$searchname%' AND `userid` = $userid"; + } else if ($searchtype == "group") { + $sqlsearch = "SELECT * FROM (pops INNER JOIN popcollection ON pops.popcollectionid = popcollection.popcollectionid) WHERE `pops`.`popcollectionid` = $searchcollection AND `userid` = $userid ORDER BY popno ASC"; + $sqlcount = "SELECT COUNT(*) as count FROM (pops INNER JOIN popcollection ON pops.popcollectionid = popcollection.popcollectionid) WHERE `pops`.`popcollectionid` = $searchcollection AND `userid` = $userid"; + } else { + echo 'No search type defined, please try again!'; + include_once ('footer.php'); + exit(); + } + if (!$result = $con->query($sqlsearch)){ + die ('There was an error running the query [' . $con->error . ']'); + } + $count = mysqli_query($con, $sqlcount); + $row3 = mysqli_fetch_array($count); + if ($row3['count'] > 1) { + echo 'There are ' . $row3['count'] . ' Funko Pops in the search results
Click the Pop # to edit the data
'; + } else { + echo 'There is ' . $row3['count'] . ' Funko Pop in the search results
Click the Pop # to edit the data
'; + } + echo ''; + echo ''; + if (mysqli_num_rows($result) > 0) { + while ($row = $result->fetch_array()){ + echo ''; + } + } else { + echo 'No results found!
'; + } + echo '
Pop #Pop NameDate AddedPop Collection
' . $row['popno'] . '' . $row['popname'] . '' . $row['inserteddate'] . '' . $row['popcollection'] . '

Click here to search again.
'; + } else { + echo 'Please search for a Funko Pop name!
'; + echo '
Funko Pop name to search for:

'; + //echo 'Funko Pop number to search for:
'; + echo '


'; + $sqlfpc = "SELECT DISTINCT `popcollection`.`popcollectionid`, `popcollection`.`popcollection` FROM (popcollection INNER JOIN pops ON popcollection.popcollectionid = pops.popcollectionid) WHERE `pops`.`userid` = $userid ORDER BY popcollection.popcollection ASC"; + if (!$result2 = $con->query($sqlfpc)){ + die ('There was an error running the query [' . $con->error . ']'); + } + echo 'Or find all Funko Pops by collection:
'; + } +} +include_once ('footer.php'); +?> \ No newline at end of file diff --git a/smart_resize_image.function.php b/smart_resize_image.function.php new file mode 100644 index 0000000..e4b3a1b --- /dev/null +++ b/smart_resize_image.function.php @@ -0,0 +1,130 @@ += 0 && $transparency < $palletsize) { + $transparent_color = imagecolorsforindex($image, $transparency); + $transparency = imagecolorallocate($image_resized, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']); + imagefill($image_resized, 0, 0, $transparency); + imagecolortransparent($image_resized, $transparency); + } + elseif ($info[2] == IMAGETYPE_PNG) { + imagealphablending($image_resized, false); + $color = imagecolorallocatealpha($image_resized, 0, 0, 0, 127); + imagefill($image_resized, 0, 0, $color); + imagesavealpha($image_resized, true); + } + } + imagecopyresampled($image_resized, $image, 0, 0, $cropWidth, $cropHeight, $final_width, $final_height, $width_old - 2 * $cropWidth, $height_old - 2 * $cropHeight); + + + # Taking care of original, if needed + if ( $delete_original ) { + if ( $use_linux_commands ) exec('rm '.$file); + else @unlink($file); + } + + # Preparing a method of providing result + switch ( strtolower($output) ) { + case 'browser': + $mime = image_type_to_mime_type($info[2]); + header("Content-type: $mime"); + $output = NULL; + break; + case 'file': + $output = $file; + break; + case 'return': + return $image_resized; + break; + default: + break; + } + + # Writing image according to type to the output destination and image quality + switch ( $info[2] ) { + case IMAGETYPE_GIF: imagegif($image_resized, $output); break; + case IMAGETYPE_JPEG: imagejpeg($image_resized, $output, $quality); break; + case IMAGETYPE_PNG: + $quality = 9 - (int)((0.9*$quality)/10.0); + imagepng($image_resized, $output, $quality); + break; + default: return false; + } + return true; + } + ?> + \ No newline at end of file diff --git a/sql/db_popcollections_examples.sql b/sql/db_popcollections_examples.sql new file mode 100644 index 0000000..7609a1d --- /dev/null +++ b/sql/db_popcollections_examples.sql @@ -0,0 +1,3 @@ +/*Data for the table `popcollection` */ + +insert into `popcollection`(`popcollectionid`,`popcollection`) values (63,'2017 ECCC Exclusive'),(76,'Alien Covenant'),(22,'Aliens'),(17,'Animation'),(3,'Asia'),(72,'Avengers 2'),(64,'Baby Metal'),(13,'Back to the Future'),(60,'Batgirl'),(51,'Batman Arkham Asylum'),(50,'Batman Arkham Knight'),(52,'Batman Classic Series'),(43,'Batman the Animated Series'),(49,'Batman The Dark Knight Returns'),(34,'Batman v Superman'),(38,'Beauty and the Beast'),(44,'Big Hero 6'),(78,'Build-A-Bear'),(71,'Captain America Civil War'),(65,'Captain Underpants'),(24,'Clueless'),(26,'Custom'),(75,'DC Comics'),(40,'DC Comics Bombshells'),(35,'DC Super Heroes'),(61,'DC\'s Legends of Tomorrow'),(31,'Deadpool'),(37,'Disney'),(70,'Doctor Strange'),(21,'DOOM'),(81,'Elf'),(28,'Elvira Mistress of the Dark'),(6,'Ferris Bueller\'s Day Off'),(66,'Five Nights at Freddy\'s'),(25,'Football'),(4,'Game of Thrones'),(20,'Games'),(59,'Godzilla'),(53,'Gotham Before The Legend'),(15,'Guardians of the Galaxy'),(47,'Guardians of the Galaxy Vol. 2'),(30,'Guns n Roses'),(32,'Heroes'),(56,'Inside Out'),(48,'Jay and Silent Bob Strike Back'),(79,'Justice League'),(46,'Kill Bill'),(58,'Kong Skull Island'),(16,'Labyrinth'),(41,'Lord of the Rings'),(14,'Marvel'),(77,'Marvel Spider-Man Homecoming'),(11,'Mean Girls'),(36,'Mighty Morphin Power Rangers'),(57,'Moana'),(62,'Momotaro'),(55,'Monster High'),(1,'Movies'),(10,'Once Upon a Time'),(5,'Orange is the New Black'),(67,'Power Rangers'),(74,'Purple Haze Properties'),(29,'Rocks'),(19,'Sesame Street'),(7,'Sixteen Candles'),(9,'Star Wars'),(68,'Star Wars Rogue One'),(54,'Strawberry Shortcake'),(45,'Street Fighter'),(33,'Suicide Squad'),(42,'Tekken'),(2,'Television'),(23,'The Big Bang Theory'),(8,'The Breakfast Club'),(69,'The Flash'),(80,'The Joy of Painting'),(12,'The Karate Kid'),(18,'Voltron'),(27,'Winnie the Pooh'),(39,'Wonder Woman (Movie)'); \ No newline at end of file diff --git a/sql/db_popimages_data.sql b/sql/db_popimages_data.sql new file mode 100644 index 0000000..3c3802b --- /dev/null +++ b/sql/db_popimages_data.sql @@ -0,0 +1,3 @@ +/*Data for the table `popimages` */ + +insert into `popimages`(`imageid`,`funkoid`,`userid`,`imagepath`) values (1,0,0,'images/no-image-available.jpg'); \ No newline at end of file diff --git a/sql/db_structure_only.sql b/sql/db_structure_only.sql new file mode 100644 index 0000000..8ce5417 --- /dev/null +++ b/sql/db_structure_only.sql @@ -0,0 +1,41 @@ +/*Table structure for table `popcollection` */ + +CREATE TABLE `popcollection` ( + `popcollectionid` int(11) NOT NULL AUTO_INCREMENT, + `popcollection` varchar(40) DEFAULT NULL, + PRIMARY KEY (`popcollectionid`), + KEY `popcollection` (`popcollection`) +) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=latin1; + +/*Table structure for table `popimages` */ + +CREATE TABLE `popimages` ( + `imageid` int(11) NOT NULL AUTO_INCREMENT, + `funkoid` int(11) DEFAULT NULL COMMENT 'the funko pop itself', + `userid` int(11) DEFAULT NULL COMMENT 'the user that uploaded the picture', + `imagepath` text COMMENT 'where the image is physically located', + PRIMARY KEY (`imageid`) +) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=latin1; + +/*Table structure for table `pops` */ + +CREATE TABLE `pops` ( + `funkoid` int(11) NOT NULL AUTO_INCREMENT, + `userid` int(11) DEFAULT NULL, + `popno` int(11) DEFAULT NULL, + `popname` varchar(200) DEFAULT NULL, + `popcollectionid` int(11) DEFAULT NULL COMMENT 'Game of Thrones, Voltron, TV, Movies, Asia, etc etc', + `inserteddate` date DEFAULT NULL, + PRIMARY KEY (`funkoid`), + KEY `popname` (`popname`) +) ENGINE=InnoDB AUTO_INCREMENT=297 DEFAULT CHARSET=latin1; + +/*Table structure for table `users` */ + +CREATE TABLE `users` ( + `userid` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(200) DEFAULT NULL, + `passwd` varchar(200) DEFAULT NULL, + `email` varchar(200) DEFAULT NULL, + PRIMARY KEY (`userid`) +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f6798a8 --- /dev/null +++ b/style.css @@ -0,0 +1,52 @@ +body { background-color: #DDD; } + +.content { + background-color: #f5f5f5; + padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; + margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; +} + +a.navlink:link { color: #003366; font-weight: bold; text-decoration: none; } +a.navlink:visited { color: #003366; font-weight: bold; text-decoration: none; } +a.navlink:hover { color: #CCCCCC; font-weight: bold; text-decoration: none; } + +td { + font-family: Tahoma; font-size: 13px; + vertical-align: center; +} + +.title { + font-size: 24px; font-weight: normal; color: #FFFFFF; + margin-top: 5px; margin-bottom: 5px; margin-left: 20px; + padding-top: 5px; padding-bottom: 5px; padding-left: 20px; +} + +ul, li{ + margin:0; + padding:0 0 0 15px; +} + +.column{ + float: left; + margin: 0 20px 0 0; +} + +fieldset { + padding: 1em; + font:80%/1 sans-serif; + } + +label { + float:left; + width:25%; + margin-right:0.5em; + padding-top:0.2em; + text-align:right; + font-weight:bold; + } + +img.resize { + width:220px; + height:300px; +} + \ No newline at end of file