Eu nu stiu ce cod (php) imi trebuie in fisierul order_action.php pentru ca acesta sa-mi poate trimite pe adresa mea de mail informatiile de mai jos:
Amenthes iti multumesc pentru cod insa cred ca lipseste partea cu $to =
'nobody@example.com sau ceva de genu sa pot primi informatiile.
Imi cer scuze e cam lung codul:
<form action="order_action.php" method="post" id="order_w" onsubmit="return submitForm(this)">
<div id="order">
<h3 id="order_slogan">
<span><a id="f_slogan" href="">Unique & Pleasant Designs</a></span>
<span><a id="s_slogan" href="">Satisfaction Guaranteed</a></span>
<span><a id="t_slogan" href="">Easy Communication</a></span>
</h3>
<div id="order_content" class="order_price">
<h4>Select Package Deals:</h4>
<table>
<tr>
<th class="name">Name</th>
<th class="price">Price</th>
<th class="quantity">Quantity</th>
<th class="total">Total Cost</th>
</tr>
<tr>
<td><div class="banner-div"><strong>Standard Pack</strong><img src="images/interrogation.gif" alt="interrogation"
width="16" height="16" class="q" />
<span class="banner">
<img src="images/show2.gif" alt="interrogation" />
</span>
</div></td>
<td>$70.00</td>
<td>
<input type="text" name="s_standardpack_qty" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)">
</td>
<td class="ill">$<input
type="text" name="s_standardpack_tot" value="0" readonly onfocus="this.blur()">
<input type="hidden" name="s_standardpack_price" value="70.00">
</td>
</tr>
<tr>
<td><div class="banner-div"><strong>Golden Pack</strong><img src="images/interrogation.gif" alt="interrogation"
width="16" height="16" class="q" />
<span class="banner">
<img src="images/show3.gif" alt="interrogation" />
</span></div>
</td>
<td>$85.00</td>
<td><input name="s_goldenpack_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_goldenpack_tot" type="text"
value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_goldenpack_price" value="85.00">
</td>
</tr>
<tr>
<td><div class="banner-div"><strong>All in One Pack</strong><img src="images/interrogation.gif" alt="interrogation"
width="16" height="16" class="q" />
<span class="banner">
<img src="images/show1.gif" alt="interrogation" />
</span></div>
</td>
<td>$100.00</td>
<td><input name="s_allinonepack_qty" type="text"
value="0" onchange="getProductTotal(this,this.form)" onclick="checkValue(this)"
onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_allinonepack_tot" type="text"
value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_allinonepack_price" value="100.00">
</td>
</tr>
<tr>
<td><div class="banner-div"><strong>Platinum Pack</strong><img src="images/interrogation.gif" alt="interrogation"
width="16" height="16" class="q" />
<span class="banner">
<img src="images/show4.gif" alt="interrogation" />
</span></div>
</td>
<td>$125.00</td>
<td><input name="s_platiumpack_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_platiumpack_tot" type="text"
value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_platiumpack_price" value="125.00">
</td>
</tr>
</table>
<h4>Individual Banners:</h4>
<table>
<tr>
<th class="name">Name</th>
<th class="price">Price</th>
<th class="quantity">Quantity</th>
<th class="total">Total Cost</th>
</tr>
<tr>
<td><strong>80x80</strong></td>
<td>$6.50</td>
<td><input name="s_80_80_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_80_80_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_80_80_price" value="6.50">
</td>
</tr>
<tr>
<td><strong>88x31</strong></td>
<td>$6.50</td>
<td><input name="s_88_31_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_88_31_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_88_31_price" value="6.50">
</td>
</tr>
<tr>
<td><strong>100x100</strong></td>
<td>$15.00</td>
<td><input name="s_100_100_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_100_100_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_100_100_price" value="15.00">
</td>
</tr>
<tr>
<td><strong>120x60</strong></td>
<td>$15.00</td>
<td><input name="s_120_60_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_60_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_120_60_price" value="15.00"></td>
</tr>
<tr>
<td><strong>120x90</strong></td>
<td>$15.00</td>
<td><input name="s_120_90_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_90_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_120_90_price" value="15.00"></td>
</tr>
<tr>
<td><strong>120x120</strong></td>
<td>$15.00</td>
<td><input name="s_120_120_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_120_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_120_120_price" value="15.00"></td>
</tr>
<tr>
<td><strong>120x240</strong></td>
<td>$15.00</td>
<td><input name="s_120_240_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_240_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_120_240_price" value="15.00"></td>
</tr>
<tr>
<td><strong>125x125</strong></td>
<td>$15.00</td>
<td><input name="s_125_125_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_125_125_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_125_125_price" value="15.00"></td>
</tr>
<tr>
<td><strong>120x600</strong></td>
<td>$15.00</td>
<td><input name="s_120_600_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_600_" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_120_600_price" value="15.00"></td>
</tr>
<tr>
<td><strong>158x72</strong></td>
<td>$15.00</td>
<td><input name="s_158_72_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_120_600_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_158_72_price" value="15.00"></td>
</tr>
<tr>
<td><strong>160x100</strong></td>
<td>$15.00</td>
<td><input name="s_160_100_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_160_100_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_160_100_price" value="15.00"></td>
</tr>
<tr>
<td><strong>160x240</strong></td>
<td>$15.00</td>
<td><input name="s_160_240_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_160_240_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_160_240_price" value="15.00"></td>
</tr>
<tr>
<td><strong>160x600</strong></td>
<td>$15.00</td>
<td><input name="s_160_600_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_160_600_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_160_600_price" value="15.00"></td>
</tr>
<tr>
<td><strong>250x250</strong></td>
<td>$15.00</td>
<td><input name="s_250_250_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_250_250_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_250_250_price" value="15.00"></td>
</tr>
<tr>
<td><strong><strong>300x250</strong></strong></td>
<td>$15.00</td>
<td><input name="s_300_250_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_300_250_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_300_250_price" value="15.00"></td>
</tr>
<tr>
<td><strong>468x60</strong></td>
<td>$15.00</td>
<td><input name="s_468_60_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_468_60_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_468_60_price" value="15.00"></td>
</tr>
<tr>
<td><strong>728x90</strong></td>
<td>$15.00</td>
<td><input name="s_728_90_qty" type="text" value="0" onchange="getProductTotal(this,this.form)"
onclick="checkValue(this)" onblur="reCheckValue(this)"/></td>
<td class="ill">$<input name="s_728_90_tot" type="text" value="0" readonly onfocus="this.blur()"/>
<input type="hidden" name="s_728_90_price" value="15.00"></td>
</tr>
</table>
<div class="price_total">
<strong>Grand Total: $<span id="grandTotal">0.00</span></strong>
Check this box is you like to buy the .PSD file(s): <input name="require_psd" type="checkbox" value="yes"/>
</div>
<ul id="text_info">
<li class="second">
<h4>Please mention the text you want on the banner (<strong>Required</strong>)</h4>
<textarea name="banner_text" cols="" rows="" id="bannerText"></textarea>
</li>
<li>
<h4>Special Instructions:</h4>
<p>Please provide information that may help us create your banner. eg. URL of product,
colors, examples, filesize limit.</p>
<textarea name="instruction" cols="" rows="" id="instruction"></textarea>
</li>
</ul>
<div id="payment">
<ul>
<li><label>Your Name: <input name="name" id="name" type="text"/></label></li>
<li><label>Email Address: <input name="email" id="email" type="text"/></label></li>
<li><label>Verify Email: <input name="ver_email" id="ver_email" type="text"/></label></li>
<li><label>Company: <input name="company" id="company" type="text"/></label></li>
<li><label>Website URL: <input name="web" id="web" type="text"/></label></li>
<li class="ill"><input name="order" id="order" type="image"
src="images/place_my_order.gif"/></li>
</ul>
<div id="payment_r">
<div id="before_proceed" class="mode">
<h2>Before You Proceed!</h2>
<p>We highly recommend you to read our terms and conditions before you proceed. </p>