PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/feeds/scripts_vb6/scripts/filme/desene.php

http://eboda-hd-for-all-500.googlecode.com/
PHP | 195 lines | 176 code | 19 blank | 0 comment | 15 complexity | d14abbb07549c96e97d6217e7ee124e8 MD5 | raw file
  1<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
  2$host = "http://127.0.0.1:82";
  3?>
  4<rss version="2.0">
  5<onEnter>
  6  startitem = "middle";
  7  setRefreshTime(1);
  8</onEnter>
  9
 10<onRefresh>
 11  setRefreshTime(-1);
 12  itemCount = getPageInfo("itemCount");
 13</onRefresh>
 14
 15<mediaDisplay name="threePartsView"
 16	sideLeftWidthPC="0"
 17	sideRightWidthPC="0"
 18	
 19	headerImageWidthPC="0"
 20	selectMenuOnRight="no"
 21	autoSelectMenu="no"
 22	autoSelectItem="no"
 23	itemImageHeightPC="0"
 24	itemImageWidthPC="0"
 25	itemXPC="8"
 26	itemYPC="25"
 27	itemWidthPC="50"
 28	itemHeightPC="8"
 29	capXPC="8"
 30	capYPC="25"
 31	capWidthPC="50"
 32	capHeightPC="64"
 33	itemBackgroundColor="0:0:0"
 34	itemPerPage="8"
 35  itemGap="0"
 36	bottomYPC="90"
 37	backgroundColor="0:0:0"
 38	showHeader="no"
 39	showDefaultInfo="no"
 40	imageFocus=""
 41	sliding="no"
 42	idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
 43>
 44		
 45  	<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
 46		  <script>getPageInfo("pageTitle");</script>
 47		</text>
 48
 49  	<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
 50		  <script>sprintf("%s / ", focus-(-1))+itemCount;</script>
 51		</text>
 52  	<text  redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
 53		  <script>print(annotation); annotation;</script>
 54		</text>
 55		<image  redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
 56		/scripts/filme/image/desene.png
 57		</image>
 58        <idleImage>image/POPUP_LOADING_01.png</idleImage>
 59        <idleImage>image/POPUP_LOADING_02.png</idleImage>
 60        <idleImage>image/POPUP_LOADING_03.png</idleImage>
 61        <idleImage>image/POPUP_LOADING_04.png</idleImage>
 62        <idleImage>image/POPUP_LOADING_05.png</idleImage>
 63        <idleImage>image/POPUP_LOADING_06.png</idleImage>
 64        <idleImage>image/POPUP_LOADING_07.png</idleImage>
 65        <idleImage>image/POPUP_LOADING_08.png</idleImage>
 66
 67		<itemDisplay>
 68			<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
 69				<script>
 70					idx = getQueryItemIndex();
 71					focus = getFocusItemIndex();
 72					if(focus==idx) 
 73					{
 74					  location = getItemInfo(idx, "location");
 75					  annotation = getItemInfo(idx, "annotation");
 76					}
 77					getItemInfo(idx, "title");
 78				</script>
 79				<fontSize>
 80  				<script>
 81  					idx = getQueryItemIndex();
 82  					focus = getFocusItemIndex();
 83  			    if(focus==idx) "16"; else "14";
 84  				</script>
 85				</fontSize>
 86			  <backgroundColor>
 87  				<script>
 88  					idx = getQueryItemIndex();
 89  					focus = getFocusItemIndex();
 90  			    if(focus==idx) "10:80:120"; else "-1:-1:-1";
 91  				</script>
 92			  </backgroundColor>
 93			  <foregroundColor>
 94  				<script>
 95  					idx = getQueryItemIndex();
 96  					focus = getFocusItemIndex();
 97  			    if(focus==idx) "255:255:255"; else "140:140:140";
 98  				</script>
 99			  </foregroundColor>
100			</text>
101
102		</itemDisplay>
103		
104<onUserInput>
105<script>
106ret = "false";
107userInput = currentUserInput();
108
109if (userInput == "pagedown" || userInput == "pageup")
110{
111  idx = Integer(getFocusItemIndex());
112  if (userInput == "pagedown")
113  {
114    idx -= -8;
115    if(idx &gt;= itemCount)
116      idx = itemCount-1;
117  }
118  else
119  {
120    idx -= 8;
121    if(idx &lt; 0)
122      idx = 0;
123  }
124
125  print("new idx: "+idx);
126  setFocusItemIndex(idx);
127	setItemFocus(0);
128  redrawDisplay();
129  "true";
130}
131ret;
132</script>
133</onUserInput>
134		
135	</mediaDisplay>
136	
137	<item_template>
138		<mediaDisplay  name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
139        <idleImage>image/POPUP_LOADING_01.png</idleImage>
140        <idleImage>image/POPUP_LOADING_02.png</idleImage>
141        <idleImage>image/POPUP_LOADING_03.png</idleImage>
142        <idleImage>image/POPUP_LOADING_04.png</idleImage>
143        <idleImage>image/POPUP_LOADING_05.png</idleImage>
144        <idleImage>image/POPUP_LOADING_06.png</idleImage>
145        <idleImage>image/POPUP_LOADING_07.png</idleImage>
146        <idleImage>image/POPUP_LOADING_08.png</idleImage>
147		</mediaDisplay>
148
149	</item_template>
150<channel>
151	<title>Pentru copii...</title>
152
153<item>
154<title>deseneanimate.tv</title>
155<link><?php echo $host; ?>/scripts/filme/php/deseneanimate_main.php?query=1,</link>
156<annotation>http://deseneanimate.tv</annotation>
157<mediaDisplay name="threePartsView"/>
158</item>
159
160<item>
161<title>www.jocuricubarbie.info</title>
162<link><?php echo $host; ?>/scripts/filme/php/jocuricubarbie_main.php</link>
163<annotation>http://www.jocuricubarbie.info/desene_animate.html</annotation>
164<mediaDisplay name="threePartsView"/>
165</item>
166
167<item>
168<title>desene.veziserialeonline.info</title>
169<link><?php echo $host; ?>/scripts/filme/php/desene_veziserialeonline_main.php</link>
170<annotation>http://desene.veziserialeonline.info/tv-shows</annotation>
171<mediaDisplay name="threePartsView"/>
172</item>
173
174<item>
175<title>desene-animate.info</title>
176<link><?php echo $host; ?>/scripts/filme/php/desenele-copilariei_main.php</link>
177<annotation>http://desene-animate.info/</annotation>
178<mediaDisplay name="threePartsView"/>
179</item>
180
181<item>
182<title>desenele-copilariei.net</title>
183<link><?php echo $host; ?>/scripts/filme/php/desenele-copilariei_main_o.php</link>
184<annotation>http://desenele-copilariei.net</annotation>
185<mediaDisplay name="threePartsView"/>
186</item>
187
188<item>
189<title>www.990.ro</title>
190<link><?php echo $host; ?>/scripts/filme/php/990_desene_main.php</link>
191<annotation>http://www.990.ro/desene-animate.html</annotation>
192<mediaDisplay name="threePartsView"/>
193</item>
194</channel>
195</rss>