PageRenderTime 47ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/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. <onRefresh>
  11. setRefreshTime(-1);
  12. itemCount = getPageInfo("itemCount");
  13. </onRefresh>
  14. <mediaDisplay name="threePartsView"
  15. sideLeftWidthPC="0"
  16. sideRightWidthPC="0"
  17. headerImageWidthPC="0"
  18. selectMenuOnRight="no"
  19. autoSelectMenu="no"
  20. autoSelectItem="no"
  21. itemImageHeightPC="0"
  22. itemImageWidthPC="0"
  23. itemXPC="8"
  24. itemYPC="25"
  25. itemWidthPC="50"
  26. itemHeightPC="8"
  27. capXPC="8"
  28. capYPC="25"
  29. capWidthPC="50"
  30. capHeightPC="64"
  31. itemBackgroundColor="0:0:0"
  32. itemPerPage="8"
  33. itemGap="0"
  34. bottomYPC="90"
  35. backgroundColor="0:0:0"
  36. showHeader="no"
  37. showDefaultInfo="no"
  38. imageFocus=""
  39. sliding="no"
  40. idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10"
  41. >
  42. <text align="center" offsetXPC="0" offsetYPC="0" widthPC="100" heightPC="20" fontSize="30" backgroundColor="10:105:150" foregroundColor="100:200:255">
  43. <script>getPageInfo("pageTitle");</script>
  44. </text>
  45. <text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
  46. <script>sprintf("%s / ", focus-(-1))+itemCount;</script>
  47. </text>
  48. <text redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
  49. <script>print(annotation); annotation;</script>
  50. </text>
  51. <image redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
  52. image/movies.png
  53. </image>
  54. <idleImage>image/POPUP_LOADING_01.png</idleImage>
  55. <idleImage>image/POPUP_LOADING_02.png</idleImage>
  56. <idleImage>image/POPUP_LOADING_03.png</idleImage>
  57. <idleImage>image/POPUP_LOADING_04.png</idleImage>
  58. <idleImage>image/POPUP_LOADING_05.png</idleImage>
  59. <idleImage>image/POPUP_LOADING_06.png</idleImage>
  60. <idleImage>image/POPUP_LOADING_07.png</idleImage>
  61. <idleImage>image/POPUP_LOADING_08.png</idleImage>
  62. <itemDisplay>
  63. <text align="left" lines="1" cornerRounding=5 offsetXPC=0 offsetYPC=2 widthPC=100 heightPC=96>
  64. <script>
  65. idx = getQueryItemIndex();
  66. focus = getFocusItemIndex();
  67. if(focus==idx)
  68. {
  69. location = getItemInfo(idx, "location");
  70. annotation = getItemInfo(idx, "annotation");
  71. }
  72. getItemInfo(idx, "title");
  73. </script>
  74. <fontSize>
  75. <script>
  76. idx = getQueryItemIndex();
  77. focus = getFocusItemIndex();
  78. if(focus==idx) "16"; else "14";
  79. </script>
  80. </fontSize>
  81. <backgroundColor>
  82. <script>
  83. idx = getQueryItemIndex();
  84. focus = getFocusItemIndex();
  85. if(focus==idx) "10:80:120"; else "-1:-1:-1";
  86. </script>
  87. </backgroundColor>
  88. <foregroundColor>
  89. <script>
  90. idx = getQueryItemIndex();
  91. focus = getFocusItemIndex();
  92. if(focus==idx) "255:255:255"; else "140:140:140";
  93. </script>
  94. </foregroundColor>
  95. </text>
  96. </itemDisplay>
  97. <onUserInput>
  98. <script>
  99. ret = "false";
  100. userInput = currentUserInput();
  101. if (userInput == "pagedown" || userInput == "pageup")
  102. {
  103. idx = Integer(getFocusItemIndex());
  104. if (userInput == "pagedown")
  105. {
  106. idx -= -8;
  107. if(idx &gt;= itemCount)
  108. idx = itemCount-1;
  109. }
  110. else
  111. {
  112. idx -= 8;
  113. if(idx &lt; 0)
  114. idx = 0;
  115. }
  116. print("new idx: "+idx);
  117. setFocusItemIndex(idx);
  118. setItemFocus(0);
  119. redrawDisplay();
  120. "true";
  121. }
  122. ret;
  123. </script>
  124. </onUserInput>
  125. </mediaDisplay>
  126. <item_template>
  127. <mediaDisplay name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
  128. <idleImage>image/POPUP_LOADING_01.png</idleImage>
  129. <idleImage>image/POPUP_LOADING_02.png</idleImage>
  130. <idleImage>image/POPUP_LOADING_03.png</idleImage>
  131. <idleImage>image/POPUP_LOADING_04.png</idleImage>
  132. <idleImage>image/POPUP_LOADING_05.png</idleImage>
  133. <idleImage>image/POPUP_LOADING_06.png</idleImage>
  134. <idleImage>image/POPUP_LOADING_07.png</idleImage>
  135. <idleImage>image/POPUP_LOADING_08.png</idleImage>
  136. </mediaDisplay>
  137. </item_template>
  138. <adultlink>
  139. <mediaDisplay name="threePartsView"/>
  140. <link>
  141. <?php echo $host; ?>/scripts/filme/php/online-moviez1.php
  142. </link>
  143. </adultlink>
  144. <adultpass>
  145. <mediaDisplay name="onePartView" />
  146. <link>
  147. /usr/local/etc/www/cgi-bin/scripts/adult/adult.rss
  148. </link>
  149. </adultpass>
  150. <channel>
  151. <title>Filme Online</title>
  152. <!--
  153. <item>
  154. <title>test</title>
  155. <link>/tmp/hdd/volumes/HDD1/test.rss</link>
  156. <annotation></annotation>
  157. <mediaDisplay name="threePartsView"/>
  158. </item>
  159. -->
  160. <item>
  161. <title>onlinemoca</title>
  162. <link><?php echo $host; ?>/scripts/filme/php/onlinemoca_main.php</link>
  163. <annotation>http://www.onlinemoca.com/</annotation>
  164. <mediaDisplay name="threePartsView"/>
  165. </item>
  166. <item>
  167. <title>filmeonline</title>
  168. <link><?php echo $host; ?>/scripts/filme/php/filmeonline_main.php</link>
  169. <annotation>http://www.filmeonline.org</annotation>
  170. <mediaDisplay name="threePartsView"/>
  171. </item>
  172. <!--
  173. <item>
  174. <title>iPlay - filme HD</title>
  175. <link><?php echo $host; ?>/scripts/filme/php/iplay_movie.php</link>
  176. <annotation>http://www.iplay.ro</annotation>
  177. <mediaDisplay name="threePartsView"/>
  178. </item>
  179. -->
  180. <item>
  181. <title>cinemaxx</title>
  182. <link><?php echo $host; ?>/scripts/filme/php/cinemaxx_main.php</link>
  183. <annotation>http://cinemaxx.ro/</annotation>
  184. <mediaDisplay name="threePartsView"/>
  185. </item>
  186. <item>
  187. <title>filmeonlinegratis</title>
  188. <link><?php echo $host; ?>/scripts/filme/php/filmeonlinegratis_main.php</link>
  189. <annotation>http://www.filmeonlinegratis.ro</annotation>
  190. <mediaDisplay name="threePartsView"/>
  191. </item>
  192. <item>
  193. <title>filmehd</title>
  194. <link><?php echo $host; ?>/scripts/filme/php/filmehd_main.php</link>
  195. <annotation>http://filmehd.net/</annotation>
  196. <mediaDisplay name="threePartsView"/>
  197. </item>
  198. <item>
  199. <title>filmeonline.cc</title>
  200. <link><?php echo $host; ?>/scripts/filme/php/filmeonlinecc_main.php</link>
  201. <annotation>http://www.filmeonline.cc</annotation>
  202. <mediaDisplay name="threePartsView"/>
  203. </item>
  204. <item>
  205. <title>pe?eav?</title>
  206. <link><?php echo $host; ?>/scripts/filme/peteava.php</link>
  207. <annotation>http://www.peteava.ro/</annotation>
  208. <mediaDisplay name="threePartsView"/>
  209. </item>
  210. <item>
  211. <title>pe?eav? - user movies</title>
  212. <link><?php echo $host; ?>/scripts/filme/peteava_user.php</link>
  213. <annotation>http://www.peteava.ro/</annotation>
  214. <mediaDisplay name="threePartsView"/>
  215. </item>
  216. <!--
  217. <item>
  218. <title>filmeonlinenoi</title>
  219. <link><?php echo $host; ?>/scripts/filme/php/filmeonlinenoi.php?query=,http://filmeonlinenoi.com/</link>
  220. <annotation>http://filmeonlinenoi.com/</annotation>
  221. <mediaDisplay name="threePartsView"/>
  222. </item>
  223. -->
  224. <item>
  225. <title>filmelive</title>
  226. <link><?php echo $host; ?>/scripts/filme/php/filmelive_main.php</link>
  227. <annotation>http://www.filmelive.net</annotation>
  228. <mediaDisplay name="threePartsView"/>
  229. </item>
  230. <!--
  231. <item>
  232. <title>themoviesbest</title>
  233. <link><?php echo $host; ?>/scripts/filme/php/themoviesbest_main.php</link>
  234. <annotation>http://themoviesbest.com/</annotation>
  235. <mediaDisplay name="threePartsView"/>
  236. </item>
  237. -->
  238. <item>
  239. <title>filme-online-gratis</title>
  240. <link><?php echo $host; ?>/scripts/filme/php/filme-online-gratis_main.php</link>
  241. <annotation>http://filme-online-gratis.com/blog/</annotation>
  242. <mediaDisplay name="threePartsView"/>
  243. </item>
  244. <item>
  245. <title>divxonline</title>
  246. <link><?php echo $host; ?>/scripts/filme/php/divxonline_main.php</link>
  247. <annotation>http://divxonline.biz</annotation>
  248. <mediaDisplay name="threePartsView"/>
  249. </item>
  250. <!--
  251. <item>
  252. <title>xvidonline</title>
  253. <link><?php echo $host; ?>/scripts/filme/php/xvidonline.php</link>
  254. <annotation>http://xvidonline.org/</annotation>
  255. <mediaDisplay name="threePartsView"/>
  256. </item>
  257. -->
  258. <!--
  259. <item>
  260. <title>moviesample</title>
  261. <link><?php echo $host; ?>/scripts/filme/php/moviesample.php</link>
  262. <annotation>http://www.moviesample.net</annotation>
  263. <mediaDisplay name="threePartsView"/>
  264. </item>
  265. -->
  266. <item>
  267. <title>filmeromania - filme române?ti</title>
  268. <link><?php echo $host; ?>/scripts/filme/php/filmeromania.php</link>
  269. <annotation>http://filmeromania.blogspot.com/</annotation>
  270. <mediaDisplay name="threePartsView"/>
  271. </item>
  272. <item>
  273. <title>cinemaromanesc - filme române?ti</title>
  274. <link><?php echo $host; ?>/scripts/filme/php/cinemaromanesc.php</link>
  275. <annotation>http://cinemaromanesc.blogspot.com/</annotation>
  276. <mediaDisplay name="threePartsView"/>
  277. </item>
  278. <!--
  279. <item>
  280. <title>filmede10</title>
  281. <link><?php echo $host; ?>/scripts/filme/php/filmede10_net_main.php</link>
  282. <annotation>http://www.filmede10.net/</annotation>
  283. <mediaDisplay name="threePartsView"/>
  284. </item>
  285. -->
  286. <item>
  287. <title>seriale-filme - movies</title>
  288. <link><?php echo $host; ?>/scripts/filme/php/seriale-filme_filme_info.php</link>
  289. <annotation>http://www.seriale-filme.info/movies</annotation>
  290. <mediaDisplay name="threePartsView"/>
  291. </item>
  292. <!--
  293. <item>
  294. <title>westernmania - filme Western</title>
  295. <link><?php echo $host; ?>/scripts/filme/php/westernmania.php</link>
  296. <annotation>http://www.westernmania.net</annotation>
  297. <mediaDisplay name="threePartsView"/>
  298. </item>
  299. -->
  300. <item>
  301. <title>seenow (abonament) - experimental</title>
  302. <link><?php echo $host; ?>/scripts/filme/php/seenow_main.php</link>
  303. <annotation>http://www.seenow.ro</annotation>
  304. <mediaDisplay name="threePartsView"/>
  305. </item>
  306. <item>
  307. <title>DolceTv - filme gratis</title>
  308. <link><?php echo $host; ?>/scripts/filme/php/dolce_filme.php?page=1</link>
  309. <annotation>http://www.dolcetv.ro/filme</annotation>
  310. <mediaDisplay name="threePartsView"/>
  311. </item>
  312. <item>
  313. <title>jurnaltv - filme ?i seriale documentare</title>
  314. <link><?php echo $host; ?>/scripts/filme/php/jurnaltv_main.php</link>
  315. <annotation>http://www.jurnaltv.ro</annotation>
  316. <mediaDisplay name="threePartsView"/>
  317. </item>
  318. <!--
  319. <item>
  320. <title>documentare - filme ?i seriale documentare</title>
  321. <link><?php echo $host; ?>/scripts/filme/php/documentare_main.php</link>
  322. <annotation>http://documentare.org</annotation>
  323. <mediaDisplay name="threePartsView"/>
  324. </item>
  325. -->
  326. <item>
  327. <title>documentare.digitalarena - filme ?i seriale documentare</title>
  328. <link><?php echo $host; ?>/scripts/filme/php/digitalarena_main.php</link>
  329. <annotation>http://documentare.digitalarena.ro</annotation>
  330. <mediaDisplay name="threePartsView"/>
  331. </item>
  332. <item>
  333. <title>filmedocumentare - filme ?i seriale documentare</title>
  334. <link><?php echo $host; ?>/scripts/filme/php/filmedocumentare_main.php</link>
  335. <annotation>http://filmedocumentare.com/</annotation>
  336. <mediaDisplay name="threePartsView"/>
  337. </item>
  338. <item>
  339. <title>filmekmagyarul</title>
  340. <link><?php echo $host; ?>/scripts/filme/php/filmekmagyarul_main.php</link>
  341. <annotation>http://www.filmekmagyarul.com</annotation>
  342. <mediaDisplay name="threePartsView"/>
  343. </item>
  344. <item>
  345. <title>moovie.cc (in lb. maghiara)</title>
  346. <link><?php echo $host; ?>/scripts/filme/php/moovie.php?query=1,</link>
  347. <annotation>http://www.moovie.cc</annotation>
  348. <mediaDisplay name="threePartsView"/>
  349. </item>
  350. <item>
  351. <title>onlinefilmletoltes.eu (in lb. maghiara)</title>
  352. <link><?php echo $host; ?>/scripts/filme/php/onlinefilmletoltes_main.php</link>
  353. <annotation>http://onlinefilmletoltes.eu</annotation>
  354. <mediaDisplay name="threePartsView"/>
  355. </item>
  356. <item>
  357. <title>onlinewebfilmek (in lb. maghiara)</title>
  358. <link><?php echo $host; ?>/scripts/filme/php/onlinewebfilmek.php?file=http://onlinewebfilmek.blogspot.com</link>
  359. <annotation>http://onlinewebfilmek.blogspot.com</annotation>
  360. <mediaDisplay name="threePartsView"/>
  361. </item>
  362. <item>
  363. <title>movie2k - movies</title>
  364. <link><?php echo $host; ?>/scripts/filme/php/movie2k_main.php</link>
  365. <annotation>http://www.movie2k.to</annotation>
  366. <mediaDisplay name="threePartsView"/>
  367. </item>
  368. </channel>
  369. </rss>