Following what you've said in a previous locked post, I've removed the header and footer tags and want to make the store basically look like my other pages.
Is this the only part of the code (in v5) that I need to keep on that page? Is there anything else I need to keep in order for the store to look right as I add more products and services to it?? Or am I keeping too much of the code for that to work.
I ask for two reasons. 1) I want to get it right; not just looking right 2) the other pages are keeping the former header and footer.
Code:
<!--agorascript-pre
# this is an AgoraCart members only AgoraScript Snippet. You must be a current member at:
# http://www.AgoraCartPro.com . Sign up or renew at AgoraCart.com
# Copyright © 2000 - Present by K-Factor Technologies Inc., AgoraScript, and BytePipe.
&capture_STDOUT; open (DATAFILE, "<./data_files/data.file") || die print "Could not open data.file"; @line=<DATAFILE>;
close (DATAFILE);
srand;
$array1 = $line[int rand(@line)];
$array2 = $line[int rand(@line)];
$array3 = $line[int rand(@line)];
$array4 = $line[int rand(@line)];
@special1 = split (/\|/, $array1);
@special2 = split (/\|/, $array2);
@special3 = split (/\|/, $array3);
@special4 = split (/\|/, $array4);
$image1 = $special1[7];
$image2 = $special2[7];
$image3 = $special3[7];
$image4 = $special4[7];
$image1 =~ s/%%IMG%%//ig;
$image2 =~ s/%%IMG%%//ig;
$image3 =~ s/%%IMG%%//ig;
$image4 =~ s/%%IMG%%//ig;
print qq~
<!--this is an AgoraCart members only AgoraScript Snippet. You must be a current member at:
http://www.AgoraCartPro.com . Sign up or renew at AgoraCart.com
Copyright © 2000 - Present by K-Factor Technologies Inc., AgoraScript, and BytePipe.--\>
<h3 class="gold left">See What's inside our Store:</h3>
<table width="100%" border="0" align="center" cellpadding="3">
<tr>
<td valign=top width="25%"><center><font face=arial size="2">In $special1[1]:<br><br></font>
<a href="agora.cgi?cart_id=&p_id=$special1[0]&xm=on">
<img class="template_image_no_border" src="%%URLofImages%%/$image1" alt="$image1"></a></center></td>
<td valign=top width="25%"><center><font face=arial size="2">In $special2[1]:<br><br></font>
<a href="agora.cgi?cart_id=&p_id=$special2[0]&xm=on">
<img class="template_image_no_border" src="%%URLofImages%%/$image2" alt="$image2"></a></center></td>
<td valign=top width="25%"><center><font face=arial size="2">In $special3[1]:<br><br></font>
<a href="agora.cgi?cart_id=&p_id=$special3[0]&xm=on">
<img class="template_image_no_border" src="%%URLofImages%%/$image3" alt="$image3"></a></center></td>
<td valign=top width="25%"><center><font face=arial size="2">In $special4[1]:<br><br></font>
<a href="agora.cgi?cart_id=&p_id=$special4[0]&xm=on">
<img class="template_image_no_border" src="%%URLofImages%%/$image4" alt="$image4"></a></center></td>
</tr>
<tr>
<td valign=top width="25%"><center><font face=arial size="2">
<a href="agora.cgi?cart_id=&p_id=$special1[0]&xm=on">$special1[3]</a></font></center></td>
<td valign=top width="25%"><center><font face=arial size="2">
<a href="agora.cgi?cart_id=&p_id=$special2[0]&xm=on">$special2[3]</a></font></center></td>
<td valign=top width="25%"><center><font face=arial size="2">
<a href="agora.cgi?cart_id=&p_id=$special3[0]&xm=on">$special3[3]</a></font></center></td>
<td valign=top width="25%"><center><font face=arial size="2">
<a href="agora.cgi?cart_id=&p_id=$special4[0]&xm=on">$special4[3]</a></font></center></td>
</tr>
<tr>
<td valign=top width="25%"><center><font face=arial size="2">
<b><font color="FF0000">Only $sc_money_symbol $special1[2]<\/font></b></font></center></td>
<td valign=top width="25%"><center><font face=arial size="2">
<b><font color="FF0000">Only $sc_money_symbol $special2[2]</font></b></font></center></td>
<td valign=top width="25%"><center><font face=arial size="2">
<b><font color=\"FF0000\">Only $sc_money_symbol $special3[2]<\/font><\/b><\/font></center><\/td>
<td valign=top width="25%"><center><font face=arial size="2">
<b><font color="FF0000">Only $sc_money_symbol $special4[2]</font></b></font></center></td>
</tr>
</table>
~; &uncapture_STDOUT;
-->
_________________
Maria Marsala
Business Coach
http://www.ElevatingYourBusiness.com