Manyou³ÏÑû¿ª·¢Õß¼ÓÃË | ³£¼ûÎÊÌâ
¡¶Õ¾³¤¡·¡°¿ª·¢ÕßÌØ¿¯¡±ÏÞÁ¿ÔùËÍ
Á¢¼´Ãâ·ÑÏÂÔØ Discuz!6.1.0Õýʽ°æ
Discuz! 6.1.0ʹÓÃ˵Ã÷ | ʹÓÃÊÖ²á
Discuz!NT2.5Õýʽ°æ·¢²¼
¿ª·ÅÔ´ÂëÏÂÔØ | ʹÓÃÊÖ²á
Discuz!ÊÕ·Ñ·þÎñÄÚÈݼ°¼Û¸ñ
¡¶Õ¾³¤¡·¾ãÀÖ²¿¸÷µØ¾Û»á»î¶¯½øÐÐÖÐ
Discuz!/ECShop רÓùٷ½ÐéÄâÖ÷»ú
ÂÛ̳ÓÎÏ·²å¼þÔÙ¿ªÐÂÇø ÖúÄãÔÚ¾ÛÐÂÈËÆø
»ùÓÚDiscuz!µÄÃâ·ÑÂÛ̳¿Õ¼ä5D6D
¡¶Õ¾³¤¡·µÚ°ËÆÚ£ºÊµÕ½»¥ÁªÍø¿ª·Åƽ̨
·µ»ØÁÐ±í »Ø¸´ ·¢Ìû

¸üƯÁÁµÄÊ×Ò³ËĸñЧ¹û¡¾ÍêÕû´úÂëÒÑÌṩ¡¿£¨Ï²»¶Äã¾Í¶¥Ò»Ï°ɣ©6ÔÂ1ÈÕ¸üÐÂ

ÑÝʾЧ¹û£º http://www.yelia.com/bbs/

·ÇAD¡£Èç¹û²»ÏëËÍIPµÄ»°£¬Çë¿´¸½¼þͼÖеÄÑÝʾЧ¹û~

capture.jpg
2007-5-7 02:11
capture1.jpg
2007-5-7 02:11


´úÂëºÜ¼òµ¥£¬Ö»ÊÇÔÚ±í¸ñÖмÓÈëÁ½¸ö±³¾°Í¼Æ¬¼´¿É¡£ÎªÁËÓë±³¾°Í¼Æ¬ÏàÊÊÓ¦£¬Ö¸¶¨Á˱í¸ñµÄÐиß
  1. <td width="24" background="images/yelia/nature/rank.gif"></td>
  2. <td background="images/yelia/nature/rankbg.gif" style="line-height:26px" valign="top">
¸´ÖÆ´úÂë
֮ǰÏë¸øÃ¿Ò»Ìõ×îÐÂTOP10µÄÇ°Ãæ¼ÓÒ»¸öÐòºÅͼƬ£¬Ñо¿Á˺ܾôúÂ룬ÒòΪ¶Ôphp²»ÊìËùÒÔʧ°ÜÁË¡£ºóÀ´²ÉÓÃÁËMaxspeadÄ£°åµÄÏÔʾ·½·¨£¬Ö±½ÓÓñ³¾°Í¼À´ÏÔʾ¡£
ÕâÑùµÄ·½·¨ÊDZȽϼòµ¥¡£ÄãÒ²¿ÉÒÔ°ÑÕâ¸öÉèÖüÓÈëµ½css.htmlÖÐÈ¥£¬ÔÙÔÚdiscuz.htmlÀïʹÓÃÖ¸¶¨µÄÑùʽ¼´¿É¡£

¿ÉÄÜÓÐÈ˶ÔÕâÑùÿÐеÄÐи߲»ÂúÒ⣬£¬£¬ÎÒ¸ø´ó¼ÒÁíÍâ×öÁËÒ»Ì× 20px ÐиߵÄͼ£¬×Ô¼ºÑ¡ÔñʹÓü´¿É~ ˳±ã°Ñ´úÂëÀïµÄ¡° line-height:26px ¡±¸ÄΪ¡° line-height:20px ¡±......

¸öÈ˸оõÕâÑù»¹ÊÇ±È½ÏÆ¯ÁÁµÄ¡£µ±È»£¬Òª¸ù¾Ý¸÷×ÔµÄÂÛ̳µÄ·ç¸ñ£¬ÆøÖÊÀ´¾ö¶¨ËĸñµÄÏÔʾЧ¹û¡£¡£¡£ÕâÀïÖ»ÊÇÌṩÁËÒ»ÖÖ˼·¡£


Ŷ£¬¶ÔÁË£¬£¬Ã»Óа²×°Ê×Ò³ËĸñµÄÅóÓÑ£¬ÎÒ²»±ØÔÙÖØ¸´ÁË¡£ÔÚ²å¼þÇøËæ±ãËÑË÷һϾÍÄÜÕÒµ½ºÃ¶à¸ö½Ì³Ì¡£¶¼²î²»¶àµÄÀ²~



¡¾5ÔÂ7ÈÕ²¹³ä¡¿

Ê×Ò³ËĸñµÄ²å¼þÒѾ­ÓкÃЩ°æ±¾ÁË£¬ÔÚ²å¼þÇøÒ»ËѾÍÄÜÕÒµ½¡£ÓÉÓÚÔ­×÷Õß²»ÊÇÎÒ£¬ËùÒÔÎÒҲûÓÐÖ±½ÓÌû³ö£¬ÒÔÕ¼¾ÝËûÈ˵ŦÀÍ¡£¡£ÎÒÖ»ÊÇÌṩÁËÒ»ÖÖÏÔʾЧ¹ûµÄ·½·¨¶øÒÑ¡£¡£¡£

µ«ÊÇ¥ϺÃЩÐֵܿ´À´Ã»ÓÐ×°Õâ¸ö²å¼þ£¿ÄǺðɣ¬È·ÊµÐèÒªµÄ»°£¬ÎÒÍíÉÏÕûÀíһϣ¬°ÑÎÒ×Ô¼ºµÄÐ޸ķ½·¨ÌûÉÏÀ´¹©²Î¿¼~`µ±È»²å¼þ°æÈ¨»¹ÊÇÊôÓÚÔ­×÷Õß`````
ÎÒ×Ô¼º²ÉÓõÄËĸñÊÇÖ±½Óµ÷Óõķ½·¨£¬²»ÊÇ×îеÄÄÇÖÖcache»º´æµÄ°æ±¾¡£ÒòΪÕâÑù¶ÔÎļþµÄ¸Ä¶¯×îÉÙ¡£ÒÔºóÉý¼¶µÄʱºòÒ²·½±ãµã~~²ÉÓÃCache°æÊ×Ò³ËĸñµÄÐÖµÜҲͬÑù¿ÉÒÔÓÃÕâ¸ö˼·¼ÓÉϱ³¾°Í¼``````

PS£º²»ÒªÔÙ˵ÎÒADÀ²£¬£¬£¬ÎÒºÜԩŶ~


¡¾ÍêÕûµÄËĸñÐ޸ķ½·¨¡¿

Ò».  ÉÏ´«¸½¼þ°üÖеÄÎļþÖÁÄã×Ô¼ºµÄÂÛ̳Ŀ¼ÖС£ÆäÖÐpic.php¿ÉÒÔÓüÇʱ¾´ò¿ª£¬ÔÚ¿ªÍ·²¿Î»¸ù¾ÝÄã×Ô¼ºµÄÐèÒªµ÷Õû²ÎÊý¡£ÁíÍ⣬ѰÕÒÒÔÏ´úÂëÒÔµ÷ÕûÄãʵ¼ÊÏëÒªÏÔʾµÄFlash¶¯»­µÄ³ß´ç£º
  1. var focus_width=250        £¨ÕâÊÇFlash¶¯»­µÄ¿í¶È£©
  2. var focus_height=220               £¨ÕâÊÇFlash¶¯»­µÄ¸ß¶È£©
  3. var text_height=20           £¨ÕâÊÇÆäÖеÄÎÄ×ÖÁ´½Ó²¿·ÖµÄ¸ß¶È¡£¾¡Á¿²ÉÓÃżÊýÒÔÃâÏÔʾ²»ÍêÕû£©
¸´ÖÆ´úÂë
²¢ÇÒ£¬ÉÏ´«Á½¸ö±³¾°Í¼rank.gifºÍrankbg.gifµ½imagesĿ¼ÖУ¬ÄãÏëÒª°²×°Ê×Ò³ËĸñµÄÄǸö·ç¸ñÄ£°åµÄͼƬĿ¼ÏÂ~


¶þ.  ÐÞ¸ÄÎļþÁ½¸öindex.php ÒÔ¼°ÈÎÒâÄ£°åÖÐµÄ discuz.htm

    1.  index.php

         ÕÒµ½£º
  1. $memberenc = rawurlencode($lastmember);
  2. $newthreads = round(($timestamp - $lastvisit + 600) / 1000) * 1000;
¸´ÖÆ´úÂë
ÔÚÏÂÃæÌí¼Ó£º
  1. //Ëĸñ´úÂë//
  2. $colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
  3. //ÐÂÌù//
  4. $hack_cut_str =28; //Ð޸ıêÌâÏÔʾ×ÖÊý
  5. $hack_cut_strauthor = 9;
  6. $new_post_threadlist = array();
  7. $nthread = array();
  8. $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.displayorder>='0' ORDER BY t.dateline DESC LIMIT 0, 10");
  9. while($nthread = $db->fetch_array($query)) {
  10.         $nthread['forumname'] = ereg_replace('<[^>]*>','',$nthread['name']);
  11.         $nthread['view_subject'] = cutstr($nthread['subject'],$hack_cut_str);
  12.         $nthread['view_author'] = cutstr($nthread['author'],$hack_cut_strauthor);
  13.         $nthread['date']= gmdate("$dateformat $timeformat", $nthread['dateline'] + $timeoffset * 3600);
  14.         $nthread['lastreplytime']= gmdate("$dateformat $timeformat", $nthread[lastpost] + ($timeoffset * 3600));
  15.         if($nthread['highlight']) {
  16.                 $string = sprintf('%02d', $nthread['highlight']);
  17.                 $stylestr = sprintf('%03b', $string[0]);
  18.                 $nthread['highlight'] = 'style="';
  19.                 $nthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
  20.                 $nthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
  21.                 $nthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
  22.                 $nthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
  23.                 $nthread['highlight'] .= '"';
  24.         } else {
  25.                 $nthread['highlight'] = '';
  26.         }
  27.         $new_post_threadlist[] = $nthread;
  28. }
  29. //ÐÂÌù//
  30. //»Ø¸²//
  31. $hack_cut_str = 28; //Ð޸ıêÌâÏÔʾ×ÖÊý
  32. $hack_cut_strauthor = 9;
  33. $new_reply_threadlist = array();
  34. $rthread = array();
  35. $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.displayorder>='0' AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 10");
  36. while($rthread = $db->fetch_array($query)) {
  37.         $rthread['forumname'] = ereg_replace('<[^>]*>','',$rthread['name']);
  38.         $rthread['view_subject'] = cutstr($rthread['subject'],$hack_cut_str);
  39.         $rthread['view_lastposter'] = cutstr($rthread['lastposter'],$hack_cut_strauthor);
  40. $rthread['date']= gmdate("$dateformat $timeformat", $rthread['dateline'] + $timeoffset * 3600);
  41.         $rthread['lastreplytime']= gmdate("$dateformat $timeformat", $rthread[lastpost] + ($timeoffset * 3600));
  42.         if($rthread['highlight']) {
  43.                 $string = sprintf('%02d', $rthread['highlight']);
  44.                 $stylestr = sprintf('%03b', $string[0]);
  45.                 $rthread['highlight'] = 'style="';
  46.                 $rthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
  47.                 $rthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
  48.                 $rthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
  49.                 $rthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
  50.                 $rthread['highlight'] .= '"';
  51.         } else {
  52.                 $rthread['highlight'] = '';
  53.         }
  54.         $new_reply_threadlist[] = $rthread;
  55. }
  56. //»Ø¸²//
  57. //ÈÈÌû//
  58. $hack_cut_str = 30; //Ð޸ıêÌâÏÔʾ×ÖÊý
  59. $hack_cut_strauthor = 10; //ÈÈÌùÖ¸¶¨ÌìÊý//
  60. $this_time= time();
  61. $sort_time = $today - ( 60*60*24*7); //À¨ºÅ×îºóһλÊý´ú±íxÌìÄÚ
  62. $new_hot_threadlist = array();
  63. $mthread = array();
  64. $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.displayorder>='0' AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 and t.dateline > $sort_time ORDER BY t.views DESC LIMIT 0, 10"); //ÐÞ¸ÄÏÔʾÌû×ÓÌõÊý
  65. while($mthread = $db->fetch_array($query)) {
  66.         $mthread['forumname'] = ereg_replace('<[^>]*>','',$mthread['name']);
  67.         $mthread['view_subject'] = cutstr($mthread['subject'],$hack_cut_str);
  68.         $mthread['view_lastposter'] = cutstr($mthread['lastposter'],$hack_cut_strauthor);
  69. $mthread['date']= gmdate("$dateformat $timeformat", $mthread['dateline'] + $timeoffset * 3600);
  70.         $mthread['lastreplytime']= gmdate("$dateformat $timeformat", $mthread[lastpost] + ($timeoffset * 3600));
  71.         if($mthread['highlight']) {
  72.                 $string = sprintf('%02d', $mthread['highlight']);
  73.                 $stylestr = sprintf('%03b', $string[0]);
  74.                 $mthread['highlight'] = 'style="';
  75.                 $mthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
  76.                 $mthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
  77.                 $mthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
  78.                 $mthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
  79.                 $mthread['highlight'] .= '"';
  80.         } else {
  81.                 $mthread['highlight'] = '';
  82.         }
  83.         $new_hot_threadlist[] = $mthread;
  84. }
  85. //ÈÈÌû//
  86. //Ëĸñ´úÂë½áÊø//
¸´ÖÆ´úÂë
˵Ã÷£º¢Ù ÕâÀïΪÁËÊÊÓ¦±³¾°Í¼£¬¶¼µ÷ÕûΪÁË10Ìõ¡£¢Ú ¸ù¾ÝÄãµÄÄ£°åµÄʵ¼Ê¿í¶È£¬µ÷Õû±êÌâÏÔʾ×ÖÊýÒÔ±ÜÃâ³öÏÖ»»ÐУ¬Óë±³¾°Í¼´íλ¡£


   2.  discuz.htm

        ÔÚÕâÀ½¨Òé²»Òª¶ÔĬÈÏ·ç¸ñdefaultĿ¼ÖÐµÄ discuz.htm ½øÐÐÐ޸ġ£ÒòΪÕâÊǹ«ÓõÄĬÈÏÄ£°åÎļþ¡£»¹ÊÇÑ¡Ôñ×Ô¼ºµÄÆäËû·ç¸ñµÄdiscuz.htm±È½ÏºÃ£º£©

        ÔÚdiscuz.htmÖÐÕÒ¸öºÏÊʵÄλÖÃÀ´·ÅÊ×Ò³ËĸñµÄ´úÂë¡£±ÈÈçÎÒµÄÂÛ̳ÊÇ·ÅÔÚ¡°X-Space¸öÈ˿ռäÈȵ㵼¶Á¡±µÄÏÂÃæ£¬ÄÇô¾ÍÕÒµ½´úÂë
  1. <!--{if $supe['status'] && $supe['items']['status'] && $_DCACHE['supe_updateitems']}-->
  2.         <div style="clear: both; margin-top: 5px;">
  3.         <div class="spaceborder" style="width: {TABLEWIDTH}">
  4.         <table cellspacing="0" border="0" cellpadding="{TABLESPACE}" width="100%" style="table-layout: fixed;">
  5.         <tr><td colspan="$supe[items][columns]" class="header" style="padding-left:20px">
  6.         <div class="subtable" style="padding: 0px"><a href="$supe[siteurl]" target="_blank">{lang supe_updateitems}</a></div>
  7.         </td></tr>
  8.         <script language="javascript">document.write('$_DCACHE[supe_updateitems]');</script></table>
  9.         </div><br></div>
  10. <!--{/if}-->
¸´ÖÆ´úÂë
ÔÚÏÂÃæÌí¼Ó
  1. <!--Ê×Ò³Ëĸñ¿ªÊ¼-->
  2.   <div class="spaceborder spacebottom" style="width: {TABLEWIDTH}; clear: both; margin-top: 5px;">
  3.     <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center">
  4.     <tr class="header">
  5.     <td width="30%"><a href="#" onclick="toggle_collapse('top10');"><b>» Í¼Æ¬ÍÆ¼ö</b></a></td>
  6.     <td width="24%"><a href="#" onclick="toggle_collapse('top10');"><b>» ×îÐÂÖ÷Ìâ</b></a></td>
  7.     <td width="24%"><a href="#" onclick="toggle_collapse('top10');"><b>» ×îлظ´</b></a></td>
  8.     <td width="20%"><a href="#" onclick="toggle_collapse('top10');"><b>» ±¾ÖÜÈȵã</b></a></td>
  9.     <td><div class="right"><a href="#" onclick="toggle_collapse('top10');"><img id="top10_img" src="{IMGDIR}/collapsed_no.gif" border="0" alt="" /></a> </div></td>
  10.   </tr>
  11. <tbody id="top10">
  12.   <tr>
  13.     <td align="middle" valign="bottom"><iframe src="pic.php" width="270" height="250" frameborder=0 scrolling=no marginwidth="8" marginheight="8"></iframe>
  14.     </td>
  15.     <td valign="top">
  16.      <div>
  17.       <table border="0" cellpadding="0" cellspacing="0" width="100%">
  18.       <tbody>
  19.         <tr>
  20.           <td width="24" background="{IMGDIR}/rank.gif"></td>
  21.           <td background="{IMGDIR}/rankbg.gif" style="line-height:26px" valign="top">
  22.         <!--{loop $new_post_threadlist $nthread}-->
  23.                 <!--{if $nthread[replies]}-->
  24.                   <a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="ÂÛ̳£º $nthread[forumname]{LF}Ö÷Ì⣺ $nthread[subject] {LF}×÷Õߣº $nthread[author]{LF}·¢±í£º $nthread[date]{LF}µã»÷£º $nthread[views] {LF}»Ø¸´£º $nthread[replies] {LF}¸üУº $nthread[lastposter]{LF}ʱ¼ä£º $nthread[lastreplytime]" >$nthread[view_subject]</a><br>
  25.                 <!--{else}-->
  26.                   <a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="ÂÛ̳£º $nthread[forumname]{LF}Ö÷Ì⣺ $nthread[subject] {LF}×÷Õߣº $nthread[author]{LF}·¢±í£º $nthread[date]{LF}µã»÷£º $nthread[views] {LF}»Ø¸´£º $nthread[replies] {LF}¸üУº ÔÝʱûÓлظ´" >$nthread[view_subject]</a><br>
  27.                 <!--{/if}-->
  28.         <!--{/loop}-->
  29.           </td>
  30.         </tr>
  31.       </tbody>
  32.       </table>
  33.      </div>
  34.     </td>
  35.     <td valign="top">
  36.      <div>
  37.       <table border="0" cellpadding="0" cellspacing="0" width="100%">
  38.       <tbody>
  39.         <tr>
  40.           <td width="24" background="{IMGDIR}/rank.gif"></td>
  41.           <td background="{IMGDIR}/rankbg.gif" style="line-height:26px" valign="top">
  42.         <!--{loop $new_reply_threadlist $rthread}-->
  43.                 <a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="ÂÛ̳£º $rthread[forumname]{LF}Ö÷Ì⣺ $rthread[subject]{LF}×÷Õߣº $rthread[author]{LF}·¢±í£º $rthread[date]{LF}µã»÷£º $rthread[views] {LF}»Ø¸´£º $rthread[replies] {LF}¸üУº $rthread[lastposter]{LF}ʱ¼ä£º $rthread[lastreplytime]">$rthread[view_subject]</a><br>
  44.         <!--{/loop}-->
  45.           </td>
  46.         </tr>
  47.       </tbody>
  48.       </table>
  49.      </div>
  50.     </td>
  51.     <td colspan="2" valign="top">
  52.      <div>
  53.       <table border="0" cellpadding="0" cellspacing="0" width="100%">
  54.       <tbody>
  55.         <tr>
  56.           <td width="24" background="{IMGDIR}/rank.gif"></td>
  57.           <td background="{IMGDIR}/rankbg.gif" style="line-height:26px" valign="top">
  58.         <!--{loop $new_hot_threadlist $mthread}-->
  59.                 <a href="viewthread.php?tid=$mthread[tid]" $mthread['highlight'] title="ÂÛ̳£º $mthread[forumname]{LF}Ö÷Ì⣺ $mthread[subject]{LF}×÷Õߣº $mthread[author]{LF}·¢±í£º $mthread[date]{LF}µã»÷£º $mthread[views] {LF}»Ø¸´£º $mthread[replies] {LF}¸üУº $mthread[lastposter]{LF}ʱ¼ä£º $mthread[lastreplytime]">$mthread[view_subject]</a><br>
  60.         <!--{/loop}-->
  61.           </td>
  62.         </tr>
  63.       </tbody>
  64.       </table>
  65.      </div>
  66.     </td>
  67.   </tr>
  68. </tbody>
  69. </table>
  70. </div>
  71. <br>
  72. <!--Ê×Ò³Ëĸñ½áÊø-->
¸´ÖÆ´úÂë
˵Ã÷£ºÕâÀïµÄÏÔʾЧ¹û¾Í¸ù¾Ý×Ô¼ºµÄÂÛ̳·ç¸ñÈ¥×öʵ¼Êµ÷ÕûÁË¡£
¢Ù  <iframe src="pic.php" width="270" height="250" frameborder=0 scrolling=no marginwidth="8" marginheight="8"></iframe>
ÕâÀïÊǵ÷ÕûµÚÒ»À¸¡°Í¼Æ¬ÍƼö¡±µÄÏÔʾ³ß´çºÍЧ¹û~
¢Ú  <td background="{IMGDIR}/rankbg.gif" style="line-height:26px" valign="top">
Èç¹ûÄã²ÉÓõÄÊÇ20pxÐиߵÄÄÇÁ½¸öͼƬ£¬ÕâÀï¾ÍÐÞ¸ÄΪ ¡°line-height:20px¡± ¾Í¿ÉÒÔÁË¡£¹²Èý´¦¡£


²¹³ä˵Ã÷£º

Ò».  Èç¹û²ÉÓÃÂÛ̳ºǫ́Éú³ÉµÄjsµ÷ÓÃÀ´ÏÔʾÐÂÌûµÈµÈÊý¾Ý£¬¿Ï¶¨»á¸üÉÙÏûºÄ×ÊÔ´£¬Ëٶȸü¿ì£¬¶øÇÒ²»ÓøĶ¯index.php ¡£ÎÒ»¹Ã»ÕÒµ½ÔõôÓÃjsµ÷ÓÃÀ´ÏÔʾ×îлظ´µÄ·½·¨£¬ËùÒÔ¾ÍÔÝʱ»¹Êǰ´Ô­²å¼þ½øÐУ»
¶þ.  ÂÛ̳ÈÈÌûÕâÀҲ¿ÉÒÔ¸ÄΪÏÔʾ×îо«»ªTOP10 ¡£ÈçÓÐÐèÒªµÄÅóÓÑÇëÏòÎÒË÷È¡´úÂ룻
Èý.  Ê×Ò³Ëĸñ²å¼þ°æÈ¨¹éÔ­×÷ÕßËùÓС£
5ÔÂ26ÈÕ¸üÐÂÄÚÈÝ£º

ÔÚÆô¶¯rewrite¾²Ì¬»¯µØÖ·¹¦ÄܵÄÇé¿öÏ£¬ËĸñÖÐͼƬµ÷ÓõĵØÖ·ÈÔÈ»ÊÇĬÈϵÄԭʼµØÖ·£¬ÓëÆäËûµØ·½²»Ò»Ö¡£ÕâµãÏë±Ø²»¹»ÍêÃÀ¡£Òò´Ë£¬Ôö¼ÓͼƬµ÷ÓõØÖ·Ò²¿ÉÒÔ¾²Ì¬»¯µÄСµ÷Õû¡£ÔڹرÕÌû×Ó¾²Ì¬»¯¹¦Äܺó»á×Ô¶¯»Ö¸´Ä¬Èϸñʽ¡££º

´ò¿ªpic.php£¬ÕÒµ½£º
  1. $data['pic'][$pic[aid]]['showpiclinks'] = "viewthread.php?tid=$pic[tid]";
¸´ÖÆ´úÂë
¸ÄΪ
  1.                 if (in_array($rewritestatus, array(2, 3))) {
  2.                         $data['pic'][$pic[aid]]['showpiclinks'] = "thread-$pic[tid]-1-1.html";
  3.                 } else {
  4.                         $data['pic'][$pic[aid]]['showpiclinks'] = "viewthread.php?tid=$pic[tid]";
  5.                 }
¸´ÖÆ´úÂë
¸½¼þ°üÒѸüС£
6ÔÂ1ÈÕ¸üÐÂÄÚÈÝ
¾­¹ý¹ÜÀíÔ± liuqiang Ö¸Õý£¬ÐÞ¸´ÁËËĸñÖлὫ¡°´ýÉóºËµÄÖ÷Ì⡱ºÍ¡°»ØÊÕÕ¾ÖеÄÖ÷Ì⡱ֱ½ÓÏÔʾ³öÀ´µÄbug¡£ÏÖÔÚÌû×Ó±»ÉóºËͨ¹ýǰÒÔ¼°±»É¾³ýºó¶¼²»»áÔÚÊ×Ò³ÏÔʾ¡£

PS£ºÔÙ´Î˵Ã÷£¬¸Ã²å¼þ×÷Õß²»ÊÇÎÒ¡£Òò´ËÕâ¸öСBUGÒ²ÊÇÔ­²å¼þÑÓÐøÏÂÀ´µÄ

ÐÞÕý·½·¨£º

ÔÚ֮ǰµÄ½Ì³ÌÖУ¬Ìí¼Óµ½index.phpµÄ´úÂëÀÕÒµ½Èý´¦
  1. WHERE t.fid<>'$fid' AND f.fid=t.fid
¸´ÖÆ´úÂë
ºóÃæÌí¼Ó£º
  1. AND t.displayorder>='0'
¸´ÖÆ´úÂë
¹²Èý´¦¡£×¢ÒâÓÿոñÓëǰºó´úÂë·ÖÀ뿪¡£

Ô­½Ì³ÌÒѸüС£
[ ±¾Ìû×îºóÓÉ °¢¿¦Áð˹ ÓÚ 2007-6-1 14:52 ±à¼­ ]

ÐиßΪ20pxµÄͼ

rank.gif

ÐиßΪ20pxµÄͼ

rankbg.gif

ÐиßΪ26pxµÄͼ

rank.gif

ÐиßΪ26pxµÄͼ

rankbg.gif

²¹³äÎļþ°ü.rar (12.43 KB)

ÕâÊDz¹³äµÄÐèÒªÉÏ´«µÄÎļþ

ÂÌÒ°ÏÉ×Ù£ºhttp://www.yelia.com/bbs
LeoBBS£ºhttp://vip.yelia.com
×Ô¼ºÕ¼Ò»Â¥ÁË£¬ºÇºÇ~
ÂÌÒ°ÏÉ×Ù£ºhttp://www.yelia.com/bbs
LeoBBS£ºhttp://vip.yelia.com
ÎҸϽôÖ§³Ö£¬ºÇºÇ£¬¸Ð¾õ±È½Ï²»´í¡£Ë³±ãµ½ÄãÍøÕ¾¿´¿´¡£
²¹³äһϣºÇëÂ¥Ö÷°Ñ´úÂë¼ÓµÄ¾ßÌåλÖÃ˵Çå³þºÃÂð£¿ÊDz»ÊÇÔÚdiscuz.htmlÀïÃæ¼ÓµÄѽ£¿Ð»Ð»£¬ºÇºÇ

[ ±¾Ìû×îºóÓÉ yzwei666 ÓÚ 2007-5-8 00:41 ±à¼­ ]
¶¥Ò»¸ö£¬È·Êµ±ÈÎÒÏÖÔÚÓõÄÕâ¸öÃÀ¹ÛЩ¡£²»¹ýÎÊlzÒÔÏ£¬ÄãÕâ¸öflashÖ§²»Ö§³ÖÔ¶³ÌͼƬµ÷Óû¹ÊÇÖ»Äܵ÷Óø½¼þ£¿
»¶Ó­½»»»Á´½Ó£¡bbs.shCampus.org Ù©²¥Éç
Ìáʾ: ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î
Ö§³Ö°¡~£¡~£¡~£¡Ö§³Ö~£¡~£¡~£¡Æ¯ÁÁ~£¡~£¡¡¤1

www.54sk.com


Â¥Ö÷ ´ò¸ö°ü ÌṩÏÂÔØ°É~£¡~£¡~£¡Ð»Ð»ÁË¡£¡£¡£¡£
´úÂëµ½µ×ÊÇÒª¼ÓÔÚÄǸöÎļþÀï.»òÕßÊǼÓÔÚÄÄÐÐ
Öйú¹ã²¥Íø  www.GuangBo.cn ÖйúÒµÖ÷Íø ÖйúOCS¿ìµÝ www.cnocs.com
лл¥Ö÷·ÖÏí£¬Õý¿´×ÅÄØ£¬Ïȶ¥Ò»ÏÂ
¹Û×¢Éú»î\ÐÝÏÐÓéÀÖÇë½øµÛ¿ÍÂÛ̳
·Ç³£Ï²»¶£¬LZµÄÂÛ̳·ç¸ñÒ²ºÜƯÁÁ£¬²»ÖªµÀÄܲ»ÄÜ·ÖÏíһϰ¡£¬ºÇºÇ£¬Ð»Ð»°¡£¡
»¹ÓоÍÊÇ£¬LZ˵µÄ´úÂë·ÅÔÚʲôλÖ𡣿
Ò¹ÃÀÀö-¼¤ÇéʱÉÐÒ¹Éú»î http://www.ymeili.com
Ò¹ÃÀÀö
Ö§³Ö,ºÜºÃ

ºÜƯÁÁ!!
ÎҵIJ©¿Í,»¶Ó­·ÃÎÊ:Willerce Blog
·µ»ØÁбí