0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND saveforlater='0'".$someland." ORDER BY startdate DESC"); $label = $lang['nash4522']; } else if ($setts['isrss']==1&&$_GET['feed']==2) { //Closing Soon $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND saveforlater='0'".$someland." ORDER BY enddate DESC"); $label = $lang['nash4523']; } else if ($setts['isrss']==1&&$_GET['feed']==3) { //Featured Items $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND hpfeat='Y' AND active='1' AND deleted!='1' AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND hpfeat='Y' AND active='1' AND deleted!='1' AND saveforlater='0'".$someland." ORDER BY enddate DESC"); $label = $lang['nash4524']; } else if ($setts['isrss']==1&&$_GET['feed']==4) { //Big Ticket $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart>=10 AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart>=10 AND saveforlater='0'".$someland." ORDER BY bidstart DESC"); $label = $lang['nash4525']; } else if ($setts['isrss']==1&&$_GET['feed']==5) { //Very Expensive $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart>=10000 AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart>=10000 AND saveforlater='0'".$someland." ORDER BY bidstart DESC"); $label = $lang['nash4526']; } else if ($setts['isrss']==1&&$_GET['feed']==6) { //Item Under 10 USD $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart<10".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bidstart<10 AND saveforlater='0'".$someland." ORDER BY bidstart DESC"); $label = $lang['nash4527']; } else if ($setts['isrss']==1&&$_GET['feed']==7) { //Warm Items $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND nrbids>0 AND nrbids<5 AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND nrbids>0 AND nrbids<5 AND saveforlater='0'".$someland." ORDER BY nrbids DESC"); $label = $lang['nash4528']; } else if ($setts['isrss']==1&&$_GET['feed']==8) { //Hot Items $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND nrbids>5 AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND nrbids>5 AND saveforlater='0'".$someland." ORDER BY nrbids DESC"); $label = $lang['nash4529']; } else if ($setts['isrss']==1&&$_GET['feed']==9) { //Buy It Now Items $nbRows = getSqlNumber("user","SELECT id FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bn='Y' AND saveforlater='0'".$someland.""); if ($nbRows>0) $getRows = getSqlResults("user","SELECT * FROM nash_auctions WHERE".(($setts['enable_start_on_first_bid']==1)?" ((closed='1' AND is_start_on_first_bid='1') OR closed='0')":" closed='0'")." AND active='1' AND deleted!='1' AND bn='Y' AND saveforlater='0'".$someland." ORDER BY nrbids DESC"); $label = $lang['nash4530']; } else { echo $lang['note']." ".$lang['nash4521']; exit(); } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "<![CDATA[".$label." ".$lang['nash3795']." ".tagstriper($setts['sitename'])."]]>\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "<![CDATA[".tagstriper($setts['sitename'])."]]>\n"; echo "\n"; echo "\n"; echo "en-us\n"; echo "\n"; echo "\n"; if ($nbRows>0) { foreach($getRows as $rssFeed) { if (trim($rssFeed['itemname'])!="") { echo "\n"; if (trim($rssFeed['picpath'])!="") { if (substr($rssFeed['picpath'],0,7)=='http://'||substr($rssFeed['picpath'],0,8)=='https://') $picurl = ((adultItemCheck($rssFeed['id'])==0)?$rssFeed['picpath']:"config/lang/".$s_sess_lang."/images/adultitem.gif"); if (substr($rssFeed['picpath'],0,7)!='http://'&&substr($rssFeed['picpath'],0,8)!='https://') $picurl = ((adultItemCheck($rssFeed['id'])==0)?$path.$rssFeed['picpath']:"config/lang/".$s_sess_lang."/images/adultitem.gif"); } else { $picurl = $path."config/lang/".$s_sess_lang."/images/nopic.gif"; } $startdate = substr($rssFeed['startdate'],0,4)."-".substr($rssFeed['startdate'],5,2)."-".substr($rssFeed['startdate'],8,2)." ".substr($rssFeed['startdate'],11,2).":".substr($rssFeed['startdate'],14,2).":".substr($rssFeed['startdate'],17,2); $rssFeed['startdate'] = strtotime($startdate); echo "".date("r",$rssFeed['startdate'])."\n"; if ($rssFeed['endtime_type']!="lts"&&$rssFeed['list_till_sold']==0) { $enddate2 = substr($rssFeed['enddate'],0,4)."-".substr($rssFeed['enddate'],5,2)."-".substr($rssFeed['enddate'],8,2)." ".substr($rssFeed['enddate'],11,2).":".substr($rssFeed['enddate'],14,2).":".substr($rssFeed['enddate'],17,2); $rssFeed['enddate'] = strtotime($enddate2); $rssFeed['enddate'] = date("r",$rssFeed['enddate']); $getduration = getSqlRow("user","SELECT description FROM nash_auction_durations WHERE days='".$rssFeed['duration']."'"); } else { $rssFeed['enddate'] = $lang['nash5244']; $getduration['description'] = $lang['nash5244']; } $rssFeedat = getSqlRow("user","SELECT username FROM nash_users WHERE id='".$rssFeed['ownerid']."'"); $parent = getMainCat((int)$rssFeed['category']); $nav = ""; $cntr = 0; if ($parent>0) { $croot = $parent; while ($croot>0) { $crw = getSqlRow("user","SELECT id,parent FROM nash_categories WHERE id='".$croot."'"); if ($cntr==0) { $nav = $c_lang[$crw['id']]; } else { if ($parent!=$croot) $nav = $c_lang[$crw['id']]." > ".$nav; } $cntr++; $croot = $crw['parent']; }} $parent = (int)$rssFeed['category']; $nav2 = ""; $cntr = 0; if ($parent>0) { $croot = $parent; while ($croot>0) { $crw = getSqlRow("user","SELECT id,parent FROM nash_categories WHERE id='".$croot."'"); if ($cntr==0) { $nav2 = $c_lang[$crw['id']]; } else { if ($parent!=$croot) $nav2 = $c_lang[$crw['id']]." > ".$nav2; } $cntr++; $croot = $crw['parent']; }} echo "<![CDATA[".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($rssFeed['itemname'])),ENT_NOQUOTES,$lang['codepage']))."]]>\n"; echo " $rssFeed['itemname'], 'id' => $rssFeed['id']))."\">".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($rssFeed['itemname'])),ENT_NOQUOTES,$lang['codepage']))." (".$lang['nash6079'].": ".$rssFeed['id'].") ".$lang['nash4385']." ".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($rssFeedat['username'])),ENT_NOQUOTES,$lang['codepage']))."
".displayAmount($rssFeed['bidstart'],$rssFeed['currency'],"YES",NULL)." (".$rssFeed['nrbids']." ".$lang['nash86'].")
".$lang['nash6080'].": ".$rssFeed['enddate']."
".$lang['nash2605'].": ".$getduration['description']." | ".$lang['nash404'].": ".$rssFeed['country']." | ".$lang['nash1679'].": ".$rssFeed['zip']."
".$lang['nash1149'].": ".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($c_lang[$rssFeed['category']])),ENT_NOQUOTES,$lang['codepage']))." (".$rssFeed['category'].") ".$lang['nash4745']." ".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($nav)),ENT_NOQUOTES,$lang['codepage']))." (".getMainCat($rssFeed['category']).")
$rssFeed['itemname'], 'id' => $rssFeed['id']))."\">".$lang['nash6081']." | $rssFeed['itemname'], 'id' => $rssFeed['id']))."\">".$lang['nash6082']."]]>
\n"; echo " $rssFeed['itemname'], 'id' => $rssFeed['id']))."]]>\n"; echo "".tagstriper(html_entity_decode(unhtmlentities(addSpecialChars($c_lang[$rssFeed['category']])),ENT_NOQUOTES,$lang['codepage']))."\n"; echo "
\n"; }}; } else { echo "\n"; echo "".$lang['nash6084']."\n"; echo "\n"; } echo "
\n"; echo "
\n";?>