<META http-equiv=Content-Type content="text/html; charset=gb2312">
<!--最新图文代码开始-->
<script language="JavaScript">
<!--
var flag=false;
function DrawImage(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 120/94){
if(image.width>120){
ImgD.width=120;
ImgD.height=(image.height*120)/image.width;
}else{
ImgD.width=image.width;
ImgD.height=image.height;
}
}
else{
if(image.height>94){
ImgD.height=94;
ImgD.width=(image.width*94)/image.height;
}else{
ImgD.width=image.width;
ImgD.height=image.height;
}
}
}
}
//-->
</script>
【TemplateTr】【From:LZ8_Photo,3,False】【Lable:PhotoID,ClassId,PhotoName(18),IndexPicUrl,TitleFontColor】【Where:False,0,0,0,PhotoID,0,Desc】【List:1,5,0,0,0】
<td height="95"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="ImgTable"><tr>
<td align="center"><a href="{$WebPath}/Photo/List.asp?SelectId={$PhotoID}&ClassId={$ClassId}"><img src="{$IndexPicUrl}" width="130" height="84" border="0"></a></td>
</tr>
<tr>
<td align="center"><a href="{$WebPath}/Photo/List.asp?SelectId={$PhotoID}&ClassId={$ClassId}" class="bluesmall">{$PhotoName}</a></td>
</tr>
</table>
</td>
【/TemplateTr】