?? photo_list.vm
字號:
<html>
<head>
<title>照片列表</title>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../pub/common.css">
</head>
<body>
<center>
<table width="500" border="0">
<tr>
<td align="center"><b>照片列表</b></td>
</tr>
<tr>
<td><b><font color="red"> $!msg</font></b></td>
</tr>
<tr>
<td align="right"><a href="photoupdatein">發布</a> </td>
</tr>
<tr>
<td >
<table width="100%" border=1 >
<tr>
#foreach( $category in $categorys )
<td align="center">
<a href="photolist?categoryid=$category.categoryid">
#if( $categoryid==$category.categoryid)
<font color="red">$category.name</font>
#else
$category.name
#end
</a>
</td>
#end
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table width="500" border="1">
#foreach( $photo in $photos )
<tr>
<td width="100" align="center">
<img src="photoview?photoid=$photo.photoid" width="90"><br>$photo.title
</td>
<td valign="top">$photo.content</td>
<td align="center" width="50">
<a href="photoupdatein?photoid=$photo.photoid">修改說明</a>
<p>
<a href="#" onClick="javascript:window.open( 'photo_updatephoto.vm?photoid=$photo.photoid', '修改圖片', 'height=300, width=350, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') ">修改圖片</a>
<p>
<a href="photodelete?photoid=$photo.photoid&categoryid=$photo.categoryid">刪除</a>
</td>
</tr>
#end
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -