📄 photoshow.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="gb2312">
<meta name=keywords content="{$Meta_Keywords}">
<meta name="description" content="{$Meta_Description}">
<link rel="SHORTCUT ICON" href="{$InstallDir}images/favicon.ico">
<link rel="Bookmark" href="{$InstallDir}images/favicon.ico">
<link type="text/css" rel="stylesheet" href="{$InstallDir}Skins/{$SkinDir}/Style.css">
<Script language="JavaScript" Src="{$InstallDir}Inc/Site.Js"></Script>
<Script language="JavaScript" Src="{$InstallDir}Inc/Menu.Js"></Script>
<title>{$Company}图片展示 - {$ClassName} - {$ChannelName} - {$SiteTitle}</title>
<script language="JavaScript">
function dis(tit,show,num,pic,s){
for(g=1;g<=num;g++){
document.all("tit"+g).background="{$InstallDir}Skins/{$SkinDir}/Com_GB_tit.gif";
document.all("show"+g).style.display="none";
document.all("tit"+g).className="ComLabel";
document.all("p"+g).style.display="none";
}
if(tit.style.display=="none"){
tit.background="{$InstallDir}Skins/{$SkinDir}/Com_GB_tit.gif";
show.style.display="none";
tit.className="ComLabel";
s.style.display="none";
}
else{
tit.background="{$InstallDir}Skins/{$SkinDir}/Com_DP_tit.gif";
show.style.display="";
tit.className="ComLabel1";
s.style.display="";
}
}
function ShowPic(str){
var str1 = str.split('|');
pPhotoPath.src = str1[1];
pPhotoName.innerHTML = str1[3];
pUser.innerHTML = str1[0];
pTime.innerHTML = str1[2];
}
function ShowMovie(str){
var str2 = str.split('|');
mPhotoName.innerHTML = str2[2];
mUser.innerHTML = str2[0];
mTime.innerHTML = str2[1];
}
</script>
<style>
.ComShowPic{width:90px;height:70px;border:1px #CCCCCC Solid;margin:5px;padding:3px;float:left}
</style>
</head>
<body>
{$My_Hand_商家}
<div class=div>
<div class=SitePath>{$SitePath}</div>
</div>
<br>
<table width="980px" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="270px" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>
<TABLE border=0 cellspacing=0 cellpadding=0>
<TR>
<TD width=100px background='{$InstallDir}Skins/{$SkinDir}/Com_DP_tit.gif' id=tit1 onClick="dis(tit1,show1,2,'Label',p1)" Class=ComLabel1><span class=F14>图片({$PhotoNum})</span></TD>
<TD width=5px height=26px></TD>
<TD width=100px background='{$InstallDir}Skins/{$SkinDir}/Com_GB_tit.gif' id=tit2 onClick="dis(tit2,show2,2,'Label',p2)" Class=ComLabel><span class=F14>视频</span></TD>
<TD width=*></TD>
</TR>
</TABLE>
</td></tr>
<tr ID=show1><td valign=top>
<table width="260px" border="0" cellspacing="0" cellpadding="0" style="border:1px #F4D3B0 solid">
<tr>
<td><div style='width:260px; height:400px; z-index:1;overflow:auto;margin:5px'>{$PhotoList}</div></td>
</tr>
</table>
</td></tr>
<tr ID=show2 style="display:none"><td>
<table width="260px" border="0" cellspacing="0" cellpadding="0" style="border:1px #F4D3B0 solid">
<tr>
<td><div style='width:260px; height:400px; z-index:1;overflow:auto;margin:5px'>{$MovieList}</div></td>
</tr>
</table>
</td></tr>
</table>
</td>
<td width="10px" valign="top"></td>
<td width="700px" valign="top">
<table width="700px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height=26px valign=top><strong><a href={$Url} class=F14>{$Company}</a></strong> 地址:{$Address} 电话:{$Phone}</td>
<td align=right valign=top><a href=# onclick="player.location.reload();">刷新</a><a href=# onClick="openWithIframe('店铺图片/视频上传','{$InstallDir}{$ChannelDir}/PhotoPost.asp?ID={$ID}',600,400);"><img src="{$InstallDir}Skins/{$SkinDir}/Com_up.gif" border=0 align="absmiddle"></a></td>
</tr>
<tr>
<td colspan=2 align=center bgcolor=#EFEFEF>
<div id=p1><br><img id=pPhotoPath src="{$InstallDir}Skins/{$SkinDir}/nopic.gif" border=0 onload="javascript:DrawImage(this,660,660)" onclick="window.open(this.src,'_n')" style="cursor:pointer"><br><br><strong><span class=F14 id=pPhotoName>{$PhotoName}</span></strong><br>上传用户:<span id=pUser>{$User}</span> 上传时间:<span id=pTime>{$Time}</span><br><br></div>
<div id=p2 style="display:none"><br><iframe name=player src="Player.asp" width='600px' height='400px' scrolling=no FRAMEBORDER=0></iframe><br><br>当前播放内容:<strong><span class=F14 id=mPhotoName>{$PhotoName}</span></strong><br>上传用户:<span id=mUser>{$User}</span> 上传时间:<span id=mTime>{$Time}</span><br><br><br></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
{$My_Bottom}
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -