$fordatacatnamelast=''; $catidlength=strlen($catid); $newcatid=substr($catid,1,$catidlength-3); $catid_array=explode('**',$newcatid); while ($catidelement=each($catid_array)){ $fordatacatname=$fordatacatname.'**'.$catidelement['value']; $fordatacatnamelast=substr($fordatacatname,1,strlen($fordatacatname)).'*#'; $database->setQuery("SELECT n.* FROM #__seyret_categories AS n WHERE catid='$fordatacatnamelast'"); $cat = $database->loadObjectList(); foreach ($cat as $cat) { $cat_cat = $cat->categoryname; } $catids=$catids.$cat_cat.' - '; } $catidlast=substr($catids,0, strlen($catids)-3); $videocats[] = mosHTML::makeOption( $id, $catidlast ); } $categorylist = mosHTML::selectList($videocats,"cid",'id="cid" class="rssgenerateoptionboxes" onchange=updatersslink() size="1"',"value","text"); $feedtype[] = mosHTML::makeOption( "date", _SEYRETDATE ); $feedtype[] = mosHTML::makeOption( "rating", _RATING ); $feedtypelist = mosHTML::selectList($feedtype,"feedtype",'id="feedtype" class="rssgenerateoptionboxes" onchange=updatersslink() size="1"',"value","text" ); $ordertype[] = mosHTML::makeOption( "d", _DESCENDING ); $ordertype[] = mosHTML::makeOption( "a", _ASCENDING ); $ordertypelist = mosHTML::selectList($ordertype,"ordertype",'id="ordertype" class="rssgenerateoptionboxes" onchange=updatersslink() size="1"',"value","text" ); $feedlimit[] = mosHTML::makeOption( "5"); $feedlimit[] = mosHTML::makeOption( "10"); $feedlimit[] = mosHTML::makeOption( "15"); $feedlimit[] = mosHTML::makeOption( "20"); $feedlimit[] = mosHTML::makeOption( "25"); $feedlimit[] = mosHTML::makeOption( "30"); $feedlimit[] = mosHTML::makeOption( "35"); $feedlimit[] = mosHTML::makeOption( "40"); $feedlimit[] = mosHTML::makeOption( "45"); $feedlimit[] = mosHTML::makeOption( "50"); $feedlimitlist = mosHTML::selectList($feedlimit,"feedlimit",'id="feedlimit" class="rssgenerateoptionboxes" onchange=updatersslink() size="1"',"value","text", "15" ); $rssimage=$mosConfig_live_site."/components/com_seyret/themes/".$theme."/images/rss.png"; $rssbigimage=$mosConfig_live_site."/components/com_seyret/themes/".$theme."/images/rssbig.png"; $openrssimage=$mosConfig_live_site."/components/com_seyret/themes/".$theme."/images/gotorss.png"; ?>
Please select feed type and your feed options below. Feed link will be updated automatically when you change options.
rss
rss  rss