בעיה עם cs מוד

פורום התמיכה במודים לגרסה phpBB2. שימו לב - פורום זה הינו פורום ארכיון. התמיכה במערכת phpBB2 הופסקה.

מנהל: צוות האתר

orhn
משתמש חדש
משתמש חדש
הודעות: 25
הצטרף: 23/10/2006 ב-12:26:53

בעיה עם cs מוד

הודעה שלא נקראהעל ידי orhn » 02/11/2006 ב-18:36:09

אני צריך להחליף בקובץ index_body.tpl את זה:

קוד: בחר הכל

  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</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="{S_CONTENT_DIR_RIGHT}">&nbsp;</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 -->

בזה:

קוד: בחר הכל

 <tr>
    <td width="{CSMOD_DISPLAY}%" valign="top">
     <!-- BEGIN catrow1 -->
      <table width="100%" cellpadding="2" cellspacing="1" border="0">
       <tr>
        <td valign="top" width="5" rowspan="2"><img src="{catrow1.CAT_ICON}"></td>
        <td><strong><a href="{catrow1.U_VIEWCAT}" class="cattitle"><u><FONT COLOR=#990000>{catrow1.CAT_DESC}</FONT></u></a></strong></td>
       </tr>
       <tr>    
        <td>
     <!-- BEGIN forumrow1 -->
      <div><img src="{catrow1.forumrow1.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow1.forumrow1.L_FORUM_FOLDER_ALT}" title="{catrow1.forumrow1.L_FORUM_FOLDER_ALT}" /> <span class="forumlink"> <a href="{catrow1.forumrow1.U_VIEWFORUM}" class="forumlink">{catrow1.forumrow1.FORUM_NAME}</a></span></div>
     <!-- END forumrow1 -->
                         </td>
       </tr>
      </table>
     <!-- END catrow1 -->
    </td>
    <td width="{CSMOD_DISPLAY}%" valign="top">
     <!-- BEGIN catrow2 -->
      <table width="100%" cellpadding="2" cellspacing="1" border="0">
       <tr>
        <td valign="top" width="5" rowspan="2"><img src="{catrow2.CAT_ICON}"></td>
        <td><strong><a href="{catrow2.U_VIEWCAT}" class="cattitle"><u><FONT COLOR=#990000>{catrow2.CAT_DESC}</FONT></u></a></strong></td>
       </tr>
       <tr>    
        <td>
     <!-- BEGIN forumrow2 -->
      <div><img src="{catrow2.forumrow2.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow2.forumrow2.L_FORUM_FOLDER_ALT}" title="{catrow2.forumrow2.L_FORUM_FOLDER_ALT}" /> <span class="forumlink"> <a href="{catrow2.forumrow2.U_VIEWFORUM}" class="forumlink">{catrow2.forumrow2.FORUM_NAME}</a></span></div>
     <!-- END forumrow2 -->
                         </td>
       </tr>
      </table>
     <!-- END catrow2 -->
    </td>
    <td width="{CSMOD_DISPLAY}%" valign="top" style="{CSMOD_STYLEDISPLAY}">
     <!-- BEGIN catrow3 -->
      <table width="100%" cellpadding="2" cellspacing="1" border="0">
       <tr>
        <td valign="top" width="5" rowspan="2"><img src="{catrow3.CAT_ICON}"></td>
        <td><strong><a href="{catrow3.U_VIEWCAT}" class="cattitle"><u><FONT COLOR=#990000>{catrow3.CAT_DESC}</FONT></u></a></strong></td>
       </tr>
       <tr>    
        <td>
     <!-- BEGIN forumrow3 -->
      <div><img src="{catrow3.forumrow3.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow3.forumrow3.L_FORUM_FOLDER_ALT}" title="{catrow3.forumrow3.L_FORUM_FOLDER_ALT}" /> <span class="forumlink"> <a href="{catrow3.forumrow3.U_VIEWFORUM}" class="forumlink">{catrow3.forumrow3.FORUM_NAME}</a></span></div>
     <!-- END forumrow3 -->
                         </td>
       </tr>
      </table>
     <!-- END catrow3 -->
    </td>
  </tr>

ויש לי עיצוב אחר לא subSilver ובעיצוב החדש רשום לי דבר אחר אז מישהו יכול לעזור תודה אה וזה מה שרשום שם:

קוד: בחר הכל

<tr>
   <th colspan="2">{L_FORUM}</th>
   <th width="50">{L_TOPICS}</th>
   <th width="50">{L_POSTS}</th>
   <th>{L_LASTPOST}</th>
</tr>
<!-- BEGIN forumrow -->
<tr>
   <td class="row1" align="center" valign="middle" style="padding: 5px;"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="23" height="23" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%"><span class="forumlink"> <script language="JavaScript">FolderStart('{catrow.forumrow.FORUM_FOLDER_IMG}');</script><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><script language="JavaScript">FolderEnd();</script><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"><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="row2" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</tbody>
</table>
<br class="spacer" />
<!-- END catrow -->

orhn
משתמש חדש
משתמש חדש
הודעות: 25
הצטרף: 23/10/2006 ב-12:26:53

הודעה שלא נקראהעל ידי orhn » 04/11/2006 ב-01:36:19

מישהו?
אה אם אני משנה את זה כמו שזה אז יש לי הודעה כזו

קוד: בחר הכל

Parse error: parse error in /data/members/free/tripod/uk/o/r/h/orhn/htdocs/includes/template.php(127) : eval()'d code on line 202

ואם אני עושה אותו דבר העיצוב הרגיל זה עובד טוב


חזור אל “תמיכה במודים - ארכיון”

מי מחובר

משתמשים הגולשים בפורום זה: אין משתמשים רשומים ו־ 118 אורחים

cron