dabbuhl Posted December 11, 2006 Posted December 11, 2006 I had a perfectly good working store for my client, he wanted the christmas catagory to show up on the index page. I listed this and received the response to open the christmas page and get the source, open it in a editor and then copy the table needed and then paste it in my index.php page but to remove the Session ID or the links wouldn't work. Well, I did all that and the links still didn't work and if I add a new catagory in the admin, it doesn't show up. I don't know what exactly to remove on the session ID so I put it back to all session ids. I should have made a copy from the server prior to fooling around but this looked straight froward. Now I am in a pickle. If someone could look at the below index.php and edit it or tell me what do remove from the editor. I need help bad. <?php /* $Id: index.php,v 1.1.1.1 2005/08/16 08:31:30 sstolyarov Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Flags Direct - On-line Store</title> <base href="http://flagsdirect.net/./"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/ff-logo.jpg" border="0" alt="FlagFactory" title=" FlagFactory " width="377" height="57"></a></td> <td align="right" valign="bottom"><a href="http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="30" height="30"></a> <a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="30" height="30"></a> <a href="http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://flagsdirect.net" class="headerNavigation">Top</a> » <a href="http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">My Account</a> | <a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Cart Contents</a> | <a href="http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Checkout</a> </td> </tr> </table> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="190" valign="top"><table border="0" width="190" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- categories //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Categories</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://flagsdirect.net/./index.php?cPath=23&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Autumn-></a> (32)<br><a href="http://flagsdirect.net/./index.php?cPath=22&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Christmas-></a> (53)<br><a href="http://flagsdirect.net/./index.php?cPath=21&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">College Flags-></a> (137)<br><a href="http://flagsdirect.net/./index.php?cPath=341&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Fishing, Beaches, Oceans & Lakes-></a> (22)<br><a href="http://flagsdirect.net/./index.php?cPath=330&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Lighthouses-></a> (13)<br><a href="http://flagsdirect.net/./index.php?cPath=193&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Masterpiece Collection-></a> (51)<br><a href="http://flagsdirect.net/./index.php?cPath=317&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Patio & Garden-></a> (12)<br><a href="http://flagsdirect.net/./index.php?cPath=257&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Poles and Brackets-></a> (14)<br><a href="http://flagsdirect.net/./index.php?cPath=266&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Spring Flowers-></a> (35)<br><a href="http://flagsdirect.net/./index.php?cPath=287&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Summertime-></a> (30)<br><a href="http://flagsdirect.net/./index.php?cPath=235&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Valentine, St. Patrick, Easter-></a> (28)<br><a href="http://flagsdirect.net/./index.php?cPath=312&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Wind Wings-></a> (8)<br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- categories_eof //--> <!-- whats_new //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" nowrap><a href="http://flagsdirect.net/./products_new.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Sea Horse.jpg" border="0" alt="Sea Horse 40"" title=" Sea Horse 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sea Horse 40"</a><br>$8.80</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- whats_new_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Quick Find</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="quick_find" action="http://flagsdirect.net/./advanced_search_result.php" method="get"><input type="text" name="keywords" size="10" maxlength="30" style="width: 160px"> <input type="hidden" name="osCsid" value="ad0c13af5be385ea31e5d0a4867a10b9"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://flagsdirect.net/./advanced_search.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><b>Advanced Search</b></a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Information</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://flagsdirect.net/./shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Shipping & Returns</a><br><a href="http://flagsdirect.net/./privacy.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Privacy Notice</a><br><a href="http://flagsdirect.net/./conditions.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Conditions of Use</a><br><a href="http://flagsdirect.net/./contact_us.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Contact Us</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"></td> <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="50" height="50"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://flagsdirect.net/./login.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><u>log yourself in</u></a>? Or would you prefer to <a href="http://flagsdirect.net/./create_account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><u>create an account</u></a>?</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td class="main"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><!-- new_products //--> <p><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Christmas Flags </td> <td class="pageHeading" align="right"><img src="images/candy_cane.jpg" border="0" alt="Christmas" title=" Christmas " width="50" height="50"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_48&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/candy_cane.jpg" border="0" alt="Candy Cane" title=" Candy Cane " width="100" height="200"><br>Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_49&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/cardinal_in_snow.jpg" border="0" alt="Cardinal In Snow" title=" Cardinal In Snow " width="100" height="200"><br>Cardinal In Snow</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_50&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/carolers.jpg" border="0" alt="Carolers" title=" Carolers " width="100" height="200"><br>Carolers</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_51&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christian_music.jpg" border="0" alt="Christian Music" title=" Christian Music " width="100" height="200"><br>Christian Music</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_52&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/goose.jpg" border="0" alt="Christmas Goose" title=" Christmas Goose " width="100" height="200"><br>Christmas Goose</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_53&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_hammock.jpg" border="0" alt="Christmas Hammock" title=" Christmas Hammock " width="100" height="200"><br>Christmas Hammock</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_54&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/mouse_stocking.jpg" border="0" alt="Christmas Stocking" title=" Christmas Stocking " width="100" height="200"><br>Christmas Stocking</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_55&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/grn_stocking.jpg" border="0" alt="Christmas Stocking Gdn." title=" Christmas Stocking Gdn. " width="100" height="200"><br>Christmas Stocking Gdn.</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_56&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_tree.jpg" border="0" alt="Christmas Tree" title=" Christmas Tree " width="100" height="200"><br>Christmas Tree</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_57&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_tree_ornament.jpg" border="0" alt="Christmas Tree Ornament" title=" Christmas Tree Ornament " width="100" height="200"><br>Christmas Tree Ornament</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_58&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_wreath.jpg" border="0" alt="Christmas Wreath" title=" Christmas Wreath " width="100" height="200"><br>Christmas Wreath</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_59&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/cross_in_window.jpg" border="0" alt="Cross In Window" title=" Cross In Window " width="100" height="200"><br>Cross In Window</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_60&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/dove_of_peace.jpg" border="0" alt="Dove of Peace" title=" Dove of Peace " width="100" height="200"><br>Dove of Peace</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_61&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/golden_angels.jpg" border="0" alt="Golden Angels" title=" Golden Angels " width="100" height="200"><br>Golden Angels</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_62&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/hanging_santa.jpg" border="0" alt="Hangin' with Santa" title=" Hangin' with Santa " width="100" height="200"><br>Hangin' with Santa</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_63&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holiday_candy_canes.jpg" border="0" alt="Holiday Candy Cane" title=" Holiday Candy Cane " width="100" height="200"><br>Holiday Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_64&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holiday_horns.jpg" border="0" alt="Holiday Horns" title=" Holiday Horns " width="100" height="200"><br>Holiday Horns</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_65&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holly_with_bow.jpg" border="0" alt="Holly with Bow" title=" Holly with Bow " width="100" height="200"><br>Holly with Bow</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_66&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/jesus_candy_cane.jpg" border="0" alt="Jesus Candy Cane" title=" Jesus Candy Cane " width="100" height="200"><br>Jesus Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_67&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/jingle_bells.jpg" border="0" alt="Jingle Bells" title=" Jingle Bells " width="100" height="200"><br>Jingle Bells</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_68&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/kris_kringle.jpg" border="0" alt="Kris Kringle" title=" Kris Kringle " width="100" height="200"><br>Kris Kringle</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_69&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/madonna_&_child.jpg" border="0" alt="Madonna & Child" title=" Madonna & Child " width="100" height="200"><br>Madonna & Child</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_70&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/manger_scene.jpg" border="0" alt="Manger Scene" title=" Manger Scene " width="100" height="200"><br>Manger Scene</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_71&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/merry_bear.jpg" border="0" alt="Merry Bear" title=" Merry Bear " width="100" height="200"><br>Merry Bear</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_72&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/nutcracker_soldier.jpg" border="0" alt="Nutcracker Soldier" title=" Nutcracker Soldier " width="100" height="200"><br>Nutcracker Soldier</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_73&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/old_rugged_cross.jpg" border="0" alt="Old Rugged Cross" title=" Old Rugged Cross " width="100" height="200"><br>Old Rugged Cross</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_74&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/poinsettia.jpg" border="0" alt="Poinsettia" title=" Poinsettia " width="100" height="200"><br>Poinsettia</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_75&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/polar_bear.jpg" border="0" alt="Polar Bear" title=" Polar Bear " width="100" height="200"><br>Polar Bear</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_76&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/reindeer.jpg" border="0" alt="Reindeer" title=" Reindeer " width="100" height="200"><br>Reindeer</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_77&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_2_sides.jpg" border="0" alt="Santa 2-Sides" title=" Santa 2-Sides " width="100" height="200"><br>Santa 2-Sides</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_78&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_on_roof.jpg" border="0" alt="Santa on Roof" title=" Santa on Roof " width="100" height="200"><br>Santa on Roof</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_79&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santas_pride.jpg" border="0" alt="Santa's Pride" title=" Santa's Pride " width="100" height="200"><br>Santa's Pride</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_80&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/sleigh_ride.jpg" border="0" alt="Sleigh Ride" title=" Sleigh Ride " width="100" height="200"><br>Sleigh Ride</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_81&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snow_bear.jpg" border="0" alt="Snow Bear" title=" Snow Bear " width="100" height="200"><br>Snow Bear</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_82&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snowfall.jpg" border="0" alt="Snowfall" title=" Snowfall " width="100" height="200"><br>Snowfall</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_83&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snowman.jpg" border="0" alt="Snowman" title=" Snowman " width="100" height="200"><br>Snowman</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_84&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/star_in_the_east.jpg" border="0" alt="Star in the East" title=" Star in the East " width="100" height="200"><br>Star in the East</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_85&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/stockings_in_row.jpg" border="0" alt="Stocking in a Row" title=" Stocking in a Row " width="100" height="200"><br>Stocking in a Row</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_86&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/three_wise_men.jpg" border="0" alt="Three Wise Men" title=" Three Wise Men " width="100" height="200"><br>Three Wise Men</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_47&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/wwjd.jpg" border="0" alt="WWJD" title=" WWJD " width="100" height="200"><br>WWJD</a></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><!-- new_products //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" width="100%">New Products For December</td> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=216&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 17"" title=" Snowman 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=216&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 17"</a><br>$4.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=215&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 40"" title=" Snowman 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=215&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=214&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 48"" title=" Snowman 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=214&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 48"</a><br>$10.40</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=213&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/wwjd.jpg" border="0" alt="WWJD 17"" title=" WWJD 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=213&osCsid=0544b264907a641fae8edd1c8281bbe7">WWJD 17"</a><br>$4.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=212&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snow_bear.jpg" border="0" alt="Snow Bear 48"" title=" Snow Bear 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=212&osCsid=0544b264907a641fae8edd1c8281bbe7">Snow Bear 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=211&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_2_sides.jpg" border="0" alt="Santa 2-sides 17"" title=" Santa 2-sides 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=211&osCsid=0544b264907a641fae8edd1c8281bbe7">Santa 2-sides 17"</a><br>$4.80</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=210&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/reindeer.jpg" border="0" alt="Reindeer 48"" title=" Reindeer 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=210&osCsid=0544b264907a641fae8edd1c8281bbe7">Reindeer 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=209&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/poinsettia.jpg" border="0" alt="Poinsettia 40"" title=" Poinsettia 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=209&osCsid=0544b264907a641fae8edd1c8281bbe7">Poinsettia 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=208&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/manger_scene.jpg" border="0" alt="Manger Scene 48"" title=" Manger Scene 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=208&osCsid=0544b264907a641fae8edd1c8281bbe7">Manger Scene 48"</a><br>$10.40</td> </tr> </table> </td> </tr> </table> <!-- new_products_eof //--> </td> </tr> </table></td> </tr> </table></p> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" width="100%">New Products For December</td> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=464&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Dolphins.jpg" border="0" alt="Dolphins 48"" title=" Dolphins 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=464&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Dolphins 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=463&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/3 Little Fish 98.jpg" border="0" alt="3 Little Fishes 48"" title=" 3 Little Fishes 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=463&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">3 Little Fishes 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=462&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Trout 98.jpg" border="0" alt="Trout 40"" title=" Trout 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=462&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Trout 40"</a><br>$8.80</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=461&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/sailboat.jpg" border="0" alt="Spinaker 40"" title=" Spinaker 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=461&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Spinaker 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=460&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Summer Dreams 98.jpg" border="0" alt="Sunset Beach 48"" title=" Sunset Beach 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=460&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sunset Beach 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=459&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Anchor.jpg" border="0" alt="Anchor 48"" title=" Anchor 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=459&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Anchor 48"</a><br>$10.40</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=458&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Anchor.jpg" border="0" alt="Anchor 40"" title=" Anchor 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=458&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Anchor 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=457&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Lobster 98.jpg" border="0" alt="Lobster Tonight 40"" title=" Lobster Tonight 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=457&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Lobster Tonight 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Sea Horse.jpg" border="0" alt="Sea Horse 40"" title=" Sea Horse 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sea Horse 40"</a><br>$8.80</td> </tr> </table> </td> </tr> </table> <!-- new_products_eof //--> </td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="190" valign="top"><table border="0" width="190" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- shopping_cart //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Shopping Cart</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">0 items</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- shopping_cart_eof //--> <!-- best_sellers //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Bestsellers</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr><td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents"><a href="http://flagsdirect.net/./product_info.php?products_id=113&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Texas A&M 48"</a></td></tr></table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- best_sellers_eof //--> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> Monday 11 December, 2006 </td> <td align="right" class="footer"> 12202 requests since Wednesday 27 September, 2006 </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> </td> </tr> </table> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
MJP Posted December 11, 2006 Posted December 11, 2006 you certainly do need help. bad advice to copy and paste the source in the index.php. If I were you I'd just start fresh with a new copy of the index.php file.
TechieTW Posted December 11, 2006 Posted December 11, 2006 you certainly do need help. bad advice to copy and paste the source in the index.php. If I were you I'd just start fresh with a new copy of the index.php file. I agree with MJP. You are just going to start chasing error after error. A fresh start will save you time and sanity. I also recommend backing up BEFORE you make changes. ;) Don't give up. I see light ahead...!
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 you certainly do need help. bad advice to copy and paste the source in the index.php. If I were you I'd just start fresh with a new copy of the index.php file. Start fresh would be redoing the whole site of over 400 products. I don't have a backup index.php or I would copy and paste it. Is there anything I can do?
TechieTW Posted December 11, 2006 Posted December 11, 2006 Start fresh would be redoing the whole site of over 400 products. I don't have a backup index.php or I would copy and paste it. Is there anything I can do? You can backup your database first. Second, you can install a fresh copy in a different folder, copy the index.php file you are having a problem with , then re-overwrite the .php file you are having problems with, instead of erasing the entire project. Also, just a suggestion. Uploading a lengthy code will discourage replying to your request. (having to scroll past all of it to get to the crux of the msg.) Instead, just cite the section in the ??.php file keeping it as simple as possible. I hope this helps but I do not guarentee the results. I just know that I personally would not srub the entire project and start over. Just re-overwrite the .php you are having a problem with. BUT - BACKUP YOUR DATABASE FIRST... ;) Don't give up. I see light ahead...!
MJP Posted December 11, 2006 Posted December 11, 2006 Start fresh would be redoing the whole site of over 400 products. I don't have a backup index.php or I would copy and paste it. Is there anything I can do? That's not how it works. Your products are not listed in the index.php file. Your products are pulled from the database and the database populates the index.php file. Just start with a fresh copy of the index.php file. Trust me.
TechieTW Posted December 11, 2006 Posted December 11, 2006 Start fresh would be redoing the whole site of over 400 products. I don't have a backup index.php or I would copy and paste it. Is there anything I can do? Exactly, your data is NOT in the index.php, it's in the SQL database it uses. MJB is correct. :thumbsup: Don't give up. I see light ahead...!
TechieTW Posted December 11, 2006 Posted December 11, 2006 Exactly, your data is NOT in the index.php, it's in the SQL database it uses. MJB is correct. :thumbsup: Sorry. "MJP" my bad. :blush: Don't give up. I see light ahead...!
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 That's not how it works. Your products are not listed in the index.php file. Your products are pulled from the database and the database populates the index.php file. Just start with a fresh copy of the index.php file. Trust me. Forgive me for being a newb. How do I get a fresh copy of the index.php? I can install a store on another site and copy the index.php. Would this do? Please help
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 Exactly, your data is NOT in the index.php, it's in the SQL database it uses. MJB is correct. :thumbsup: THANK YOU, THANK YOU, THANK YOU....!!!!! I can't shout it any louder. I created a store on a different domain and copied the index.php page and pasted it into my problem store and now all is fixed. Now, can you tell me how to really set a catagory onto the index.php instead of New Products for the month? Which is what my client wants.
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 I see in the index.php file has the following code: // needed for the new products module shown below $new_products_category_id = $current_category_id; ?> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> </table></td> </tr> </table></td> <?php Is there a way to change the .FILENAME_NEW_PRODUCTS to the catagory you want to show in place of thenew products?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.