GetRow("select * from ".DB_TABLE_PREFIX."web_pages where seo_name = '".$uri[1]."'"); foreach($row as $k => $v) $$k = stripslashes($v); $page_id = $id; $txt_h1 = $header_text; $txt_h6 = $subheader_text; $additional_pg_html = $additional_html; set_session('ses_return_url', $_SERVER['REQUEST_URI']); //var_dump('miko'); ?>



Execute("SELECT * FROM " . DB_TABLE_PREFIX . "products WHERE price != '' AND product_type='4' AND status=1 ORDER BY order_no ASC" ); $Total = $packages->RecordCount(); if($Total > 0){ $br = 0; while ( !$packages->EOF ) { $Link = BASE_PATH . "orders/add2cart/" . $packages->fields( 'seo_name' ); $LinkText = '» $' . calculatePrice( $packages->fields( 'id' ), 1 ) . ' Buy Package'; $ppthmb = false; $Thumbnail = $db->GetRow( "SELECT id,product_id,file,img_place FROM " . DB_TABLE_PREFIX . "products_images WHERE product_id = '" . $packages->fields('id') . "' AND img_place = 'List View' AND status = 1 ORDER BY order_no LIMIT 0,1" ); if( trim($Thumbnail[ 'file' ]) == ""){ $Thumbnail = $db->GetRow( "SELECT id,product_id,file,img_place FROM " . DB_TABLE_PREFIX . "products_images WHERE product_id = '" . $packages->fields('id') . "' AND img_place = 'Gallery' AND status = 1 ORDER BY order_no LIMIT 0,1"); $ppthmb = true; //echo "asdasdsad"; } $ImagePath = 'up_data/products_gallery/' . $Thumbnail[ 'file' ]; if(!file_exists($ImagePath)){ $ImagePath = 'images/no_image.jpeg'; } /*if ( $Thumbnail[ 'file' ] != '' ) { $ImagePath = 'up_data/products_gallery/' . $Thumbnail[ 'file' ]; if ( file_exists( $ImagePath ) ) $ThumbnailImage = ''; else{ $ThumbnailImage = getTimThumbImg($ImagePath, 200, 200, '', '', '', '', ''); } } else { $ThumbnailImage = ''; }*/ $package_ids = $packages->fields( 'package' ); ?>
", $br); ?>

fields( 'name' )); ?>

<?php echo stripslashes( $packages->fields( 'seo_name' ) )?>

fields( 'short_details' ), 60 )?>

fields( 'multiple_package_paragraph_desc' ), 530 )?>

fields( 'show_view_detail_link' ) == 1){ echo '

Learn More

'; } ?>
Execute( "SELECT * FROM " . DB_TABLE_PREFIX . "products WHERE price != '' AND id IN ($package_ids) ORDER BY order_product ASC" ); if($products->RecordCount() > 0){ while ( !$products->EOF ) { $arr_prods[$products->fields( 'id' )] = $products->fields; $products->MoveNext(); } $products->Close(); } //print_r($arr_prods); //exit; //$products = $db->Execute( "SELECT * FROM " . DB_TABLE_PREFIX . "products WHERE price != '' AND id IN ($package_ids) ORDER BY order_product ASC" ); $arr_pack = explode(",",$package_ids); if(sizeof($arr_pack) > 0){ ?> EOF ) { foreach($arr_pack as $key => $val ){ $products = $arr_prods[$val]; if ( $products['length'] > "0" ) { $Length = $products['length'] . " " . productLengthUnit( $products['product_type'] ); } else { $Length = "N/A"; } ?>
Name Length
MoveNext(); } $packages->Close(); }else{?>
Sorry no record found!