It could help if you did translate it to english, we are very few understanding Danish in here
but try to look in the code, in lini 211 they code ask for a sign and thats the problem.
Posted 04 March 2011, 09:47
Posted 04 March 2011, 22:07
Posted 07 March 2011, 08:47
cristianxb1983, on 28 February 2011, 04:04, said:
Posted 07 March 2011, 09:01
jutee, on 04 March 2011, 22:07, said:
Posted 06 April 2011, 13:49
Posted 06 April 2011, 17:33
Posted 06 April 2011, 17:52
Xpajun, on 06 April 2011, 17:33, said:
Posted 06 April 2011, 18:08
Posted 24 June 2011, 19:54
Posted 24 June 2011, 20:08
PennyP on 20 November 2009, 23:08 said:
PHP manual said:
string html_entity_decode ( string $string [, int $quote_style = ENT_COMPAT [, string $charset = 'UTF-8' ]] )html_entity_decode() is the opposite of htmlentities() in that it converts all HTML entities to their applicable characters from string.
PHP manual said:
string htmlspecialchars ( string $string [, int $flags = ENT_COMPAT [, string $charset [, bool $double_encode = true ]]] )Certain characters have special significance in HTML, and should be represented by HTML entities if they are to preserve their meanings. This function returns a string with some of these conversions made; the translations made are those most useful for everyday web programming. If you require all HTML character entities to be translated, use htmlentities() instead.
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
$data2 = html_entity_decode($data1, ENT_COMPAT, CHARSET); $data3 = htmlspecialchars($data2, ENT_COMPAT, CHARSET);
Posted 22 July 2011, 09:33
cristianxb1983, on 28 February 2011, 04:04, said:
Posted 24 July 2011, 23:21
Admin_PCS.PNG 46.8K
18 downloads
<?php
/*
$Id: product_cycle_slideshow.php
$Path: /catalog/includes/modules/
Products Cycle Slideshow
Copyright (c) 2008 Olof Larsson
Released under the GNU General Public License
20110708 Denkster Changed style of comment from # to //, like everywhere else in OsC
20110711 Denkster Use arrays for Box_Headings, order by, limits, query names and result-arrays;
Combine all queries, while loops and displays in one for-loop.
20110712 Denkster W3C-validate: replace <div class="PCSChild" alt=".."> with <div class="PCSChild"> and
move alt-content to text block below image
Add comments. Replace <s> (deprecated) by <span class="strike">
(and add .strike line-through in stylesheet.css).
Make variables PCS_DISPLAY_BOXES, PCS_MAX_IMAGE_HEIGHT, PCS_MAX_IMAGE_WIDTH controllable via admin
(And add configuration keys PCS_DISPLAY_BOXES, PCS_MAX_IMAGE_HEIGHT, PCS_MAX_IMAGE_WIDTH, to TABLE_CONFIGURATION).
Use variable PCS_DISPLAY_BOXES, to control display of pager boxes true/false
(And add configuration key PCS_DISPLAY_BOXES to TABLE_CONFIGURATION).
20110714 Denkster Move classes for box sizes from stylesheet.css to here, to be able to control them with variables.
Added title=" " attribute to image tag
20110722 Denkster Changed the selected image to display: show the image p.products_image_med if that IS NOT NULL
*/
?>
<style type="text/css">
<!--
.ProductsCycleSlideshowWrapper {
/*width: ProductsCycleSlideshow width +4 */
width: <?php echo PCS_MAX_IMAGE_WIDTH +22;?>px;
padding:0;
margin:0;
overflow: hidden;
text-align:center;
}
.ProductsCycleSlideshow {
/*height: PCSChild height + 2*7(for PCSChild padding) +22 (for 2 lines of text) */
height: <?php echo PCS_MAX_IMAGE_HEIGHT +40;?>px;
/*width: PCSChild width + 2*PCSChild padding */
width: <?php echo PCS_MAX_IMAGE_WIDTH +18;?>px;
padding: 0;
margin: 0;
overflow: hidden;
border: 0px solid #bbc3d3;
background-color: #ffffff;
}
.PCSChild {
/*height: maximum image height +4 (space) */
height: <?php echo PCS_MAX_IMAGE_HEIGHT +4;?>px;
/*width: maximum image width +4 */
width: <?php echo PCS_MAX_IMAGE_WIDTH +4;?>px;
padding: 7px;
text-align: center;
top: 0;
left: 0
}
-->
</style>
<?php
function pcs_href_image($src_path){
$strRet = DIR_WS_IMAGES.'pcs_images/'.basename($src_path).'_'.PCS_MAX_IMAGE_HEIGHT.'_'.PCS_MAX_IMAGE_WIDTH.'_'.PCS_IMAGE_QUALITY.'.jpg';
// This will be the filename of the resized image.
// Check to see if source file exists
if(!file_exists($strRet)){
//Create the file if it does not exist
if(!file_exists($src_path)) {
return DIR_WS_IMAGES.'pcs_images/'.'error1.jpg';
}
// Check to see if source file is readable
elseif(!is_readable($src_path)) {
return DIR_WS_IMAGES.'pcs_images/'.'error2.jpg';
}
// Check if gif
if ( stristr(strtolower($src_path),'.gif')) $oldImage = ImageCreateFromGif($src_path);
// Check if jpg
elseif ( stristr(strtolower($src_path),'.jpg')
|| stristr(strtolower($src_path),'.jpeg')) $oldImage = ImageCreateFromJpeg($src_path);
// Check if png
elseif ( stristr(strtolower($src_path),'.png')) $oldImage = ImageCreateFromPng($src_path);
// Unknown file format
else return DIR_WS_IMAGES.'pcs_images/'.'error3.jpg';
// Create the new image
if(function_exists("ImageCreateTrueColor")){
$newImage = ImageCreateTrueColor(PCS_MAX_IMAGE_WIDTH,PCS_MAX_IMAGE_HEIGHT);
}else{
$newImage = ImageCreate(PCS_MAX_IMAGE_WIDTH,PCS_MAX_IMAGE_HEIGHT);
}
$backgroundColor = imagecolorallocate($newImage,255,255,255);
imagefill($newImage, 0, 0, $backgroundColor);
// Calculate dimensions to which the image must be rezised; then resize if necessary
if ( imagesx($oldImage) > PCS_MAX_IMAGE_WIDTH
|| imagesy($oldImage) > PCS_MAX_IMAGE_HEIGHT){
// Resize image
if ( imagesx($oldImage)/PCS_MAX_IMAGE_WIDTH > imagesy($oldImage)/PCS_MAX_IMAGE_HEIGHT){
// Width is leading in beeing to large
$newWidth = (int)PCS_MAX_IMAGE_WIDTH;
$newHeight = (int)PCS_MAX_IMAGE_WIDTH/imagesx($oldImage)*imagesy($oldImage);
} else {
// Height is leading in beeing to large
$newHeight = (int)PCS_MAX_IMAGE_HEIGHT;
$newWidth = (int)PCS_MAX_IMAGE_HEIGHT/imagesy($oldImage)*imagesx($oldImage);
}
}else{
// Don't rezise image
$newWidth = imagesx($oldImage);
$newHeight = imagesy($oldImage);
}
// Copy the old image onto the new image
ImageCopyResampled($newImage,
$oldImage,
PCS_MAX_IMAGE_WIDTH/2-$newWidth/2,
PCS_MAX_IMAGE_HEIGHT/2-$newHeight/2,
0,
0,
$newWidth,
$newHeight,
imagesx($oldImage),
imagesy($oldImage));
imagejpeg($newImage,$strRet,PCS_IMAGE_QUALITY);
// Save the image
imagedestroy($oldImage); // Free Memory
imagedestroy($newImage); // Free memory
}
return $strRet;
}
?>
<script
type="text/javascript" src="includes/jquery-1.2.6.min.js"></script>
<script
type="text/javascript" src="includes/jquery.cycle.all.min.js"></script>
<script
type="text/javascript" src="includes/jquery.easing.1.3.js"></script>
<script type="text/javascript">
function onPCS1Before() {
$('#PCS1Output').animate({
opacity: 0.0
}, 1000 );
}
function onPCS1After() {
$('#PCS1Output').html($(this).attr("alt"));
$('#PCS1Output').animate({
opacity: 1.0
}, 500 );
}
$(document).ready(function(){
// Inizialize ProductsCycleSlideshow
$('#PCS1').cycle({
fx: '<?php echo PCS_FX?>',
<?php echo (PCS_EASING != 'None')?
(" easing: '".PCS_EASING."',\n"):('');?>
sync: <?php echo PCS_SYNC == 'true' ? '1' : '0';?>,
speed: <?php echo PCS_SPEED;?>,
timeout: <?php echo PCS_TIMEOUT;?>,
pause: <?php echo PCS_PAUSE == 'true' ? '1' : '0';?>,
random: <?php echo PCS_RANDOM == 'true' ? '1' : '0';?>,
<?php echo (PCS_DISPLAY_BOXES == 'true')?
(" pager: '#PCS1Pager',"):('');?>
before: onPCS1Before,
after: onPCS1After
});
});
</script>
<!-- start ProductCycleSlideshow -->
<div class="ProductsCycleSlideshowWrapper">
<div id="PCS1" class="ProductsCycleSlideshow">
<?php
/* use arrays with temp variables to get human-understandable and extensible code
* Product types to display in the product cycle slide show are given a number $i
* '0' => 'new_product', '1' => 'special_product', '2' => 'bestseller'
* It is possible to extend the number of types of products with extra types (e.g. featured products?)
* When extending number of types of products to display, make sure to extend the following 5 arrays!
*/
// Array $limit stores the required amount to display for each product-type
$limit = array('0' => PCS_MAX_DISPLAY_NEW_PRODUCTS,
'1' => PCS_MAX_DISPLAY_SPECIALS,
'2' => PCS_MAX_DISPLAY_BESTSELLERS );
// Array $query[$i] defines the query to select products of type $i to display
$query[] = array();
// Array $extra_where defines the product-type specific part of he WHERE clause
$extra_where = array('0' => '1=1',
'1' => 's.status = 1',
'2' => '1=1' );
// Array $orderby defines the product-type specific part of he ORDER BY clause
$orderby = array('0' => 'p.products_date_added desc',
'1' => 'rand()',
'2' => 'p.products_ordered desc, pd.products_name' );
// Array $box_hd stores the heading texts to display for each product-type
$box_heading = array('0' => BOX_HEADING_WHATS_NEW,
'1' => BOX_HEADING_SPECIALS,
'2' => BOX_HEADING_BESTSELLERS );
for ($i=0, $n=sizeof($limit); $i<$n; $i++) {
/* For each of the defined $selection_types:
* Execute selection of products image, name, price(s);
* Format and display information
*/
if ($limit[$i] > 0 ) {
/* If any products of this $selection_type[$i] are required:
* Select products of the $selection_type[$i], using the appropriate
* extra query arguments
*/
$query[$i] = tep_db_query("
select
distinct p.products_id,
if (p.products_image_med IS NOT NULL,
p.products_image_med,
p.products_image)
as products_image,
p.products_tax_class_id,
pd.products_name,
p.products_price,
s.status,
s.specials_new_products_price
from " . TABLE_PRODUCTS_DESCRIPTION . " pd,
" . TABLE_PRODUCTS . " p
left join " . TABLE_SPECIALS . " s
on p.products_id = s.products_id
where p.products_status = '1'
and p.products_id = pd.products_id
and pd.language_id = '" . (int)$languages_id . "'
and " . $extra_where[$i] . "
order by " . $orderby[$i] . "
limit " . $limit[$i]
);
while ($display_product[$i] = tep_db_fetch_array($query[$i]) ) {
/* For each of the selected products of $selection_type[$i]:
* Assemble the link to the product_info page;
* Assemble a text using the heading text for the $selection_type[$i] and the product name;
* Assemble the price information with the appropriate formatting for (non) special prices
*/
$prod_link = tep_href_link(FILENAME_PRODUCT_INFO,
'products_id=' . $display_product[$i]['products_id']);
$header_and_name = '<b>'.$box_heading[$i].'</b> - '.$display_product[$i]['products_name'].' ';
// when s.status='1' we have a special product; in that case show both prices with special lay-out.
if ($display_product[$i]['status']==1) {
$price = '<span class="strike">'.
$currencies->display_price($display_product[$i]['products_price'],
tep_get_tax_rate($display_product[$i]['products_tax_class_id'])).'</span> '.
'<span class="productSpecialPrice">'.
$currencies->display_price($display_product[$i]['specials_new_products_price'],
tep_get_tax_rate($display_product[$i]['products_tax_class_id']) ).'</span>';
} else {
$price = $currencies->display_price($display_product[$i]['products_price'],
tep_get_tax_rate($display_product[$i]['products_tax_class_id']));
}
/* Now: display the product image, text, name and price */
?>
<div class="PCSChild">
<a href="<?php echo $prod_link; ?>">
<img src="<?php echo pcs_href_image(DIR_WS_IMAGES.$display_product[$i]['products_image']);?>"
alt="<?php echo $display_product[$i]['products_name']; ?>"
title="<?php echo $display_product[$i]['products_name']; ?>">
<?php echo $header_and_name . $price; ?>
</a>
</div>
<?php
} // end while ($display_product[$i] = tep_db_fetch_array($query[$i]) )
} // end if ($limit[$i] > 0 )
} // end for ($i=0, $n=sizeof($selection_types)
?>
</div>
<div id="PCS1Output" class="PCSOutput"></div>
<!-- row of clickable numbered boxes, one for each product in PCS -->
<div id="PCS1Pager" class="PCSPager"></div>
</div>
<!-- end of ProductCycleSlideshow -->
/*--- Beginning of Addition Products Cycle Slideshow ---*/
.slideshow {
padding-left: 10px;
}
/*
.ProductsCycleSlideshowWrapper { width: 504px; padding:0; margin:0; overflow: hidden; text-align:center;}
.ProductsCycleSlideshow { height: 310px; width: 500px; padding:0; margin:0; overflow: hidden; border: 2px solid #bbc3d3; background-color:#fff;}
.PCSChild { height: 296px; width: 486px; padding: 7px; text-align:center; top:0; left:0 }
*/
.PCSChild a {
text-decoration: none;
color: #000000;
}
.PCSChild a img {
border: none;
border-width: 0px;
}
.PCSOutput {
text-align: left;
font-size: 14px;
}
.PCSOutput a {
text-decoration: none;
color: #000000;
}
.PCSPager {
margin: 7px;
}
.PCSPager a {
border: 1px solid #bbc3d3;
background: #ffffff;
color: #bbc3d3;
text-decoration: none;
margin: 0 5px;
padding: 3px 5px;
font-size: 12px;
}
.PCSPager a.activeSlide {
border: 1px solid #000000;
background: #bbc3d3;
color: #000000;
}
.PCSPager a:focus {
outline: none;
}
.strike {
text-decoration: line-through;
}
/*--- End of Addition Products Cycle Slideshow ---*/
</tr><!-- slideshow hieronder? //-->
<?php
/* --- Beginning of Addition Products Cycle Slideshow --- */
/***********
* Switch products_cycle_slideshow on or off with Status-switch configuration parameter from database
* if (PCS_STATUS == 'false') PCS is off,
* if (PCS_STATUS == 'true') PCS is on.
***********/
if (PCS_STATUS == 'true') {
?>
<tr>
<td class="main" align="center"><?php require(DIR_WS_MODULES . 'products_cycle_slideshow.php'); ?></td>
</tr>
<?php
} else {
/* Use next lines when Products Cycle Slideshow is off */
?>
<tr><td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td></tr>
<tr>
<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
</tr>
<?php
}
/*--- End of Addition Products Cycle Slideshow ---*/
# ===== Products Cycle Slideshow ===== # This SQL code will instert the configuration menu and it's keys. # As "DELETE FROM ... " is run before every entry this file can be run over the same database as many times as you like =) # This is good as it makes updating easy. # Future contributors; Please continue this tradition. # # 20110618 Denkster Changed: number for configuration_group = 17 (check if / make the number free!) # 20110619 Denkster Added: configuration_key PCS_STATUS, to switch module on/off # 20110713 Denkster Added: configuration_key PCS_DISPLAY_BOXES for admin to control display of boxes true/false # 20110714 Denkster Added: configuration_key PCS_MAX_IMAGE_HEIGHT and PCS_MAX_IMAGE_WIDTH, for admin to control image sizes # ==================== # Modify length in setfunction configuration group table ALTER TABLE `configuration` CHANGE `set_function` `set_function` VARCHAR( 2047 ); # Insert configuration group ####### NOTE: configuration group number changed from 99 to 17. Check if 17 is free! DELETE FROM configuration_group WHERE configuration_group_id=17; INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (17, 'Products Slideshow', 'Configuration options for Products Cycle Slideshow', 17, 1); # Insert configuration parameters in group # # Added by Denkster # DELETE FROM configuration WHERE configuration_key='PCS_STATUS'; INSERT INTO configuration SET configuration_title='Enable Products Cycle Slideshow?', configuration_key='PCS_STATUS', configuration_value='false', configuration_description='Switch module Products Cycle Slideshow on of off.<br>True means ON, False means OFF.', configuration_group_id='17', sort_order='1', date_added=now(), use_function = NULL, set_function = 'tep_cfg_select_option(array(\'true\', \'false\'),'; DELETE FROM configuration WHERE configuration_key='PCS_DISPLAY_BOXES' INSERT INTO configuration SET configuration_title='Show a row of numbered boxes below product image?', configuration_key='PCS_DISPLAY_BOXES', configuration_value='false', .configuration_description='Show a clickable box for every product<br> in the Products Cycle Slideshow? Boxes will<br> appear in a horizontal row below the product<br> image and price. Boxes occupy verticaal space!<br> <b>true means show boxes, false means no boxes.</b>', configuration_group_id='17', sort_order='12', date_added=now(), use_function = NULL, set_function = 'tep_cfg_select_option(array(\'true\', \'false\'),'; DELETE FROM configuration WHERE configuration_key='PCS_MAX_IMAGE_HEIGHT' INSERT INTO configuration SET configuration_title='Maximum height available for image', configuration_key='PCS_MAX_IMAGE_HEIGHT', configuration_value='202', configuration_description='Image height in pixels.<br> Higher images will be resized to fit this maximum.<br> See also Maximum width available for image.', configuration_group_id='17', sort_order='13', date_added=now(), use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_MAX_IMAGE_WIDTH' INSERT INTO configuration SET configuration_title='Maximum width available for image', configuration_key='PCS_MAX_IMAGE_WIDTH', configuration_value='382', configuration_description='Image width in pixels.<br> Wider images will be resized to fit this maximum.<br> See also Maximum height available for image', configuration_group_id='17', sort_order='14', date_added=now(), use_function = NULL, set_function = NULL; # # end added by Denkster DELETE FROM configuration WHERE configuration_key='PCS_IMAGE_QUALITY'; INSERT INTO configuration SET configuration_title='General - Image Quality', date_added=NOW(), sort_order='2', configuration_group_id=17, configuration_key='PCS_IMAGE_QUALITY', configuration_value='85', configuration_description='<p>Which quality should the images in the slideshow have? (1-100)</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_MAX_DISPLAY_NEW_PRODUCTS'; INSERT INTO configuration SET configuration_title='Items - Number of New Products', date_added=NOW(), sort_order='3', configuration_group_id=17, configuration_key='PCS_MAX_DISPLAY_NEW_PRODUCTS', configuration_value='2', configuration_description='<p>How many new products should be in the slideshow?</p><p><b>Note:</b> This is the maximum value. If fewer products are found, the found ones will be used.</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_MAX_DISPLAY_SPECIALS'; INSERT INTO configuration SET configuration_title='Items - Number of Specials', date_added=NOW(), sort_order='4', configuration_group_id=17, configuration_key='PCS_MAX_DISPLAY_SPECIALS', configuration_value='2', configuration_description='<p>How many specials should be in the slideshow?</p><p><b>Note:</b> This is the maximum value. If fewer products are found, the found ones will be used.</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_MAX_DISPLAY_BESTSELLERS'; INSERT INTO configuration SET configuration_title='Items - Number of Bestsellers', date_added=NOW(), sort_order='5', configuration_group_id=17, configuration_key='PCS_MAX_DISPLAY_BESTSELLERS', configuration_value='2', configuration_description='<p>How many bestsellers should be in the slideshow?</p><p><b>Note:</b> This is the maximum value. If fewer products are found, the found ones will be used.</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_SPEED'; INSERT INTO configuration SET configuration_title='FX - Transition Duration', date_added=NOW(), sort_order='5', configuration_group_id=17, configuration_key='PCS_SPEED', configuration_value='2000', configuration_description='<p>The duration of the transition in milliseconds</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_TIMEOUT'; INSERT INTO configuration SET configuration_title='FX - Timeout (display time)', date_added=NOW(), sort_order='6', configuration_group_id=17, configuration_key='PCS_TIMEOUT', configuration_value='8000', configuration_description='<p>The time in milliseconds between transitions</p>', use_function = NULL, set_function = NULL; DELETE FROM configuration WHERE configuration_key='PCS_PAUSE'; INSERT INTO configuration SET configuration_title='General - Pause onMouseOver?', date_added=NOW(), sort_order='10', configuration_group_id=17, configuration_key='PCS_PAUSE', configuration_value='true', configuration_description='<p>Pause the slideshow on mouse over?</p>', use_function = NULL, set_function = 'tep_cfg_select_option(array(\'true\', \'false\'),'; DELETE FROM configuration WHERE configuration_key='PCS_FX'; INSERT INTO configuration SET configuration_title='FX - Transition FX', date_added=NOW(), sort_order='8', configuration_group_id=17, configuration_key='PCS_FX', configuration_value='scrollHorz', configuration_description='<p>Which transition FX should be used?</p>', use_function = NULL, set_function = 'tep_cfg_select_option(array(\'blindX\', \'blindY\', \'blindZ\', \'cover\', \'curtainX\', \'curtainY\', \'fade\', \'fadeZoom\', \'growX\', \'growY\', \'scrollUp\', \'scrollDown\', \'scrollLeft\', \'scrollRight\', \'scrollHorz\', \'scrollVert\', \'shuffle\', \'slideX\', \'slideY\', \'toss\', \'turnUp\', \'turnDown\', \'turnLeft\', \'turnRight\', \'uncover\', \'wipe\', \'zoom\'),'; DELETE FROM configuration WHERE configuration_key='PCS_EASING'; INSERT INTO configuration SET configuration_title='FX - Easing', date_added=NOW(), sort_order='9', configuration_group_id=17, configuration_key='PCS_EASING', configuration_value='None', configuration_description='<p>Which easing style should be used?</p>', use_function = NULL, set_function = 'tep_cfg_select_option(array(\'None\',\'easeInQuad\', \'easeOutQuad\', \'easeInOutQuad\', \'easeInCubic\', \'easeOutCubic\', \'easeInOutCubic\', \'easeInQuart\', \'easeOutQuart\', \'easeInOutQuart\', \'easeInQuint\', \'easeOutQuint\', \'easeInOutQuint\', \'easeInSine\', \'easeOutSine\', \'easeInOutSine\', \'easeInExpo\', \'easeOutExpo\', \'easeInOutExpo\', \'easeInCirc\', \'easeOutCirc\', \'easeInOutCirc\', \'easeInElastic\', \'easeOutElastic\', \'easeInOutElastic\', \'easeInBack\', \'easeOutBack\', \'easeInOutBack\', \'easeInBounce\', \'easeOutBounce\', \'easeInOutBounce\'),'; DELETE FROM configuration WHERE configuration_key='PCS_SYNC'; INSERT INTO configuration SET configuration_title='FX - Sync transitions?', date_added=NOW(), sort_order='10', configuration_group_id=17, configuration_key='PCS_SYNC', configuration_value='true', configuration_description='The sync option controls whether the slide transitions occur simultaneously. The default is true which means that the current slide transitions out as the next slide transitions in.', use_function = NULL, set_function = 'tep_cfg_select_option(array(\'true\', \'false\'),'; DELETE FROM configuration WHERE configuration_key='PCS_RANDOM'; INSERT INTO configuration SET configuration_title='General - Display randomly?', date_added=NOW(), sort_order='11', configuration_group_id=17, configuration_key='PCS_RANDOM', configuration_value='false', configuration_description='<p>Display the items in random order?</p>', use_function = NULL, set_function = 'tep_cfg_select_option(array(\'true\', \'false\'),';
Posted 24 July 2011, 23:39
Denkster, on 24 July 2011, 23:21, said:
Posted 29 July 2011, 02:31
PennyP, on 25 November 2009, 02:27, said:
Posted 17 November 2011, 18:55
Posted 20 November 2011, 05:18
Posted 21 November 2011, 21:08
<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>with
<?php require(DIR_WS_MODULES . 'products_cycle_slideshow.php'); ?>
Edited by LDeeJay, 21 November 2011, 21:08.