PageRenderTime 31ms CodeModel.GetById 14ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/feeds/scripts_vb6/scripts/clip/220.php

http://eboda-hd-for-all-500.googlecode.com/
PHP | 287 lines | 248 code | 39 blank | 0 comment | 17 complexity | 2fc3eb0cbcb9c046ee74a5f6b536d118 MD5 | raw file
  1<?php echo "<?xml version='1.0' encoding='UTF8' ?>";
  2$host = "http://127.0.0.1:82";
  3$img = "/scripts/clip/image/220.jpg";
  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
 50  	<text redraw="yes" offsetXPC="85" offsetYPC="12" widthPC="10" heightPC="6" fontSize="20" backgroundColor="10:105:150" foregroundColor="60:160:205">
 51		  <script>sprintf("%s / ", focus-(-1))+itemCount;</script>
 52		</text>
 53  	<text  redraw="yes" align="center" offsetXPC="0" offsetYPC="90" widthPC="100" heightPC="8" fontSize="17" backgroundColor="10:105:150" foregroundColor="100:200:255">
 54		  <script>print(annotation); annotation;</script>
 55		</text>
 56		<image  redraw="yes" offsetXPC=60 offsetYPC=35 widthPC=30 heightPC=30>
 57  <?php echo $img; ?>
 58		</image>
 59        <idleImage>image/POPUP_LOADING_01.png</idleImage>
 60        <idleImage>image/POPUP_LOADING_02.png</idleImage>
 61        <idleImage>image/POPUP_LOADING_03.png</idleImage>
 62        <idleImage>image/POPUP_LOADING_04.png</idleImage>
 63        <idleImage>image/POPUP_LOADING_05.png</idleImage>
 64        <idleImage>image/POPUP_LOADING_06.png</idleImage>
 65        <idleImage>image/POPUP_LOADING_07.png</idleImage>
 66        <idleImage>image/POPUP_LOADING_08.png</idleImage>
 67
 68		<itemDisplay>
 69			<text align="left" lines="1" offsetXPC=0 offsetYPC=0 widthPC=100 heightPC=100>
 70				<script>
 71					idx = getQueryItemIndex();
 72					focus = getFocusItemIndex();
 73					if(focus==idx)
 74					{
 75					  location = getItemInfo(idx, "location");
 76					  annotation = getItemInfo(idx, "title");
 77					}
 78					getItemInfo(idx, "title");
 79				</script>
 80				<fontSize>
 81  				<script>
 82  					idx = getQueryItemIndex();
 83  					focus = getFocusItemIndex();
 84  			    if(focus==idx) "16"; else "14";
 85  				</script>
 86				</fontSize>
 87			  <backgroundColor>
 88  				<script>
 89  					idx = getQueryItemIndex();
 90  					focus = getFocusItemIndex();
 91  			    if(focus==idx) "10:80:120"; else "-1:-1:-1";
 92  				</script>
 93			  </backgroundColor>
 94			  <foregroundColor>
 95  				<script>
 96  					idx = getQueryItemIndex();
 97  					focus = getFocusItemIndex();
 98  			    if(focus==idx) "255:255:255"; else "140:140:140";
 99  				</script>
100			  </foregroundColor>
101			</text>
102
103		</itemDisplay>
104
105<onUserInput>
106<script>
107ret = "false";
108userInput = currentUserInput();
109
110if (userInput == "pagedown" || userInput == "pageup")
111{
112  idx = Integer(getFocusItemIndex());
113  if (userInput == "pagedown")
114  {
115    idx -= -8;
116    if(idx &gt;= itemCount)
117      idx = itemCount-1;
118  }
119  else
120  {
121    idx -= 8;
122    if(idx &lt; 0)
123      idx = 0;
124  }
125
126  print("new idx: "+idx);
127  setFocusItemIndex(idx);
128	setItemFocus(0);
129  redrawDisplay();
130  "true";
131}
132ret;
133</script>
134</onUserInput>
135
136	</mediaDisplay>
137	<searchLink>
138	  <link>
139	    <script>"<?php echo $host; ?>/scripts/clip/php/220_search.php?query=1," + urlEncode(keyword) + "," + urlEncode(keyword);</script>
140	  </link>
141	</searchLink>
142	<item_template>
143		<mediaDisplay  name="threePartsView" idleImageXPC="5" idleImageYPC="5" idleImageWidthPC="8" idleImageHeightPC="10">
144        <idleImage>image/POPUP_LOADING_01.png</idleImage>
145        <idleImage>image/POPUP_LOADING_02.png</idleImage>
146        <idleImage>image/POPUP_LOADING_03.png</idleImage>
147        <idleImage>image/POPUP_LOADING_04.png</idleImage>
148        <idleImage>image/POPUP_LOADING_05.png</idleImage>
149        <idleImage>image/POPUP_LOADING_06.png</idleImage>
150        <idleImage>image/POPUP_LOADING_07.png</idleImage>
151        <idleImage>image/POPUP_LOADING_08.png</idleImage>
152		</mediaDisplay>
153
154	</item_template>
155<channel>
156<title>220.ro</title>
157
158<item>
159<title>Search</title>
160<onClick>
161  keyword = getInput();
162  if (keyword != null)
163  {
164    jumpToLink("searchLink");
165  }
166</onClick>
167</item>
168
169
170<item>
171<title>200.ro - Shows</title>
172<link><?php echo $host; ?>/scripts/clip/php/220_show_main.php</link>
173</item>
174
175<item>
176<title>200.ro - selectii</title>
177<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/,Selectii</link>
178</item>
179
180<item>
181<title>200.ro - filmele zilei</title>
182<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/filmele-zilei/,Filmele+zilei</link>
183</item>
184
185<item>
186<title>200.ro - Cele mai recente</title>
187<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/cele-mai-noi/,Cele+mai+recente</link>
188</item>
189
190<item>
191<title>200.ro - Cele mai vizionate</title>
192<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/cele-mai-vazute/,Cele+mai+vizionate</link>
193</item>
194
195<item>
196<title>200.ro - Cele mai comentate</title>
197<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/cele-mai-comentate/,Cele+mai+comentate</link>
198</item>
199
200<item>
201<title>Toate filmele</title>
202<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/video/,Toate+filmele</link>
203</item>
204
205<item>
206<title>Animale</title>
207<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/animale/,Animale</link>
208</item>
209
210<item>
211<title>Auto, moto</title>
212<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/auto/,Auto</link>
213</item>
214
215<item>
216<title>Cinema, movie trailers</title>
217<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/trailer/,Cinema</link>
218</item>
219
220<item>
221<title>Comedie, Umor romanesc</title>
222<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/umor-romanesc/,Comedie</link>
223</item>
224
225<item>
226<title>Desene animate</title>
227<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/desene-animate/,Desene+animate</link>
228</item>
229
230<item>
231<title>Emisiuni TV</title>
232<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/emisiuni-tv/,Emisiuni+TV</link>
233</item>
234
235<item>
236<title>Farse</title>
237<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/farse/,Farse</link>
238</item>
239
240<item>
241<title>Faze tari</title>
242<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/faze-tari/,Faze+tari</link>
243</item>
244
245<item>
246<title>Funny</title>
247<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/funny/,Funny</link>
248</item>
249
250<item>
251<title>Interzis la birou</title>
252<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/sexy/,Interzis+la+birou</link>
253</item>
254
255<item>
256<title>Jocuri, Gameplay</title>
257<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/gaming/,Jocuri</link>
258</item>
259
260<item>
261<title>Muzica, Videoclipuri</title>
262<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/videoclipuri/,Muzica</link>
263</item>
264
265<item>
266<title>Prieteni, petreceri, clubbing</title>
267<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/party/,Prieteni</link>
268</item>
269
270<item>
271<title>Reclame</title>
272<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/reclame/,Reclame</link>
273</item>
274
275<item>
276<title>Sport</title>
277<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/sport/,Sport</link>
278</item>
279
280<item>
281<title>Vedete</title>
282<link><?php echo $host; ?>/scripts/clip/php/220.php?query=,http://www.220.ro/vedete/,Vedete</link>
283</item>
284
285
286</channel>
287</rss>