'".$time_unformatted."' AND item_format!='13'"); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "<![CDATA[".(($lang['ptp1238']!=""&&$lang['ptp1238']==$setts['site_name'])?$lang['ptp1238']:$setts['site_name'])." | ".$lang['ptp1026']."]]>\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "<![CDATA[".(($lang['ptp1238']!=""&&$lang['ptp1238']==$setts['site_name'])?$lang['ptp1238']:$setts['site_name'])." | ".$lang['ptp1026']."]]>\n"; echo "\n"; echo "\n"; echo "en-us\n"; echo "\n"; if ($totLiveItems>0) { $getProducts = mysql_query("SELECT * FROM protopenny_items WHERE start_time<'".$time_unformatted."' AND end_time>'".$time_unformatted."' AND item_format!='13' ORDER BY id DESC"); while ($products = mysql_fetch_array($getProducts)) { $formatDetails = getSqlRow("SELECT * FROM protopenny_item_formats WHERE id='".$products['item_format']."'"); $pictures_array = explode("^",$products['pictures_array']); $productPhoto = ($path.($pictures_array[0]!="")?$pictures_array[0]:$setts['default_skin']."images/noimage.gif"); $categoryLabel = str_replace(" ","-",addSpecialChars($products['main_category_title'])); $categoryLabel = str_replace("&","and",$categoryLabel); $category = "".$lang['ptp453']." > ".$products['main_category_title'].""; $rssCategory = $products['main_category_title']; echo "\n"; echo "".date("r",strtotime(convert_date_xlong($products['start_time'])))."\n"; echo "<![CDATA[".addSpecialChars($products['title'])."]]>\n"; $productLabel = str_replace(" ","-",remove_accent(html_entity_decode($products['title'],ENT_NOQUOTES,'UTF-8'))); $productLabel = str_replace("&","and",$productLabel); $productDescription = strip_tags(addSpecialChars($products['description'])); $productDescription = str_replace(" "," ",$productDescription); $productDescription = str_replace("&","and",$productDescription); $productDescription = str_replace("","",$productDescription); $productDescriptionFinal = substr($productDescription,0,400); $productDescriptionDots = ((strlen($productDescription)>400)?"...":""); echo "*".$lang['ptp1027']." ".displayAmount($products['current_price'])." ".$lang['ptp2']." ".displayAmount($products['retail_price'])." | ".$category."
*".$lang['ptp1028'].": ".$lang['ptp1029']."
Description: ".$productDescriptionFinal.$productDescriptionDots."
\"".$formatDetails['name']."\"\"".$formatDetails['name']."\"]]>
\n"; echo "\n"; echo "".$path."index.php?page=auctionview&title=".$productLabel."&id=".$products['id']."\n"; echo "".$rssCategory."\n"; echo "
\n"; }} else { echo "\n"; echo "".date("r",strtotime(convert_date_xlong(time()+(3600*$diff))))."\n"; echo "<![CDATA[".(($setts['maintenance_mode']==1)?(($lang['ptp1238']!=""&&$lang['ptp1238']==$setts['site_name'])?$lang['ptp1238']:$setts['site_name'])." - ".$lang['ptp488']:$lang['ptp123'])."]]>\n"; echo "\n"; echo "\n"; echo "-\n"; echo "-\n"; echo "\n"; } echo "
\n"; echo "
\n"; $contents = ob_get_contents(); ob_end_clean(); echo replace_for_mod_rewrite($contents);?>