Portal wijzigen
Geplaatst: 22 apr 2005, 14:00
Dit is mijn portal, hoe zorgt ik dat mijn tabellen ook rechts kunnen staan? Ik heb van het wijzigen van een portal nog 0,0 verstand, dus graag een duidelijke uitleg! :thumb:
Ik zou ook graag uitleg hebben over hoe ik links in het menu er bij kan zetten en tabellen dus naar rechts kan plaatsen!
Dank jullie! :thumb:
Code: Selecteer alles
<table width="100%" cellspacing="0" cellpadding="5" border="0" align="center">
<tr>
<td valign="top" width="20%">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_BOARD_NAVIGATION}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="genmed" style="line-height: 150%">
» <a class="mainmenu" href="{U_PORTAL}">{L_HOME}</a><br />
» <a class="mainmenu" href="{U_INDEX}">{L_FORUM}</a><br />
» <a class="mainmenu" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
» <a class="mainmenu" href="{U_FAQ}">{L_FAQ}</a><br />
» <a class="mainmenu" href="{U_SEARCH}">{L_SEARCH}</a><br />
</span></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_STATISTICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
</table>
<br />
<!--
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>Links</b></span></td>
</tr>
<tr>
<td class="row1" align="center"><a href="http://smartor.is-root.com" target="_blank"><img src="images/smartorsite_logo.gif" width="88" height="31" alt="Smartor Site" border="0" vspace="3"></a></td>
</tr>
</table>
-->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_NAME_WELCOME} {U_NAME_LINK}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<div align="center"><br />{AVATAR_IMG}</div>
<br />{LAST_VISIT_DATE}<br /><br />
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br />
<!-- END switch_user_logged_in -->
<br />{CURRENT_TIME}<br /><br />{S_TIMEZONE}</span>
</td>
</tr>
</table>
<br />
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_LOGIN}</b></span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall" style="line-height=150%">
<input type="hidden" name="redirect" value="{U_PORTAL}" />
{L_USERNAME}:<br /><input class="text" type="text" name="username" size="15" /><br />
{L_PASSWORD}:<br /><input class="text" type="password" name="password" size="15" /><br />
<input class="text" type="checkbox" name="autologin" /> {L_REMEMBER_ME}<br/>
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /><br /><br /><a href="{U_SEND_PASSWORD}">{L_SEND_PASSWORD}</a><br /><br />{L_REGISTER_NEW_ACCOUNT}<br /> </span></td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /></span><div align="center" class="gensmall">[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</div><span class="gensmall"><br />{RECORD_USERS}<br /> </span></td>
</tr>
</table>
<br />
<form method="post" action="{S_POLL_ACTION}">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_POLL}</b></span></td>
</tr>
<tr>
<td class="row1" align="left">
<div align="center" class="gensmall"><b>{S_POLL_QUESTION}</b></div><br />
<!-- BEGIN poll_option_row -->
<input type="radio" name="vote_id" value="{poll_option_row.OPTION_ID}" /><span class="gensmall">{poll_option_row.OPTION_TEXT} [{poll_option_row.VOTE_RESULT}]</span><br />
<!-- END poll_option_row -->
<br />
<!-- BEGIN switch_user_logged_out -->
<div align="center">{L_LOGIN_TO_VOTE}</div>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<div align="center" class="gensmall"><input type="submit" class="mainoption" name="submit" value="{L_VOTE_BUTTON}" {DISABLED} /></div>
<input type="hidden" name="topic_id" value="{S_TOPIC_ID}" />
<input type="hidden" name="mode" value="vote" />
<!-- END switch_user_logged_in -->
<br />
</td>
</tr>
</table>
</form>
<br />
</td>
<td valign="top" width="80%">
<!--
<!-- BEGIN welcome_text -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_NAME_WELCOME}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{PORTAL_ANNOUNCE}<br /> </span></td>
</tr>
</table>
<br />
<!-- END welcome_text -->
-->
<!-- BEGIN fetchpost_row -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_ANNOUNCEMENT}: {fetchpost_row.TITLE}</b></span></td>
</tr>
<tr>
<td class="row2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
</tr>
<tr>
<td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
</tr>
</table>
<br />
<!-- END fetch_post_row -->
</td>
</tr>
</table>
<br />
Dank jullie! :thumb: