ASP前台使用后台代码

 <tr>
                                        <td width="2%" height="18" align="left" valign="middle" class="new_bg">
                                            <img src="images/ul.gif" style="margin-right: 5px;" width="11" height="11" alt="" />
                                        </td>
                                        <td width="90%" class="new_bg" isread="<%=dr["isRead"] %>">
                                            <a href="<%=Honestysoft.Baseframework.WebUI.Globals.Home %>Pages/<%=_super %>Channel/InfoReleaseView.aspx?ID=<%=dr["ID"] %>&valRead=<%=dr["isRead"] %>"
                                                style="color: <%=GetBackColor(dr["InfoType"])%>;" target="_blank">
                                                <%=dr["InfoTitle"]%></a><% if ((Convert.ToInt32(dr["PurviewTimes"]) == 0))
                                                                           {%><span
                                                    style="margin: 0px 5px"><img src="images/new-info.gif" style="margin-bottom: -3px"
                                                        alt="" /></span><%}%>
                                        <%if (!string.IsNullOrEmpty(dr["IsTop"].ToString()))
                                          { %><span style="margin:0px 5px">
                                            <img src="images/IsTop.jpg" style="margin-bottom:-3px" alt="" />
                                        </span><%} %>
                                        </td>
                                        <td width="8%" align="left" valign="middle" nowrap="nowrap" class="new_bg">
                                            <span class="Label" style="color: <%=GetBackColor(dr["InfoType"])%>; margin-right: 5px">
                                                <%= System.String.Format("{0:yyyy-MM-dd}",dr["CreateTime"])%></span>
                                        </td>
                                    </tr>
                           

posted @ 2014-08-18 09:49  hongyan5682  阅读(447)  评论(0编辑  收藏  举报