Seite 1 von 1

vorschau wie in viewtopic_body?

Verfasst: 28.06.2005 21:02
von Shadowproject
wie mache ich dass wenn man auf "vorschau" drückt, das was erscheint so aussieht wie in der viewtopic_body?

also hier der teil der escheinen soll (denke ich):

Code: Alles auswählen

<!-- BEGIN postrow -->
	<tr> 
		<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a></span><span class="postdetails">{postrow.POSTER_AVATAR}<br />{postrow.POSTER_NAME}<br />{postrow.POSTER_POSTS}<br />Status: {postrow.POSTER_RANK}</span><br /></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td align="left" width="100%"><span class="mainmenu"><font color="red">{postrow.POST_SUBJECT}</font><span></span></td>
                                <td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
				
			</tr>
			<tr> 
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav"></a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- </td>
                        </tr>

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subRed/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
und hier da wo´s rein soll:

Code: Alles auswählen

<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
        <tr>
          <th align="left"><span class="gen">Vorschau</span> </th>
        </tr>
	<tr> 
		<td><span class="mainmenu"><font color="red">{POST_SUBJECT}</font></span></td>
	</tr>
	<tr> 
		<td class="row1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
					<span class="postbody">{MESSAGE}</span>
				</td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" height="1"><img src="templates/subRed/images/spacer.gif" width="1" height="1" /></td>
	</tr>
</table>


<br clear="all" />
ich habs scho mit einfach rüberkopieren versucht aba funzt net. . .

weiß jemand was ich da noch in welcher datei ändern muss?
wäre dankbar für schnelle hilfe ;)

Verfasst: 30.06.2005 20:47
von Shadowproject
*schiebsl*