ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3482


Ignore:
Timestamp:
Jul 21, 2007, 8:17:01 PM (12 years ago)
Author:
ogawa
Message:

#983:SNS内全トピック検索にコミュニティ画像が表示されない

Location:
OpenPNE/trunk/webapp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/commu.php

    r3473 r3482  
    27922792            $c_commu_id = 0)
    27932793{
    2794     $select = 'SELECT c.name AS commu_name, ct.*, MAX(ctc2.r_datetime) AS last_datetime, MAX(ctc2.number) as max_number';
     2794    $select = 'SELECT c.name AS commu_name, c.image_filename AS commu_image'
     2795            . ', ct.*, MAX(ctc2.r_datetime) AS last_datetime, MAX(ctc2.number) as max_number';
    27952796    $from = ' FROM c_commu AS c, c_commu_topic AS ct, c_commu_topic_comment AS ctc, c_commu_topic_comment AS ctc2';
    27962797
  • OpenPNE/trunk/webapp/modules/pc/templates/h_com_topic_find_all.tpl

    r3474 r3482  
    187187({*********})
    188188<tr>
    189 <td style="width:550px;height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    190 </tr>
    191 ({*********})
    192 <tr>
     189<td style="width:550px;height:1px;" class="bg_01" colspan="9"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     190</tr>
     191({*********})
     192<tr>
     193<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     194<td style="width:90px;" class="bg_03" align="center" valign="middle" rowspan="7">
     195
     196<div class="padding_s">
     197
     198<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic_search.c_commu_topic_id})">
     199<img src="({t_img_url filename=$c_topic_search.commu_image w=76 h=76 noimg=no_logo_small})"></a>
     200
     201</div>
     202
     203</td>
    193204<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    194205<td style="width:85px;" class="bg_05" align="left" valign="middle">
     
    202213</td>
    203214<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    204 <td style="width:461px;" class="bg_02" align="left" valign="middle" colspan="3">
     215<td style="width:371px;" class="bg_02" align="left" valign="middle" colspan="3">
    205216
    206217<div class="padding_s">
     
    216227<tr>
    217228<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    218 <td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    219 </tr>
    220 ({*********})
    221 <tr>
     229<td style="height:1px;" class="bg_01" align="center" colspan="7"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     230</tr>
     231({*********})
     232<tr>
     233<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    222234<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    223235<td class="bg_05" align="left" valign="middle">
     
    245257<tr>
    246258<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    247 <td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    248 </tr>
    249 ({*********})
    250 <tr>
     259<td style="height:1px;" class="bg_01" align="center" colspan="7"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     260</tr>
     261({*********})
     262<tr>
     263<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    251264<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    252265<td class="bg_05" align="left" valign="middle">
     
    274287<tr>
    275288<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    276 <td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    277 </tr>
    278 ({*********})
    279 <tr>
     289<td style="height:1px;" class="bg_01" align="center" colspan="7"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     290</tr>
     291({*********})
     292<tr>
     293<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    280294<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    281295<td class="bg_05" align="left" valign="middle">
     
    288302
    289303</td>
    290 <td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     304<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    291305<td style="width:249px;" class="bg_02" align="left">
    292306<div class="padding_s">
     
    296310</div>
    297311</td>
    298 <td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    299 <td class="bg_02" align="center" valign="middle" rowspan="3">
     312<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     313<td class="bg_02" align="center" valign="middle">
    300314
    301315<table border="0" cellspacing="0" cellpadding="0" style="width:212px;">
     
    314328
    315329</td>
    316 <td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    317 </tr>
    318 ({*********})
    319 <tr>
    320 <td style="height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     330<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     331</tr>
     332({*********})
     333<tr>
     334<td style="height:1px;" class="bg_01" colspan="9"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    321335</tr>
    322336({*********})
Note: See TracChangeset for help on using the changeset viewer.