View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Main DWT Template

Thread began 7/24/2009 3:44 pm by larsentim278054 | Last modified 7/25/2009 9:06 am by larsentim278054 | 6463 views | 14 replies

larsentim278054

The third and final:

<div id="content">
<!-- InstanceBeginEditable name="MainContent" -->
<div class="WADAResultsContainer"> <a name="top"></a>

<?php if ($totalRows_WADAProducts > 0) { // Show if recordset not empty ?>
<div class="WADAResults">
<div class="WADAResultsNavigation">
<div class="WADAClearRight"></div>
<div id="WADAResultsNavTop">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, 0, $queryString_WADAProducts); ?>" title="First"><img border="0" name="First" id="First" alt="First" src="Images/rew_btn.png" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, max(0, $pageNum_WADAProducts - 1), $queryString_WADAProducts); ?>" title="Previous"><img border="0" name="Previous" id="Previous" alt="Previous" src="Images/l_arrow_btn.png" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts < $totalPages_WADAProducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, min($totalPages_WADAProducts, $pageNum_WADAProducts + 1), $queryString_WADAProducts); ?>" title="Next"><img border="0" name="Next" id="Next" alt="Next" src="Images/r_arrow_btn.png" /></a>
<?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts < $totalPages_WADAProducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, $totalPages_WADAProducts, $queryString_WADAProducts); ?>" title="Last"><img border="0" name="Last" id="Last" alt="Last" src="Images/ffwd_btn.png" /></a>
<?php } // Show if not last page ?></td>
</tr>
</table>
</div>
<div class="WADAResultsCount">Results <?php echo ($startRow_WADAProducts + 1) ?> to <?php echo min($startRow_WADAProducts + $maxRows_WADAProducts, $totalRows_WADAProducts) ?> of <?php echo $totalRows_WADAProducts ?> </div>
<div class="WADAClearRight"></div>
</div>
<table border="0" cellpadding="0" cellspacing="0" id="WADAResultsTable">
<?php $cellCount = 0; ?>

<?php do { ?>
<?php if($cellCount == 0) { ?><tr><?php }?>
<td class="WADAResultsEntry"><div class="WADAResultThumbArea"><a href="Products_Detail.php?ProductID=<?php echo(rawurlencode($row_WADAProducts['ProductID'])); ?>" title="<?php echo $row_WADAProducts["ProductName"]; ?>"><img class="WADAResultThumb" border="0" src="Images/Upload/<?php echo $row_WADAProducts["ProductThumb"]; ?>" alt="<?php echo $row_WADAProducts["ProductName"]; ?>" /></a></div>
<div class="WADAResultInfoArea2">
<div class="WADAResultTitle">
<table width="98%" height="73" class="WADAEditButton_Table">
<tr>
<td align="left"><p><a href="Products_Detail.php?ProductID=<?php echo(rawurlencode($row_WADAProducts['ProductID'])); ?>"><?php echo $row_WADAProducts["ProductName"]; ?></a><span class="WADAResultPrice"><br />
</span></p>
<div class="WADADetailsPrice">$<?php echo number_format($row_WADAProducts["ProductPrice"],2); ?></div>
<p>
<?php
if ($row_WADAProducts["NumLeft"] > 0 || $row_WADAProducts["ProductUnlimited"] != 0) {
?>
</p>
<form action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>" method="post" id="WA_Store_Cart_1_ATC_<?php echo $row_WADAProducts["ProductID"]; ?>7">
<input type="hidden" name="WA_Store_Cart_1_ID_Add6" value="<?php echo $row_WADAProducts["ProductID"]; ?>" />
<input type="hidden" name="WA_Store_Cart_1_Quantity_Add6" value="1" size="4" style="margin-bottom:2px"/>
</form>
<?php
} else {
?>
Sold out!
<?php
}
?></td>
</tr>
</table>
<table width="92%" class="WADAEditButton_Table">
<tr>
<td align="right">&nbsp;</td>
<td valign="top">&nbsp;</td>
</tr>
</table>
</div>
<div class="WADAResultDescription"></div>
</div></td>
<?php $cellCount ++; ?>
<?php if($cellCount == 3) { ?></tr><?php $cellCount = 0; } ?>
<?php } while ($row_WADAProducts = mysql_fetch_assoc($WADAProducts)); ?>
</table>
<div class="WADAResultsNavigation">
<div class="WADAClearRight"></div>
<div class="WADAResultsBackTop"><a href="#top" title="Back to top"><img border="0" name="Top" id="Top" alt="Back to top" src="Images/up_arrow_btn.png" /></a></div>
<div id="WADAResultsNavBottom">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, 0, $queryString_WADAProducts); ?>" title="First"><img border="0" name="First1" id="First1" alt="First" src="Images/rew_btn.png" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, max(0, $pageNum_WADAProducts - 1), $queryString_WADAProducts); ?>" title="Previous"><img border="0" name="Previous1" id="Previous1" alt="Previous" src="Images/l_arrow_btn.png" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts < $totalPages_WADAProducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, min($totalPages_WADAProducts, $pageNum_WADAProducts + 1), $queryString_WADAProducts); ?>" title="Next"><img border="0" name="Next1" id="Next1" alt="Next" src="Images/r_arrow_btn.png" /></a>
<?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAProducts < $totalPages_WADAProducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAProducts=%d%s", $currentPage, $totalPages_WADAProducts, $queryString_WADAProducts); ?>" title="Last"><img border="0" name="Last1" id="Last1" alt="Last" src="Images/ffwd_btn.png" /></a>
<?php } // Show if not last page ?></td>
</tr>
</table>
</div>
<div class="WADAResultsCountBottom">Results <?php echo ($startRow_WADAProducts + 1) ?> to <?php echo min($startRow_WADAProducts + $maxRows_WADAProducts, $totalRows_WADAProducts) ?> of <?php echo $totalRows_WADAProducts ?> </div>
<div class="WADAClearBoth"></div>
</div>
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAProducts == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No results for your search</div>
</div>
<?php } // Show if recordset empty ?>
</div>
<!-- InstanceEndEditable -->
</div>
</div>
<div id="footer"><div class="left">
<img src="Images/small_logo.png" />
Copyright &copy; 2009 SeatsAndStrollers.com&nbsp;<a href="contactus.php">Contact Us</a><a href="termofservice.php">Terms of Service</a><a href="privacy_policy.php">Privacy Policy</a>
</div></div>
</div>
<!-- InstanceBeginEditable name="SpryValidation" -->
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($WADAProducts);
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...