WAHM Forums
The WAHM community forum was created to be a place for work at home moms to share their ideas and stories. In the forum you can find information about work at home jobs, starting home businesses, avoiding scams, and surviving the WAHM lifestyle. In support of the WAHM community, WAHM.com also features instructional articles, easy recipes, as well as job and business listings tailored specifically to work at home opportunities.
View Full Version : Need a little help
lizscgc
01-08-2006, 02:42 PM
I need some html/php help with my index page. I can't seem to get things to line up correctly. They newsletter sign-up andrate us at web directory stuff isoff just a bit and I wantboth boxes/text in line.
Anyone care to help me outwith this? Here is my index.php:
define('TEXT_MAIN', '<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"><tr><td width="49%"><div align="right"><table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#66cc66" width="1%" id="AutoNumber2" align="right"><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_34"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_34" target="_blank"><img') border="0" src="images/small1.jpg" width="100" height="100"><br><b><font size="1" face="Verdana">Gourmet</font></b></a>&l t;/td></tr><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_43"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_43" target="_blank"><img') border="0" src="images/small2.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Coffee & Tea</font></b></a></td></tr>&l t;tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=38">&l t;img ('http://www.craftygiftcreations.com/index.php?cPath=38" target="_blank"><img') border="0" src="images/small3.jpg"width="100" height="100"><br><b><font face="Verdana" size="1">Baby</font></b></a></td> </tr></table></div></td><td width="2%"><p align="center"><b><font face="Verdana" size="2" color="#000000"><a href="http://www.craftygiftcreations.com/product_info.p hp?products_id=348">Celebrate ('http://www.craftygiftcreations.com/product_info.php?products_id=348" target="_blank"> Celebrate') the New Year With Someone You Love!</font></b><br><img border="0" src="images/mainb.jpg" width="300" height="391"></a></td><td width="49%"><div align="left"><table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1%" id="AutoNumber3"><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_45"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_45" target="_blank"><img') border="0" src="images/small4.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Wedding</font></b></a></td& gt;</tr><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_50"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_50" target="_blank"><img') border="0" src="images/small5.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Thank You</font></b></a></td></tr>&l t;tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_46"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_46" target="_blank"><img') border="0" src="images/small6.jpg" width="100" height="100"><br><br><b><font face="Verdana" size="1">Chocolate</font></b></a></t d></tr></table></div></td></tr ></table><font color="000000"><br>
<form method=post action=http://www.ymlp.com/subscribe.php?eltsmith>
<table border=0>
<tr>
<td colspan=2><p align="left"><font face="Verdana" size="1">Fill out your e-mail address <br> to receive our newsletter!</td>
</tr>
<tr>
<td><input type="text" name="YMLP0" size="20"></td>
<td><input type="submit" value="Submit"></td>
</tr>
<tr>
<td colspan=2><a href="http://www.yourmailinglistprovider.com (http://www.yourmailinglistprovider.com)" target="_new"><font face="Verdana" size="1"></a></td>
</table>
<p align="right"><form method="POST" action="http://www.webxperience.org/cgi-bin/rate_it.cgi (http://www.webxperience.org/cgi-bin/rate_it.cgi)">
<input type="hidden" name="ct" value="Business_and_Economy-Shopping_and_Services-Gifts_and_ Occasions">
<input type="hidden" name="fct" value="cast_rating">
<input type="hidden" name="id" value="47680">
<select name="rating" size="1">
<option value="10">10 - The Best</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1 - The Poorest</option>
</select><input type="submit" value="Rate It" name="B1">
<div style="font-size:10px;font-family:verdana"><p align="right">Rate us at: <a href="http://www.webxperience.org (http://www.webxperience.org)" title="Web Directory">Web Directory</a>.</div>
</form></tr></td>
<br>Don\'t see exactly what you\'re looking for? We custom design baskets as well. Please <a href=" email']mailto:support@craftygiftcreations.com"><b>e mail ('support@craftygiftcreations.com" target="_blank">[b) us</a></b> with your request!</b><br>');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', '<b>Check Back Soon for These<font color="ff0000"> January</font color> Products</b>');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
define('HEADING_TITLE', 'Gift Basket Collection');
define('TABLE_HEADING_IMAGE', '');
define('TABLE_HEADING_MODEL', 'Model');
define('TABLE_HEADING_PRODUCTS', 'Product Name');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');
define('TABLE_HEADING_WEIGHT', 'Weight');
define('TABLE_HEADING_BUY_NOW', 'Buy Now');
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
define('TEXT_SHOW', '<b>Show:</b>');
define('TEXT_BUY', 'Buy 1 \'');
define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
define('HEADING_TITLE', '<font color=#000000><p align="center"><i>"Few sunrises are greeted as eagerly as those viewed through the eyes of love."</p></i>');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', 'Categories');
}
?>
I've placed the text I'm working on in bold italics, but put the whole thing there just incase there's something else I'm missing. Thanks so much in advance to the kind soul that is willing to give me a hand.smileys/smiley32.gif
Anyone care to help me outwith this? Here is my index.php:
define('TEXT_MAIN', '<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"><tr><td width="49%"><div align="right"><table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#66cc66" width="1%" id="AutoNumber2" align="right"><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_34"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_34" target="_blank"><img') border="0" src="images/small1.jpg" width="100" height="100"><br><b><font size="1" face="Verdana">Gourmet</font></b></a>&l t;/td></tr><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_43"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_43" target="_blank"><img') border="0" src="images/small2.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Coffee & Tea</font></b></a></td></tr>&l t;tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=38">&l t;img ('http://www.craftygiftcreations.com/index.php?cPath=38" target="_blank"><img') border="0" src="images/small3.jpg"width="100" height="100"><br><b><font face="Verdana" size="1">Baby</font></b></a></td> </tr></table></div></td><td width="2%"><p align="center"><b><font face="Verdana" size="2" color="#000000"><a href="http://www.craftygiftcreations.com/product_info.p hp?products_id=348">Celebrate ('http://www.craftygiftcreations.com/product_info.php?products_id=348" target="_blank"> Celebrate') the New Year With Someone You Love!</font></b><br><img border="0" src="images/mainb.jpg" width="300" height="391"></a></td><td width="49%"><div align="left"><table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1%" id="AutoNumber3"><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_45"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_45" target="_blank"><img') border="0" src="images/small4.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Wedding</font></b></a></td& gt;</tr><tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_50"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_50" target="_blank"><img') border="0" src="images/small5.jpg" width="100" height="100"><br><b><font face="Verdana" size="1">Thank You</font></b></a></td></tr>&l t;tr><td width="100%"><p align="center"><a href=" http://www.craftygiftcreations.com/index.php?cPath=54_46"> ;<img ('http://www.craftygiftcreations.com/index.php?cPath=54_46" target="_blank"><img') border="0" src="images/small6.jpg" width="100" height="100"><br><br><b><font face="Verdana" size="1">Chocolate</font></b></a></t d></tr></table></div></td></tr ></table><font color="000000"><br>
<form method=post action=http://www.ymlp.com/subscribe.php?eltsmith>
<table border=0>
<tr>
<td colspan=2><p align="left"><font face="Verdana" size="1">Fill out your e-mail address <br> to receive our newsletter!</td>
</tr>
<tr>
<td><input type="text" name="YMLP0" size="20"></td>
<td><input type="submit" value="Submit"></td>
</tr>
<tr>
<td colspan=2><a href="http://www.yourmailinglistprovider.com (http://www.yourmailinglistprovider.com)" target="_new"><font face="Verdana" size="1"></a></td>
</table>
<p align="right"><form method="POST" action="http://www.webxperience.org/cgi-bin/rate_it.cgi (http://www.webxperience.org/cgi-bin/rate_it.cgi)">
<input type="hidden" name="ct" value="Business_and_Economy-Shopping_and_Services-Gifts_and_ Occasions">
<input type="hidden" name="fct" value="cast_rating">
<input type="hidden" name="id" value="47680">
<select name="rating" size="1">
<option value="10">10 - The Best</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1 - The Poorest</option>
</select><input type="submit" value="Rate It" name="B1">
<div style="font-size:10px;font-family:verdana"><p align="right">Rate us at: <a href="http://www.webxperience.org (http://www.webxperience.org)" title="Web Directory">Web Directory</a>.</div>
</form></tr></td>
<br>Don\'t see exactly what you\'re looking for? We custom design baskets as well. Please <a href=" email']mailto:support@craftygiftcreations.com"><b>e mail ('support@craftygiftcreations.com" target="_blank">[b) us</a></b> with your request!</b><br>');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', '<b>Check Back Soon for These<font color="ff0000"> January</font color> Products</b>');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
define('HEADING_TITLE', 'Gift Basket Collection');
define('TABLE_HEADING_IMAGE', '');
define('TABLE_HEADING_MODEL', 'Model');
define('TABLE_HEADING_PRODUCTS', 'Product Name');
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
define('TABLE_HEADING_QUANTITY', 'Quantity');
define('TABLE_HEADING_PRICE', 'Price');
define('TABLE_HEADING_WEIGHT', 'Weight');
define('TABLE_HEADING_BUY_NOW', 'Buy Now');
define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
define('TEXT_SHOW', '<b>Show:</b>');
define('TEXT_BUY', 'Buy 1 \'');
define('TEXT_NOW', '\' now');
define('TEXT_ALL_CATEGORIES', 'All Categories');
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
define('HEADING_TITLE', '<font color=#000000><p align="center"><i>"Few sunrises are greeted as eagerly as those viewed through the eyes of love."</p></i>');
} elseif ($category_depth == 'nested') {
define('HEADING_TITLE', 'Categories');
}
?>
I've placed the text I'm working on in bold italics, but put the whole thing there just incase there's something else I'm missing. Thanks so much in advance to the kind soul that is willing to give me a hand.smileys/smiley32.gif
lizscgc
01-08-2006, 04:12 PM
I had to return my index.php to its original state because I had screwed it up and it looked silly. Basically, the sign up box for my newsletters is towards the bottom on the left side and I would like to add my rate it box from web directory to sit right next to the newsletter sign up.
For now the Rate It box is in my footer at the bottom center. Just want to use up some of the white space on my page but can't seem to move the Rate It stuff to the right spot. Any suggestions?
For now the Rate It box is in my footer at the bottom center. Just want to use up some of the white space on my page but can't seem to move the Rate It stuff to the right spot. Any suggestions?
chrlstoncharmed
01-09-2006, 06:24 AM
Hi Elizabeth -
Add a table with two columns and put the newsletter form in one table cell and the rate it form in the other.
How are you editing your index? Are you editing the actual php file or are you going through the mainpage editor in the oscommerce admin area?
<!--
var SymRealOnLoad;
var SymReal;
Sym()
{
window.open = SymWinOpen;
if(SymReal != null)
SymReal();
}
SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymReal = window.;
window. = Sym;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
Add a table with two columns and put the newsletter form in one table cell and the rate it form in the other.
How are you editing your index? Are you editing the actual php file or are you going through the mainpage editor in the oscommerce admin area?
<!--
var SymRealOnLoad;
var SymReal;
Sym()
{
window.open = SymWinOpen;
if(SymReal != null)
SymReal();
}
SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymReal = window.;
window. = Sym;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->