PageRenderTime 41ms CodeModel.GetById 2ms app.highlight 31ms RepoModel.GetById 1ms app.codeStats 1ms

/filme/filme.php

https://code.google.com/p/hdforall/
PHP | 401 lines | 368 code | 32 blank | 1 comment | 15 complexity | 2aa63509e3ea8c90c5556908d82be0c2 MD5 | raw file
  1#!/usr/local/bin/Resource/www/cgi-bin/php
  2<?php echo "<?xml version='1.0' encoding='UTF-8' ?>";
  3$host = "http://127.0.0.1/cgi-bin";
  4?>
  5<rss version="2.0">
  6<onEnter>
  7  startitem = "middle";
  8  setRefreshTime(1);
  9</onEnter>
 10
 11<onRefresh>
 12  setRefreshTime(-1);
 13  itemCount = getPageInfo("itemCount");
 14</onRefresh>
 15
 16<mediaDisplay name="threePartsView"
 17	sideLeftWidthPC="0"
 18	sideRightWidthPC="0"
 19	
 20	headerImageWidthPC="0"
 21	selectMenuOnRight="no"
 22	autoSelectMenu="no"
 23	autoSelectItem="no"
 24	itemImageHeightPC="0"
 25	itemImageWidthPC="0"
 26	itemXPC="8"
 27	itemYPC="25"
 28	itemWidthPC="50"
 29	itemHeightPC="8"
 30	capXPC="8"
 31	capYPC="25"
 32	capWidthPC="50"
 33	capHeightPC="64"
 34	itemBackgroundColor="0:0:0"
 35	itemPerPage="8"
 36  itemGap="0"
 37	bottomYPC="90"
 38	backgroundColor="0:0:0"
 39	showHeader="no"
 40	showDefaultInfo="no"
 41	imageFocus=""
 42	sliding="no"
 43	idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
 44>
 45		
 46  	<text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
 47		  <script>getPageInfo("pageTitle");</script>
 48		</text>
 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		image/movies.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" cornerRounding=5 offsetXPC=0 offsetYPC=2 widthPC=100 heightPC=96>
 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<adultlink>
151<mediaDisplay name="threePartsView"/>
152<link>
153  <?php echo $host; ?>/scripts/filme/php/online-moviez1.php
154</link>
155</adultlink>
156<adultpass>
157<mediaDisplay name="onePartView" />
158<link>
159/usr/local/etc/www/cgi-bin/scripts/adult/adult.rss
160</link>
161</adultpass>
162<channel>
163	<title>Filme Online</title>
164<!--
165<item>
166<title>test</title>
167<link>/tmp/hdd/volumes/HDD1/test.rss</link>
168<annotation></annotation>
169<mediaDisplay name="threePartsView"/>
170</item>
171-->
172<item>
173<title>onlinemoca</title>
174<link><?php echo $host; ?>/scripts/filme/php/onlinemoca_main.php</link>
175<annotation>http://www.onlinemoca.com/</annotation>
176<mediaDisplay name="threePartsView"/>
177</item>
178
179<item>
180<title>filmeonline</title>
181<link><?php echo $host; ?>/scripts/filme/php/filmeonline_main.php</link>
182<annotation>http://www.filmeonline.org</annotation>
183<mediaDisplay name="threePartsView"/>
184</item>
185<!--
186<item>
187<title>iPlay - filme HD</title>
188<link><?php echo $host; ?>/scripts/filme/php/iplay_movie.php</link>
189<annotation>http://www.iplay.ro</annotation>
190<mediaDisplay name="threePartsView"/>
191</item>
192-->
193<item>
194<title>cinemaxx</title>
195<link><?php echo $host; ?>/scripts/filme/php/cinemaxx_main.php</link>
196<annotation>http://cinemaxx.ro/</annotation>
197<mediaDisplay name="threePartsView"/>
198</item>
199
200<item>
201<title>filmeonlinegratis</title>
202<link><?php echo $host; ?>/scripts/filme/php/filmeonlinegratis_main.php</link>
203<annotation>http://www.filmeonlinegratis.ro</annotation>
204<mediaDisplay name="threePartsView"/>
205</item>
206
207<item>
208<title>filmehd</title>
209<link><?php echo $host; ?>/scripts/filme/php/filmehd_main.php</link>
210<annotation>http://filmehd.net/</annotation>
211<mediaDisplay name="threePartsView"/>
212</item>
213
214<item>
215<title>filmeonline.cc</title>
216<link><?php echo $host; ?>/scripts/filme/php/filmeonlinecc_main.php</link>
217<annotation>http://www.filmeonline.cc</annotation>
218<mediaDisplay name="threePartsView"/>
219</item>
220
221<item>
222<title>pe?eav?</title>
223<link><?php echo $host; ?>/scripts/filme/peteava.php</link>
224<annotation>http://www.peteava.ro/</annotation>
225<mediaDisplay name="threePartsView"/>
226</item>
227
228<item>
229<title>pe?eav? - user movies</title>
230<link><?php echo $host; ?>/scripts/filme/peteava_user.php</link>
231<annotation>http://www.peteava.ro/</annotation>
232<mediaDisplay name="threePartsView"/>
233</item>
234<!--
235<item>
236<title>filmeonlinenoi</title>
237<link><?php echo $host; ?>/scripts/filme/php/filmeonlinenoi.php?query=,http://filmeonlinenoi.com/</link>
238<annotation>http://filmeonlinenoi.com/</annotation>
239<mediaDisplay name="threePartsView"/>
240</item>
241-->
242<item>
243<title>filmelive</title>
244<link><?php echo $host; ?>/scripts/filme/php/filmelive_main.php</link>
245<annotation>http://www.filmelive.net</annotation>
246<mediaDisplay name="threePartsView"/>
247</item>
248
249<!--
250<item>
251<title>themoviesbest</title>
252<link><?php echo $host; ?>/scripts/filme/php/themoviesbest_main.php</link>
253<annotation>http://themoviesbest.com/</annotation>
254<mediaDisplay name="threePartsView"/>
255</item>
256-->
257<item>
258<title>filme-online-gratis</title>
259<link><?php echo $host; ?>/scripts/filme/php/filme-online-gratis_main.php</link>
260<annotation>http://filme-online-gratis.com/blog/</annotation>
261<mediaDisplay name="threePartsView"/>
262</item>
263
264<item>
265<title>divxonline</title>
266<link><?php echo $host; ?>/scripts/filme/php/divxonline_main.php</link>
267<annotation>http://divxonline.biz</annotation>
268<mediaDisplay name="threePartsView"/>
269</item>
270<!--
271<item>
272<title>xvidonline</title>
273<link><?php echo $host; ?>/scripts/filme/php/xvidonline.php</link>
274<annotation>http://xvidonline.org/</annotation>
275<mediaDisplay name="threePartsView"/>
276</item>
277-->
278<!--
279<item>
280<title>moviesample</title>
281<link><?php echo $host; ?>/scripts/filme/php/moviesample.php</link>
282<annotation>http://www.moviesample.net</annotation>
283<mediaDisplay name="threePartsView"/>
284</item>
285-->
286<item>
287<title>filmeromania - filme române?ti</title>
288<link><?php echo $host; ?>/scripts/filme/php/filmeromania.php</link>
289<annotation>http://filmeromania.blogspot.com/</annotation>
290<mediaDisplay name="threePartsView"/>
291</item>
292
293<item>
294<title>cinemaromanesc - filme române?ti</title>
295<link><?php echo $host; ?>/scripts/filme/php/cinemaromanesc.php</link>
296<annotation>http://cinemaromanesc.blogspot.com/</annotation>
297<mediaDisplay name="threePartsView"/>
298</item>
299<!--
300<item>
301<title>filmede10</title>
302<link><?php echo $host; ?>/scripts/filme/php/filmede10_net_main.php</link>
303<annotation>http://www.filmede10.net/</annotation>
304<mediaDisplay name="threePartsView"/>
305</item>
306-->
307<item>
308<title>seriale-filme - movies</title>
309<link><?php echo $host; ?>/scripts/filme/php/seriale-filme_filme_info.php</link>
310<annotation>http://www.seriale-filme.info/movies</annotation>
311<mediaDisplay name="threePartsView"/>
312</item>
313<!--
314<item>
315<title>westernmania - filme Western</title>
316<link><?php echo $host; ?>/scripts/filme/php/westernmania.php</link>
317<annotation>http://www.westernmania.net</annotation>
318<mediaDisplay name="threePartsView"/>
319</item>
320-->
321<item>
322<title>seenow (abonament) - experimental</title>
323<link><?php echo $host; ?>/scripts/filme/php/seenow_main.php</link>
324<annotation>http://www.seenow.ro</annotation>
325<mediaDisplay name="threePartsView"/>
326</item>
327
328<item>
329<title>DolceTv - filme gratis</title>
330<link><?php echo $host; ?>/scripts/filme/php/dolce_filme.php?page=1</link>
331<annotation>http://www.dolcetv.ro/filme</annotation>
332<mediaDisplay name="threePartsView"/>
333</item>
334
335<item>
336<title>jurnaltv - filme ?i seriale documentare</title>
337<link><?php echo $host; ?>/scripts/filme/php/jurnaltv_main.php</link>
338<annotation>http://www.jurnaltv.ro</annotation>
339<mediaDisplay name="threePartsView"/>
340</item>
341<!--
342<item>
343<title>documentare - filme ?i seriale documentare</title>
344<link><?php echo $host; ?>/scripts/filme/php/documentare_main.php</link>
345<annotation>http://documentare.org</annotation>
346<mediaDisplay name="threePartsView"/>
347</item>
348-->
349<item>
350<title>documentare.digitalarena - filme ?i seriale documentare</title>
351<link><?php echo $host; ?>/scripts/filme/php/digitalarena_main.php</link>
352<annotation>http://documentare.digitalarena.ro</annotation>
353<mediaDisplay name="threePartsView"/>
354</item>
355
356<item>
357<title>filmedocumentare - filme ?i seriale documentare</title>
358<link><?php echo $host; ?>/scripts/filme/php/filmedocumentare_main.php</link>
359<annotation>http://filmedocumentare.com/</annotation>
360<mediaDisplay name="threePartsView"/>
361</item>
362
363<item>
364<title>filmekmagyarul</title>
365<link><?php echo $host; ?>/scripts/filme/php/filmekmagyarul_main.php</link>
366<annotation>http://www.filmekmagyarul.com</annotation>
367<mediaDisplay name="threePartsView"/>
368</item>
369
370<item>
371<title>moovie.cc (in lb. maghiara)</title>
372<link><?php echo $host; ?>/scripts/filme/php/moovie.php?query=1,</link>
373<annotation>http://www.moovie.cc</annotation>
374<mediaDisplay name="threePartsView"/>
375</item>
376
377<item>
378<title>onlinefilmletoltes.eu (in lb. maghiara)</title>
379<link><?php echo $host; ?>/scripts/filme/php/onlinefilmletoltes_main.php</link>
380<annotation>http://onlinefilmletoltes.eu</annotation>
381<mediaDisplay name="threePartsView"/>
382</item>
383
384<item>
385<title>onlinewebfilmek (in lb. maghiara)</title>
386<link><?php echo $host; ?>/scripts/filme/php/onlinewebfilmek.php?file=http://onlinewebfilmek.blogspot.com</link>
387<annotation>http://onlinewebfilmek.blogspot.com</annotation>
388<mediaDisplay name="threePartsView"/>
389</item>
390
391<item>
392<title>movie2k - movies</title>
393<link><?php echo $host; ?>/scripts/filme/php/movie2k_main.php</link>
394<annotation>http://www.movie2k.to</annotation>
395<mediaDisplay name="threePartsView"/>
396</item>
397
398
399  
400</channel>
401</rss>