anf.etienne Posted February 1, 2009 Share Posted February 1, 2009 Hi, I downloaded a template for a wysiwyg editor tinyMCE....i basically need to edit a few field and upload images to a flash xml file.....i have got the editor to initiate properlly but i cant seem to find anywhere how i get it to submit. I'm just a beginner @ php lol i was just wondering how i would go about getting all the details as formatted with the editor onto the templates that are edited. I have pasted the coding below.....its horribly long...sorry <head> <title>Template</title> <meta name="description" content=""> <meta name="keywords" content=""> <META name="MSSmartTagsPreventParsing" content="TRUE"> <meta name="robots" content="index,follow"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="css/butterfly.css" rel="stylesheet" type="text/css" /> <link href="css/basicstyles.css" rel="stylesheet" type="text/css" /> <link href="css/menu_style.css" rel="stylesheet" type="text/css" /> <script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; function SymInitWinOpen() { if (SymRealWinOpen == null) SymRealWinOpen = window.open; return SymWinOpen; } function SymWinOpen(url, name, attributes) { return (new Object()); } var SymRealWinOpen; window.open = SymInitWinOpen(); //--> </script> <script src="js/js.js" language="javascript"></script> <!-- CSS --> <link rel="stylesheet" type="text/css" href="css/shadowbox.css"> <!-- Shadowbox with Script.aculo.us --> <script type="text/javascript" src="js/scriptaculous/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="js/scriptaculous/shadowbox-prototype.js"></script> <script type="text/javascript" src="js/scriptaculous/flashShadowboxInjector.js"></script> <script type="text/javascript" src="js/shadowbox.js"></script> <script type="text/javascript">window.onload = Shadowbox.init;</script> <style type="text/css"> <!-- .style1 {font-weight: bold} --> </style> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" FIXED_BOUND="true"> <div align="center"> <center> <table cellspacing=0 cellpadding=0 bgcolor=#ffffff width=800 border=0> <tr> <td> <table width="750" border="1" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%"> <tr> <td> </td> </tr> <tr> </tr> <tr> <td> <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF"> <tr> <td> <br> <div align="center"></div> <br> <table style="border: 3px dashed ; border-collapse: collapse;" bordercolor=#999999 cellspacing=0 cellpadding=10 width=700 align=center border=1 bgcolor="#FFFFCC"> <tbody> <tr valign=top bordercolor=#ffffff> <td height="252"> <div id="div_form" name="div_form"> <div> <form name="frmLogin" action="index.php" method="post"> <div class="menu bubplastic horizontal aqua"> <ul> <!--<li class="highlight"><span class="menu_r"><a href="index.php?page=updatedetails" target="_self"><span class="menu_ar">My Account</span></a></span></li>--> <li><span class="menu_r"><a href="index.php?page=newproductpage0" target="_self"><span class="menu_ar">New Listing</span></a></span></li> <li><span class="menu_r"><a href="index.php?page=viewproductpages" target="_self"><span class="menu_ar">My Listings</span></a></span></li> <li><span class="menu_r"><a href="index.php?page=customtemplates" target="_self"><span class="menu_ar">My templates</span></a></span></li> <li><span class="menu_r"><a href="index.php?page=updatepage&page_id=13863" target="_self"><span class="menu_ar">My presets</span></a></span></li> <li><span class="menu_r"><a href="index.php?page=updatedetails" target="_self"><span class="menu_ar">My Account</span></a></span></li> <li><span class="menu_r"><a href="index.php?page=training" target="_self"><span class="menu_ar">Training</span></a></span></li> </ul> <br class="clearit" /> </div> <table border="03" style="text-align:left; display:none"> <tr> <td colspan="2" align="right" style="color:#FF9900"></td> </tr> <tr> <td> <a href='index.php?page=updatedetails' style="font:12px arial">My Account</a> | <a href='index.php?page=newproductpage0' style=" font:12px arial">Create A New Listing</a> | <a href='index.php?page=viewproductpages' style="font:12px arial">View Saved Listings</a> <a href='index.php?page=updatepage&page_id=13863' style="font:12px arial" > | My presets</a> </td> </tr> </table> </form> <br /> </div> <div class="style1x" id="contentt" align="center"> <div style='font:16px arial;font-weight:bold'>Update a listing</div><script language="JavaScript" src="classes/calendar/calendar1.js"></script><!-- Date only with year scrolling --> <!-- American format mm/dd/yyyy --> <script language="JavaScript" src="classes/calendar/calendar2.js"></script><!-- Date only with year scrolling --> <script language="JavaScript" src="classes/gen_validatorv2.js" type="text/javascript"></script> <script type="text/javascript" src="tinymce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> /*tinyMCE.init({ mode : "textareas", theme : "advanced" });*/ </script> <form name='new' id='newform' enctype='multipart/form-data' action='' method='post' dir=ltr style='font:14px arial;'><br><a href='index.php?page=preview&product_id=19858' target='_blank'>Preview</a> | <a href='index.php?page=getcode' target='_blank'>Get Code </a><br><input type='submit' name='submit1' value='Save' style='width:70px'><br>Save before previewing or getting code <table border=0 dir=ltr><tr><td colspan=2 align='left'>* Required fields.</td></tr><tr><td align='left'>Template</td><td align='left' ><select name='template_id' id='template_id' title='Template'><option value="">Choose</option><option value="22">11</option><option value="23">12</option><option value="24">13</option><option value="26">15</option><option value="27">16</option><option value="28">17</option><option value="29">18</option><option value="30">19</option><option value="31">20</option><option value="154">Animals</option><option value="87">Are you game?</option><option value="150">Art</option><option value="12">Auto01</option><option value="156">Auto02</option><option value="194">Auto03</option><option value="228">BackPage- General 01</option><option value="229">BackPage- General 02</option><option value="230">BackPage- General 03</option><option value="231">BackPage- General 04</option><option value="232">BackPage- General 05</option><option value="233">BackPage- General 06</option><option value="235">BackPage- Politics</option><option value="227">BackPage- Real Estate 01</option><option value="234">BackPage- Real Estate 02</option><option value="236">BackPage- Spiritual</option><option value="177">Baseball</option><option value="94">Basketball</option><option value="213">Beauty</option><option value="195">Billiard</option><option value="165">Books</option><option value="95">Car Parts</option><option value="196">Car Parts 2</option><option value="247">Car Parts 3</option><option value="214">Cat</option><option value="92">Cell Phones & Accesories</option><option value="261">Chandelier</option><option value="166">Classic Cars</option><option value="197">Clothes</option><option value="224">Clothes 2</option><option value="157">Cosmetics</option><option value="198">Cosmetics 2</option><option value="199">Cosmetics 3</option><option value="238">CraisList - Clothes</option><option value="191">CraisList - General1</option><option value="192">CraisList - General2</option><option value="193">CraisList - General3</option><option value="237">CraisList - HighTech</option><option value="239">CraisList - Jewelry</option><option value="240">CraisList - Kids</option><option value="189">CraisList - Real Estate 1</option><option value="190">CraisList - Real Estate 2</option><option value="241">CraisList - Shopping</option><option value="215">Dog</option><option value="216">Dog 2</option><option value="75">Electronic Test</option><option value="1">Electronics01</option><option value="200">Electronics02</option><option value="16">Fashion01</option><option value="158">Fashion02</option><option value="161">Fashion03</option><option value="167">Fashion04</option><option value="201">Fashion05</option><option value="202">Fashion06</option><option value="203">Fashion07</option><option value="262">Fashion08</option><option value="263">Fashion09</option><option value="178">Fitness</option><option value="179">Fitness 2</option><option value="242">Fitness 3</option><option value="217">Football</option><option value="83">For Your Baby</option><option value="149">Fun</option><option value="204">Fun 2</option><option value="218">Fun 3</option><option value="243">Fun 4</option><option value="264">Fun 5</option><option value="180">Gemstone</option><option value="137">General One</option><option value="11">General01</option><option value="9">General02</option><option selected value="7">General03</option><option value="103">General04</option><option value="105">General05</option><option value="106">General06</option><option value="108">General07</option><option value="110">General08</option><option value="109">General09</option><option value="113">General11</option><option value="114">General12</option><option value="115">General13</option><option value="116">General14</option><option value="162">General16</option><option value="163">General17</option><option value="248">General18</option><option value="244">Glamour</option><option value="101">GMTemplate1</option><option value="223">Gold Coins</option><option value="112">Golf</option><option value="151">Golf 2</option><option value="168">Golf 3</option><option value="143">Guitar</option><option value="245">Halloween</option><option value="89">Handbags & More</option><option value="111">Health 2</option><option value="205">Health 3</option><option value="206">High Tech</option><option value="81">Hole In One</option><option value="220">Home</option><option value="96">Home Sweet Home</option><option value="181">Horse Racing</option><option value="159">Jewelry1</option><option value="160">Jewelry2</option><option value="25">Jewelry3</option><option value="182">Jewelry4</option><option value="183">Jewelry5</option><option value="265">Jewelry6</option><option value="184">Just for Fun</option><option value="142">Kids</option><option value="80">Lets Surf</option><option value="144">Lightbulb</option><option value="185">Lingerie</option><option value="207">Lingerie 2</option><option value="208">Lingerie 3</option><option value="225">Lingerie 4</option><option value="186">Lipgloss Beauty</option><option value="169">Lock</option><option value="76">Modern Real Estate</option><option value="104">Money</option><option value="148">More Real Estate</option><option value="77">Motorcycle Sunset</option><option value="138">Motorcycles</option><option value="187">Music</option><option value="209">Music 2</option><option value="90">Need For Speed</option><option value="82">Never Enough Shoes</option><option value="226">Nokia N93i</option><option value="139">Office Furniture</option><option value="251">Overstock - General 1</option><option value="260">Overstock - Guitar</option><option value="253">Overstock - Lightbulb</option><option value="254">Overstock - Lingerie</option><option value="255">Overstock - Music</option><option value="256">Overstock - Photography</option><option value="257">Overstock - Politics</option><option value="258">Overstock - Real Estate 1</option><option value="259">Overstock - Real Estate 2</option><option value="252">Overstock - Spiritual</option><option value="91">Perfect Luggage</option><option value="210">Photography</option><option value="221">Piano</option><option value="249">Picture Frame</option><option value="88">Play Some Music</option><option value="140">Poker</option><option value="170">Poker 2</option><option value="188">Politics</option><option value="211">Politics 2</option><option value="79">Quality Cameras</option><option value="171">Racer</option><option value="141">Real Estate 04</option><option value="10">Real Estate02</option><option value="5">Real Estate03</option><option value="176">Real Estate05</option><option value="222">Robot</option><option value="107">School</option><option value="35">Shoes</option><option value="212">Shoes 2</option><option value="145">Shopping</option><option value="147">Shopping 2</option><option value="172">Shopping 3</option><option value="173">Skiing</option><option value="100">Skin Care</option><option value="174">Soccer</option><option value="219">Spiritual</option><option value="99">Sports Memorabilia</option><option value="8">Sports01</option><option value="152">Sports02</option><option value="153">Sports03</option><option value="85">Tennis Anyone?</option><option value="84">Test Drive</option><option value="164">test01</option><option value="97">Timeless Watches</option><option value="175">Timing</option><option value="93">Toys</option><option value="266">Travel</option><option value="146">Vintage</option><option value="246">Wheels</option><option value="250">Xmas</option><option value="117">xnew15</option><option value="118">xnew16</option><option value="119">xnew17</option><option value="120">xnew18</option><option value="121">xnew19</option><option value="122">xnew20</option><option value="123">xnew21</option><option value="124">xnew22</option><option value="125">xnew23</option><option value="126">xnew24</option><option value="127">xnew25</option><option value="128">xnew26</option><option value="129">xnew27</option><option value="130">xnew28</option><option value="131">xnew29</option><option value="132">xnew30</option><option value="133">xnew31</option><option value="134">xnew32</option><option value="135">xnew33</option><option value="136">xnew34</option><option value="78">yoga</option><option value="custom592">CUSTOM: 20090122133821</option><option value="custom593">CUSTOM: 20090122133945</option><option value="custom598">CUSTOM: 20090123032312</option></select> <a href="javascript:void(0);" onClick="javascript:previewTemplate(document.getElementById('template_id').options[document.getElementById('template_id').selectedIndex].value);"><small>[preview template]</small></a> </td></tr> <tr><td align='left'>Title (55 Characters max)</td><td align='left' ><input name='title' type='text' value='' title='' size=58 maxlength=55></td></tr> <tr><td align='left'>SubTitle</td><td align='left' ><input name='subtitle' type='text' value='' title='' ></td></tr> <tr><td align='left'><b><u>Description</b></u><br><div style='font-size:0.8em; width:250px'>This is where you will describe the item that you are selling. Describe the item and any selling points. You should also describe any defects or drawbacks about the item (i.e. it doesn’t work) in order to avoid bad feedback. Be as accurate and descriptive as possible.</div></td><td align='left' > <script type="text/javascript"> tinyMCE.init({ mode : "exact" ,elements : "id_description" ,theme : "advanced" ,theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,formatselect,fontselect,fontsizeselect" ,theme_advanced_buttons2 : "cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,|,image,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,code,fullscreen" ,theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup," ,theme_advanced_buttons4 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,|,forecolor,backcolor" ,theme_advanced_toolbar_location : "top" ,theme_advanced_toolbar_align : "left" ,theme_advanced_statusbar_location : "bottom" ,theme_advanced_resizing : true ,theme_advanced_resize_horizontal : false ,plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups" }); </script> <textarea style="width:450px; height:350px;" id="id_description" name="description" title=""></textarea></td></tr> <tr><td align='left'><b><u>General Info</b></u><br><div style='font-size:0.8em; width:250px'>This is were you would include any basic information about the sale – additional product features, Frequently Asked Questions (FAQ), and additional sales text.</div></td><td align='left' > <script type="text/javascript"> tinyMCE.init({ mode : "exact" ,elements : "id_general" ,theme : "advanced" ,theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,formatselect,fontselect,fontsizeselect" ,theme_advanced_buttons2 : "cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,|,image,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,code,fullscreen" ,theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup," ,theme_advanced_buttons4 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,|,forecolor,backcolor" ,theme_advanced_toolbar_location : "top" ,theme_advanced_toolbar_align : "left" ,theme_advanced_statusbar_location : "bottom" ,theme_advanced_resizing : true ,theme_advanced_resize_horizontal : false ,plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups" }); </script> <textarea style="width:450px; height:350px;" id="id_general" name="general" title=""></textarea></td></tr> <tr><td align='left'><b><u>Terms and Conditions</b></u><br><div style='font-size:0.8em; width:250px'>This is where you would explain your return policy, shipping policy and options, deposits, expected payment time frame and any other terms of sale that are applicable.</div></td><td align='left' > <script type="text/javascript"> tinyMCE.init({ mode : "exact" ,elements : "id_terms" ,theme : "advanced" ,theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,formatselect,fontselect,fontsizeselect" ,theme_advanced_buttons2 : "cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,|,image,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,code,fullscreen" ,theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup," ,theme_advanced_buttons4 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,|,forecolor,backcolor" ,theme_advanced_toolbar_location : "top" ,theme_advanced_toolbar_align : "left" ,theme_advanced_statusbar_location : "bottom" ,theme_advanced_resizing : true ,theme_advanced_resize_horizontal : false ,plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups" }); </script> <textarea style="width:450px; height:350px;" id="id_terms" name="terms" title=""></textarea></td></tr> <tr><td align='left'><b><u>About Us</b></u><br><div style='font-size:0.8em; width:250px'>Give your buyers a little bit of information about yourself or your company to encourage them to do business with you – feedback, link to <i>About Me, positive PR, testimonials</i>, etc.</div></td><td align='left' > <script type="text/javascript"> tinyMCE.init({ mode : "exact" ,elements : "id_about" ,theme : "advanced" ,theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,formatselect,fontselect,fontsizeselect" ,theme_advanced_buttons2 : "cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,|,image,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,code,fullscreen" ,theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup," ,theme_advanced_buttons4 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,|,forecolor,backcolor" ,theme_advanced_toolbar_location : "top" ,theme_advanced_toolbar_align : "left" ,theme_advanced_statusbar_location : "bottom" ,theme_advanced_resizing : true ,theme_advanced_resize_horizontal : false ,plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups" }); </script> <textarea style="width:450px; height:350px;" id="id_about" name="about" title=""></textarea></td></tr> <tr><td align='left'><br><b><u>Payment Methods</b></u> <br /><small>(Please be aware that you can only accept money orders & cashiers checks when selling on eBay Motors or eBay Real Estate)</small><br></td><td align='left' ></td></tr> <tr><td align='left'>Accept Paypal?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_paypal'title=''></td></tr> <tr><td align='left'>Accept Visa?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_visa'title=''></td></tr> <tr><td align='left'>Accept Master Card?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_mc'title=''></td></tr> <tr><td align='left'>Accept AMEX?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_amex'title=''></td></tr> <tr><td align='left'>Accept Discover?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_discover'title=''></td></tr> <tr><td align='left'>Accept money orders & cashier checks?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_checks'title=''></td></tr> <tr><td colspan=2 align=center><input name='action' type='hidden' value='check-adduser'><input name='user_id' type='hidden' value='834'><input name='dobaproductid' type='hidden' value=''><input name='preview' id='preview' type='hidden' value='0'><input name='imageremove' id='imageremove' type='hidden' value=''><div align='center' style='border:1px solid #cccccc; display:none;' id='progressbar'>Loading... Please wait <br><img name='progressImage' src='progressbar.gif'></div> <!-- <tr><td align='left'><br><b><u>Payment Methods</b></u><br></td><td align='left' ></td></tr> <tr><td align='left'>Accept Paypal?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_paypal'title=''></td></tr> <tr><td align='left'>Accept Visa?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_visa'title=''></td></tr> <tr><td align='left'>Accept Master Card?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_mc'title=''></td></tr> <tr><td align='left'>Accept AMEX?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_amex'title=''></td></tr> <tr><td align='left'>Accept Discover?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_discover'title=''></td></tr> <tr><td align='left'>Accept money orders & cashier checks?</td><td align='left' ><INPUT TYPE=CHECKBOX NAME='is_checks' CHECKED title=''></td></tr> --> <div align="center"><strong>NOTE:</strong> Please save your listing NOW before you upload your pictures</div> <!--mult.pictures--> <script type="text/javascript" src="js/jquery-1.2.6.js"></script> <script> <!-- $(document).ready(function(){ $("#generate").click(function(){ //xxxxxxxxx //$("#quote").show("slow"); //$("#quote p").load("resizePic.php"); //grayOut(true, {'zindex':'0', 'bgcolor':'#000000', 'opacity':'90'}); }); }); function editImage(id) { //window.open('resizePic.php?id='+id,'res','width=800, height=700, scrollbars=1'); $("#quote").show("slow"); document.getElementById("iframeresize").src='resizePic.php?id='+id; //$("#quote").load("resizePic.php?"+id); //grayOut(true, {'zindex':'50', 'bgcolor':'#000000', 'opacity':'90'}); } function cancelEdit() { document.getElementById("iframeresize").src=''; $("#quote").hide("slow"); } --> </script> <style> #quote { display:none; width:650px; height:1100px; border:2px solid #000000; background-color:#ebebeb; z-index:1000; } #quotewrapper { } </style> <div id="quotewrapper"> <div id="quote"> <div><iframe src="" frameborder="0" width="100%" height="100%" id="iframeresize"></iframe></div> <div style="margin:10px; text-align:center;"><a href="javascript:cancelEdit();">[Cancel Image editing]</a></div> </div> </div> <br /><br /> <div style="text-align:left; margin-bottom:30px;"> <strong><u>Pictures</u></strong> <br /> <div>No pictures uploaded yet.</div> <table width="100%" border="0" cellpadding="5"> </table> <br /> <a href="javascript:showhide('div_uploadnewimages');">[upload new images]</a> <div id="div_uploadnewimages" style="border:1px solid #999999; margin-bottom:10px; padding:5px; displaynone;"> <strong>Upload new images</strong><br /> File: <input type="file" name="newimages[1]" /> <br /> Description: <input type="text" size="35" name="newimages_descriptions[1]" /> <br /> Order: <input type="text" size="3" value="0" name="newimages_sorder[1]" /> <hr /><br /> File: <input type="file" name="newimages[2]" /> <br /> Description: <input type="text" size="35" name="newimages_descriptions[2]" /> <br /> Order: <input type="text" size="3" value="0" name="newimages_sorder[2]" /> <hr /><br /> File: <input type="file" name="newimages[3]" /> <br /> Description: <input type="text" size="35" name="newimages_descriptions[3]" /> <br /> Order: <input type="text" size="3" value="0" name="newimages_sorder[3]" /> <hr /><br /> File: <input type="file" name="newimages[4]" /> <br /> Description: <input type="text" size="35" name="newimages_descriptions[4]" /> <br /> Order: <input type="text" size="3" value="0" name="newimages_sorder[4]" /> <hr /><br /> File: <input type="file" name="newimages[5]" /> <br /> Description: <input type="text" size="35" name="newimages_descriptions[5]" /> <br /> Order: <input type="text" size="3" value="0" name="newimages_sorder[5]" /> <hr /><br /> <input type="submit" value="Upload!" onClick="javascript:document.getElementById('uploadingimagesgif').style.display='';" /> <div id="uploadingimagesgif" style="display:none; background-color:#222222; color:#CCCCCC; width:300px; text-align:center; padding:10px; margin:10px;"> Uploading images...<br /> <img src="images/loading.gif" /> </div> </div> </div> <!--end:mult.pictures--> <a href='index.php?page=preview&product_id=19858' target='_blank'>Preview (Save before previewing)</a><br><br><a href='index.php?page=getcode&product_id=19858' target='_blank'>Get Code (Save before getting the code)</a><br><br><input type='submit' name='submit1' value='Save' style='width:70px'></td></tr></table></form> <script language="JavaScript" type="text/javascript"> function submit2(col) { document.getElementById('imageremove').value= col; document.forms['new'].submit(); } function DoCustomValidation() { var frm = document.forms["new"]; if(frm.password.value != frm.password2.value) { alert('The Password and verified password does not match!'); return false; } else { return true; } } var frmvalidator = new Validator("new"); frmvalidator.setAddnlValidationFunction("DoCustomValidation"); frmvalidator.addValidation('title','maxlen=55',' Title (55 Characters max): '); frmvalidator.addValidation('subtitle','maxlen=55',' SubTitle: '); frmvalidator.addValidation('dobaproductid','maxlen=55',' : '); </script> <br /> </div> </div> <p> </p> <h1 align="center"> </h1> </td> </tr> </table> </body> <script language="JavaScript"> <!-- var SymRealOnLoad; var SymRealOnUnload; function SymOnUnload() { window.open = SymWinOpen; if(SymRealOnUnload != null) SymRealOnUnload(); } function SymOnLoad() { if(SymRealOnLoad != null) SymRealOnLoad(); window.open = SymRealWinOpen; if (SymRealOnUnload == null) { SymRealOnUnload = window.onunload; window.onunload = SymOnUnload; } } function SymInitWinOnload() { if ( SymRealOnLoad == null ) SymRealOnLoad = window.onload; return SymOnLoad; } window.onload = SymInitWinOnload(); //--> </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.