Pagina 1 van 1

UOT mod

Geplaatst: 26 mar 2007, 16:59
door special18
Hallo mensen, mijn template is anders dan subsilver en ik kom er niet echt uit waar dit precies hoort.

Code: Selecteer alles

#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
  <tr> 
	<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
  <tr> 
	<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

#
#-----[ FIND ]------------------------------------------
#
	<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#

  <tr> 
	<td class="row1" align="left"><span class="gensmall"><b>{UOT_COUNT}</b> {UOT_TITLE}:&nbsp;{UOT_LIST}&nbsp;</span></td>
  </tr>
Hieronder is mijn. index_body.tpl als iemand wil helpen zou erg fijn zijn.

Code: Selecteer alles

<div align="center">
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="tborder">
   <tr> 
     <td align="left" valign="middle" class="row2" style="padding-left:8px">
     <img src="templates/iSkin/images/navbit.gif" style="vertical-align:middle" alt="" />&nbsp;<span class="title">{L_INDEX}</span>
     </td>
     <td width="268" align="left" class="row1">
<!-- BEGIN switch_user_logged_in -->
     <span class="gensmall">
     {LAST_VISIT_DATE}<br />
     <a href="privmsg.php?folder=inbox">Inbox</a> | <a href="privmsg.php?folder=sentbox">Sentbox</a> | <a      href="privmsg.php?folder=outbox">Outbox</a> | <a href="privmsg.php?folder=savebox">Savebox</a><br />
     {PRIVATE_MESSAGE_INFO}
     </span>
<!-- END switch_user_logged_in -->

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}" style="padding:0px;margin:0px">
<table width="99%" cellspacing="0" border="0" align="center" cellpadding="2">
   <tr> 	
     <td width="30" align="left"><span class="gensmall">User:</span></td>
     <td width="75" align="left"><input tabindex="1" class="post" type="text" name="username" size="15" /></td>
     <td align="left" class="gensmall">
<!-- BEGIN switch_allow_autologin -->
<input type="checkbox" name="autologin" style="vertical-align:middle" checked="checked" /> Auto Login?
<!-- END switch_allow_autologin -->
</td>
   </tr><tr>
     <td width="30" align="left"><span class="gensmall">Pass:</span></td>
     <td width="75" align="left"><input tabindex="2" class="post" type="password" name="password" size="15" maxlength="32" /></td>
     <td align="left"><input tabindex="3" type="submit" class="mainoption" name="login" value="Login" /><br /></td>
   </tr>
</table>
</form>
<!-- END switch_user_logged_out -->
     </td>
   </tr>
</table>
</div>

<br />

<!-- BEGIN catrow -->

<!-- top category table setup -->
<table width="100%" style="background-image:url(templates/iSkin/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
   <tr>
     <td width="33" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_ls.gif" width="33" height="27" alt=" " border="0" /></td>
     <td width="22" height="27" align="left" valign="top"><img src="templates/iSkin/images/text_ls.gif" width="22" height="27" alt=" " border="0" /></td>
     <td width="50%" class="tcat" style="background-image:url(templates/iSkin/images/cat_top_text_bk.gif)" align="left">
     <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span>
     </td>
     <td width="30" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_text_end.gif" width="30" height="27" alt=" " border="0" /></td>
     <td width="50%" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_back.gif" width="50%" height="27" alt=" " border="0" /></td>
     <td width="20" height="27" align="right" valign="top"><img src="templates/iSkin/images/cat_top_rs.gif" width="20" height="27" alt=" " border="0" /></td>
   </tr>
</table>
<!-- End top category table setup -->

<table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="tborder">
  <tr> 
	<th width="32" height="10" nowrap="nowrap">&nbsp;</th>
	<th height="10" nowrap="nowrap" align="left" valign="middle"><div align="left">&nbsp;{L_FORUM}</div></th>
	<th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th width="175" align="center" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
<!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" width="32" align="center" valign="middle"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="18" height="24" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row2" width="100%" align="left"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row1" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
 </tr>
<!-- END forumrow -->
</table>

<!-- bottom table setup -->
<div class="ftr_bdr">
<table width="100%" class="row1" cellpadding="0" cellspacing="0">
   <tr>
     <td width="100%" height="9"><img src="templates/iSkin/images/btm_base.gif"  width="100%" height="9" alt="" border="0" /></td>
   </tr>
</table>
</div>
<!-- bottom table setup -->   

<br />

<!-- END catrow -->

<!-- top category table setup -->
<table width="100%" style="background-image:url(templates/iSkin/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
   <tr>
     <td width="33" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_ls.gif" width="33" height="27" alt=" " border="0" /></td>
     <td width="22" height="27" align="left" valign="top"><img src="templates/iSkin/images/text_ls.gif" width="22" height="27" alt=" " border="0" /></td>
     <td width="50%" class="tcat" style="background-image:url(templates/iSkin/images/cat_top_text_bk.gif)" align="left">
       <span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span>
     </td>
     <td width="30" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_text_end.gif" width="30" height="27" alt=" " border="0" /></td>
     <td width="50%" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_back.gif" width="50%" height="27" alt=" " border="0" /></td>
     <td width="20" height="27" align="right" valign="top"><img src="templates/iSkin/images/cat_top_rs.gif" width="20" height="27" alt=" " border="0" /></td>
   </tr>
</table>
<!-- End top category table setup -->

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="tborder">
   <tr>
     <td rowspan="2" width="30" align="center" class="row1" nowrap="nowrap"><img src="templates/iSkin/images/whos_online.gif" width="24" height="24" alt="" border="0" /></td>	
     <td width="100%" class="row2" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} <br /> {RECORD_USERS}</span></td>
   </tr><tr>
     <td width="100%" class="row2" align="left"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>
   </tr>
   <tr>
     <th colspan="2" align="left" valign="middle" height="55"><div align="left">Board Statistics</div></th>
   </tr>
   <tr>
     <td class="row2" colspan="2" align="left" valign="middle">
     <span class="gensmall">{TOTAL_USERS} :: {TOTAL_POSTS}<br />{NEWEST_USER}</span>
     </td>
   </tr>
</table>

<!-- bottom table setup -->
<div class="ftr_bdr">
<table width="100%" class="row1" cellpadding="0" cellspacing="0">
   <tr>
     <td width="100%" height="9"><img src="templates/iSkin/images/btm_base.gif"  width="100%" height="9" alt="" border="0" /></td>
   </tr>
</table>
</div>
<!-- bottom table setup -->   

<br />

<table width="100%" border="0" align="center" cellpadding="10" style="border: 1px #EEEEEE solid">
   <tr> 
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/on.gif" alt="{L_NEW_POSTS}"/></td>
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_NEW_POSTS}</span></td>
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/off.gif" alt="{L_NO_NEW_POSTS}" /></td>
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/lock.gif" alt="{L_FORUM_LOCKED}" /></td>
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>

<br /><br />

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
   <tr> 
     <td align="left" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>
     <td valign="top" align="right">
     <!-- BEGIN switch_user_logged_in -->
     <span class="gensmall">
     <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a> | 
     <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> | 
     <a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span><br /><br />
     <!-- END switch_user_logged_in -->
</td>
   </tr>
</table>

<br clear="all" />

Geplaatst: 26 mar 2007, 17:37
door halsiemp3
volgens mijn is dit je nieuwe index_body.tpl
weet het niet 100% zeker :roll:

Code: Selecteer alles

<div align="center"> 
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="tborder"> 
   <tr> 
     <td align="left" valign="middle" class="row2" style="padding-left:8px"> 
     <img src="templates/iSkin/images/navbit.gif" style="vertical-align:middle" alt="" />&nbsp;<span class="title">{L_INDEX}</span> 
     </td> 
     <td width="268" align="left" class="row1"> 
<!-- BEGIN switch_user_logged_in --> 
     <span class="gensmall"> 
     {LAST_VISIT_DATE}<br /> 
     <a href="privmsg.php?folder=inbox">Inbox</a> | <a href="privmsg.php?folder=sentbox">Sentbox</a> | <a      href="privmsg.php?folder=outbox">Outbox</a> | <a href="privmsg.php?folder=savebox">Savebox</a><br /> 
     {PRIVATE_MESSAGE_INFO} 
     </span> 
<!-- END switch_user_logged_in --> 

<!-- BEGIN switch_user_logged_out --> 
<form method="post" action="{S_LOGIN_ACTION}" style="padding:0px;margin:0px"> 
<table width="99%" cellspacing="0" border="0" align="center" cellpadding="2"> 
   <tr>     
     <td width="30" align="left"><span class="gensmall">User:</span></td> 
     <td width="75" align="left"><input tabindex="1" class="post" type="text" name="username" size="15" /></td> 
     <td align="left" class="gensmall"> 
<!-- BEGIN switch_allow_autologin --> 
<input type="checkbox" name="autologin" style="vertical-align:middle" checked="checked" /> Auto Login? 
<!-- END switch_allow_autologin --> 
</td> 
   </tr><tr> 
     <td width="30" align="left"><span class="gensmall">Pass:</span></td> 
     <td width="75" align="left"><input tabindex="2" class="post" type="password" name="password" size="15" maxlength="32" /></td> 
     <td align="left"><input tabindex="3" type="submit" class="mainoption" name="login" value="Login" /><br /></td> 
   </tr> 
</table> 
</form> 
<!-- END switch_user_logged_out --> 
     </td> 
   </tr> 
</table> 
</div> 

<br /> 

<!-- BEGIN catrow --> 

<!-- top category table setup --> 
<table width="100%" style="background-image:url(templates/iSkin/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0"> 
   <tr> 
     <td width="33" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_ls.gif" width="33" height="27" alt=" " border="0" /></td> 
     <td width="22" height="27" align="left" valign="top"><img src="templates/iSkin/images/text_ls.gif" width="22" height="27" alt=" " border="0" /></td> 
     <td width="50%" class="tcat" style="background-image:url(templates/iSkin/images/cat_top_text_bk.gif)" align="left"> 
     <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span> 
     </td> 
     <td width="30" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_text_end.gif" width="30" height="27" alt=" " border="0" /></td> 
     <td width="50%" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_back.gif" width="50%" height="27" alt=" " border="0" /></td> 
     <td width="20" height="27" align="right" valign="top"><img src="templates/iSkin/images/cat_top_rs.gif" width="20" height="27" alt=" " border="0" /></td> 
   </tr> 
</table> 
<!-- End top category table setup --> 

<table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="tborder"> 
  <tr> 
   <th width="32" height="10" nowrap="nowrap">&nbsp;</th> 
   <th height="10" nowrap="nowrap" align="left" valign="middle"><div align="left">&nbsp;{L_FORUM}</div></th> 
   <th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th> 
   <th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th> 
   <th width="175" align="center" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th> 
  </tr> 
<!-- BEGIN forumrow --> 
  <tr> 
   <td class="row1" width="32" align="center" valign="middle"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="18" height="24" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td> 
   <td class="row2" width="100%" align="left"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> 
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /> 
     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td> 
   <td class="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td> 
   <td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td> 
   <td class="row1" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td> 
 </tr> 
<!-- END forumrow --> 
</table> 

<!-- bottom table setup --> 
<div class="ftr_bdr"> 
<table width="100%" class="row1" cellpadding="0" cellspacing="0"> 
   <tr> 
     <td width="100%" height="9"><img src="templates/iSkin/images/btm_base.gif"  width="100%" height="9" alt="" border="0" /></td> 
   </tr> 
</table> 
</div> 
<!-- bottom table setup -->    

<br /> 

<!-- END catrow --> 

<!-- top category table setup --> 
<table width="100%" style="background-image:url(templates/iSkin/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0"> 
   <tr> 
     <td width="33" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_ls.gif" width="33" height="27" alt=" " border="0" /></td> 
     <td width="22" height="27" align="left" valign="top"><img src="templates/iSkin/images/text_ls.gif" width="22" height="27" alt=" " border="0" /></td> 
     <td width="50%" class="tcat" style="background-image:url(templates/iSkin/images/cat_top_text_bk.gif)" align="left"> 
       <span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span> 
     </td> 
     <td width="30" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_top_text_end.gif" width="30" height="27" alt=" " border="0" /></td> 
     <td width="50%" height="27" align="left" valign="top"><img src="templates/iSkin/images/cat_back.gif" width="50%" height="27" alt=" " border="0" /></td> 
     <td width="20" height="27" align="right" valign="top"><img src="templates/iSkin/images/cat_top_rs.gif" width="20" height="27" alt=" " border="0" /></td> 
   </tr> 
</table> 
<!-- End top category table setup --> 

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="tborder"> 
   <tr> 
     <td rowspan="3" width="30" align="center" class="row1" nowrap="nowrap"><img src="templates/iSkin/images/whos_online.gif" width="24" height="24" alt="" border="0" /></td>    
     <td width="100%" class="row2" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} <br /> {RECORD_USERS}</span></td> 
   </tr><tr> 
     <td width="100%" class="row2" align="left"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td> 
   </tr> 
<tr> 
   <td class="row1" align="left"><span class="gensmall"><b>{UOT_COUNT}</b> {UOT_TITLE}:&nbsp;{UOT_LIST}&nbsp;</span></td> 
  </tr> 

   <tr> 
     <th colspan="2" align="left" valign="middle" height="55"><div align="left">Board Statistics</div></th> 
   </tr> 
   <tr> 
     <td class="row2" colspan="2" align="left" valign="middle"> 
     <span class="gensmall">{TOTAL_USERS} :: {TOTAL_POSTS}<br />{NEWEST_USER}</span> 
     </td> 
   </tr> 
</table> 

<!-- bottom table setup --> 
<div class="ftr_bdr"> 
<table width="100%" class="row1" cellpadding="0" cellspacing="0"> 
   <tr> 
     <td width="100%" height="9"><img src="templates/iSkin/images/btm_base.gif"  width="100%" height="9" alt="" border="0" /></td> 
   </tr> 
</table> 
</div> 
<!-- bottom table setup -->    

<br /> 

<table width="100%" border="0" align="center" cellpadding="10" style="border: 1px #EEEEEE solid"> 
   <tr> 
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/on.gif" alt="{L_NEW_POSTS}"/></td> 
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_NEW_POSTS}</span></td> 
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/off.gif" alt="{L_NO_NEW_POSTS}" /></td> 
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_NO_NEW_POSTS}</span></td> 
     <td class="row2" width="30" align="center"><img src="templates/iSkin/images/lock.gif" alt="{L_FORUM_LOCKED}" /></td> 
     <td class="row1" width="33%" align="center"><span class="gensmall">{L_FORUM_LOCKED}</span></td> 
   </tr> 
</table> 

<br /><br /> 

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2"> 
   <tr> 
     <td align="left" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td> 
     <td valign="top" align="right"> 
     <!-- BEGIN switch_user_logged_in --> 
     <span class="gensmall"> 
     <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a> | 
     <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> | 
     <a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span><br /><br /> 
     <!-- END switch_user_logged_in --> 
</td> 
   </tr> 
</table> 

<br clear="all" />

Geplaatst: 26 mar 2007, 17:46
door special18
hey dat was goed, bedankt man ;)

Geplaatst: 26 mar 2007, 17:48
door halsiemp3
graag gedaan :thumb: