?? client.jsp
字號:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ include file="common_imports.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.79 [en]C-Netscape (Windows NT 5.0; U) [Netscape]">
<meta name="Author" content="Bernard.Vanhaecke@Belgium.Sun.COM">
<meta name="KeyWords" content="iDTV, VOD, Video On Demand, SJC, Sun Java Center">
<title>Video On Demand</title>
</head>
<body background="images/bg800.jpg">
<center><table CELLSPACING=0 CELLPADDING=0 WIDTH="100%" BGCOLOR="#000000" >
<tr>
<td><img SRC="images/leftlogo.png" height=32 width=71></td>
<td>
<center><img SRC="images/homemoviesbar.png" BORDER=0 height=32 width=260></center>
</td>
<td>
<div align=right><img SRC="images/smallsunlogo.png" BORDER=0 height=32 width=71></div>
</td>
</tr>
</table></center>
<center>
<br>
<%
Subscriber[] subs = sms.getSubscriberList("127.0.0.1");
me = subs[0];
me.pin = "1234";
me = sms.authenticate(me);
%>
<b><font color="#000066">Welcome <%=me.firstname%>
EUR <%=billing.getAccountBalance(me)%> left on your prepaid account
</font></b>
<br><br>
<table BORDER WIDTH="80%" >
<tr>
<td><b>
<%
for (int i=0; i<me.categories.length; i++) {
Movie[] movies = mediacat.getMovieList(me.categories[i].genreid);
if (movies.length > 0) {
%>
<font color="#FFFF00">
<br><%=me.categories[i].genrename%> : <br>
</font>
<font color="#000066">
<%
for (int j=0; j<movies.length; j++) {
Movie movie = mediacat.getMovieMetadata(movies[j].id);
String rtspurl = "rtsp://152.70.40.215:554//152.70.40.215/" + movie.movieurl + ";servertype=MediaBase;";
String rtsplink = "<A HREF=\"" + rtspurl + "\">" + movie.movieurl + "</A>";
%>
<%=movies[j].shorttitle%> <%=rtsplink%><br>
<%
} // end for
%>
</font>
<%
} // end if
%>
<%
} // end for
%>
</b></td>
</tr>
</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 + -