[مجابة] مشكلة في هاك تحويل شكل القوائم الى العامودي
المشرف: alhitary
[?????] ????? ?? ??? ????? ??? ??????? ??? ????????
?????? ?????
?????? ??? ????? ??? ???? ????? ??????? ??? ????? ????????
? ??? ??????? ?? ?? ?????? ???? ????
http://skay.org/bb/
??? ??? ??????? ???? ???? ????? ?? index.php
????? ????? ??? ???? ????? ???? ????
?? ????? ??????? ?? ??? ?????
?????
yoo
?????? ??? ????? ??? ???? ????? ??????? ??? ????? ????????
? ??? ??????? ?? ?? ?????? ???? ????
http://skay.org/bb/
??? ??? ??????? ???? ???? ????? ?? index.php
????? ????? ??? ???? ????? ???? ????
?? ????? ??????? ?? ??? ?????
كود: تحديد الكل
####################################
## Hack Title: Advanced Forums Display
## Hack Version: 1.0.0
## Author: IRC4Arab
## Website: http://irc4arab.net
## Compatibility: 2.0.11 or higher
##
## Installation Level: EASY
## Installation Time: 2 minutes
##
## Files To Edit: 3
## index.php
## config.php
## templates/subSilver/index_body.tpl
##
## Included Files: 0
## N/A
##
## Support: http://phpBBArabia.Com
## Support: Http://phpBB.Com/phpBB2
## Support: http://Golden.IRC4Arab.NET
##
###############################################
## Http://golden.irc4arab.net ##
## Hack From Golden Support Team ##
###############################################
#
#-----[ OPEN ]--------------------------------------------
#
config.php
#
#-----[ FIND ]--------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]--------------------------------------------
#
$forums_inline = 3;
#
#-----[ OPEN ]--------------------------------------------
#
index.php
#
#-----[ FIND ]--------------------------------------------
#
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]--------------------------------------------
#
if ($catid != $forum_data[$j]['cat_id']) {
$catid = $forum_data[$j]['cat_id'];
unset($fcount);
}
if ($fcount == $forums_inline OR !isset($fcount)) {
$catid = $forum_data[$j]['cat_id'];
$template->assign_block_vars('catrow.tr',array());
unset($fcount);
}
#
#-----[ FIND ]--------------------------------------------
#
$template->assign_block_vars('catrow.forumrow',array(
#
#-----[ REPLACE WITH ]--------------------------------------------
#
$template->assign_block_vars('catrow.tr.forumrow',array(
#
#-----[ FIND ]--------------------------------------------
#
'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);
#
#-----[ AFTER, ADD ]--------------------------------------------
#
$fcount++;
#
#-----[ OPEN ]--------------------------------------------
# Replace All index_body.tpl Templates.
templates/subSilver/index_body.tpl
#
#-----[ FIND ]--------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><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="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>
#
#-----[ REPLACE WITH ]--------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th ALIGN="CENTER" colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th ALIGN="CENTER" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th ALIGN="CENTER" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th ALIGN="CENTER" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" ALIGN="CENTER" colspan="5" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
</tr>
<TR>
<TD Class="row1" COLSPAN="5">
<table border="0" width="100%">
<!-- BEGIN tr -->
<TR>
<!-- BEGIN forumrow -->
<TD vALIGN="TOP" ALIGN="CENTER">
<table width="230" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td ALIGN="CENTER" class="catLeft" colspan="2">
<span class="forumlink"> <a href="{catrow.tr.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.tr.forumrow.FORUM_NAME}</a>
</td>
</tr>
<tr>
<td Class="row1" width="20%" align="center">
<img src="{catrow.tr.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.tr.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.tr.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td Class="row2">
<span class="genmed">{catrow.tr.forumrow.FORUM_DESC}</span>
</td>
</tr>
<tr>
<td Class="row2" align="center"><span class="gensmall">{catrow.tr.forumrow.L_MODERATOR}</td>
<td Class="row1">
<span class="gensmall">{catrow.tr.forumrow.MODERATORS}</span>
</td>
</tr>
<tr>
<td Class="row1" align="center"><span class="gensmall">{L_TOPICS}</td>
<td Class="row2">{catrow.tr.forumrow.TOPICS}</td>
</tr>
<tr>
<td Class="row2" align="center"><span class="gensmall">{L_POSTS}</td>
<td Class="row1">{catrow.tr.forumrow.POSTS}</td>
</tr>
<tr>
<td Class="row1" align="center"><span class="gensmall">{L_LASTPOST}</td>
<td Class="row2"><span class="gensmall">{catrow.tr.forumrow.LAST_POST}</span></td>
</tr>
</table>
</TD>
<!-- END forumrow -->
</tr>
<!-- END tr -->
</table>
<!-- END catrow -->
</table>
# Save & Close All Files And Upload.
#-----[ EOF; ]--------------------------------------------
# Abdul.Mohsen B. A. A. [ IRC4Arab ]
yoo
آخر تعديل بواسطة yoo-oufi في الجمعة مايو 26, 2006 10:51 am، تم التعديل 4 مرات في المجمل.
الموجودون الآن
المتصفحون للمنتدى الآن: GoogleBot, Semrush [Bot] و 27 زائرًا