📄 iptv.jsp
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ include file="common_imports.jsp" %>
<html>
<head>
<title>IP Television</title>
</head>
<meta http-equiv="pragma" content="no-cache">
<body background="images/bg800.jpg">
<center>
<%
String rtsplinkS = response.encodeUrl("MoviePurchaseMenu.jsp");
%>
<td style="vertical-align: top;"><big><big><big><a
href="MoviePurchaseMenu.jsp"><img align="right"
style="border: 2px solid ; font-family: helvetica,arial,sans-serif;
width: 40px; height: 40px;"
alt="Shopping"
src="images/sm-sales.gif"><span
</span></a></td>
<td style="vertical-align: top;"><a href="<%=
response.encodeUrl("MainMenuVideo.jsp")
%>"><img
align="left" style="border: 2px solid ; width: 40px; height: 40px;"
alt="Movies"
src="images/sm-film.gif"></a>
</td>
<br>
<b><font size="8" color="#000000">Welcome <%=me.firstname%>
<%-- EUR <%=billing.getAccountBalance(me)%> left on your prepaid account --%>
</font></b>
<br><br>
<table BORDER WIDTH="80%" >
<tr>
<td><b>
<CENTER><H1><U>IP Television:</U></H1></CENTER>
</b></td>
</tr>
<%
final String[] stations = new String[12];
stations[0] = "NTV";
stations[1] = "SUN";
stations[2] = "VSA";
stations[3] = "UNT";
stations[4] = "DNN";
stations[5] = "IBO";
stations[6] = "THOW";
stations[7] = "OHK";
stations[8] = "DBS";
stations[9] = "UBS";
stations[10] = "LRON";
stations[11] = "CBC";
Vector v = new Vector();
for (int i=0; i<me.categories.length; i++) {
Movie[] movies = mediacat.getMovieList(me.categories[i].genreid);
for(int j=0;j<movies.length;j++) {
v.add(movies[j]);
}
}
Movie[] movies = new Movie[v.size()];
for (int i=0; i<v.size(); i++) {
movies[i] = (Movie)v.elementAt(i);
}
%>
<font color="#000000" SIZE=3>
<%
for (int j=0; j<movies.length; j++) {
Movie movie = mediacat.getMovieMetadata(movies[j].id);
// String rtspip = mediacat.getMovieServerIp(movie);
// String rtspurl = "rtsp://"+rtspip+":11111//152.70.40.215/" + movie.movieurl + ";servertype=MediaBase;";
String rtspurl = mediacat.getMovieServerURL(movie) + "&content_id=" + movie.CID +"&carousal=true" + "&userid=" + me.login;
if (movie.CAS) rtspurl = rtspurl + "&cas=1";
// String rtsplink = "<A HREF=\"" + rtspurl + "\"><td><b>Ch "+ (j+1) + "</b></td><td><b>"+stations[j]+"</b></td><td><b>"+movie.fulltitle+"</b></td></A>";
String rtsplink1 = "<A HREF=\"" + rtspurl + "\"><b>Ch "+ (j+1) + "</b></a>";
String rtsplink2 = "<A HREF=\"" + rtspurl + "\"><b>"+ stations[j] + "</b></a>";
String rtsplink3 = "<A HREF=\"" + rtspurl + "\"><b>"+ movie.fulltitle + "</b></a>";
%>
<tr><td><b><%=rtsplink1%></b></td><td><b><%=rtsplink2%></b></td><td><b><%=rtsplink3%></b></td></tr>
<%
} // end for
%>
</font>
</table></center>
<br>
<center>
<p><font color="#FFFFFF"><font size=-2>(C) 2003, Copyrights Sun Microsystems, Inc.</font></font></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -