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

Changeset 5276


Ignore:
Timestamp:
Feb 20, 2008, 11:02:04 PM (12 years ago)
Author:
ebihara
Message:

#1909:inc_f_home_h_prof.tpl のコミュニティリストを XHTML+CSS 化

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE/webapp/modules/pc/templates/inc_f_home_h_prof.tpl

    r5275 r5276  
    386386({* unknown *})({/if})
    387387
    388 ({* #1909 *})<!-- ************************************ -->
    389 ({* #1909 *})<!-- ******ここから:コミュニティ一覧****** -->
    390 ({* #1909 *})({if $c_commu_list})
    391 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px;margin:0px auto;" class="border_07">
    392 ({* #1909 *})<tr>
    393 ({* #1909 *})<td>
    394 ({* #1909 *})<!-- *ここから:コミュニティ一覧>>内容* -->
    395 ({* #1909 *})({*ここから:header*})
    396 ({* #1909 *})<!-- ここから:小タイトル -->
    397 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px" class="border_07">
    398 ({* #1909 *})<tr>
    399 ({* #1909 *})<td style="width:25px;" class="bg_06"><img src="({t_img_url_skin filename=icon_title_1})" style="width:25px;height:19px;" class="dummy"></td>
    400 ({* #1909 *})<td style="width:241px;" class="bg_06"><span class="b_b c_00">コミュニティリスト</span></td>
    401 ({* #1909 *})</tr>
    402 ({* #1909 *})</table>
    403 ({* #1909 *})<!-- ここまで:小タイトル -->
    404 ({* #1909 *})({*ここまで:header*})
    405 ({* #1909 *})({*ここから:body*})
    406 ({* #1909 *})<!-- ここから:サムネイルとニックネーム -->
    407 ({* #1909 *})({if $smarty.const.OPENPNE_USE_FLASH_LIST})
    408 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:266px;" class="bg_07">
    409 ({* #1909 *})<tr>
    410 ({* #1909 *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
    411 ({* #1909 *})<td class="bg_03" align="center">
    412 ({* #1909 *})
    413 ({* #1909 *})({capture assign=flashvars})({strip})
    414 ({* #1909 *})({foreach from=$c_commu_list item=item key=key})
    415 ({* #1909 *})({if $key > 0})&({/if})
    416 ({* #1909 *})pne_item({$key+1})_id=({$item.c_commu_id})
    417 ({* #1909 *})&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    418 ({* #1909 *})&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
    419 ({* #1909 *})&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
    420 ({* #1909 *})&pne_item({$key+1})_count=({$item.count_commu_members})
    421 ({* #1909 *})({/foreach})
    422 ({* #1909 *})({/strip})({/capture})
    423 ({* #1909 *})<script type="text/javascript" src="js/show_flash.js"></script>
    424 ({* #1909 *})<script type="text/javascript">
    425 ({* #1909 *})<!--
    426 ({* #1909 *})show_flash('flash/list.swf', '({$flashvars})');
    427 ({* #1909 *})//-->
    428 ({* #1909 *})</script>
    429 ({* #1909 *})
    430 ({* #1909 *})</td>
    431 ({* #1909 *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
    432 ({* #1909 *})</tr>
    433 ({* #1909 *})</table>
    434 ({* #1909 *})({else})
    435 ({* #1909 *})<table border="0" cellspacing="1" cellpadding="2" style="width:268px" class="bg_07">
    436 ({* #1909 *})
    437 ({* #1909 *})({if $c_commu_list[0]})
    438 ({* #1909 *})<!-- 1行目img -->
    439 ({* #1909 *})<tr>
    440 ({* #1909 *})
    441 ({* #1909 *})({t_loop from=$c_commu_list start=0 num=3})
    442 ({* #1909 *})({if $item})
    443 ({* #1909 *})<td style="width:88px;" class="bg_03" align="center">
    444 ({* #1909 *})({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    445 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    446 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" class="pict"></a>
    447 ({* #1909 *})</td>
    448 ({* #1909 *})({else})
    449 ({* #1909 *})<td style="width:88px;" class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    450 ({* #1909 *})({/if})
    451 ({* #1909 *})({/t_loop})
    452 ({* #1909 *})
    453 ({* #1909 *})</tr>
    454 ({* #1909 *})
    455 ({* #1909 *})<!-- 1行目name -->
    456 ({* #1909 *})<tr>
    457 ({* #1909 *})
    458 ({* #1909 *})({t_loop from=$c_commu_list start=0 num=3})
    459 ({* #1909 *})({if $item})
    460 ({* #1909 *})<td class="bg_02" align="center" style="width:88px;">
    461 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    462 ({* #1909 *})({$item.name}) (({$item.count_commu_members}))
    463 ({* #1909 *})</a>
    464 ({* #1909 *})</td>
    465 ({* #1909 *})({else})
    466 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    467 ({* #1909 *})({/if})
    468 ({* #1909 *})({/t_loop})
    469 ({* #1909 *})
    470 ({* #1909 *})</tr>
    471 ({* #1909 *})
    472 ({* #1909 *})({/if})
    473 ({* #1909 *})
    474 ({* #1909 *})({*************************************************************})
    475 ({* #1909 *})
    476 ({* #1909 *})({if $c_commu_list[3]})
    477 ({* #1909 *})<!-- 2行目img -->
    478 ({* #1909 *})<tr>
    479 ({* #1909 *})
    480 ({* #1909 *})({t_loop from=$c_commu_list start=3 num=3})
    481 ({* #1909 *})({if $item})
    482 ({* #1909 *})<td class="bg_03" align="center">
    483 ({* #1909 *})({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    484 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    485 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" class="pict"></a>
    486 ({* #1909 *})</td>
    487 ({* #1909 *})({else})
    488 ({* #1909 *})<td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    489 ({* #1909 *})({/if})
    490 ({* #1909 *})({/t_loop})
    491 ({* #1909 *})
    492 ({* #1909 *})</tr>
    493 ({* #1909 *})
    494 ({* #1909 *})<!-- 2行目name -->
    495 ({* #1909 *})<tr>
    496 ({* #1909 *})
    497 ({* #1909 *})({t_loop from=$c_commu_list start=3 num=3})
    498 ({* #1909 *})({if $item})
    499 ({* #1909 *})<td class="bg_02" align="center" style="width:88px;">
    500 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    501 ({* #1909 *})({$item.name}) (({$item.count_commu_members}))
    502 ({* #1909 *})</a>
    503 ({* #1909 *})</td>
    504 ({* #1909 *})({else})
    505 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    506 ({* #1909 *})({/if})
    507 ({* #1909 *})({/t_loop})
    508 ({* #1909 *})
    509 ({* #1909 *})</tr>
    510 ({* #1909 *})
    511 ({* #1909 *})({/if})
    512 ({* #1909 *})
    513 ({* #1909 *})({*************************************************************})
    514 ({* #1909 *})
    515 ({* #1909 *})({if $c_commu_list[6]})
    516 ({* #1909 *})<!-- 3行目img -->
    517 ({* #1909 *})<tr>
    518 ({* #1909 *})
    519 ({* #1909 *})({t_loop from=$c_commu_list start=6 num=3})
    520 ({* #1909 *})({if $item})
    521 ({* #1909 *})<td class="bg_03" align="center">
    522 ({* #1909 *})({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    523 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    524 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" class="pict"></a>
    525 ({* #1909 *})</td>
    526 ({* #1909 *})({else})
    527 ({* #1909 *})<td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    528 ({* #1909 *})({/if})
    529 ({* #1909 *})({/t_loop})
    530 ({* #1909 *})
    531 ({* #1909 *})</tr>
    532 ({* #1909 *})
    533 ({* #1909 *})<!-- 3行目name -->
    534 ({* #1909 *})<tr>
    535 ({* #1909 *})
    536 ({* #1909 *})({t_loop from=$c_commu_list start=6 num=3})
    537 ({* #1909 *})({if $item})
    538 ({* #1909 *})<td class="bg_02" align="center" style="width:88px;">
    539 ({* #1909 *})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    540 ({* #1909 *})({$item.name}) (({$item.count_commu_members}))
    541 ({* #1909 *})</a>
    542 ({* #1909 *})</td>
    543 ({* #1909 *})({else})
    544 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    545 ({* #1909 *})({/if})
    546 ({* #1909 *})
    547 ({* #1909 *})({/t_loop})
    548 ({* #1909 *})
    549 ({* #1909 *})</tr>
    550 ({* #1909 *})
    551 ({* #1909 *})({/if})
    552 ({* #1909 *})
    553 ({* #1909 *})</table>
    554 ({* #1909 *})({/if})
    555 ({* #1909 *})
    556 ({* #1909 *})<!-- ここまで:サムネイルとニックネーム -->
    557 ({* #1909 *})({*ここまで:body*})
    558 ({* #1909 *})({*ここから:footer*})
    559 ({* #1909 *})<!-- ここから:小メニュー -->
    560 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px">
    561 ({* #1909 *})<tr>
    562 ({* #1909 *})<td style="width:1px;" class="bg_07" rowspan="({if $common_commu_count})4({else})3({/if})"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    563 ({* #1909 *})<td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    564 ({* #1909 *})<td style="width:1px;" class="bg_07" rowspan="({if $common_commu_count})4({else})3({/if})"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    565 ({* #1909 *})</tr>
    566 ({* #1909 *})<tr>
    567 ({* #1909 *})<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    568 ({* #1909 *})<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    569 ({* #1909 *})<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    570 ({* #1909 *})<a href="({t_url m=pc a=page_fh_com_list})&amp;target_c_member_id=({$target_c_member_id})">全てを見る(({$user_count}))</a>
    571 ({* #1909 *})</td>
    572 ({* #1909 *})<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    573 ({* #1909 *})</tr>
    574 ({* #1909 *})({if $common_commu_count})
    575 ({* #1909 *})<tr>
    576 ({* #1909 *})<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    577 ({* #1909 *})<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    578 ({* #1909 *})<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    579 ({* #1909 *})<a href="({t_url m=pc a=page_f_com_list_common})&amp;target_c_member_id=({$target_c_member_id})">共通コミュニティ(({$common_commu_count}))</a>
    580 ({* #1909 *})</td>
    581 ({* #1909 *})<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    582 ({* #1909 *})</tr>
    583 ({* #1909 *})({/if})
    584 ({* #1909 *})<tr>
    585 ({* #1909 *})<td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    586 ({* #1909 *})</tr>
    587 ({* #1909 *})<tr>
    588 ({* #1909 *})<td style="width:268px;" class="bg_07" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    589 ({* #1909 *})</tr>
    590 ({* #1909 *})</table>
    591 ({* #1909 *})<!-- ここまで:小メニュー -->
    592 ({* #1909 *})({*ここまで:footer*})
    593 ({* #1909 *})<!-- *ここまで:コミュニティ一覧>>内容* -->
    594 ({* #1909 *})</td>
    595 ({* #1909 *})</tr>
    596 ({* #1909 *})</table>
    597 ({* #1909 *})({/if})
    598 ({* #1909 *})<!-- ******ここまで:コミュニティ一覧****** -->
    599 ({* #1909 *})<!-- ************************************ -->
    600 
    601 <img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
     388({* {{{ table3x *})
     389({if $c_commu_list})
     390<div class="section table3x">
     391<table><tr>
     392<th class="heading" colspan="3">コミュニティリスト</th>
     393</tr>
     394({* unknown *})({if $smarty.const.OPENPNE_USE_FLASH_LIST})
     395({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:266px;" class="bg_07">
     396({* unknown *})<tr>
     397({* unknown *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
     398({* unknown *})<td class="bg_03" align="center">
     399({* unknown *})
     400({* unknown *})({capture assign=flashvars})({strip})
     401({* unknown *})({foreach from=$c_commu_list item=item key=key})
     402({* unknown *})({if $key > 0})&({/if})
     403({* unknown *})pne_item({$key+1})_id=({$item.c_commu_id})
     404({* unknown *})&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
     405({* unknown *})&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
     406({* unknown *})&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
     407({* unknown *})&pne_item({$key+1})_count=({$item.count_commu_members})
     408({* unknown *})({/foreach})
     409({* unknown *})({/strip})({/capture})
     410({* unknown *})<script type="text/javascript" src="js/show_flash.js"></script>
     411({* unknown *})<script type="text/javascript">
     412({* unknown *})<!--
     413({* unknown *})show_flash('flash/list.swf', '({$flashvars})');
     414({* unknown *})//-->
     415({* unknown *})</script>
     416({* unknown *})
     417({* unknown *})</td>
     418({* unknown *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
     419({* unknown *})</tr>
     420({* unknown *})</table>
     421({else})
     422
     423({if $c_commu_list[0]})
     424<tr>
     425({t_loop from=$c_commu_list start=0 num=3})
     426<td>
     427({if $item})
     428<p class="photo">({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"> <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a></p>
     429<p class="text"><a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a></p>
     430({else})
     431<p class="photo"></p>
     432<p class="text"></p>
     433({/if})
     434</td>
     435({/t_loop})
     436</tr>
     437({/if})
     438({*************************************************************})
     439({if $c_commu_list[3]})
     440<tr>
     441({t_loop from=$c_commu_list start=3 num=3})
     442<td>
     443({if $item})
     444<p class="photo">({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"> <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a></p>
     445<p class="text"><a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a></p>
     446({else})
     447<p class="photo"></p>
     448<p class="text"></p>
     449({/if})
     450</td>
     451({/t_loop})
     452</tr>
     453({/if})
     454({*************************************************************})
     455({if $c_commu_list[6]})
     456<tr>
     457({t_loop from=$c_commu_list start=6 num=3})
     458<td>
     459({if $item})
     460<p class="photo">({if $item.c_member_id_admin == $target_c_member.c_member_id })<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"> <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a></p>
     461<p class="text"><a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a></p>
     462({else})
     463<p class="photo"></p>
     464<p class="text"></p>
     465({/if})
     466</td>
     467({/t_loop})
     468</tr>
     469({/if})
     470<tr>
     471<td class="footer" colspan="3">
     472<ul class="moreInfo">
     473<li><a href="({t_url m=pc a=page_fh_com_list})&amp;target_c_member_id=({$target_c_member_id})">全てを見る(({$user_count}))</a></li>
     474<li><a href="({t_url m=pc a=page_f_com_list_common})&amp;target_c_member_id=({$target_c_member_id})">共通コミュニティ(({$common_commu_count}))</a></li>
     475</ul>
     476</td></tr>
     477({/if})
     478</table>
     479</div>
     480({* }}} *})
     481({/if})
    602482
    603483({* unknown *})({if $inc_entry_point[6]})
Note: See TracChangeset for help on using the changeset viewer.