CHANGELOG 3.0.13 - 3.0.14
Produced: 01/11/2006 12:55:34
   
Mode:  Differences with Context  
Left: CubeCart_3.0.13  
Right: CubeCart_3.0.14  
   
File: admin\modules\affiliate\JROX\index.php  
16 |   http://www.devellion.com = 16 |   http://www.devellion.com
17 |       UK Private Limited Company No. 5323904   17 |       UK Private Limited Company No. 5323904
18 |   ========================================   18 |   ========================================
19 |   Web: http://www.cubecart.com   19 |   Web: http://www.cubecart.com
20 |   Date: Tuesday, 14th March 2006   20 |   Date: Tuesday, 14th March 2006
21 |   Email: info (at) cubecart (dot) com   21 |   Email: info (at) cubecart (dot) com
22 |       License Type: CubeCart is NOT Open Source Software and Limitations Apply <> 22 |       License Type: CubeCart is NOT Open Source Software and Limitations Apply
23 |   Licence Info: http://www.cubecart.com/site/faq/license.php = 23 |   Licence Info: http://www.cubecart.com/site/faq/license.php
24 +--------------------------------------------------------------------------   24 +--------------------------------------------------------------------------
25 |       index.php   25 |       index.php
26 |   ========================================   26 |   ========================================
27 |       Configure JROX.COM Affiliate Manager   27 |       Configure JROX.COM Affiliate Manager
28 +--------------------------------------------------------------------------   28 +--------------------------------------------------------------------------
 
47   = 47  
48 if(isset($_POST['module'])){   48 if(isset($_POST['module'])){
49         include("../../status.php");   49         include("../../status.php");
50         include("../../../includes/functions.inc.php");   50         include("../../../includes/functions.inc.php");
51         $module = fetchDbConfig($_GET['folder']);   51         $module = fetchDbConfig($_GET['folder']);
52         $msg = writeDbConf($_POST['module'], $_GET['folder'], $module);   52         $msg = writeDbConf($_POST['module'], $_GET['folder'], $module);
53         <> 53  
54 } = 54 }
55 $module = fetchDbConfig($_GET['folder']);   55 $module = fetchDbConfig($_GET['folder']);
56 ?>   56 ?>
57     57  
58 <p><a href="http://jam.jrox.com" target="_blank"><img src="logo.gif" alt="JROX.COM Affiliate Manager" border="0" title="" /></a></p>   58 <p><a href="http://jam.jrox.com" target="_blank"><img src="logo.gif" alt="JROX.COM Affiliate Manager" border="0" title="" /></a></p>
59 <?php <> 59 <?php
60 if(isset($msg)){   60 if(isset($msg)){
61         echo stripslashes($msg);   61         echo stripslashes($msg);
62 }   62 }
63 ?> = 63 ?>
64 <form action="<?php echo $module['URL']; ?>/affiliates/admin/" id="fx_admin_login_form" name="fx_admin_login_form" method="post" target="_blank"> <> 64 <form action="<?php echo $module['URL']; ?>/admin/" id="fx_admin_login_form" name="fx_admin_login_form" method="post" target="_blank">
65 <table border="0" cellspacing="0" cellpadding="3" class="mainTable"> = 65 <table border="0" cellspacing="0" cellpadding="3" class="mainTable">
66         <tr>   66         <tr>
67                 <td colspan="2" class="tdTitle">Login to JAM (Opens in new window) </td>   67                 <td colspan="2" class="tdTitle">Login to JAM (Opens in new window) </td>
68         </tr>   68         </tr>
69         <tr>   69         <tr>
70                 <td align="left" class="tdText">Admin Username:</td>   70                 <td align="left" class="tdText">Admin Username:</td>
   
File: admin\modules\shipping\USPS\index.php  
117       <td  class="tdText"><strong>Container Types</strong></td> = 117       <td  class="tdText"><strong>Container Types</strong></td>
118       <td  class="tdText"><strong>Weight Limit</strong></td>   118       <td  class="tdText"><strong>Weight Limit</strong></td>
119     </tr>   119     </tr>
120     <tr>   120     <tr>
121       <td  class="tdText">Express  Mail  </td>   121       <td  class="tdText">Express  Mail  </td>
122       <td valign="top"  class="tdText">   122       <td valign="top"  class="tdText">
123           <select name="module[service_Express]"> <> 123           <select name="module[serviceExpress]">
124         <option value="1" <?php if($module['service_Express']==1) echo "selected='selected'"; ?>>Enabled</option>   124         <option value="1" <?php if($module['serviceExpress']==1) echo "selected='selected'"; ?>>Enabled</option>
125         <option value="0" <?php if($module['service_Express']==0) echo "selected='selected'"; ?>>Disabled</option>   125         <option value="0" <?php if($module['serviceExpress']==0) echo "selected='selected'"; ?>>Disabled</option>
126       </select>   </td> = 126       </select>   </td>
127       <td valign="top"  class="tdText">   127       <td valign="top"  class="tdText">
128         <select name="module[expressSize]">   128         <select name="module[expressSize]">
129         <option value="REGULAR" <?php if($module['expressSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   129         <option value="REGULAR" <?php if($module['expressSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
130                 <option value="LARGE" <?php if($module['expressSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   130                 <option value="LARGE" <?php if($module['expressSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
131                 </select>      </td>   131                 </select>      </td>
 
135       </select>      </td> = 135       </select>      </td>
136       <td valign="top"  class="tdText">70 lbs.</td>   136       <td valign="top"  class="tdText">70 lbs.</td>
137     </tr>   137     </tr>
138     <tr>   138     <tr>
139       <td  class="tdText">First Class</td>   139       <td  class="tdText">First Class</td>
140       <td valign="top"  class="tdText">   140       <td valign="top"  class="tdText">
141           <select name="module[service_FirstClass]"> <> 141           <select name="module[serviceFirstClass]">
142         <option value="1" <?php if($module['service_FirstClass']==1) echo "selected='selected'"; ?>>Enabled</option>   142         <option value="1" <?php if($module['serviceFirstClass']==1) echo "selected='selected'"; ?>>Enabled</option>
143         <option value="0" <?php if($module['service_FirstClass']==0) echo "selected='selected'"; ?>>Disabled</option>   143         <option value="0" <?php if($module['serviceFirstClass']==0) echo "selected='selected'"; ?>>Disabled</option>
144       </select>   </td> = 144       </select>   </td>
145       <td valign="top"  class="tdText"><select name="module[FirstClassSize]">   145       <td valign="top"  class="tdText"><select name="module[FirstClassSize]">
146         <option value="REGULAR" <?php if($module['FirstClassSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   146         <option value="REGULAR" <?php if($module['FirstClassSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
147         <option value="LARGE" <?php if($module['FirstClassSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   147         <option value="LARGE" <?php if($module['FirstClassSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
148       </select></td>   148       </select></td>
149       <td valign="top"  class="tdText">N/A</td>   149       <td valign="top"  class="tdText">N/A</td>
150       <td valign="top"  class="tdText">13 oz.</td>   150       <td valign="top"  class="tdText">13 oz.</td>
151     </tr>   151     </tr>
152     <tr>   152     <tr>
153       <td  class="tdText">Priority Mail </td>   153       <td  class="tdText">Priority Mail </td>
154       <td valign="top"  class="tdText">   154       <td valign="top"  class="tdText">
155           <select name="module[service_Priority]"> <> 155           <select name="module[servicePriority]">
156         <option value="1" <?php if($module['service_Priority']==1) echo "selected='selected'"; ?>>Enabled</option>   156         <option value="1" <?php if($module['servicePriority']==1) echo "selected='selected'"; ?>>Enabled</option>
157         <option value="0" <?php if($module['service_Priority']==0) echo "selected='selected'"; ?>>Disabled</option>   157         <option value="0" <?php if($module['servicePriority']==0) echo "selected='selected'"; ?>>Disabled</option>
158       </select>   </td> = 158       </select>   </td>
159       <td valign="top"  class="tdText"><select name="module[prioritySize]">   159       <td valign="top"  class="tdText"><select name="module[prioritySize]">
160         <option value="REGULAR" <?php if($module['prioritySize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   160         <option value="REGULAR" <?php if($module['prioritySize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
161         <option value="LARGE" <?php if($module['prioritySize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   161         <option value="LARGE" <?php if($module['prioritySize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
162       </select></td>   162       </select></td>
163       <td valign="top"  class="tdText"><select name="module[priorityContainer]">   163       <td valign="top"  class="tdText"><select name="module[priorityContainer]">
 
166       </select>      </td> = 166       </select>      </td>
167       <td valign="top"  class="tdText">70 lbs.</td>   167       <td valign="top"  class="tdText">70 lbs.</td>
168     </tr>   168     </tr>
169     <tr>   169     <tr>
170       <td  class="tdText">Parcel Post (Machinable) </td>   170       <td  class="tdText">Parcel Post (Machinable) </td>
171       <td valign="top"  class="tdText">   171       <td valign="top"  class="tdText">
172           <select name="module[service_Parcel-M]"> <> 172           <select name="module[serviceParcelM]">
173         <option value="1" <?php if($module['service_Parcel-M']==1) echo "selected='selected'"; ?>>Enabled</option>   173         <option value="1" <?php if($module['serviceParcelM']==1) echo "selected='selected'"; ?>>Enabled</option>
174         <option value="0" <?php if($module['service_Parcel-M']==0) echo "selected='selected'"; ?>>Disabled</option>   174         <option value="0" <?php if($module['serviceParcelM']==0) echo "selected='selected'"; ?>>Disabled</option>
175       </select>   </td> = 175       </select>   </td>
176       <td valign="top"  class="tdText"><select name="module[parcel-MSize]"> <> 176       <td valign="top"  class="tdText"><select name="module[parcelMSize]">
177         <option value="REGULAR" <?php if($module['parcel-MSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   177         <option value="REGULAR" <?php if($module['parcelMSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
178         <option value="LARGE" <?php if($module['parcel-MSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   178         <option value="LARGE" <?php if($module['parcelMSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
179                 <option value="OVERSIZE" <?php if($module['parcel-MSize']=="OVERSIZE") echo "selected='selected'"; ?>>Oversize</option>   179                 <option value="OVERSIZE" <?php if($module['parcelMSize']=="OVERSIZE") echo "selected='selected'"; ?>>Oversize</option>
180       </select></td> = 180       </select></td>
181       <td valign="top"  class="tdText">N/A</td>   181       <td valign="top"  class="tdText">N/A</td>
182       <td valign="top"  class="tdText">70 lbs.</td>   182       <td valign="top"  class="tdText">70 lbs.</td>
183     </tr>   183     </tr>
184     <tr>   184     <tr>
185       <td  class="tdText">Parcel Post (Non-Machinable) </td>   185       <td  class="tdText">Parcel Post (Non-Machinable) </td>
186       <td valign="top"  class="tdText"><select name="module[service_Parcel-NM]"> <> 186       <td valign="top"  class="tdText"><select name="module[serviceParcelNM]">
187         <option value="1" <?php if($module['service_Parcel-NM']==1) echo "selected='selected'"; ?>>Enabled</option>   187         <option value="1" <?php if($module['serviceParcelNM']==1) echo "selected='selected'"; ?>>Enabled</option>
188         <option value="0" <?php if($module['service_Parcel-NM']==0) echo "selected='selected'"; ?>>Disabled</option>   188         <option value="0" <?php if($module['serviceParcelNM']==0) echo "selected='selected'"; ?>>Disabled</option>
189       </select></td> = 189       </select></td>
190       <td valign="top"  class="tdText"><select name="module[parcel-NMSize]"> <> 190       <td valign="top"  class="tdText"><select name="module[parcelNMSize]">
191         <option value="REGULAR" <?php if($module['parcel-NMSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   191         <option value="REGULAR" <?php if($module['parcelNMSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
192         <option value="LARGE" <?php if($module['parcel-NMSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   192         <option value="LARGE" <?php if($module['parcelNMSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
193                 <option value="OVERSIZE" <?php if($module['parcel-NMSize']=="OVERSIZE") echo "selected='selected'"; ?>>Oversize</option>   193                 <option value="OVERSIZE" <?php if($module['parcelNMSize']=="OVERSIZE") echo "selected='selected'"; ?>>Oversize</option>
194       </select></td> = 194       </select></td>
195       <td valign="top"  class="tdText">N/A</td>   195       <td valign="top"  class="tdText">N/A</td>
196       <td valign="top"  class="tdText">70 lbs.</td>   196       <td valign="top"  class="tdText">70 lbs.</td>
197     </tr>   197     </tr>
198     <tr>   198     <tr>
199       <td  class="tdText">BPM (Bound Printed Matter)</td>   199       <td  class="tdText">BPM (Bound Printed Matter)</td>
200       <td valign="top"  class="tdText">   200       <td valign="top"  class="tdText">
201           <select name="module[service_BPM]"> <> 201           <select name="module[serviceBPM]">
202         <option value="1" <?php if($module['service_BPM']==1) echo "selected='selected'"; ?>>Enabled</option>   202         <option value="1" <?php if($module['serviceBPM']==1) echo "selected='selected'"; ?>>Enabled</option>
203         <option value="0" <?php if($module['service_BPM']==0) echo "selected='selected'"; ?>>Disabled</option>   203         <option value="0" <?php if($module['serviceBPM']==0) echo "selected='selected'"; ?>>Disabled</option>
204       </select>   </td> = 204       </select>   </td>
205       <td valign="top"  class="tdText"><select name="module[BPMSize]">   205       <td valign="top"  class="tdText"><select name="module[BPMSize]">
206          <option value="REGULAR" <?php if($module['BPMSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   206          <option value="REGULAR" <?php if($module['BPMSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
207         <option value="LARGE" <?php if($module['BPMSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   207         <option value="LARGE" <?php if($module['BPMSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
208       </select></td>   208       </select></td>
209       <td valign="top"  class="tdText">N/A</td>   209       <td valign="top"  class="tdText">N/A</td>
210       <td valign="top"  class="tdText">15 lbs.</td>   210       <td valign="top"  class="tdText">15 lbs.</td>
211     </tr>   211     </tr>
212     <tr>   212     <tr>
213       <td  class="tdText">Library</td>   213       <td  class="tdText">Library</td>
214       <td valign="top"  class="tdText">   214       <td valign="top"  class="tdText">
215           <select name="module[service_Library]"> <> 215           <select name="module[serviceLibrary]">
216         <option value="1" <?php if($module['service_Library']==1) echo "selected='selected'"; ?>>Enabled</option>   216         <option value="1" <?php if($module['serviceLibrary']==1) echo "selected='selected'"; ?>>Enabled</option>
217         <option value="0" <?php if($module['service_Library']==0) echo "selected='selected'"; ?>>Disabled</option>   217         <option value="0" <?php if($module['serviceLibrary']==0) echo "selected='selected'"; ?>>Disabled</option>
218       </select>  </td> = 218       </select>  </td>
219       <td valign="top"  class="tdText"><select name="module[LibrarySize]">   219       <td valign="top"  class="tdText"><select name="module[LibrarySize]">
220         <option value="REGULAR" <?php if($module['LibrarySize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   220         <option value="REGULAR" <?php if($module['LibrarySize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
221         <option value="LARGE" <?php if($module['LibrarySize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   221         <option value="LARGE" <?php if($module['LibrarySize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
222       </select></td>   222       </select></td>
223       <td valign="top"  class="tdText">N/A</td>   223       <td valign="top"  class="tdText">N/A</td>
224       <td valign="top"  class="tdText">70 lbs.</td>   224       <td valign="top"  class="tdText">70 lbs.</td>
225     </tr>   225     </tr>
226     <tr>   226     <tr>
227       <td  class="tdText">Media</td>   227       <td  class="tdText">Media</td>
228       <td valign="top"  class="tdText">   228       <td valign="top"  class="tdText">
229             229          
230           <select name="module[service_Media]"> <> 230           <select name="module[serviceMedia]">
231         <option value="1" <?php if($module['service_Media']==1) echo "selected='selected'"; ?>>Enabled</option>   231         <option value="1" <?php if($module['serviceMedia']==1) echo "selected='selected'"; ?>>Enabled</option>
232         <option value="0" <?php if($module['service_Media']==0) echo "selected='selected'"; ?>>Disabled</option>   232         <option value="0" <?php if($module['serviceMedia']==0) echo "selected='selected'"; ?>>Disabled</option>
233       </select>   </td> = 233       </select>   </td>
234       <td valign="top"  class="tdText"><select name="module[MediaSize]">   234       <td valign="top"  class="tdText"><select name="module[MediaSize]">
235         <option value="REGULAR" <?php if($module['MediaSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>   235         <option value="REGULAR" <?php if($module['MediaSize']=="REGULAR") echo "selected='selected'"; ?>>Regular</option>
236         <option value="LARGE" <?php if($module['MediaSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>   236         <option value="LARGE" <?php if($module['MediaSize']=="LARGE") echo "selected='selected'"; ?>>Large</option>
237       </select></td>   237       </select></td>
238       <td valign="top"  class="tdText">N/A</td>   238       <td valign="top"  class="tdText">N/A</td>
239       <td valign="top"  class="tdText">70 lbs.</td>   239       <td valign="top"  class="tdText">70 lbs.</td>
240     </tr>   240     </tr>
241     <tr>   241     <tr>
242     <td  class="tdText"><strong>Origin Zip Code:</strong><br />      </td>   242     <td  class="tdText"><strong>Origin Zip Code:</strong><br />      </td>
243     <td valign="top"  class="tdText">   243     <td valign="top"  class="tdText">
244       <input type="text" name="module[zip_origin]" value="<?php echo $module['zip_origin']; ?>" class="textbox" />    </td> <> 244       <input type="text" name="module[ziporigin]" value="<?php echo $module['ziporigin']; ?>" class="textbox" />    </td>
245     <td valign="top"  class="tdText">&nbsp;</td> = 245     <td valign="top"  class="tdText">&nbsp;</td>
246     <td valign="top"  class="tdText">&nbsp;</td>   246     <td valign="top"  class="tdText">&nbsp;</td>
247     <td valign="top"  class="tdText">&nbsp;</td>   247     <td valign="top"  class="tdText">&nbsp;</td>
248     </tr>   248     </tr>
249   <tr>   249   <tr>
250     <td  class="tdText"><strong>USPS Username:</strong><br />      </td>   250     <td  class="tdText"><strong>USPS Username:</strong><br />      </td>
   
File: classes\cart.php  
254                                 $i++; = 254                                 $i++;
255                                   255                                
256                                 $optionStr .= $value;   256                                 $optionStr .= $value;
257                                   257                                
258                                 if($i<$amount){   258                                 if($i<$amount){
259                                           259                                        
260                                         $optionStr .= "."; <> 260                                         $optionStr .= "|";
261                                 = 261                                
262                                 }   262                                 }
263                                   263                                
264                         }   264                         }
265                           265                        
266                         return $optionStr;   266                         return $optionStr;
   
File: includes\boxes\categories.inc.php  
56                                                 $results[$i]['cat_name'] = validHTML($resultsForeign[$k]['cat_name']); = 56                                                 $results[$i]['cat_name'] = validHTML($resultsForeign[$k]['cat_name']);
57                                           57                                        
58                                         }   58                                         }
59                                           59                                        
60                                 }   60                                 }
61                           61                        
    -+ 62                         } else {
      63                                 $results[$i]['cat_name'] = validHTML($results[$i]['cat_name']);
62                         } = 64                         }
63                 <> 65                        
64                         $box_content->assign("DATA",$results[$i]); = 66                         $box_content->assign("DATA",$results[$i]);
65                         $box_content->parse("categories.li");   67                         $box_content->parse("categories.li");
66                 } // end for loop   68                 } // end for loop
67         }   69         }
68           70        
69         if($config['saleMode']>0){   71         if($config['saleMode']>0){
   
File: includes\boxes\shoppingCart.inc.php  
101                 $optionKeys = $cart->getOptions($key); = 101                 $optionKeys = $cart->getOptions($key);
102                   102                
103                 $optionsCost = 0;   103                 $optionsCost = 0;
104                   104                
105                 if(!empty($optionKeys)){   105                 if(!empty($optionKeys)){
106                   106                
107                         $options = explode(".",$optionKeys); <> 107                         $options = explode("|",$optionKeys);
108                         = 108                        
109                           109                        
110                           110                        
111                         foreach($options as $value)   111                         foreach($options as $value)
112                         {   112                         {
113                                 // look up options in database   113                                 // look up options in database
   
File: includes\content\cart.inc.php  
412                 = 412                
413                 $optionsCost = 0;   413                 $optionsCost = 0;
414                 $plainOpts = "";   414                 $plainOpts = "";
415                   415                
416                 if(!empty($optionKeys)){   416                 if(!empty($optionKeys)){
417                   417                
418                         $options = explode(".",$optionKeys); <> 418                         $options = explode("|",$optionKeys);
419                         = 419                        
420                         foreach($options as $value)   420                         foreach($options as $value)
421                         {   421                         {
422                                 // look up options in database   422                                 // look up options in database
423                                 $option = $db->select("SELECT ".$glob['dbprefix']."CubeCart_options_bot.option_id, ".$glob['dbprefix']."CubeCart_options_bot.value_id, option_price, option_symbol, value_name, option_name, assign_id FROM `".$glob['dbprefix']."CubeCart_options_bot` INNER JOIN `".$glob['dbprefix']."CubeCart_options_mid` ON ".$glob['dbprefix']."CubeCart_options_mid.value_id = ".$glob['dbprefix']."CubeCart_options_bot.value_id INNER JOIN `".$glob['dbprefix']."CubeCart_options_top` ON ".$glob['dbprefix']."CubeCart_options_bot.option_id = ".$glob['dbprefix']."CubeCart_options_top.option_id WHERE assign_id = ".$value);   423                                 $option = $db->select("SELECT ".$glob['dbprefix']."CubeCart_options_bot.option_id, ".$glob['dbprefix']."CubeCart_options_bot.value_id, option_price, option_symbol, value_name, option_name, assign_id FROM `".$glob['dbprefix']."CubeCart_options_bot` INNER JOIN `".$glob['dbprefix']."CubeCart_options_mid` ON ".$glob['dbprefix']."CubeCart_options_mid.value_id = ".$glob['dbprefix']."CubeCart_options_bot.value_id INNER JOIN `".$glob['dbprefix']."CubeCart_options_top` ON ".$glob['dbprefix']."CubeCart_options_bot.option_id = ".$glob['dbprefix']."CubeCart_options_top.option_id WHERE assign_id = ".$value);
424                                    424                                 
 
581                         } = 581                         }
582                   582                
583                         $shippingPrice .= "</select>";   583                         $shippingPrice .= "</select>";
584                           584                        
585                           585                        
586                         // if no shipping method is available go to error page   586                         // if no shipping method is available go to error page
587                         if($shippingAvailable!==TRUE && $overweight == TRUE){ <> 587                         if($shippingAvailable!==TRUE && $overWeight == TRUE){
588                         = 588                        
589                                 header("Location: cart.php?act=overWeight");   589                                 header("Location: cart.php?act=overWeight");
590                                 exit;   590                                 exit;
591                           591                        
592                         // if no shipping is available show error   592                         // if no shipping is available show error
593                         } elseif($shippingAvailable!==TRUE){   593                         } elseif($shippingAvailable!==TRUE){
   
File: includes\content\login.inc.php  
70                         } = 70                         }
71                           71                        
72                         // redirect   72                         // redirect
73                         // "login","reg","unsubscribe","forgotPass"   73                         // "login","reg","unsubscribe","forgotPass"
74                         if(isset($_GET['redir']) && !empty($_GET['redir']) && !eregi("logout|login|forgotPass|changePass",base64_decode($_GET['redir']))){   74                         if(isset($_GET['redir']) && !empty($_GET['redir']) && !eregi("logout|login|forgotPass|changePass",base64_decode($_GET['redir']))){
75                                   75                                
76                                 $_GET['redir'] = treatGet($_GET['redir']); <>    
77                                 header("Location: ".str_replace("&amp;","&",base64_decode(treatGet($_GET['redir']))));   76                                 header("Location: ".str_replace("amp;","",treatGet(base64_decode($_GET['redir']))));
78                                 exit; = 77                                 exit;
79                           78                        
80                         } else {   79                         } else {
81           80        
82                                 header("Location: ".$GLOBALS['rootRel']."index.php");   81                                 header("Location: ".$GLOBALS['rootRel']."index.php");
83                                 exit;   82                                 exit;
   
File: includes\content\reg.inc.php  
130                         = 130                        
131                         header("Location: cart.php?act=step1");   131                         header("Location: cart.php?act=step1");
132                         exit;   132                         exit;
133                           133                        
134                         } elseif(isset($_GET['redir']) && !empty($_GET['redir']) && !eregi("logout|login|forgotPass|changePass",$redir)) {   134                         } elseif(isset($_GET['redir']) && !empty($_GET['redir']) && !eregi("logout|login|forgotPass|changePass",$redir)) {
135                           135                        
136                         header("Location: ".str_replace("&amp;","&",$redir)); <> 136                         header("Location: ".str_replace("amp;","",$redir));
137                         exit; = 137                         exit;
138                           138                        
139                         } else {   139                         } else {
140                           140                        
141                         header("Location: index.php");   141                         header("Location: index.php");
142                         exit;   142                         exit;
   
File: includes\content\viewCat.inc.php  
229 // repeated region = 229 // repeated region
230 if($productResults == TRUE){   230 if($productResults == TRUE){
231           231        
232         if($_GET['catId']>0){   232         if($_GET['catId']>0){
233           233        
234                 $view_cat->assign("LANG_CURRENT_DIR",$lang['front']['viewCat']['products_in']);   234                 $view_cat->assign("LANG_CURRENT_DIR",$lang['front']['viewCat']['products_in']);
235                 $view_cat->assign("CURRENT_DIR",getCatDir($currentCat[0]['cat_name'],$currentCat[0]['cat_father_id'], $currentCat[0]['cat_id'], $link=TRUE)); <> 235                 $view_cat->assign("CURRENT_DIR",getCatDir(validHTML($currentCat[0]['cat_name']),$currentCat[0]['cat_father_id'], $currentCat[0]['cat_id'], $link=TRUE));
236         = 236        
237         }   237         }
238           238        
239         for ($i=0; $i<count($productResults); $i++){   239         for ($i=0; $i<count($productResults); $i++){
240           240        
241                 // alternate class   241                 // alternate class
   
File: includes\ini.inc.php  
123 $_COOKIE = $clean->clean_all($_COOKIE); = 123 $_COOKIE = $clean->clean_all($_COOKIE);
124 $_REQUEST = $clean->clean_all($_REQUEST);   124 $_REQUEST = $clean->clean_all($_REQUEST);
125     125  
126 /* END INITIAL SECURITY CHECKS */   126 /* END INITIAL SECURITY CHECKS */
127     127  
128 // version info   128 // version info
129 $ini['ver'] = '3.0.13'; <> 129 $ini['ver'] = '3.0.14';
130 $ini['CCver'] = '30018';   130 $ini['CCver'] = '30019';
131 // Brute Force Protection = 131 // Brute Force Protection
132 $ini['bftime'] = 600;   // seconds   132 $ini['bftime'] = 600;   // seconds
133 $ini['bfattempts'] = 5; // login attempts   133 $ini['bfattempts'] = 5; // login attempts
134     134  
135 // Pages that should be server under SSL (if enabled)   135 // Pages that should be server under SSL (if enabled)
136 $sslPages = array("unsubscribe" => 1,"login" => 1,"logout" => 1,"forgotPass" => 1,"account" => 1,"profile" => 1,"changePass" => 1,"newsletter" => 1,"cart" => 1,"step1" => 1,"step2" => 1,"step3" => 1,"step4" => 1,"step5" => 1,"reg" => 1,"viewOrders" => 1,"viewOrder" => 1,"confirmed" => 1);   136 $sslPages = array("unsubscribe" => 1,"login" => 1,"logout" => 1,"forgotPass" => 1,"account" => 1,"profile" => 1,"changePass" => 1,"newsletter" => 1,"cart" => 1,"step1" => 1,"step2" => 1,"step3" => 1,"step4" => 1,"step5" => 1,"reg" => 1,"viewOrders" => 1,"viewOrder" => 1,"confirmed" => 1);
137 ?>   137 ?>
   
File: modules\gateway\VelocityPay\class.velocityDirect-PHP4.php  
63             $this->VPMerchantID="testmerch"; = 63             $this->VPMerchantID="testmerch";
64             $this->VPMerchantPassword="testpass";   64             $this->VPMerchantPassword="testpass";
65         }   65         }
66         else   66         else
67         {   67         {
68             $this->VPMerchantID=$VPMerchantID;   68             $this->VPMerchantID=$VPMerchantID;
69             $this->VPMerchantPassword=$VPMerchantID; <> 69                         $this->VPMerchantPassword=$VPMerchantPassword;
70         } = 70         }
71           71        
72         $this->gatewayURL = "https://www.velocitypay.co.uk/merchantsecure/".$secureDir."/VPDirect.cfm";   72         $this->gatewayURL = "https://www.velocitypay.co.uk/merchantsecure/".$secureDir."/VPDirect.cfm";
73     }   73     }
74       74    
75     function setCardDetails($VPCardName, $VPCardNumber, $VPExpiryDateMM,   75     function setCardDetails($VPCardName, $VPCardNumber, $VPExpiryDateMM,
   
File: modules\gateway\VelocityPay\class.velocityDirect-PHP5.php  
62         { = 62         {
63             $this->VPMerchantID="testmerch";   63             $this->VPMerchantID="testmerch";
64             $this->VPMerchantPassword="testpass";   64             $this->VPMerchantPassword="testpass";
65         }   65         }
66         else   66         else
67         {   67         {
68             $this->VPMerchantID=$VPMerchantID; <> 68                         $this->VPMerchantID=$VPMerchantID;
69             $this->VPMerchantPassword=$VPMerchantID;   69                         $this->VPMerchantPassword=$VPMerchantPassword;
70         } = 70         }
71           71        
72         $this->gatewayURL = "https://www.velocitypay.co.uk/merchantsecure/".$secureDir."/VPDirect.cfm";   72         $this->gatewayURL = "https://www.velocitypay.co.uk/merchantsecure/".$secureDir."/VPDirect.cfm";
73     }   73     }
74       74    
75     public function setCardDetails($VPCardName, $VPCardNumber, $VPExpiryDateMM,   75     public function setCardDetails($VPCardName, $VPCardNumber, $VPExpiryDateMM,
   
File: modules\shipping\USPS\calc.php  
71                 } = 71                 }
72           72        
73         }   73         }
74     74  
75         foreach($module as $moduleKey => $moduleValue){   75         foreach($module as $moduleKey => $moduleValue){
76           76        
77                 if(ereg("service_",$moduleKey) && $moduleValue==1){ <> 77                 if(ereg("service",$moduleKey) && $moduleValue==1){
78         = 78        
79                         $moduleKey = str_replace("service_","",$moduleKey); <> 79                         $moduleKey = str_replace("service","",$moduleKey);
80                         = 80                        
81                         // only proceed if module is enabled   81                         // only proceed if module is enabled
82                         if($module["service_".$moduleKey]==1){ <> 82                         if($module["service".$moduleKey]==1){
83   = 83  
84                                 switch($moduleKey) {   84                                 switch($moduleKey) {
85                                   85                                
86                                         case "Express":   86                                         case "Express":
87                                                 $package = array(   87                                                 $package = array(
88                                                         'zip_origin' => $module['zip_origin'], <> 88                                                         'zip_origin' => $module['ziporigin'],
89                                                         'zip_dest' => $zip_dest, = 89                                                         'zip_dest' => $zip_dest,
90                                                         'pounds' => $lbs,   90                                                         'pounds' => $lbs,
91                                                         'ounces' => $oz,   91                                                         'ounces' => $oz,
92                                                         'service' => 'EXPRESS',   92                                                         'service' => 'EXPRESS',
93                                                         'size' => $module['expressSize'],   93                                                         'size' => $module['expressSize'],
94                                                         'container' => $module['expressContainer'],   94                                                         'container' => $module['expressContainer'],
 
97                                                 ); = 97                                                 );
98                                                 $overWeight = overWeight(70);   98                                                 $overWeight = overWeight(70);
99                                         break;   99                                         break;
100                                           100                                        
101                                         case "FirstClass":   101                                         case "FirstClass":
102                                                 $package = array(   102                                                 $package = array(
103                                                         'zip_origin' => $module['zip_origin'], <> 103                                                         'zip_origin' => $module['ziporigin'],
104                                                         'zip_dest' => $zip_dest, = 104                                                         'zip_dest' => $zip_dest,
105                                                         'pounds' => $lbs,   105                                                         'pounds' => $lbs,
106                                                         'ounces' => $oz,   106                                                         'ounces' => $oz,
107                                                         'service' => 'FIRST CLASS',   107                                                         'service' => 'FIRST CLASS',
108                                                         'size' => $module['FirstClassSize'],   108                                                         'size' => $module['FirstClassSize'],
109                                                         'country' => $countryName,   109                                                         'country' => $countryName,
 
111                                                 ); = 111                                                 );
112                                                 $overWeight = overWeight(0.812);   112                                                 $overWeight = overWeight(0.812);
113                                         break;   113                                         break;
114                                           114                                        
115                                         case "Priority":   115                                         case "Priority":
116                                                 $package = array(   116                                                 $package = array(
117                                                         'zip_origin' => $module['zip_origin'], <> 117                                                         'zip_origin' => $module['ziporigin'],
118                                                         'zip_dest' => $zip_dest, = 118                                                         'zip_dest' => $zip_dest,
119                                                         'pounds' => $lbs,   119                                                         'pounds' => $lbs,
120                                                         'ounces' => $oz,   120                                                         'ounces' => $oz,
121                                                         'service' => 'PRIORITY',   121                                                         'service' => 'PRIORITY',
122                                                         'size' => $module['prioritySize'],   122                                                         'size' => $module['prioritySize'],
123                                                         'container' => $module['priorityContainer'],   123                                                         'container' => $module['priorityContainer'],
124                                                         'country' => $countryName,   124                                                         'country' => $countryName,
125                                                         'mail_type' => "Package"   125                                                         'mail_type' => "Package"
126                                                 );   126                                                 );
127                                                 $overWeight = overWeight(70);   127                                                 $overWeight = overWeight(70);
128                                         break;   128                                         break;
129                                           129                                        
130                                         case "Parcel-M":        <> 130                                         case "ParcelM":
131                                                 $package = array( = 131                                                 $package = array(
132                                                         'zip_origin' => $module['zip_origin'], <> 132                                                         'zip_origin' => $module['ziporigin'],
133                                                         'zip_dest' => $zip_dest, = 133                                                         'zip_dest' => $zip_dest,
134                                                         'pounds' => $lbs,   134                                                         'pounds' => $lbs,
135                                                         'ounces' => $oz,   135                                                         'ounces' => $oz,
136                                                         'service' => 'PARCEL',   136                                                         'service' => 'PARCEL',
137                                                         'size' => $module['parcel-MSize'], <> 137                                                         'size' => $module['parcelMSize'],
138                                                         'machinable' => 'TRUE', = 138                                                         'machinable' => 'TRUE',
139                                                         'country' => $countryName,   139                                                         'country' => $countryName,
140                                                         'mail_type' => "Package"   140                                                         'mail_type' => "Package"
141                                                 );   141                                                 );
142                                                 $overWeight = overWeight(70);   142                                                 $overWeight = overWeight(70);
143                                         break;   143                                         break;
144                                           144                                        
145                                         case "Parcel-NM": <> 145                                         case "ParcelNM":
146                                                 $package = array( = 146                                                 $package = array(
147                                                         'zip_origin' => $module['zip_origin'], <> 147                                                         'zip_origin' => $module['ziporigin'],
148                                                         'zip_dest' => $zip_dest, = 148                                                         'zip_dest' => $zip_dest,
149                                                         'pounds' => $lbs,   149                                                         'pounds' => $lbs,
150                                                         'ounces' => $oz,   150                                                         'ounces' => $oz,
151                                                         'service' => 'PARCEL',   151                                                         'service' => 'PARCEL',
152                                                         'size' => $module['parcel-NMSize'], <> 152                                                         'size' => $module['parcelNMSize'],
153                                                         'machinable' => 'FALSE', = 153                                                         'machinable' => 'FALSE',
154                                                         'country' => $countryName,   154                                                         'country' => $countryName,
155                                                         'mail_type' => "Package"   155                                                         'mail_type' => "Package"
156                                                 );   156                                                 );
157                                                 $overWeight = overWeight(70);   157                                                 $overWeight = overWeight(70);
158                                         break;   158                                         break;
159                                           159                                        
160                                         case "BPM":   160                                         case "BPM":
161                                                 $package = array(   161                                                 $package = array(
162                                                         'zip_origin' => $module['zip_origin'], <> 162                                                         'zip_origin' => $module['ziporigin'],
163                                                         'zip_dest' => $zip_dest, = 163                                                         'zip_dest' => $zip_dest,
164                                                         'pounds' => $lbs,   164                                                         'pounds' => $lbs,
165                                                         'ounces' => $oz,   165                                                         'ounces' => $oz,
166                                                         'service' => 'BPM',   166                                                         'service' => 'BPM',
167                                                         'size' => $module['BPMSize'],   167                                                         'size' => $module['BPMSize'],
168                                                         'country' => $countryName,   168                                                         'country' => $countryName,
 
170                                                 ); = 170                                                 );
171                                                 $overWeight = overWeight(15);   171                                                 $overWeight = overWeight(15);
172                                         break;   172                                         break;
173                                           173                                        
174                                         case "Library":   174                                         case "Library":
175                                                 $package = array(   175                                                 $package = array(
176                                                         'zip_origin' => $module['zip_origin'], <> 176                                                         'zip_origin' => $module['ziporigin'],
177                                                         'zip_dest' => $zip_dest, = 177                                                         'zip_dest' => $zip_dest,
178                                                         'pounds' => $lbs,   178                                                         'pounds' => $lbs,
179                                                         'ounces' => $oz,   179                                                         'ounces' => $oz,
180                                                         'service' => 'LIBRARY',   180                                                         'service' => 'LIBRARY',
181                                                         'size' => $module['LibrarySize'],   181                                                         'size' => $module['LibrarySize'],
182                                                         'country' => $countryName,   182                                                         'country' => $countryName,
 
184                                                 ); = 184                                                 );
185                                                 $overWeight = overWeight(70);   185                                                 $overWeight = overWeight(70);
186                                         break;   186                                         break;
187                                           187                                        
188                                         case "Media":   188                                         case "Media":
189                                                 $package = array(   189                                                 $package = array(
190                                                         'zip_origin' => $module['zip_origin'], <> 190                                                         'zip_origin' => $module['ziporigin'],
191                                                         'zip_dest' => $zip_dest, = 191                                                         'zip_dest' => $zip_dest,
192                                                         'pounds' => $lbs,   192                                                         'pounds' => $lbs,
193                                                         'ounces' => $oz,   193                                                         'ounces' => $oz,
194                                                         'service' => 'MEDIA',   194                                                         'service' => 'MEDIA',
195                                                         'size' => $module['MediaSize'],   195                                                         'size' => $module['MediaSize'],
196                                                         'country' => $countryName,   196                                                         'country' => $countryName,
   
File: skins\Classic\styleSheets\layout.css  
107 } = 107 }
108 .subCat {         108 .subCat {      
109         text-align: center;   109         text-align: center;
110         padding: 8px;   110         padding: 8px;
111         float: left;   111         float: left;
112         width: 110px;   112         width: 110px;
    -+ 113         height: 50px;
113 } = 114 }
114 .regSep{   115 .regSep{
115         padding: 10px 0px 10px 0px;   116         padding: 10px 0px 10px 0px;
116         margin: 10px 0px 10px 0px;   117         margin: 10px 0px 10px 0px;
117         border-top: 1px solid #cccccc;   118         border-top: 1px solid #cccccc;
118         border-bottom: 1px solid #cccccc;   119         border-bottom: 1px solid #cccccc;
119 }   120 }
    -+ 121 .latestProds {
      122         float: left;
      123         text-align: center;
      124         width: 131px;
      125         height: 120px;
      126 }
   
File: skins\Classic\styleTemplates\content\index.tpl  
4 <br /> = 4 <br />
5 {HOME_CONTENT}   5 {HOME_CONTENT}
6 </div>   6 </div>
7 <!-- BEGIN: latest_prods -->   7 <!-- BEGIN: latest_prods -->
8         <div class="boxContent">   8         <div class="boxContent">
9         <span class="txtContentTitle">{LANG_LATEST_PRODUCTS}</span>   9         <span class="txtContentTitle">{LANG_LATEST_PRODUCTS}</span>
10                 <div> <> 10                 <div style="margin-top: 10px;">
11                 <!-- BEGIN: repeat_prods --> = 11                 <!-- BEGIN: repeat_prods -->
12                         <div style="float: left; text-align: center; width: {VAL_WIDTH}px;"> <> 12                         <div class="latestProds">
13                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a> = 13                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a>
14                                 <br />   14                                 <br />
15                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>   15                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>
16                                 <br />   16                                 <br />
17                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>   17                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>
18                         </div>   18                         </div>
   
File: skins\Killer\styleSheets\layout.css  
141 } = 141 }
142 .subCat {         142 .subCat {      
143         text-align: center;   143         text-align: center;
144         padding: 8px;   144         padding: 8px;
145         float: left;   145         float: left;
146         width: 110px;   146         width: 110px;
    -+ 147         height: 50px;
147 } = 148 }
148 .regSep{   149 .regSep{
149         padding: 10px 0px 10px 0px;   150         padding: 10px 0px 10px 0px;
150         margin: 10px 0px 10px 0px;   151         margin: 10px 0px 10px 0px;
151         border-top: 1px solid #cccccc;   152         border-top: 1px solid #cccccc;
152         border-bottom: 1px solid #cccccc;   153         border-bottom: 1px solid #cccccc;
 
162 } = 163 }
163 .topCatsTabRight {   164 .topCatsTabRight {
164         background-image: url(../styleImages/backgrounds/catTabRight.gif);   165         background-image: url(../styleImages/backgrounds/catTabRight.gif);
165         width: 7px;   166         width: 7px;
166         background-repeat: no-repeat;   167         background-repeat: no-repeat;
167 }   168 }
    -+ 169 .latestProds {
      170         float: left;
      171         text-align: center;
      172         width: 131px;
      173         height: 120px;
      174 }
   
File: skins\Killer\styleTemplates\content\index.tpl  
7 <!-- BEGIN: latest_prods --> = 7 <!-- BEGIN: latest_prods -->
8         <div class="boxContent">   8         <div class="boxContent">
9         <div class="txtContentTitle">{LANG_LATEST_PRODUCTS}</div>   9         <div class="txtContentTitle">{LANG_LATEST_PRODUCTS}</div>
10           10        
11                 <div style="margin-top: 10px;">   11                 <div style="margin-top: 10px;">
12                 <!-- BEGIN: repeat_prods -->   12                 <!-- BEGIN: repeat_prods -->
13                         <div style="float: left; text-align: center; width: {VAL_WIDTH}px;"> <> 13                         <div class="latestProds">
14                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a> = 14                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a>
15                                 <br />   15                                 <br />
16                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>   16                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>
17                                 <br />   17                                 <br />
18                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>   18                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>
19                         </div>   19                         </div>
   
File: skins\Killer\styleTemplates\content\viewCat.tpl  
25     <td class="tdListTitle"><strong>{LANG_DESC}</strong></td> = 25     <td class="tdListTitle"><strong>{LANG_DESC}</strong></td>
26     <td class="tdListTitle"><strong>{LANG_PRICE}</strong></td>   26     <td class="tdListTitle"><strong>{LANG_PRICE}</strong></td>
27         <td class="tdListTitle">&nbsp;</td>   27         <td class="tdListTitle">&nbsp;</td>
28   </tr>   28   </tr>
29   <!-- BEGIN: products -->   29   <!-- BEGIN: products -->
30   <tr>   30   <tr>
31     <td align="center" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self"><img src="{SRC_PROD_THUMB}" alt="{TXT_TITLE}" border="0" title="{TXT_TITLE" /></a></td> <> 31     <td align="center" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self"><img src="{SRC_PROD_THUMB}" alt="{TXT_TITLE}" border="0" title="{TXT_TITLE}" /></a></td>
32     <td valign="top" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self" class="txtDefault"><strong>{TXT_TITLE}</strong></a><br /> = 32     <td valign="top" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self" class="txtDefault"><strong>{TXT_TITLE}</strong></a><br />
33         {TXT_DESC}<div class="txtOutOfStock">{TXT_OUTOFSTOCK}</div></td>   33         {TXT_DESC}<div class="txtOutOfStock">{TXT_OUTOFSTOCK}</div></td>
34         <td align="center" class="{CLASS}">{TXT_PRICE}   34         <td align="center" class="{CLASS}">{TXT_PRICE}
35     <div class="txtSale">{TXT_SALE_PRICE}</div></td>   35     <div class="txtSale">{TXT_SALE_PRICE}</div></td>
36     <td align="right" nowrap='nowrap' class="{CLASS}">   36     <td align="right" nowrap='nowrap' class="{CLASS}">
37         <form action="{CURRENT_URL}" method="post" name="prod{PRODUCT_ID}">   37         <form action="{CURRENT_URL}" method="post" name="prod{PRODUCT_ID}">
   
File: skins\Legend\styleSheets\layout.css  
115 } = 115 }
116 .subCat {         116 .subCat {      
117         text-align: center;   117         text-align: center;
118         padding: 8px;   118         padding: 8px;
119         float: left;   119         float: left;
120         width: 110px;   120         width: 110px;
    -+ 121         height: 50px;
121 } = 122 }
122 .regSep{   123 .regSep{
123         padding: 10px 0px 10px 0px;   124         padding: 10px 0px 10px 0px;
124         margin: 10px 0px 10px 0px;   125         margin: 10px 0px 10px 0px;
125         border-top: 1px solid #cccccc;   126         border-top: 1px solid #cccccc;
126         border-bottom: 1px solid #cccccc;   127         border-bottom: 1px solid #cccccc;
127 }   128 }
    -+ 129 .latestProds {
      130         float: left;
      131         text-align: center;
      132         width: 131px;
      133         height: 120px;
      134 }
   
File: skins\Legend\styleTemplates\content\index.tpl  
4 <br /> = 4 <br />
5 {HOME_CONTENT}   5 {HOME_CONTENT}
6 </div>   6 </div>
7 <!-- BEGIN: latest_prods -->   7 <!-- BEGIN: latest_prods -->
8         <div class="boxContent">   8         <div class="boxContent">
9         <span class="txtContentTitle">{LANG_LATEST_PRODUCTS}</span>   9         <span class="txtContentTitle">{LANG_LATEST_PRODUCTS}</span>
10                 <div> <> 10                 <div style="margin-top: 10px;">
11                 <!-- BEGIN: repeat_prods --> = 11                 <!-- BEGIN: repeat_prods -->
12                         <div style="float: left; text-align: center; width: {VAL_WIDTH}px;"> <> 12                         <div class="latestProds">
13                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a> = 13                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" title="{VAL_PRODUCT_NAME}" /></a>
14                                 <br />   14                                 <br />
15                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>   15                                 <a href="index.php?act=viewProd&amp;productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>
16                                 <br />   16                                 <br />
17                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>   17                                 {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>
18                         </div>   18                         </div>
   
File: switch.php  
47         if( (isset($_GET['lang'])) && (!empty($_GET['lang'])) && (isset($_SESSION['ccUser'])) ){ = 47         if( (isset($_GET['lang'])) && (!empty($_GET['lang'])) && (isset($_SESSION['ccUser'])) ){
48                 $sessData['lang'] = "'".preg_replace('/[^a-zA-Z0-9_\-\+]/', '',$_GET['lang'])."'";   48                 $sessData['lang'] = "'".preg_replace('/[^a-zA-Z0-9_\-\+]/', '',$_GET['lang'])."'";
49                 $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser']));   49                 $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser']));
50                   50                
51                 // detect possible spoofing URL's   51                 // detect possible spoofing URL's
52                 if(!eregi("http://",$_GET['r']) && !eregi("ftp://",$_GET['r']) && !eregi("https://",$_GET['r'])){   52                 if(!eregi("http://",$_GET['r']) && !eregi("ftp://",$_GET['r']) && !eregi("https://",$_GET['r'])){
53                         header("Location: ".str_replace("&amp;","&",treatGet($_GET['r']))); <> 53                         header("Location: ".str_replace("amp;","",treatGet($_GET['r'])));
54                 } else { = 54                 } else {
55                         header("Location: index.php");   55                         header("Location: index.php");
56                 }   56                 }
57                 exit;   57                 exit;
58                   58                
59         } elseif((isset($_GET['currency'])) && !empty($_GET['currency']) && (isset($_SESSION['ccUser']))){   59         } elseif((isset($_GET['currency'])) && !empty($_GET['currency']) && (isset($_SESSION['ccUser']))){
60           60        
61                 $sessData['currency'] = "'".preg_replace('/[^a-zA-Z0-9_\-\+]/', '',$_GET['currency'])."'";   61                 $sessData['currency'] = "'".preg_replace('/[^a-zA-Z0-9_\-\+]/', '',$_GET['currency'])."'";
62                 $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser']));   62                 $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser']));
63                   63                
64                 // detect possible spoofing URL's   64                 // detect possible spoofing URL's
65                 if(!eregi("http://",$_GET['r']) && !eregi("ftp://",$_GET['r']) && !eregi("https://",$_GET['r'])){   65                 if(!eregi("http://",$_GET['r']) && !eregi("ftp://",$_GET['r']) && !eregi("https://",$_GET['r'])){
66                         header("Location: ".str_replace("&amp;","&",treatGet($_GET['r']))); <> 66                         header("Location: ".str_replace("amp;","",treatGet($_GET['r'])));
67                 } else { = 67                 } else {
68                         header("Location: index.php");   68                         header("Location: index.php");
69                 }   69                 }
70                 exit;   70                 exit;
71           71        
72         } else {   72         } else {
73                 header("Location: index.php");   73                 header("Location: index.php");
74                 exit;   74                 exit;
75         }   75         }
76 ?>   76 ?>