[studentbooks15] r94 committed - [No log message]

0 views
Skip to first unread message

student...@googlecode.com

unread,
Dec 6, 2010, 10:42:50 PM12/6/10
to student...@googlegroups.com
Revision: 94
Author: wckddudeman
Date: Mon Dec 6 19:38:07 2010
Log: [No log message]
http://code.google.com/p/studentbooks15/source/detail?r=94

Modified:
/trunk/BookGet/index.php

=======================================
--- /trunk/BookGet/index.php Fri Dec 3 19:06:02 2010
+++ /trunk/BookGet/index.php Mon Dec 6 19:38:07 2010
@@ -3,13 +3,14 @@
<head>
<title>BookGet.com</title>
<?php include "Include/basic_style.php" ?>
+ <link href="style/layout.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="pagewrapper">
<div id="headerbar">
</div>
<?php print $header; ?>
- <div id="pagewrapper">
+ <div id="pagewrapper">
<div id="leftcol">
<?php include("Include/category_bar.php"); ?>
</div>
@@ -18,7 +19,85 @@
<?php include("Include/minicart.php"); ?>
</div>
<div id="content"><h1>Welcome to BookGet!</h1>
- </div>
+ <div id="featuredproducts">
+ <tr>
+ <th scope="col" class="label">Cover</th>
+ <th scope="col" class="label">ISBN</th>
+ <th scope="col" class="label">Title</th>
+ <th scope="col" class="label">Authors</th>
+ <th scope="col" class="label">Quality</th>
+ <th scope="col" class="label">Price</th>
+ <th scope="col" class="label">Quantity</th>
+
+ </tr>
+ <?php
+ $quality_codes = array(0 => "New",
+ 1 => "Great",
+ 2 => "Good",
+ 3 => "Used"
+ );
+
+ for ($i = 0; $i < 1; $i++) {
+ $Title = $searchresults[$i]["Title"];
+ $ISBN = $searchresults[$i]["ISBN"];
+ $Author = $searchresults[$i]["Author"];
+ $Author1 = $searchresults[$i]["Author1"];
+ $Price = $searchresults[$i]["Price"];
+ $Quality =
$quality_codes[$searchresults[$i]["Quality"]];
+ $Qty = $searchresults[$i]["Qty"];
+ $id = $searchresults[$i]["BookID"];
+ $Description = $searchresults[$i]["Description"];
+
+ print "<fieldset>";
+ print "< form method=\"post\" action=\"\"
class=\"jcart\">\n";
+ print "< input type=\"hidden\" name= \"BOOK_ID\"
value= \"$id\" />\n";
+ print"<input type=\"hidden\" name=\"Title\"
value=\"$Title\" />";
+ print"<input type=\"hidden\" name=\"Price\"
value=\"$Price\" />";
+ print"<input type=\"hidden\" name=\"jcart_token\"
value=\"". $_SESSION['jcart_token']."\" />";
+ print "<tr>\n";
+ print " <td class=\"Results\">\n";
+ print " <img src='img/".$id.".gif'
class='book'/>\n";
+ print " </td>\n";
+ print "<td class=\"Results\">" . $ISBN . "</td>\n";
+ print "<td class=\"Results\"><a
href='book.php?id=".$id."' >" . $Title ."</a></td>\n";
+ print "<td class=\"Results\">" .
$Author . "<br/>$Author1</td>\n";
+
+ print "<td class=\"Results\">" .
$Quality . "</td>\n";
+ print "<td class=\"Results\">" .
$Price . "</td>\n";
+ print "<td class=\"Results\">" .
$Qty . "</td></tr>\n";
+ print <<<EOF
+ <label>Qty: <input type="text" name="my-item-qty"
value="1" size="3" /></label>
+ <input type="submit" name="my-add-button"
value="add to cart" class="button" />
+ </fieldset>
+ </form>
+EOF;
+ }
+ ?>
+ </div>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+ <h5>Who we are:</h5>
+ <p>&nbsp;</p>
+ <p>BookGet is an up and coming website with the intent
of providing all students with an easy and complete book solution. Our goal
is to be a complete goto site for all your text book needs.</p>
+ <p>&nbsp;</p>
+ <p><strong>Any questions or comments please feel free to
contact us.<br>
+ Group 15 - FAU Software Engineering class</strong></p>
+ </div>
<?php include("Include/footer_bar.php"); ?>
</div>

Reply all
Reply to author
Forward
0 new messages