/** * Generate rss page config header. */ private function showHeader() { ?> <mediaDisplay name="photoView" rowCount="1" columnCount="5" drawItemText="no" showHeader="no" showDefaultInfo="no" menuBorderColor="255:255:255" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" itemOffsetXPC="71.5" itemOffsetYPC="69.5" itemWidthPC="4.7" itemHeightPC="8" backgroundColor="-1:-1:-1" itemBackgroundColor="-1:-1:-1" sliding="no" itemGap="0" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" imageUnFocus="null" imageParentFocus="null" imageBorderPC="0" forceFocusOnItem="yes" cornerRounding="yes" itemBorderColor="-1:-1:-1" focusBorderColor="-1:-1:-1" unFocusBorderColor="-1:-1:-1"> <?php xVoDLoader(); ?> <!-- PUZZLE IMAGE --> <image redraw="yes" offsetXPC="43.9" offsetYPC="71.6" widthPC="29.05" heightPC="6.09" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/home_title.jpg </image> <!-- SELECTED MENU ITEM TITLE --> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="49" offsetYPC="67.4" widthPC="25" heightPC="14" fontSize="20" lines="1"> <script> getItemInfo("subtitle"); </script> </text> <!-- FAVOURITES KEYS TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="74.65" offsetYPC="41.9" widthPC="23" heightPC="2.85" fontSize="14" lines="1"> <![CDATA[<?php echo resourceString("home_screen_favourite_websites"); ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="76.65" offsetYPC="47.62" widthPC="20.83" heightPC="2.85" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_movies") . " (" . $this->favouriteMovieWebsite[0] . ")"; ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="76.65" offsetYPC="53.34" widthPC="20.83" heightPC="2.85" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_series") . " (" . $this->favouriteSerieWebsite[0] . ")"; ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="76.65" offsetYPC="59.06" widthPC="20.83" heightPC="2.85" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_documentaries") . " (" . $this->favouriteDocumentaryWebsite[0] . ")"; ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="76.65" offsetYPC="64.78" widthPC="20.83" heightPC="2.85" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_anime") . " (" . $this->favouriteAnimeWebsite[0] . ")"; ?> ]]> </text> <itemDisplay> <image redraw="yes" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) getItemInfo(-1,"imageover"); else getItemInfo(-1,"image"); </script> </image> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if( userInput == "one" ){ jumpToLink("favouriteMovieWebsite"); redrawDisplay(); } if(userInput == "two"){ showIdle(); jumpToLink("favouriteSerieWebsite"); redrawDisplay(); } if(userInput == "three"){ showIdle(); jumpToLink("favouriteDocumentaryWebsite"); redrawDisplay(); } if(userInput == "video_search"){ showIdle(); jumpToLink("favouriteAnimeWebsite"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/home.jpg </image> </backgroundDisplay> </mediaDisplay> <favouriteMovieWebsite> <link> <?php echo $this->favouriteMovieWebsite[1] . "\n"; ?> </link> </favouriteMovieWebsite> <favouriteSerieWebsite> <link> <?php echo $this->favouriteSerieWebsite[1] . "\n"; ?> </link> </favouriteSerieWebsite> <favouriteDocumentaryWebsite> <link> <?php echo $this->favouriteDocumentaryWebsite[1] . "\n"; ?> </link> </favouriteDocumentaryWebsite> <favouriteAnimeWebsite> <link> <?php echo $this->favouriteAnimeWebsite[1] . "\n"; ?> </link> </favouriteAnimeWebsite> <?php }
private function showHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="photoView" showHeader="no" rowCount="2" columnCount="4" drawItemText="no" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" itemOffsetXPC="8" itemOffsetYPC="16.10" itemWidthPC="10.12" itemHeightPC="24" itemGapXPC="0.5" itemGapYPC="0.1" itemBorderColor="-1:-1:-1" forceFocusOnItem="yes" itemCornerRounding="yes" itemImageWidthPC="10.12" itemImageHeightPC="24" backgroundColor="0:0:0" sliding="yes" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" bottomYPC="100" sideTopHeightPC="0" > <?php xVoDLoader(); ?> <text redraw="yes" backgroundColor="10:10:10" offsetXPC="50.5" offsetYPC="17" widthPC="44" heightPC="47.5"> </text> <!-- ACTUAL SELECTED ITEM AND NUMBER --> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="255:255:255" direction="vertical" offsetXPC="51" offsetYPC="61" widthPC="6" heightPC="3" fontSize="12" lines="1"> <script> "" + (1+getFocusItemIndex()) + " / <?php echo count($this->playlist->getPlaylistLinks()); ?> "; </script> </text> <!-- PLAYLIST TITLE --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:154:205" offsetXPC="6.55" offsetYPC="10.48" widthPC="90" heightPC="4.28" fontSize="14" lines="1"> <![CDATA[<?php echo strtoupper($this->title); ?> ]]> </text> <!-- SELECTED ITEM INFO --> <image redraw="yes" offsetXPC="51.5" offsetYPC="18.10" widthPC="14.18" heightPC="34"> <script> getItemInfo(-1,"image"); </script> </image> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="0:154:205" offsetXPC="51" offsetYPC="53" widthPC="15.18" heightPC="3" fontSize="10" lines="1"> <script> getItemInfo(-1,"type"); </script> </text> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="0:154:205" offsetXPC="51" offsetYPC="56" widthPC="15.18" heightPC="3" fontSize="10" lines="1"> <script> getItemInfo(-1,"format"); </script> </text> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="255:255:0" offsetXPC="66.5" offsetYPC="18.10" widthPC="28" heightPC="5" fontSize="12" lines="1"> <script> getItemInfo(-1,"name"); </script> </text> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="255:255:255" offsetXPC="66.5" offsetYPC="24.10" widthPC="28" heightPC="38" fontSize="11" lines="13"> <script> getItemInfo(-1,"description"); </script> </text> <itemDisplay> <image redraw="no" offsetXPC="1" offsetYPC="1" widthPC="98" heightPC="98" > <script> getItemInfo(-1,"image"); </script> </image> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/wall-2x7-focus.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/wall-2x7-thumbnail.png"; </script> </image> <text redraw="yes" backgroundColor="10:10:10" foregroundColor="255:255:255" offsetXPC="66.5" offsetYPC="24.10" widthPC="28" heightPC="38" fontSize="11" lines="1"> <script> hola; </script> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/playlist.png </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?PHPSESID=" . session_id(); ?> </link> </homePageLink> <?php }
/** * ------------------------------------------------------------------------- */ private function getPlayHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="threePartsView" showDefaultInfo="no" bottomYPC="0" itemGap="0" itemPerPage="7" showHeader="no" fontSize="14" itemBorderColor="-1:-1:-1" menuBorderColor="-1:-1:-1" itemImageXPC="72" itemImageHeightPC="0" itemImageWidthPC="0" imageFocus="null" imageUnFocus="null" imageParentFocus="null" itemXPC="72" itemYPC="5" itemWidthPC="26" itemHeightPC="14" capWidthPC="58" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="0:0:0" drawItemText="no" imageBorderPC="0"> <?php xVoDLoader(); ?> <!-- RSS PUZZLE, MOVIE PART --> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="71.65" heightPC="100" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-inlist-noright.jpg </image> <!-- TOP MENU TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.5" offsetYPC="3.1" widthPC="10" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_categories"); ?> ]]> </text> <!-- COVER IMAGE --> <image redraw="no" offsetXPC="2.8" offsetYPC="23.8" widthPC="18.9" heightPC="48.1" backgroundColor="-1:-1:-1" > <?php echo $this->image; ?> </image> <!-- MOVIE TITLE --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:154:205" offsetXPC="23" offsetYPC="23.5" widthPC="50" heightPC="5" fontSize="16" lines="1"> <?php echo strtoupper($this->movieTitle); ?> </text> <!-- MOVIE ITEM TITLE --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="23.6" offsetYPC="33.2" widthPC="20" heightPC="10" fontSize="12" lines="3"> <script> getItemInfo("title"); </script> </text> <itemDisplay> <image redraw="yes" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-focus_300.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-unfocus_300.png"; </script> </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="3" offsetYPC="12" widthPC="94" heightPC="76" fontSize="12" lines="3"> <script> getItemInfo(-1,"title"); </script> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if ( userInput == "zero" ) { showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> </mediaDisplay> <homePageLink> <link> <?php echo SCRAPER_URL . "series.php" . URL_AMP . "PHPSESID=" . session_id(); ?> </link> </homePageLink> <?php }
/** * */ private function showHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="threePartsView" showDefaultInfo="no" bottomYPC="0" itemGap="0" itemPerPage="8" showHeader="no" fontSize="14" itemBorderColor="-1:-1:-1" menuBorderColor="-1:-1:-1" itemImageXPC="10" itemImageYPC="18.10" itemImageHeightPC="0" itemImageWidthPC="80" itemXPC="10" itemYPC="18.10" itemWidthPC="80" itemHeightPC="5.65" capWidthPC="0" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="0:0:0" drawItemText="no" imageBorderPC="0"> <?php xVoDLoader(); ?> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:154:205" offsetXPC="6.55" offsetYPC="10.48" widthPC="90" heightPC="4.28" fontSize="14" lines="1"> <![CDATA[<?php echo strtoupper($this->title); ?> ]]> </text> <itemDisplay> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="4" heightPC="100" > <script> getItemInfo(-1,"image"); </script> </image> <text redraw="yes" offsetXPC="4" offsetYPC="12" widthPC="95" heightPC="100" fontSize="14" lines="1"> <script> getItemInfo(-1,"title"); </script> <foregroundColor> <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "255:255:0"; else "255:255:255"; </script> </foregroundColor> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if ( userInput == "zero" ) { showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/playlist.png </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?PHPSESID=" . session_id(); ?> </link> </homePageLink> <?php }
function printHeader() { ?> <mediaDisplay name="photoView" showHeader="no" rowCount="5" columnCount="1" drawItemText="no" showDefaultInfo="no" itemImageXPC="100" itemImageYPC="100" itemOffsetXPC="18" itemOffsetYPC="10" sliding="yes" itemWidthPC="80" itemHeightPC="8" itemBorderColor="-1:-1:-1" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" bottomYPC="88" sideTopHeightPC="20" itemBackgroundColor="-1:-1:-1" backgroundColor="-1:-1:-1" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" fontSize="18" imageBorderPC="0"> <?php xVoDLoader(); ?> <?php if (COOKIE_STATE_ACTIVATED) { ?> <image redraw="no" offsetXPC="1" offsetYPC="20" widthPC="18" heightPC="32.5" > <?php echo XTREAMER_IMAGE_PATH; ?> img/megaupload-act.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="4" offsetYPC="54" widthPC="14" heightPC="4" fontSize="16" lines="1"> <?php echo resourceString("title_cookie_on"); ?> </text> <?php } else { ?> <image redraw="no" offsetXPC="1" offsetYPC="20" widthPC="18" heightPC="32.5" > <?php echo XTREAMER_IMAGE_PATH; ?> img/megaupload-des.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="2" offsetYPC="54" widthPC="16" heightPC="4" fontSize="16" lines="1"> <?php echo resourceString("title_cookie_off"); ?> </text> <?php } ?> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:102:19" offsetXPC="25" offsetYPC="50" widthPC="80" heightPC="16" fontSize="14" lines="4"> <![CDATA[<?php echo resourceString("title_modify_cookie_help"); ?> ]]> </text> <itemDisplay> <text redraw="yes" backgroundColor="-1:-1:-1" offsetXPC="0" offsetYPC="10" widthPC="100" heightPC="80" fontSize="16" lines="1"> <script> getItemInfo(-1,"title"); </script> <foregroundColor> <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "0:154:205"; else "255:255:255"; </script> </foregroundColor> </text> </itemDisplay> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/setup.jpg </image> </backgroundDisplay> </mediaDisplay> <?php }
function newVersionAvailable($localversion, $hostversion, $serverquery) { ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://purl.org/dc/elements/1.1/"> <mediaDisplay name="photoView" showHeader="yes" rowCount="1" columnCount="2" drawItemText="yes" showDefaultInfo="no" itemOffsetXPC="25" itemOffsetYPC="56" sliding="yes" itemPerPage="2" itemBorderColor="180:200:50" itemWidthPC="25" itemHeightPC="7" bottomYPC="88" sideTopHeightPC="20" itemBackgroundColor="0:0:0" itemGap="0" backgroundColor="0:0:0" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" fontSize="18"> <?php xVoDLoader(); ?> <backgroundDisplay> <image offsetXPC="2" offsetYPC="0" widthPC="96" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-black.jpg </image> <text backgroundColor="0:0:0" offsetXPC="0" offsetYPC="0" widthPC="60" heightPC="8" lines="1"/> <text backgroundColor="0:0:0" offsetXPC="66" offsetYPC="0" widthPC="34" heightPC="8" lines="1"> Made by Mezzo feat. exe </text> <image offsetXPC="20" offsetYPC="21" widthPC="60" heightPC="30"> <?php echo SCRAPER_URL; ?> hdbox.png </image> <text redraw="no" align="center" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="10" offsetYPC="9" widthPC="80" heightPC="7" fontSize="24" lines="1"> <![CDATA[Neue Version verfügbar!]]> </text> <text redraw="no" align="center" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="10" offsetYPC="16" widthPC="80" heightPC="5" fontSize="18" lines="1"> <![CDATA[Aktuell: <?php echo $localversion; ?> - Online verfügbar: <?php echo $hostversion; ?> ]]> </text> <text redraw="no" align="center" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="10" offsetYPC="51" widthPC="80" heightPC="5" fontSize="18" lines="1"> <![CDATA[Aktualisieren?]]> </text> </backgroundDisplay> <itemDisplay> <text redraw="yes" align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" fontSize="18"> <script> getItemInfo(-1,"title"); </script> </text> </itemDisplay> </mediaDisplay> <channel> <title>update</title> <item> <title>JA</title> <link><?php echo SCRAPER_URL . "?" . $serverquery; ?> &update=true</link> </item> <item> <title>NEIN</title> <link><?php echo SCRAPER_URL; ?> </link> </item> </channel> </rss> <?php }
/** * Generate rss page config header. */ private function showHeader() { //Set change types switch ($this->showType) { case "all": $nextType = "movie"; $previousType = "mixed"; break; case "movie": $nextType = "serie"; $previousType = "all"; break; case "serie": $nextType = "documentary"; $previousType = "movie"; break; case "documentary": $nextType = "anime"; $previousType = "serie"; break; case "anime": $nextType = "mixed"; $previousType = "documentary"; break; case "mixed": $nextType = "all"; $previousType = "anime"; break; } ?> <mediaDisplay name="photoView" rowCount="7" columnCount="3" drawItemText="no" showHeader="no" showDefaultInfo="no" menuBorderColor="0:0:0" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" itemOffsetXPC="14" itemOffsetYPC="22.9" itemWidthPC="26" itemHeightPC="3.8" sliding="no" backgroundColor="-1:-1:-1" itemBorderColor="-1:-1:-1" imageBorderPC="0" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8"> <?php xVoDLoader(); ?> <!-- IMAGE PUZZLE --> <image redraw="yes" offsetXPC="43.9" offsetYPC="71.6" widthPC="56.1" heightPC="6" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/websites_title.jpg </image> <!-- SELECTED ITEM LOGO --> <image redraw="yes" offsetXPC="1" offsetYPC="22.9" widthPC="10" heightPC="13" > <script> getItemInfo("thumbnailover"); </script> </image> <!-- SELECTED WEBSITE ICON CONTENT TYPE --> <image redraw="yes" offsetXPC="47" offsetYPC="71.68" widthPC="3.8" heightPC="6" backgroundColor="-1:-1:-1" > <script> getItemInfo("image"); </script> </image> <!-- SELECTED WEBSITE DESCRIPTION --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="0:154:205" offsetXPC="14.6" offsetYPC="59" widthPC="80" heightPC="7.6" fontSize="12" lines="2"> <script> getItemInfo("description"); </script> </text> <!-- SELECTED WEBSITE BOTTOM BAR TITLE --> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="50" offsetYPC="67.4" widthPC="50" heightPC="14" fontSize="20" lines="1"> <script> getItemInfo("subtitle"); </script> </text> <!-- LOGO ICON HISTORY --> <image redraw="no" offsetXPC="5" offsetYPC="11.5" widthPC="2.25" heightPC="4" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/pgup_btn.png </image> <image redraw="no" offsetXPC="10" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/all.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "all" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="13" offsetYPC="11" widthPC="9" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_all") . "\n"; ?> </text> <image redraw="no" offsetXPC="22" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/movie.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "movie" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="25" offsetYPC="11" widthPC="10" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_movies") . "\n"; ?> </text> <image redraw="no" offsetXPC="35" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/serie.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "serie" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="38" offsetYPC="11" widthPC="9" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_series") . "\n"; ?> </text> <image redraw="no" offsetXPC="47" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/documentary.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "documentary" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="50" offsetYPC="11" widthPC="12" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_documentaries") . "\n"; ?> </text> <image redraw="no" offsetXPC="62" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/anime.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "anime" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="65" offsetYPC="11" widthPC="10" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_anime") . "\n"; ?> </text> <image redraw="no" offsetXPC="75" offsetYPC="11" widthPC="2.75" heightPC="5" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> img/mixed.png </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="<?php echo $this->showType == "mixed" ? "255:102:19" : "230:230:255"; ?> " offsetXPC="78" offsetYPC="11" widthPC="10" heightPC="5" fontSize="10" lines="1"> <?php echo resourceString("header_menu_mixed") . "\n"; ?> </text> <image redraw="no" offsetXPC="92.5" offsetYPC="11.5" widthPC="2.25" heightPC="4" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/pgdn_btn.png </image> <!-- HEADER BUTTON TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.95" offsetYPC="2.6" widthPC="12" heightPC="2.4" fontSize="12" lines="1"> <?php echo resourceString("header_menu_home") . "\n"; ?> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="20" offsetYPC="2.6" widthPC="30" heightPC="2.4" fontSize="12" lines="1"> <?php echo resourceString("header_menu_websites_mark_favourite") . "\n"; ?> </text> <itemDisplay> <text redraw="yes" offsetXPC="1" offsetYPC="1" widthPC="98" heightPC="98"> <backgroundColor> <script> focusidx = getFocusItemIndex(); if ( focusidx == getItemInfo(-1,"itemid") ){ "255:192:192"; }else{ "32:32:32"; } </script> </backgroundColor> </text> <text redraw="yes" offsetXPC="1" offsetYPC="1" widthPC="1" heightPC="6" backgroundColor="0:0:0"> </text> <text redraw="yes" offsetXPC="98" offsetYPC="1" widthPC="1" heightPC="6" backgroundColor="0:0:0"> </text> <text redraw="yes" offsetXPC="1" offsetYPC="93" widthPC="1" heightPC="6" backgroundColor="0:0:0"> </text> <text redraw="yes" offsetXPC="98" offsetYPC="93" widthPC="1" heightPC="6" backgroundColor="0:0:0"> </text> <text redraw="yes" offsetXPC="36" offsetYPC="0" widthPC="60" heightPC="100" fontSize="12" lines="1" backgroundColor="-1:-1:-1" foregroundColor="255:255:255"> <script> getItemInfo(-1,"title"); </script> <foregroundColor> <script> if ( focusidx == getItemInfo(-1,"itemid") ){ "0:0:0"; }else{ "255:255:255"; } </script> </foregroundColor> </text> <!-- ITEM FAVOURITE ICON --> <?php $connection = ConnectionFactory::getDataConnection(); $websites = $connection->getWebsiteFavourites(); foreach ($websites as $id => $favourite) { switch ($favourite->getType()) { case "movie": $movie = $id; break; case "serie": $serie = $id; break; case "documentary": $documentary = $id; break; case "anime": $anime = $id; break; } } $condition = '( getItemInfo(-1,"scraperid") == "' . $movie . '" ) || ' . '( getItemInfo(-1,"scraperid") == "' . $serie . '" ) || ' . '( getItemInfo(-1,"scraperid") == "' . $documentary . '" ) || ' . '( getItemInfo(-1,"scraperid") == "' . $anime . '" )'; ?> <image redraw="no" offsetXPC="2" offsetYPC="4" widthPC="8" heightPC="92"> <script> if( <?php echo $condition; ?> ) "<?php echo XTREAMER_IMAGE_PATH; ?> img/star.png"; else ""; </script> </image> <!-- ITEM CONTENT TYPE ICON --> <image redraw="no" offsetXPC="12" offsetYPC="0" widthPC="10" heightPC="100"> <script> getItemInfo(-1,"image"); </script> </image> <!-- ITEM CONTENT LANGUAGE FLAG ICON --> <text redraw="no" offsetXPC="24" offsetYPC="2" widthPC="10" heightPC="96" fontSize="12"> <script> getItemInfo(-1,"scraperlanguage"); </script> <foregroundColor> <script> if ( focusidx == getItemInfo(-1,"itemid") ){ "0:0:0"; }else{ "255:255:255"; } </script> </foregroundColor> <backgroundColor> <script> if ( focusidx == getItemInfo(-1,"itemid") ){ "192:192:255"; }else{ "64:64:255"; } </script> </backgroundColor> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if( userInput == "one" ){ showIdle(); result = getURL("<?php echo SERVER_HOST_AND_PATH . "php/index.php?action=" . SaveFavouriteWebsiteAction::getActionName() . URL_AMP . "id="; ?> " + getItemInfo("scraperid")); jumpToLink("websitesPageLink"); redrawDisplay(); } if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } if(userInput == "pageup"){ showIdle(); changeType = "<?php echo $previousType; ?> "; jumpToLink("websitesChangeTypeLink"); redrawDisplay(); } if(userInput == "pagedown"){ showIdle(); changeType = "<?php echo $nextType; ?> "; jumpToLink("websitesChangeTypeLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/websites.jpg </image> </backgroundDisplay> </mediaDisplay> <websitesPageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?action=" . ViewWebsitesPageAction::getActionName(); ?> </link> </websitesPageLink> <websitesChangeTypeLink> <link> <script> "<?php echo SERVER_HOST_AND_PATH . "php/index.php?action=" . ViewWebsitesPageAction::getActionName() . URL_AMP . "type="; ?> " + changeType; </script> </link> </websitesChangeTypeLink> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php"; ?> </link> </homePageLink> <?php }
/** * ------------------------------------------------------------------------- */ private function showHeader() { ?> <mediaDisplay name="photoView" showHeader="yes" rowCount="6" columnCount="3" drawItemText="no" showDefaultInfo="no" itemImageXPC="100" itemImageYPC="100" itemOffsetXPC="4" itemOffsetYPC="14" sliding="yes" itemWidthPC="30" itemHeightPC="10" itemBorderColor="-1:-1:-1" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" bottomYPC="88" sideTopHeightPC="20" itemBackgroundColor="0:0:0" itemGap="0" backgroundColor="0:0:0" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" fontSize="18"> <?php xVoDLoader(); ?> <!-- TOP MENU TITLES --> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="15" offsetYPC="2" widthPC="37" heightPC="5" fontSize="10" lines="1"> </text> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="67" offsetYPC="2" widthPC="7" heightPC="5" fontSize="10" lines="1"> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.4" offsetYPC="3.1" widthPC="10" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo $this->stringHeaderBarGoHome; ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="83" offsetYPC="3.1" widthPC="18" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo $this->stringHeaderBarAddBookmark; ?> ]]> </text> <!-- ACTUAL SELECTED ITEM AND NUMBER --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="90" offsetYPC="93" widthPC="10" heightPC="5" fontSize="16" lines="1"> <script> getFocusItemIndex() + " / <?php echo count($this->items); ?> "; </script> </text> <!-- MOVIE TITLE --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="30" offsetYPC="93" widthPC="60" heightPC="5" fontSize="16" lines="1"> <script> getItemInfo("title"); </script> </text> <itemDisplay> <image redraw="no" offsetXPC="1" offsetYPC="1" widthPC="98" heightPC="98" > <script> getItemInfo(-1,"image"); </script> </image> <image redraw="yes" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-focus_300.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-unfocus_300.png"; </script> </image> <text redraw="yes" backgroundColor="-1:-1:-1" offsetXPC="10" offsetYPC="10" widthPC="80" heightPC="80" fontSize="16" lines="1"> <script> getItemInfo(-1,"title"); </script> <foregroundColor> <script> if( getItemInfo(-1,"itemid") < <?php echo $this->numberBlueItems; ?> ) "0:154:205"; else "255:255:255"; </script> </foregroundColor> </text> </itemDisplay> <onUserInput> <script> <?php RssScriptUtil::showAddBookmarkScript(); ?> if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-black.jpg </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo $this->homePageLink; ?> </link> </homePageLink> <?php }
/** * ------------------------------------------------------------------------- */ private function getPlayHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="threePartsView" showDefaultInfo="no" bottomYPC="0" itemGap="0" itemPerPage="10" showHeader="no" itemImageXPC="0" itemImageHeightPC="0" itemImageWidthPC="0" itemXPC="72" itemYPC="20" itemWidthPC="26" itemHeightPC="8" capWidthPC="58" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="0:0:0" drawItemText="yes"> <?php xVoDLoader(); ?> <!-- RSS PUZZLE, MOVIE PART --> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="71.65" heightPC="100" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-inlist-noright2.jpg </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.5" offsetYPC="3.4" widthPC="14" heightPC="3" fontSize="10" lines="1"> SERIES </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="20.5" offsetYPC="3.4" widthPC="14" heightPC="3" fontSize="10" lines="1"> PRESS 2 DOWNLOAD VIDEO </text> <!-- COVER SERIE IMAGE --> <image redraw="no" offsetXPC="2.8" offsetYPC="23.8" widthPC="18.9" heightPC="48.1" backgroundColor="-1:-1:-1" > <?php echo $this->coverImage . "\n"; ?> </image> <!-- SERIE TITLE --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:154:205" offsetXPC="23" offsetYPC="23.5" widthPC="50" heightPC="5" fontSize="16" lines="1"> <![CDATA[<?php echo strtoupper($this->title); ?> ]]> </text> <!-- EPISODE TITLE --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="23" offsetYPC="30" widthPC="35" heightPC="6" fontSize="12" lines="1"> <![CDATA[<?php echo strtoupper($this->episodeName); ?> ]]> </text> <!-- EPISODE DESCRIPTION --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="160:160:160" offsetXPC="23" offsetYPC="38" widthPC="41" heightPC="30" fontSize="10" lines="10"> <![CDATA[<?php echo strtoupper($this->description); ?> ]]> </text> <onUserInput> <script> userInput = currentUserInput(); if ( userInput == "0" ) { showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } if ( userInput == "two" ) { index = getFocusItemIndex(); itemLink = getItemInfo(index, "link"); rss = "rss_file://../rss/downloadDialog.rss"; ret = doModalRss(rss); if (ret == "Confirm") { writeStringToFile("/tmp/xvod_links.txt", itemLink); startDownloadUrl = "<?php echo SCRAPER_URL . "index.php?download"; ?> "; dummy = getURL( startDownloadUrl ); } "false"; } </script> </onUserInput> </mediaDisplay> <homePageLink> <link> <?php echo SCRAPER_URL . "index.php"; ?> </link> </homePageLink> <?php }
/** * ------------------------------------------------------------------------- */ private function getPlayHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="threePartsView" showDefaultInfo="no" bottomYPC="0" itemGap="0" itemPerPage="18" showHeader="no" fontSize="14" itemBorderColor="-1:-1:-1" menuBorderColor="-1:-1:-1" itemImageXPC="72" itemImageHeightPC="0" itemImageWidthPC="0" imageFocus="null" imageUnFocus="null" imageParentFocus="null" itemXPC="72" itemYPC="5" itemWidthPC="26" itemHeightPC="14" capWidthPC="58" unFocusFontColor="101:101:101" focusFontColor="255:255:255" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="0:0:0" drawItemText="no" imageBorderPC="0"> <?php xVoDLoader(); ?> <!-- RSS PUZZLE, MOVIE PART --> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="71.65" heightPC="100" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-inlist-noright2.jpg </image> <!-- TOP MENU TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.5" offsetYPC="3.1" widthPC="10" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_categories"); ?> ]]> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="20.5" offsetYPC="3.4" widthPC="14" heightPC="3" fontSize="10" lines="1"> DOWNLOAD VIDEO </text> <!-- MOVIE TITLE --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="23.6" offsetYPC="33.2" widthPC="20" heightPC="10" fontSize="12" lines="3"> <script> getItemInfo("title"); </script> </text> <itemDisplay> <image redraw="yes" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-focus_300.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-unfocus_300.png"; </script> </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="3" offsetYPC="12" widthPC="94" heightPC="76" fontSize="12" lines="3"> <script> getItemInfo(-1,"title"); </script> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if ( userInput == "zero" ) { showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } if ( userInput == "two" ) { index = getFocusItemIndex(); itemLink = getItemInfo(index, "link"); rss = "rss_file://../rss/downloadDialog.rss"; ret = doModalRss(rss); if (ret == "Confirm") { writeStringToFile("/tmp/xvod_links.txt", itemLink); startDownloadUrl = "<?php echo SCRAPER_URL . "index.php?download"; ?> "; dummy = getURL( startDownloadUrl ); } "false"; } </script> </onUserInput> </mediaDisplay> <homePageLink> <link> <?php echo SCRAPER_URL . "anime.php?type=" . $this->type; ?> </link> </homePageLink> <?php }
private function showHeader() { ?> <mediaDisplay name="photoView" rowCount="1" columnCount="12" drawItemText="no" showHeader="no" showDefaultInfo="no" menuBorderColor="255:255:255" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" itemOffsetXPC="0" itemOffsetYPC="0" itemWidthPC="0" itemHeightPC="0" backgroundColor="-1:-1:-1" itemBackgroundColor="-1:-1:-1" sliding="no" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" imageUnFocus="null" imageParentFocus="null" imageBorderPC="0" forceFocusOnItem="yes" cornerRounding="yes" itemBorderColor="-1:-1:-1" focusBorderColor="-1:-1:-1" unFocusBorderColor="-1:-1:-1"> <?php xVoDLoader(); ?> <image redraw="yes" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/aboutAndDisclaimer.jpg </image> <!-- SELECTED ITEM DESCRIPTION --> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="28.57" offsetYPC="17.4" widthPC="70" heightPC="48.60" fontSize="12" lines="15"> <script> getItemInfo(-1,"description"); </script> </text> <!-- SELECTED ITEM TITLE --> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="49" offsetYPC="67.4" widthPC="25" heightPC="14" fontSize="20" lines="1"> <script> getItemInfo("title"); </script> </text> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="100:192:255" offsetXPC="28.57" offsetYPC="12.38" widthPC="14" heightPC="3.71" fontSize="12" lines="1"> <script> "DISCLAIMERS:"; </script> </text> <?php $disclaimers = $this->getDisclaimers(); $x = 41.58; $i = 0; foreach ($disclaimers as $name => $disclaimer) { ?> <image redraw="yes" offsetXPC="<?php echo $x; ?> " offsetYPC="12.38" widthPC="2.5" heightPC="3.71"> <script> if( getFocusItemIndex() == <?php echo $i; ?> ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/about_btn2.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/about_btn1.png"; </script> </image> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" align="center" offsetXPC="<?php echo $x; ?> " offsetYPC="12.38" widthPC="2.5" heightPC="3.71" fontSize="12" lines="1"> <script> "<?php echo $i; ?> "; </script> </text> <?php $x += 3; ++$i; } ?> <itemDisplay> </itemDisplay> <backgroundDisplay> </backgroundDisplay> </mediaDisplay> <?php }
private function showHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="threePartsView" showDefaultInfo="no" bottomYPC="0" itemGap="0" itemPerPage="4" showHeader="no" fontSize="14" itemBorderColor="-1:-1:-1" menuBorderColor="-1:-1:-1" itemImageXPC="8" itemImageYPC="18.10" itemImageHeightPC="0" itemImageWidthPC="25" itemXPC="8" itemYPC="18.10" itemWidthPC="25" itemHeightPC="11.12" capWidthPC="0" unFocusFontColor="101:101:101" focusFontColor="255:255:255" imageFocus="null" imageUnFocus="null" imageParentFocus="null" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="0:0:0" drawItemText="no" imageBorderPC="0"> <?php xVoDLoader(); ?> <!-- PLAYLIST TITLE --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:154:205" offsetXPC="6.55" offsetYPC="10.48" widthPC="90" heightPC="4.28" fontSize="14" lines="1"> <![CDATA[<?php echo strtoupper($this->playlistLink->getTitle() != null ? $this->playlistLink->getTitle() : $this->playlistLink->getFilename()); ?> ]]> </text> <!-- SELECTED ITEM INFO --> <image redraw="no" offsetXPC="35" offsetYPC="18.10" widthPC="15.18" heightPC="35"> <?php echo $this->playlistLink->getThumbnail(); ?> </image> <text redraw="no" backgroundColor="0:0:0" foregroundColor="0:154:205" offsetXPC="35" offsetYPC="54" widthPC="15.18" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo strtoupper($this->playlistLink->getTypeDescription()); ?> ]]> </text> <text redraw="no" backgroundColor="0:0:0" foregroundColor="0:154:205" offsetXPC="35" offsetYPC="57" widthPC="15.18" heightPC="3" fontSize="10" lines="1"> <script> <![CDATA[<?php echo strtoupper($this->playlistLink->getFormat()); ?> ]]> </script> </text> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="50.5" offsetYPC="18.10" widthPC="45" heightPC="50" fontSize="12" lines="16"> <![CDATA[<?php echo strtoupper($this->playlistLink->getDescription()); ?> ]]> </text> <itemDisplay> <image redraw="no" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100" > <script> if( getFocusItemIndex() == getItemInfo(-1,"itemid") ) "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-focus_150.png"; else "<?php echo XTREAMER_IMAGE_PATH; ?> background/top-bar-unfocus_150.png"; </script> </image> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5" offsetYPC="10" widthPC="90" heightPC="80" fontSize="12" lines="3"> <script> getItemInfo(-1,"title"); </script> </text> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/playlist.png </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?PHPSESID=" . session_id(); ?> </link> </homePageLink> <?php }
private function showHeader() { echo " <script>\n"; foreach ($this->bookmarks as $bookmark) { echo ' titleArray = pushBackStringArray( titleArray, "' . utf8_encode($bookmark->getName()) . '" );' . "\n"; } echo " </script>\n"; ?> <mediaDisplay name="photoView" rowCount="5" columnCount="3" drawItemText="no" showHeader="no" showDefaultInfo="no" menuBorderColor="0:0:0" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" itemWidthPC="0" itemHeightPC="0" itemOffsetXPC="100" itemOffsetYPC="100" itemImageWidthPC="0" itemImageHeightPC="0" itemImageXPC="100" backgroundColor="-1:-1:-1" sliding="no" itemGap="1" slidingItemText="yes" imageUnFocus="null" imageParentFocus="null" imageBorderPC="0" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8"> <?php xVoDLoader(); ?> <image redraw="yes" offsetXPC="43.9" offsetYPC="71.6" widthPC="56.1" heightPC="6" backgroundColor="-1:-1:-1" > <?php echo XTREAMER_IMAGE_PATH; ?> background/websites_title.jpg </image> <image redraw="yes" offsetXPC="29.88" offsetYPC="28.95" widthPC="70.13" heightPC="34.86"> <?php echo XTREAMER_IMAGE_PATH; ?> background/bookmarks_items.jpg </image> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="46" offsetYPC="65.4" widthPC="50" heightPC="18" fontSize="20" lines="1"> <script> getItemInfo(-1,"title"); </script> </text> <image redraw="yes" offsetXPC="6.55" offsetYPC="11.43" widthPC="17.86" heightPC="41.62" backgroundColor="-1:-1:-1" > <script> getItemInfo(-1,"image"); </script> </image> <!-- HEADER BUTTON TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.95" offsetYPC="2.6" widthPC="12" heightPC="2.4" fontSize="12" lines="1"> <?php echo resourceString("header_menu_home") . "\n"; ?> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="20" offsetYPC="2.6" widthPC="30" heightPC="2.4" fontSize="12" lines="1"> <?php echo resourceString("header_menu_remove_bookmark") . "\n"; ?> </text> <?php $y = 0; $x = 0; for ($i = 0; $i < 15; ++$i) { $script = "\n temp = " . $i . " + (15 * getItemInfo(\"pagenum\"));\n title = getStringArrayAt(titleArray, temp);\n title;"; $this->showScreenDisplayText($script, 30 + $x * 23, 30 + $y * 6, 23, 10); if ($y > 0 && ($y + 1) % 5 == 0) { ++$x; $y = 0; } else { ++$y; } } ?> <onUserInput> <script> <?php RssScriptUtil::showDeleteBookmarkScript(); ?> if( userInput == "three" ){ jumpToLink("bookmarksLink"); redrawDisplay(); } if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/bookmarks.jpg </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php"; ?> </link> </homePageLink> <bookmarksLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?action=" . ViewBookmarksPageAction::getActionName(); ?> </link> </bookmarksLink> <?php }
function showPodcastsHeader() { ?> <script> SwitchViewer(0); SwitchViewer(7); </script> <mediaDisplay name="photoView" showHeader="no" drawItemText="no" showDefaultInfo="no" rowCount="2" columnCount="6" menuBorderColor="-1:-1:-1" sideColorBottom="-1:-1:-1" sideColorTop="-1:-1:-1" backgroundColor="-1:-1:-1" itemImageXPC="8" itemOffsetXPC="2" itemOffsetYPC="9" itemBackgroundColor="0:0:0" sliding="yes" fontSize="14" itemImageWidthPC="15" itemImageHeightPC="19" itemWidthPC="15" itemHeightPC="19" widthPC="60" heightPC="90" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8"> <?php xVoDLoader(); ?> <!-- TOP MENU TITLES --> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="15" offsetYPC="2" widthPC="37" heightPC="5" fontSize="10" lines="1"> </text> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="67" offsetYPC="2" widthPC="7" heightPC="5" fontSize="10" lines="1"> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.4" offsetYPC="3.1" widthPC="14" heightPC="3" fontSize="10" lines="1"> <![CDATA[<?php echo resourceString("header_menu_home"); ?> ]]> </text> <text redraw="no" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="76" offsetYPC="3.1" widthPC="18" heightPC="3" fontSize="10" lines="1"> </text> <!-- SHOW TITLE AND DESCRIPTION --> <text redraw="yes" offsetXPC="20" offsetYPC="52" widthPC="75" heightPC="40" fontSize="12" backgroundColor="0:0:0" foregroundColor="255:255:255" lines="16"> <script> getItemInfo("description"); </script> </text> <!-- ACTUAL SELECTED ITEM AND NUMBER --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="90" offsetYPC="93" widthPC="10" heightPC="5" fontSize="16" lines="1"> <script> getFocusItemIndex(); </script> </text> <!-- CATEGORY TITLE --> <text redraw="yes" backgroundColor="0:0:0" foregroundColor="255:255:255" offsetXPC="30" offsetYPC="93" widthPC="60" heightPC="5" fontSize="16" lines="1"> <script> getItemInfo("title"); </script> </text> <onUserInput> <script> userInput = currentUserInput(); if ( userInput == "zero" ) { showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/movies-black.jpg </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SERVER_HOST_AND_PATH . "php/index.php?action=viewWebsitesPage"; ?> </link> </homePageLink> <?php }
/** * ------------------------------------------------------------------------- */ private function showViewHeader() { ?> <mediaDisplay name="threePartsView" showDefaultInfo="no" drawItemText="no" showHeader="no" bottomYPC="0" itemGap="0" itemPerPage="8" fontSize="14" itemBorderColor="-1:-1:-1" menuBorderColor="-1:-1:-1" itemImageXPC="42.86" itemImageYPC="54" itemImageWidthPC="48.40" itemImageHeightPC="6" itemXPC="42.86" itemYPC="54" itemWidthPC="48.40" itemHeightPC="6" capWidthPC="0" imageFocus="null" imageUnFocus="null" imageParentFocus="null" unFocusFontColor="-1:-1:-1" focusFontColor="-1:-1:-1" itemBackgroundColor="-1:-1:-1" mainPartColor="-1:-1:-1" idleImageXPC="90" idleImageYPC="5" idleImageWidthPC="5" idleImageHeightPC="8" backgroundColor="-1:-1:-1" imageBorderPC="0"> <?php xVoDLoader(); ?> <!-- HEADER BUTTON TITLES --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" offsetXPC="5.95" offsetYPC="2.6" widthPC="12" heightPC="2.4" fontSize="12" lines="1"> <?php echo resourceString("header_menu_home") . "\n"; ?> </text> <!-- FIRST OPTION INSERT MEGAVIDEO ID TO PLAY --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" align="center" offsetXPC="9.82" offsetYPC="13" widthPC="26.31" heightPC="6.60" fontSize="14" lines="2"> <script> "<?php echo resourceString("megavideo_scraper_btn_play"); ?> "; </script> </text> <!-- SECOND OPTION INSERT AND SAVE MEGAVIDEO ID TO PLAY --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="255:255:255" align="center" offsetXPC="9.82" offsetYPC="28.5" widthPC="26.31" heightPC="6.60" fontSize="14" lines="2"> <script> "<?php echo resourceString("megavideo_scraper_btn_play_save"); ?> "; </script> </text> <?php if ($this->megavideoLink) { ?> <!-- Show link info --> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="26:115:204" align="right" offsetXPC="42.86" offsetYPC="15" widthPC="14" heightPC="3.5" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_title"); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="58" offsetYPC="15" widthPC="35" heightPC="6" fontSize="12" lines="2"> <script> "<?php echo $this->megavideoLink->getTitle(); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="26:115:204" align="right" offsetXPC="42.86" offsetYPC="22" widthPC="14" heightPC="3.5" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_description"); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="58" offsetYPC="22" widthPC="35" heightPC="12" fontSize="12" lines="4"> <script> "<?php echo $this->megavideoLink->getDescription(); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="26:115:204" align="right" offsetXPC="42.86" offsetYPC="34" widthPC="14" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_user"); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="58" offsetYPC="34" widthPC="30" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo $this->megavideoLink->getUser(); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="26:115:204" align="right" offsetXPC="42.86" offsetYPC="40" widthPC="14" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_views"); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="58" offsetYPC="40" widthPC="30" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo $this->megavideoLink->getViews(); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="26:115:204" align="right" offsetXPC="42.86" offsetYPC="46" widthPC="14" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_date"); ?> "; </script> </text> <text redraw="no" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" offsetXPC="58" offsetYPC="46" widthPC="30" heightPC="5" fontSize="12" lines="1"> <script> "<?php echo $this->megavideoLink->getDateAdded(); ?> "; </script> </text> <image redraw="no" offsetXPC="72" offsetYPC="35" widthPC="18" heightPC="17.72" backgroundColor="-1:-1:-1"> <script> "<?php echo $this->megavideoLink->getImage(); ?> "; </script> </image> <?php } ?> <!-- PLAY ITEM COMPONENTS --> <image redraw="yes" offsetXPC="42.86" offsetYPC="56" widthPC="48.40" heightPC="6" backgroundColor="240:237:230"> <script> "<?php echo XTREAMER_IMAGE_PATH; ?> background/megavideo_bg_bar.jpg"; </script> </image> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="128:0:0" align="center" offsetXPC="45" offsetYPC="56.24" widthPC="43.56" heightPC="3" fontSize="12" lines="1"> <script> "<?php echo resourceString("megavideo_scraper_des_button"); ?> "; </script> </text> <text redraw="yes" backgroundColor="-1:-1:-1" foregroundColor="0:0:0" align="center" offsetXPC="45" offsetYPC="59.24" widthPC="43.56" heightPC="1.8" fontSize="10" lines="1"> <script> getItemInfo(-1,"title"); </script> </text> <itemDisplay> </itemDisplay> <onUserInput> <script> userInput = currentUserInput(); if(userInput == "zero"){ showIdle(); jumpToLink("homePageLink"); redrawDisplay(); } </script> </onUserInput> <backgroundDisplay> <image offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="100"> <?php echo XTREAMER_IMAGE_PATH; ?> background/megavideo_bg.jpg </image> </backgroundDisplay> </mediaDisplay> <homePageLink> <link> <?php echo SCRAPER_URL . "index.php?PHPSESID" . session_id(); ?> </link> </homePageLink> <?php }