📄 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 + -