Harleypete40 Posted December 22, 2005 Share Posted December 22, 2005 Hi all, I have got this weird problem on one of my pages and I wondered if somebody could help me out here. Near the top pf the page ( which you can see here) a piece of code comes up class="main" if comes on the page. I have tried to get it out of the code but here is the funny thing....... I cant find it anywhere lol I have pasted the bit of code it should be in below, and want to see if somebody could help me out. Thank you. The code: define('NAVBAR_TITLE', 'Partner Sites'); define('HEADING_TITLE', 'Link Partners'); define('TEXT_INFORMATION', ' <A HREF=linkshare.php><b><font color="red">Submit Your Site</font><b></A> <BR> <table width=100% border=1 align=center cellpadding=5 cellspacing=0 bordercolor=000000> <tr> <td class=main width="20%" align="left" valign="top"><ul> <li><a href="links.php#tuition">Guitar Tuition</a> </li> <li><a href="links.php#access">Guitar Accessories</a></li> <li><a href="links.php#tab">Guitar Tablature</a> </li> </ul></td> <td class=main width="20%" valign="top"><ul> <li><a href="links.php#directory">Guitar Directories</a></li> <li><a href="links.php#bands">Bands / Artists</a></li> <li><a href="links.php#other">Non Music links</a> </li> </ul></td> <td width="20%">?</td> <td width="20%">?</td> <td width="20%">?</td> </tr> Link to comment Share on other sites More sharing options...
buzuc Posted December 22, 2005 Share Posted December 22, 2005 it must be in your links.php file instead of the code you publish ! here is the source code that we see on your site : <table border="0" cellpadding="2" cellspacing="0" width="100%"> <tbody><tr> <td class="main"><a href="linkshare.php"><b><font color="red">Submit Your Site</font><b></b></b></a> <b><b><br> </b></b><b><b>class=main</b></b><table align="center" border="1" bordercolor="#000000" cellpadding="5" cellspacing="0" width="100%"> the "class=main" is within a <td> so it's considered like text. post here your links.php file so we can see where this code is ! MS2 2.2 fr + Manufacturer copy (5 manufacturers - modified to make it works) + More pics 6 + FCK Editor + zones shipping (modified without weight) + My contribution : Shopping Cart Management for Unique Products I apologize in advance for my poor English I'm French ! Link to comment Share on other sites More sharing options...
Harleypete40 Posted December 22, 2005 Author Share Posted December 22, 2005 Hi thanks for the reply, hee is the complete links.php code: <?php /* $Id: privacy.php,v 1.3 2001/12/20 14:14:15 dgw_ Exp $ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright © 2000,2001 The Exchange Project Released under the GNU General Public License Link Share/Exchange contribution created by Milly Ramsey of www.dragonwizards.com */ define('NAVBAR_TITLE', 'Partner Sites'); define('HEADING_TITLE', 'Link Partners'); define('TEXT_INFORMATION', ' <A HREF=linkshare.php><b><font color="red">Submit Your Site</font><b></A> <BR> <table width=100% border=1 align=center cellpadding=5 cellspacing=0 bordercolor=000000> <tr> <td class=main width="20%" align="left" valign="top"><ul> <li><a href="links.php#tuition">Guitar Tuition</a> </li> <li><a href="links.php#access">Guitar Accessories</a></li> <li><a href="links.php#tab">Guitar Tablature</a> </li> </ul></td> <td class=main width="20%" valign="top"><ul> <li><a href="links.php#directory">Guitar Directories</a></li> <li><a href="links.php#bands">Bands / Artists</a></li> <li><a href="links.php#other">Non Music links</a> </li> </ul></td> <td width="20%"> </td> <td width="20%"> </td> <td width="20%"> </td> </tr> <tr> <td colspan="5"> </td> </tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Guitar Tuition</font><b><a name="tuition" id="tuition"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.acousticguitarworkshop.com/" target="_blank"><b>Acoustic Guitar Workshop </b></a> <br /> Home of online acoustic guitar tuition, free lessons, mp3s tab and more....</div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.abclearnguitar.com " target="_blank"><b>ABC Learn Guitar</b></a> <br /> Free beginner guitar lessons, plus tips and resources on buying a guitar, songwriting, recording and creating a music career. </div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.onlineguitarlessons.co.uk" target="_blank"><b>Online Guitar Lesson</b>s</a> <br /> Online Guitar Lessons offers free online guitar tuition in a simple an easy to understand way, using photographs and audio samples.</div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.cyberfret.com" target="new"><b>Cyberfret.com</b></a><br /> Free online guitar lessons using audio and video. This site also features a tablature section and links to many guitar and music resources. </div> <div></div></td> </tr> <tr> <td class=main colspan="5"> </td> </tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Guitar Accessories</font><b><a name="access" id="access"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href=http://www.juststrings.com target=BLANK><img src=images/linksharelogos/juststrings.gif alt="www.JustStrings.com" border=0 /></a></div></td> </tr> <tr> <td class=main colspan="5"> </td> </tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Tablature</font><b><a name="tab" id="tab"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.tabledit.com" target="_blank"><img src="images/linksharelogos/tabledit_banner3.jpg" /></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.mysongbook.com" target="_blank"><img src="http://www.mysongbook.com/banners/msb400x55.gif" width="400" height="55" border="0" alt="MySongBook - Thousands of multitrack Guitar Pro Tabs" /></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.alltabs.com/" target="_blank"><strong>All Tabs Music Tablature</strong></a><br /> As the site title explains... </div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.houlston.freeserve.co.uk/" target="_blank"><strong>Bob\'s guitar playing tips</strong></a><br /> Lessons, guitar maintenance, songs</div></td> </tr> <tr> <td class=main colspan=252> </td> </tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Guitar Directories</font><b><a name="directory" id="directory"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href="http://www.guitarnotes.com/reviews/reviewsearch.cgi?query=8881&field=uid"><img src="http://www.guitarnotes.com/gnbanners/gnbanner_mf3.gif" /></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href=http://www.musicgearreview.com target=BLANK> <b>Music Gear review</b> </a><br /> Music Gear Review - Guitar, Bass, Drums, Recording Gear, Live Sound, Keyboard / MIDI and DJ equipment reviews and news!</div></td> </tr> <tr> <td class=main colspan=252> </td> </tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Bands and Artists</font><b><a name="bands" id="bands"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href=http://www.abots.co.uk target=BLANK> <img src=images/linksharelogos/abots_banner.gif alt="Classic Rock and Blues Duo" border=0 /> </a><br /> A Bit On The Side is a Classic Rock and Blues duo with female vocals, and male guitarist.</div></td> </tr> <tr> <td class=main colspan="5"> </td> class=main</tr> <tr> <td colspan="5"><div align="center" class="style1"><b><font color="red">Non Music Sites</font><b><a name="other" id="other"></a></div></td> </tr> <tr> <td class=main colspan="5"><div align="center"><a href=http://www.pvonline.co.uk target=BLANK><img src=images/linksharelogos/pvonline.gif alt="PV Online Website Development and Graphic Design" border=0 /> </a><br /> Website Design and Development. From single pages to complete E-Commerce solutions at a budget price.</div></td> </tr> </table> <BR> <A HREF=linkshare.php>Submit your site</A> '); ?> Link to comment Share on other sites More sharing options...
buzuc Posted December 22, 2005 Share Posted December 22, 2005 it's the links.php located in catalog that we need not the one in includes/languages/english <_< Just on thing : what is your oscommerce version ? MS1 :( MS2 2.2 fr + Manufacturer copy (5 manufacturers - modified to make it works) + More pics 6 + FCK Editor + zones shipping (modified without weight) + My contribution : Shopping Cart Management for Unique Products I apologize in advance for my poor English I'm French ! Link to comment Share on other sites More sharing options...
Harleypete40 Posted December 22, 2005 Author Share Posted December 22, 2005 it's the links.php located in catalog that we need not the one in includes/languages/english <_< Just on thing : what is your oscommerce version ? MS1 :( I use the latest version of OSCommerce Here is the code of catalogue/links.php require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LINKS); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_LINKS)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE; ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- 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"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo TEXT_INFORMATION; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
buzuc Posted December 22, 2005 Share Posted December 22, 2005 GOT IT, I missed it the first time :P in your includes/language/english/links.php on line 115 : line 111 A Bit On The Side is a Classic Rock and Blues duo with female vocals, and male guitarist.</div></td> line 112 </tr> line 113 <tr> line 114 <td class=main colspan="5"> </td> Line 115 class=main</tr> remove the "class=main before </tr> and you're done ! MS2 2.2 fr + Manufacturer copy (5 manufacturers - modified to make it works) + More pics 6 + FCK Editor + zones shipping (modified without weight) + My contribution : Shopping Cart Management for Unique Products I apologize in advance for my poor English I'm French ! Link to comment Share on other sites More sharing options...
Harleypete40 Posted December 22, 2005 Author Share Posted December 22, 2005 GOT IT, I missed it the first time :P in your includes/language/english/links.php on line 115 : line 111 A Bit On The Side is a Classic Rock and Blues duo with female vocals, and male guitarist.</div></td> line 112 </tr> line 113 <tr> line 114 <td class=main colspan="5"> </td> Line 115 class=main</tr> remove the "class=main before </tr> and you're done ! LOL I only missed it about 30 times!!! Thanks very much Bernard, You're a diamond Best regards, Peter Link to comment Share on other sites More sharing options...
buzuc Posted December 22, 2005 Share Posted December 22, 2005 You're welcome ! MS2 2.2 fr + Manufacturer copy (5 manufacturers - modified to make it works) + More pics 6 + FCK Editor + zones shipping (modified without weight) + My contribution : Shopping Cart Management for Unique Products I apologize in advance for my poor English I'm French ! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.