请帮忙:[PHPBB3]在 bo2Soft 风格应用本坛的图片放大特效

Python/PHP/Perl 开发与设计
回复
头像
shuifu
帖子: 234
注册时间: 2007-07-23 12:20
送出感谢: 0
接收感谢: 0
联系:

请帮忙:[PHPBB3]在 bo2Soft 风格应用本坛的图片放大特效

#1

帖子 shuifu » 2007-10-10 18:58

论坛:PHPBB3
风格:bo2Soft
我想在这个风格中插入和本坛一样的图片放大特效,我该怎么做?
谢谢兄弟们的帮忙。
这是我的风格包,麻烦给看看怎么修改?
附件
bo2Soft.zip
(495.73 KiB) 下载 103 次
头像
oneleaf
论坛管理员
帖子: 10237
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 107 次

#2

帖子 oneleaf » 2007-10-10 19:54

风格不一样,我也不知道你应该修改那里,我发出我修改的吧,你自己去捉摸一下:

overall_header.tpl:

代码: 全选

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body { 
        background-color: {T_BODY_BGCOLOR};
/*        background-image: url(templates/subSilver/images/{T_BODY_BACKGROUND});*/
/*
        scrollbar-face-color: {T_TR_COLOR2}; 
        scrollbar-highlight-color: {T_TD_COLOR2};
        scrollbar-shadow-color: {T_TR_COLOR2};
        scrollbar-3dlight-color: {T_TR_COLOR3};
        scrollbar-arrow-color:  {T_BODY_LINK};
        scrollbar-track-color: {T_TR_COLOR1};
        scrollbar-darkshadow-color: {T_TH_COLOR1}; 
*/
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover         { text-decoration: underline; color : {T_BODY_HLINK}; }
hr      { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

#selectlang
{
   text-align:right;
   position:absolute;
   top:40px;
   right:30px;
}

#sitesearch
{
   text-align:right;
   position:absolute;
   top:12px;
   right:30px;
}


/* This is the border line & background colour round the entire page */
.bodyline       { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline      { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1 { background-color: {T_TR_COLOR1}; }
td.row2 { background-color: {T_TR_COLOR2}; }
td.row3 { background-color: {T_TR_COLOR2}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
                background-color: {T_TR_COLOR3};
/*              background-image: url(templates/subSilver/images/{T_TH_CLASS3});*/
                background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th      {
        color: {T_TH_COLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
        background-color: {T_BODY_LINK}; height: 25px;
/*      background-image: url(templates/subSilver/images/{T_TH_CLASS2});*/
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
/*                      background-image: url(templates/subSilver/images/{T_TH_CLASS1});
*/                      background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
        height: 29px;
        border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
        font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
        background-color: {T_TR_COLOR2}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow       { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right      { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop         { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle      {
        font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
        text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover     { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu               { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu              { text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle               { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle              { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink              { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink     { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav                    { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav                   { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover             { text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2       { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover      { text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name                   { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails            { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code { 
        font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright              { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright             { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
        color : {T_BODY_TEXT};
        font: normal {T_FONTSIZE2}px {T_FONTFACE1};
        border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
        background-color : {T_TD_COLOR2};
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
        background-color : {T_TR_COLOR1};
        color : {T_BODY_TEXT};
        font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
        background-color : {T_TD_COLOR1};
        font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
        background-color : {T_TD_COLOR1};
        font-weight : normal;
}

/* nav1 */
#mastWrapper {
        background: url(http://forum.ubuntu.org.cn/images/misc/header-bg4.png) bottom left repeat-x #fff;
}

#masthead
{
        position:relative;
        background: url(http://forum.ubuntu.org.cn/images/misc/header-image4.png) no-repeat transparent;
        border-style: solid;
        border-width: 0;
        color: #000000;
        height: 90px;
}

#masthead h1
{
/*      //display: none; */             /* we'll show an image instead */
        text-indent:-10000px;
        margin:0;
}

#nav1 
{
        position:absolute;
/*      bottom:0px; */
        top:52px;
        right:10px;
        font: normal {T_FONTSIZE2}px {T_FONTFACE1};
}
                  
#nav1 ul 
{
        margin:0;
        padding:10px 10px 0 20px;
        list-style:none;
}
                  
#nav1 li 
{
        float:left;
        background:url("http://forum.ubuntu.org.cn/images/misc/tab_off_ns1.gif") no-repeat left top;
        margin:0;
        padding:0 0 0 5px;
}

#nav1 a 
{
        float:left;
        font-size:90%;
        display:block;
        background:url("http://forum.ubuntu.org.cn/images/misc/tab_off_ns2.gif") no-repeat right top;
        padding:10px 15px 3px 8px;
        text-decoration:none;
        font-weight:bold;
        color:#444;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav1 a {float:none;}
/* End IE5-Mac hack */
#nav1 a:hover {
        color:#333;
}

#nav1 li:hover, #nav1 li:hover a 
{
        background-position:0% -163px;
        color:#000;
}

#nav1 li:hover a 
{
        background-position:100% -163px;
        color:#000;
}

#nav1 #current 
{
        background:url("http://forum.ubuntu.org.cn/images/misc/tab_on_ns1.gif") no-repeat left top;               
}

#nav1 #current a
{
        background:url("http://forum.ubuntu.org.cn/images/misc/tab_on_ns2.gif") no-repeat right top;              
        padding-bottom:4px;
        color:#000;
}


/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
/* xHTML compliant, define border in CSS */
img, .forumline img     {
border: none;
}
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
        if ( {PRIVATE_MESSAGE_NEW_FLAG} )
        {
                window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
        }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<script type="text/javascript">
function setImageDimensions(gotImage)
{
  if(gotImage.width > 570) {
        gotImage.width = 570;
  }
}
function changeImageDimensions(gotImage, type)
{
  if(gotImage.width > 570 && type == 'out') {
        gotImage.width = 570;
    return;
  }
  if(type == 'over') {
        gotImage.removeAttribute('width');
  }
}
</script>
<script language="Javascript" type="text/javascript"> 
<!-- 
function setCheckboxes(theForm, elementName, isChecked)
{
    var chkboxes = document.forms[theForm].elements[elementName];
    var count = chkboxes.length;

    if (count) 
        {
        for (var i = 0; i < count; i++) 
                {
            chkboxes[i].checked = isChecked;
        }
    } 
        else 
        {
        chkboxes.checked = isChecked;
    } 

    return true;
} 
//--> 
</script>
<!--
<script type="text/javascript" src="/lightbox/lightbox_plus.js"></script>
-->

<!--
<link rel="stylesheet" title="default" type="text/css" href="/lightbox/lightbox.css" media="screen,tv" />
-->

<script type="text/javascript" src="highslide/highslide.js"></script>
<script type="text/javascript">    
    hs.showCredits = false;
    hs.graphicsDir = 'highslide/graphics/';
    window.onload = function() {
        hs.preloadImages(5);
    }
</script>
<style type="text/css">
* {
    font-family: Verdana, Helvetica;
    font-size: 10pt;
}
.highslide {
        cursor: url(highslide/graphics/zoomin.cur), pointer;
    outline: none;
}
.highslide img {
        border: 2px solid gray;
}
.highslide:hover img {
        border: 2px solid silver;
}

.highslide-image {
    border-bottom: 1px solid white;
}
.highslide-image-blur {
}
.highslide-caption {
    display: none;
    
    border-bottom: 1px solid white;
    font-family: Verdana, Helvetica;
    font-size: 10pt;
    padding: 5px;
    background-color: silver;
}
.highslide-loading {
    display: block;
        color: white;
        font-size: 9px;
        font-weight: bold;
        text-transform: uppercase;
    text-decoration: none;
        padding: 3px;
        border-top: 1px solid white;
        border-bottom: 1px solid white;
    background-color: black;
    /*
    padding-left: 22px;
    background-image: url(highslide/graphics/loader.gif);
    background-repeat: no-repeat;
    background-position: 3px 1px;
    */
}

a.highslide-credits,
a.highslide-credits i {
    padding: 2px;
    color: silver;
    text-decoration: none;
        font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
    color: white;
    background-color: gray;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}
</style>





</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<!--

<IFRAME SRC="m2f/m2f_import_msgs.php?m2f_cron_check=1" TITLE="M2F Simple Cron check" WIDTH="1" HEIGHT="1" FRAMEBORDER="0" SCROLLING="NO">
</IFRAME>
-->

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"  style="background-color:#d9bb7a;"> 
<tr>
                                <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color:#d9bb7a;">
                <tr>
<!--                        <td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>-->
                        <td align="right" width="100%" valign="middle">

                                <div id="mastWrapper">
                         <div id="masthead">
                                <div id="nav1">
                                  <ul>
                                        <li><a href="http://irc.ubuntu.org.cn/">ChatIRC</a></li>
                                        <li><a href="http://planet.ubuntu.org.cn/">Planet</a></li>
                                        <li><a href="http://paste.ubuntu.org.cn">Paste</a></li>
                                         <li><a href="http://www.ubuntu.org.cn/">Ubuntu</a></li>
                                         <li><a href="http://wiki.ubuntu.org.cn">Wiki</a></li>
                                         <li><a href="http://linux.ubuntu.org.cn">Linux</a></li> 
                                         <li id="current"><a href="http://forum.ubuntu.org.cn">Forum</a></li> 

                                  </ul>
                                </div></div></div>

<div id='selectlang'>
<form action="{U_LANG}" method="post">
{S_SELECT_LANG}
</form>
</div>
<div id='sitesearch'>
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.cn/search" target="google_window">
<input type="text" name="as_q" size="31" maxlength="255" value=""/>
<input type="submit" name="sa" value="搜索"/>
<input name="as_sitesearch" value="forum.ubuntu.org.cn" type="hidden"/>
<input name="newwindow" value="1" type="hidden"/>
<input name="complete" value="1" type="hidden"/>
<input name="forid" value="zh-CN" type="hidden"/>
<input type="hidden" name="num" value="10"/>
<input name="btnG" value="Google+%E6%90%9C%E7%B4%A2&" type="hidden"/>
<input name="as_ft" value="1" type="hidden"/>
<input name="as_qdr" value="all" type="hidden"/>
<input name="as_occt" value="any" type="hidden"/>
<input name="as_dt" value="i" type="hidden"/>
</form>
<!-- SiteSearch Google -->
</div>



                        </td>
                        </tr>
               </table>
</tr>
        <tr> 
                                        <!--<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp; &nbsp; -->
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;
<!--
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp; -->

<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;

<a href="{U_FAV}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_fav.gif" width="12" height="13" border="0" alt="{L_FAV}" hspace="3" />{L_FAV}</a>&nbsp;
                                                <!-- BEGIN switch_user_logged_out -->
                                                &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
                                                <!-- END switch_user_logged_out -->
                                                </span></td>
                                                <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
                                                <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
                                                <a href="{U_LINKDB}" class="mainmenu"><img src="linkdb/images/icon_mini_links.gif" width="13" height="13" border="0" alt="{L_LINKDB}" hspace="3" />{L_LINKDB}</a>&nbsp;

                                                <!--<a href="{U_WEBLOGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_WEBLOGS}" hspace="3" />{L_WEBLOGS}</a>&nbsp;-->
                                                <!-- BEGIN switch_user_logged_in -->
                                                <a href="{U_WEBLOG_CONFIG}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_WEBLOG_CONFIG}" hspace="3" />{L_WEBLOG_CONFIG}</a>&nbsp; 
                                                <a href="{U_MYWEBLOG}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MYWEBLOG}" hspace="3" />{L_MYWEBLOG}</a>&nbsp;
                                                <a href="{U_MYTHREAD}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif"  width="12" height="13" border="0" alt="{L_MYTHREAD}" hspace="3" />{L_MYTHREAD}</a>
                                                <a href="{U_SEARCH_NEW}" class="gensmall"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH_NEW}</a>
                                                <!-- END switch_user_logged_in -->
                                                </span></td>
                                            <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">{L_DISABLE_BOARD_ACCESS}</span></td>
                        </tr>
                </table>

                <br /><br>
viewtopic_attach_body.tpl

代码: 全选

<style type="text/css">
<!--
td.attachrow            { font: normal 11px Verdana, Arial, Helvetica, sans-serif; color : {T_BODY_TEXT}; border-color : {T_BODY_TEXT}; }
td.attachheader     { font: normal 11px Verdana, Arial, Helvetica, sans-serif; color : {T_BODY_TEXT}; border-color : {T_BODY_TEXT}; background-color: {T_TR_COLOR3}; }
table.attachtable       { font: normal 12px Verdana, Arial, Helvetica, sans-serif; color : {T_BODY_TEXT}; border-color : {T_BODY_TEXT}; border-collapse : collapse; }
-->
</style>

<!-- BEGIN attach -->
        <br /><br />
          
        <!-- BEGIN denyrow -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" class="attachheader" align="center"><b><span class="gen">{postrow.attach.denyrow.L_DENIED}</span></b></td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END denyrow -->
        <!-- BEGIN cat_stream -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" colspan="2" class="attachheader" align="center"><b><span class="gen">{postrow.attach.cat_stream.DOWNLOAD_NAME}</span></b></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_DESCRIPTION}:</span></td>
                <td width="75%" class="attachrow">
                        <table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
                        <tr>
                                <td class="attachrow"><span class="genmed">{postrow.attach.cat_stream.COMMENT}</span></td>
                        </tr>
                        </table>
                </td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILESIZE}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_stream.FILESIZE} {postrow.attach.cat_stream.SIZE_VAR}</td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_stream.L_DOWNLOADED_VIEWED}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_stream.L_DOWNLOAD_COUNT}</span></td>
        </tr>
        <tr>
                <td colspan="2" align="center"><br />
                <object id="wmp" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> 
                <param name="FileName" value="{postrow.attach.cat_stream.U_DOWNLOAD_LINK}"> 
        <param name="ShowControls" value="1"> 
                <param name="ShowDisplay" value="0"> 
                <param name="ShowStatusBar" value="1"> 
                <param name="AutoSize" value="1"> 
                <param name="AutoStart" value="0"> 
                <param name="Visible" value="1"> 
                <param name="AnimationStart" value="0"> 
                <param name="Loop" value="0"> 
                <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" src="{postrow.attach.cat_stream.U_DOWNLOAD_LINK}" name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 autostart=0 visible=1 animationatstart=0 loop=0></embed> 
                </object> <br /><br />
                </td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END cat_stream -->
        <!-- BEGIN cat_swf -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" colspan="2" class="attachheader" align="center"><b><span class="gen">{postrow.attach.cat_swf.DOWNLOAD_NAME}</span></b></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_DESCRIPTION}:</span></td>
                <td width="75%" class="attachrow">
                        <table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
                        <tr>
                                <td class="attachrow"><span class="genmed">{postrow.attach.cat_swf.COMMENT}</span></td>
                        </tr>
                        </table>
                </td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILESIZE}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_swf.FILESIZE} {postrow.attach.cat_swf.SIZE_VAR}</td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_swf.L_DOWNLOADED_VIEWED}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_swf.L_DOWNLOAD_COUNT}</span></td>
        </tr>
        <tr>
                <td colspan="2" align="center"><br />
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="{postrow.attach.cat_swf.WIDTH}" height="{postrow.attach.cat_swf.HEIGHT}"> 
                <param name=movie value="{postrow.attach.cat_swf.U_DOWNLOAD_LINK}"> 
                <param name=loop value=1> 
                <param name=quality value=high> 
                <param name=scale value=noborder> 
                <param name=wmode value=transparent> 
                <param name=bgcolor value=#000000> 
                <embed src="{postrow.attach.cat_swf.U_DOWNLOAD_LINK}" loop=1 quality=high scale=noborder wmode=transparent bgcolor=#000000  width="{postrow.attach.cat_swf.WIDTH}" height="{postrow.attach.cat_swf.HEIGHT}" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed> 
                </object><br /><br />
                </td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END cat_swf -->
        <!-- BEGIN cat_images -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" colspan="2" class="attachheader" align="center"><b><span class="gen">{postrow.attach.cat_images.DOWNLOAD_NAME}</span></b></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_DESCRIPTION}:</span></td>
                <td width="75%" class="attachrow">
                        <table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
                        <tr>
                                <td class="attachrow"><span class="genmed">{postrow.attach.cat_images.COMMENT}</span></td>
                        </tr>
                        </table>
                </td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILESIZE}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_images.FILESIZE} {postrow.attach.cat_images.SIZE_VAR}</td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_images.L_DOWNLOADED_VIEWED}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_images.L_DOWNLOAD_COUNT}</span></td>
        </tr>
        <tr>
                <td colspan="2" align="center"><br />
<!--
<a href="{postrow.attach.cat_images.IMG_SRC}" rel="lightbox" ><img src="{postrow.attach.cat_images.IMG_SRC}" {postrow.attach.cat_images.IMG_SIZE} alt="{postrow.attach.cat_images.DOWNLOAD_NAME}" border="0" /></a>
-->
<a href="{postrow.attach.cat_images.IMG_SRC}" class="highslide" onclick="return hs.expand(this)"><img src="{postrow.attach.cat_images.IMG_SRC}" alt="{postrow.attach.cat_images.DOWNLOAD_NAME}" border="0" /></a>
                <br /><br /></td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END cat_images -->
        <!-- BEGIN cat_thumb_images -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" colspan="2" class="attachheader" align="center"><b><span class="gen">{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}</span></b></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_DESCRIPTION}:</span></td>
                <td width="75%" class="attachrow">
                        <table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
                        <tr>
                                <td class="attachrow"><span class="genmed">{postrow.attach.cat_thumb_images.COMMENT}</span></td>
                        </tr>
                        </table>
                </td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILESIZE}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_thumb_images.FILESIZE} {postrow.attach.cat_thumb_images.SIZE_VAR}</td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_thumb_images.L_DOWNLOADED_VIEWED}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.cat_thumb_images.L_DOWNLOAD_COUNT}</span></td>
        </tr>
        <tr>
                <td colspan="2" align="center"><br />
<!--
<a href="{postrow.attach.cat_thumb_images.IMG_SRC}" rel="lightbox"><img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /></a>
-->
<a href="{postrow.attach.cat_thumb_images.IMG_SRC}" class="highslide" onclick="return hs.expand(this)"><img src="{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}" alt="{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}" border="0" /></a>
                <br /><br /></td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END cat_thumb_images -->
        <!-- BEGIN attachrow -->
        <div align="center"><hr width="95%" /></div>
        <table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
        <tr>
                <td width="100%" colspan="3" class="attachheader" align="center"><b><span class="gen">{postrow.attach.attachrow.DOWNLOAD_NAME}</span></b></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_DESCRIPTION}:</span></td>
                <td width="75%" class="attachrow">
                        <table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
                        <tr>
                                <td class="attachrow"><span class="genmed">{postrow.attach.attachrow.COMMENT}</span></td>
                        </tr>
                        </table>
                </td>
                <td rowspan="4" align="center" width="10%" class="attachrow">{postrow.attach.attachrow.S_UPLOAD_IMAGE}<br /><a href="{postrow.attach.attachrow.U_DOWNLOAD_LINK}" {postrow.attach.attachrow.TARGET_BLANK} class="genmed"><b>{L_DOWNLOAD}</b></a></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILENAME}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.attachrow.DOWNLOAD_NAME}</span></td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{L_FILESIZE}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.attachrow.FILESIZE} {postrow.attach.attachrow.SIZE_VAR}</td>
        </tr>
        <tr>
                <td width="15%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.attachrow.L_DOWNLOADED_VIEWED}:</span></td>
                <td width="75%" class="attachrow"><span class="genmed">&nbsp;{postrow.attach.attachrow.L_DOWNLOAD_COUNT}</span></td>
        </tr>
        </table>
        <div align="center"><hr width="95%" /></div>
        <!-- END attachrow -->

<!-- END attach -->

头像
shuifu
帖子: 234
注册时间: 2007-07-23 12:20
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 shuifu » 2007-10-10 20:40

谢谢兄弟
回复

回到 “Python/Php/Perl”