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

Changeset 6429


Ignore:
Timestamp:
Apr 8, 2008, 5:59:32 PM (12 years ago)
Author:
ogawa
Message:

#2059:merged:SlavePNE部分対応

Location:
OpenPNE/branches/work/ogawa/2059_profile/webapp
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/lib/db/member.php

    r6428 r6429  
    19031903{
    19041904    $c_member = db_member_c_member4c_member_id($c_member_id, true);
    1905    
     1905    $profile_list = db_member_c_profile_list();
     1906
    19061907    if (($c_member['nickname'] === '')
    1907      || !$c_member['birth_year']
    1908      || !$c_member['birth_month']
    1909      || !$c_member['birth_day']
     1908     || (!$c_member['birth_year'] && $profile_list['SYSTEM_BIRTH_YEAR']['is_required'] && $profile_list['SYSTEM_BIRTH_YEAR']['disp_regist'] )
     1909     || (!$c_member['birth_month'] && $profile_list['SYSTEM_BIRTH_DAY']['is_required'] && $profile_list['SYSTEM_BIRTH_DAY']['disp_regist'] )
     1910     || (!$c_member['birth_day'] && $profile_list['SYSTEM_BIRTH_DAY']['is_required'] && $profile_list['SYSTEM_BIRTH_DAY']['disp_regist'] )
    19101911     || !$c_member['c_password_query_id']
    19111912     || ($c_member['secure']['hashed_password_query_answer'] === '')
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/modules/ktai/do/h_regist_prof.php

    r6418 r6429  
    3838        foreach ($profile_list as $profile) {
    3939            $value = $c_member_profile_list[$profile['name']]['value'];
    40             if ($profile['disp_config'] && $profile['is_required']) {
     40            if ($profile['disp_regist'] && $profile['is_required']) {
    4141                if ($profile['use_member_profile']) {
    4242                    if (is_null($value) || $value === '' || $value === array()) {
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/modules/ktai/templates/h_regist_prof.tpl

    r6416 r6429  
    77({t_form m=ktai a=do_h_regist_prof})
    88<input type="hidden" name="ksid" value="({$PHPSESSID})">
    9 ({capture name="nick"})
    10 <font color="#({$ktai_color_config.font_06})">ニックネーム:</font><font color="#({$ktai_color_config.font_09})">*</font><br>
    11 <input type="text" name="nickname"><br>
    12 <br>
    13 ({/capture})
    14 ({capture name="birth"})
    15 <font color="#({$ktai_color_config.font_06})">生まれた年:</font><font color="#({$ktai_color_config.font_09})">*</font><br>
    16 <input type="text" name="birth_year" size="4" maxlength="4" istyle="4" mode="numeric">年<br>
    17 <select name="public_flag_birth_year">
    18     ({foreach from=$public_flags key=key item=item})
    19     <option value="({$key})"({if $c_member.public_flag_birth_year == $key}) selected="selected"({/if})>({$item})
    20     ({/foreach})
    21 </select><br>
    22 <br>
    239
    24 <font color="#({$ktai_color_config.font_06})">誕生日:</font><font color="#({$ktai_color_config.font_09})">*</font><br>
    25 <select name="birth_month">
    26     <option value="" selected="selected">--
    27     ({foreach from=$month_list item=item})
    28     <option value="({$item})">({$item})
    29     ({/foreach})
    30 </select>月<br>
    31 <select name="birth_day">
    32     <option value="" selected="selected">--
    33     ({foreach from=$day_list item=item})
    34     <option value="({$item})">({$item})
    35     ({/foreach})
    36 </select>日<br>
    37 <select name="public_flag_birth_month_day">
    38     ({foreach from=$public_flags key=key item=item})
    39     <option value="({$key})"({if $c_member.public_flag_birth_month_day == $key}) selected="selected"({/if})>({$item})
    40     ({/foreach})
    41 </select><br>
    42 <br>
    43 ({/capture})
    44 
    45 ({foreach from=$profile_list item=profile})
    46 
    47 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK
    48   && !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    49 ({counter assign="_cnt_nick"})
    50 ({counter assign="_cnt_birth"})
    51 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    52 ({$smarty.capture.birth|smarty:nodefaults})
    53 ({$smarty.capture.nick|smarty:nodefaults})
    54 ({else})
    55 ({$smarty.capture.nick|smarty:nodefaults})
    56 ({$smarty.capture.birth|smarty:nodefaults})
    57 ({/if})
    58 ({/if})
    59 
    60 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK})
    61 ({counter assign="_cnt_nick"})
    62 ({$smarty.capture.nick|smarty:nodefaults})
    63 ({/if})
    64 
    65 ({if !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    66 ({counter assign="_cnt_birth"})
    67 ({$smarty.capture.birth|smarty:nodefaults})
    68 ({/if})
     10({foreach from=$profile_list key=key item=profile})
    6911
    7012({if $profile.disp_regist})
     13({if $profile.use_member_profile==1})
    7114    <font color="#({$ktai_color_config.font_06})">({$profile.caption}):</font>
    7215    ({if $profile.is_required})<font color="#({$ktai_color_config.font_09})">*</font>({/if})<br>
    73    
     16
    7417    ({if $profile.form_type == 'text'})
    7518        <input type="text" name="profile[({$profile.name})]" value="({$c_member.profile[$profile.name].value})">
     
    10043    <br>
    10144    ({/if})
     45<br>
     46({else})
     47  ({if $key == 'SYSTEM_NICKNAME'})
     48    <font color="#({$ktai_color_config.font_06})">({$WORD_NICKNAME_HALF}):</font><font color="#({$ktai_color_config.font_09})">*</font><br>
     49    <input type="text" name="nickname"><br>
     50  ({/if})
     51  ({if $key == 'SYSTEM_BIRTH_YEAR'})
     52    <font color="#({$ktai_color_config.font_06})">生まれた年:</font><font color="#({$ktai_color_config.font_09})">*</font><br>
     53    <input type="text" name="birth_year" size="4" maxlength="4" istyle="4" mode="numeric">年<br>
     54    ({if $profile.public_flag_edit})
     55    <select name="public_flag_birth_year">
     56        ({foreach from=$public_flags key=key item=item})
     57        <option value="({$key})"({if $profile.public_flag_default == $key}) selected="selected"({/if})>({$item})
     58        ({/foreach})
     59    </select><br>
     60    ({/if})
     61  ({/if})
     62  ({if $key == 'SYSTEM_BIRTH_DAY'})
     63    <font color="#({$ktai_color_config.font_06})">誕生日:</font><font color="#({$ktai_color_config.font_09})">*</font><br>
     64    <select name="birth_month">
     65        <option value="" selected="selected">--
     66        ({foreach from=$month_list item=item})
     67        <option value="({$item})">({$item})
     68        ({/foreach})
     69    </select>月<br>
     70    <select name="birth_day">
     71        <option value="" selected="selected">--
     72        ({foreach from=$day_list item=item})
     73        <option value="({$item})">({$item})
     74        ({/foreach})
     75    </select>日<br>
     76
     77    ({if $profile.public_flag_edit})
     78    <select name="public_flag_birth_month_day">
     79        ({foreach from=$public_flags key=key item=item})
     80        <option value="({$key})"({if $profile.public_flag_default == $key}) selected="selected"({/if})>({$item})
     81        ({/foreach})
     82    </select><br>
     83    ({/if})
     84  ({/if})
     85<br>
     86({/if})
     87({else})
     88({if $key == 'SYSTEM_BIRTH_YEAR'})
     89<input type="hidden" name="birth_year" value="">
     90<input type="hidden" name="public_flag_birth_year" value="({$profile.public_flag_default})">
     91({/if})
     92({if $key == 'SYSTEM_BIRTH_DAY'})
     93<input type="hidden" name="birth_month" value="">
     94<input type="hidden" name="birth_day" value="">
     95<input type="hidden" name="public_flag_birth_month_day" value="({$profile.public_flag_default})">
     96({/if})
    10297
    10398({/if})
    10499({/foreach})
    105 
    106 ({if !$_cnt_nick && !$_cnt_birth})
    107 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    108 ({$smarty.capture.birth|smarty:nodefaults})
    109 ({$smarty.capture.nick|smarty:nodefaults})
    110 ({else})
    111 ({$smarty.capture.nick|smarty:nodefaults})
    112 ({$smarty.capture.birth|smarty:nodefaults})
    113 ({/if})
    114 ({else})
    115 ({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
    116 ({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
    117 ({/if})
    118100
    119101<br>
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/modules/pc/do/h_regist_prof.php

    r6418 r6429  
    4848        foreach ($profile_list as $profile) {
    4949            $value = $c_member_profile_list[$profile['name']]['value'];
    50             if ($profile['disp_config'] && $profile['is_required']) {
     50            if ($profile['disp_regist'] && $profile['is_required']) {
    5151                if ($profile['use_member_profile']) {
    5252                    if (is_null($value) || $value === '' || $value === array()) {
     
    120120            }
    121121            unset($_SESSION['prof']);
    122            
     122
    123123            openpne_redirect('pc', 'page_h_home');
    124124            break;
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/modules/pc/templates/h_regist_prof.tpl

    r6416 r6429  
    4343</tr>
    4444({*********})
    45 ({capture name="nick"})
     45
     46({foreach from=$c_profile_list key=key item=profile})
     47
     48({if $profile.disp_regist})
    4649<tr>
    4750<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
     
    5053<div class="padding_s">
    5154
    52 ニックネーム <span class="caution">※</span>
    53 
     55({if $profile.use_member_profile==1})
     56({$profile.caption}) ({if $profile.is_required})<span class="caution">※</span>({/if})
     57({else})
     58({if $key == 'SYSTEM_NICKNAME'})({$WORD_NICKNAME}) <span class="caution">※</span>({/if})
     59({if $key == 'SYSTEM_BIRTH_YEAR'})生まれた年 ({if $profile.is_required})<span class="caution">※</span>({/if})({/if})
     60({if $key == 'SYSTEM_BIRTH_DAY'})誕生日 ({if $profile.is_required})<span class="caution">※</span>({/if})({/if})
     61({/if})
     62 
    5463</div>
    5564
     
    5867<td style="width:483px;" class="bg_02" align="left" valign="middle">
    5968
    60 <div class="padding_s">
    61 
    62 <input name="nickname" type="text" value="({$profs.nickname})" size="30"><br>
    63 
    64 </div>
    65 
    66 </td>
    67 <td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    68 </tr>
    69 ({*********})
    70 <tr>
    71 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    72 </tr>
    73 ({*********})
    74 ({/capture})
    75 ({capture name="birth"})
    76 <tr>
    77 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    78 <td class="bg_05" align="left" valign="middle">
    79 
    80 <div class="padding_s">
    81 
    82 生まれた年 <span class="caution">※</span>
    83 
    84 </div>
    85 
    86 </td>
    87 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    88 <td class="bg_02" align="left" valign="middle">
    89 
    9069<table style="width:100%;border-collapse:collapse;padding:0">
    9170<tr>
    92 <td style="padding:0">
    93 
    94 <div class="padding_s">
    95 
    96 <input name="birth_year" type="text" value="({$profs.birth_year})" size="10" maxlength="4">年
    97 
    98 </div>
    99 
    100 </td>
    101 <td align="right">
    102 
    103 <div class="padding_s">
    104 
    105 <select name="public_flag_birth_year">
    106 ({html_options options=$public_flags selected=$profs.public_flag_birth_year})
    107 </select>
    108 
    109 </div>
    110 
    111 </td>
    112 </tr>
    113 </table>
    114 
    115 </td>
    116 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    117 </tr>
    118 ({*********})
    119 <tr>
    120 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    121 </tr>
    122 ({*********})
    123 <tr>
    124 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    125 <td class="bg_05" align="left" valign="middle">
    126 
    127 <div class="padding_s">
    128 
    129 誕生日 <span class="caution">※</span>
    130 
    131 </div>
    132 
    133 </td>
    134 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    135 <td class="bg_02" align="left" valign="middle">
    136 
    137 <table style="width:100%;border-collapse:collapse;padding:0">
    138 <tr>
    139 <td style="padding:0">
    140 
    141 <div class="padding_s">
    142 
    143 <select name="birth_month">
    144 <option value="">--
    145 ({foreach from=$month_list item=item})
    146 <option value="({$item})"({if $profs.birth_month==$item}) selected="selected"({/if})>({$item})
    147 ({/foreach})
    148 </select>月
    149 <select name="birth_day">
    150 <option value="">--
    151 ({foreach from=$day_list item=item})
    152 <option value="({$item})"({if $profs.birth_day==$item}) selected="selected"({/if})>({$item})
    153 ({/foreach})
    154 </select>日
    155 
    156 </div>
    157 </td>
    158 
    159 <td align="right">
    160 <div class="padding_s">
    161 <select name="public_flag_birth_month_day">
    162 ({html_options options=$public_flags selected=$profs.public_flag_birth_month_day})
    163 </select>
    164 </div>
    165 </td>
    166 </tr>
    167 </table>
    168 
    169 </td>
    170 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    171 </tr>
    172 ({*********})
    173 <tr>
    174 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    175 </tr>
    176 ({*********})
    177 ({/capture})
    178 
    179 ({foreach from=$c_profile_list item=profile})
     71<td style="padding:0;">
     72
     73<div class="padding_s">
     74
    18075({strip})
    181 
    182 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK
    183   && !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    184 ({counter assign="_cnt_nick"})
    185 ({counter assign="_cnt_birth"})
    186 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    187 ({$smarty.capture.birth|smarty:nodefaults})
    188 ({$smarty.capture.nick|smarty:nodefaults})
    189 ({else})
    190 ({$smarty.capture.nick|smarty:nodefaults})
    191 ({$smarty.capture.birth|smarty:nodefaults})
    192 ({/if})
    193 ({/if})
    194 
    195 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK})
    196 ({counter assign="_cnt_nick"})
    197 ({$smarty.capture.nick|smarty:nodefaults})
    198 ({/if})
    199 
    200 ({if !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    201 ({counter assign="_cnt_birth"})
    202 ({$smarty.capture.birth|smarty:nodefaults})
    203 ({/if})
    204 
    205 ({/strip})
    206 ({if $profile.disp_regist})
    207 <tr>
    208 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    209 <td class="bg_05" align="left" valign="middle">
    210 
    211 <div class="padding_s">
    212 
    213 ({$profile.caption}) ({if $profile.is_required})<span class="caution">※</span>({/if})
    214 
    215 </div>
    216 
    217 </td>
    218 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    219 <td class="bg_02" align="left" valign="middle">
    220 
    221 <table style="width:100%;border-collapse:collapse;padding:0">
    222 <tr>
    223 <td style="padding:0;">
    224 
    225 <div class="padding_s">
    226 
    227 ({strip})
     76({if $profile.use_member_profile==1})
    22877({if $profile.form_type == 'text'})
    22978    <input type="text" size="30" name="profile[({$profile.name})]" value="({$profs.profile[$profile.name].value})">
     
    262111    </table>
    263112({/if})
     113({else})
     114({if $key == 'SYSTEM_NICKNAME'})
     115<input class="text" name="nickname" type="text" value="({$profs.nickname})" size="30">
     116({/if})
     117({if $key == 'SYSTEM_BIRTH_YEAR'})
     118<input class="text" name="birth_year" type="text" value="({$profs.birth_year})" size="10" maxlength="4">年
     119({/if})
     120({if $key == 'SYSTEM_BIRTH_DAY'})
     121<select name="birth_month">
     122<option value="">--
     123({foreach from=$month_list item=item})
     124<option value="({$item})"({if $profs.birth_month==$item}) selected="selected"({/if})>({$item})
     125({/foreach})
     126</select>月
     127<select name="birth_day">
     128<option value="">--
     129({foreach from=$day_list item=item})
     130<option value="({$item})"({if $profs.birth_day==$item}) selected="selected"({/if})>({$item})
     131({/foreach})
     132</select>日
     133({/if})
     134({/if})
    264135({/strip})
    265136
     
    272143<div class="padding_s">
    273144
    274 ({if $profs.profile[$profile.name].public_flag})
    275 ({assign var=pflag value=$profs.profile[$profile.name].public_flag})
     145({strip})
     146({if $profile.use_member_profile==1})
     147  ({if $c_member.profile[$profile.name].public_flag})
     148    ({assign var=pflag value=$c_member.profile[$profile.name].public_flag})
     149  ({else})
     150    ({assign var=pflag value=$profile.public_flag_default})
     151  ({/if})
     152    <select name="public_flag[({$profile.name})]">
     153    ({foreach from=$public_flags key=key item=item})
     154      <option value="({$key})"({if $pflag==$key}) selected="selected"({/if})>({$item})
     155    ({/foreach})
     156    </select>
    276157({else})
    277 ({assign var=pflag value=$profile.public_flag_default})
    278 ({/if})
    279 <select name="public_flag[({$profile.name})]">
    280 ({foreach from=$public_flags key=key item=item})
    281 <option value="({$key})"({if $pflag==$key}) selected="selected"({/if})>({$item})
     158  ({if $key == 'SYSTEM_BIRTH_YEAR'})
     159    ({assign var=pflag value=$profile.public_flag_default})
     160    <select name="public_flag_birth_year">
     161    ({foreach from=$public_flags key=key item=item})
     162      <option value="({$key})"({if $pflag==$key}) selected="selected"({/if})>({$item})
     163    ({/foreach})
     164    </select>
     165  ({/if})
     166  ({if $key == 'SYSTEM_BIRTH_DAY'})
     167    ({assign var=pflag value=$profile.public_flag_default})
     168({$plag})
     169    <select name="public_flag_birth_month_day">
     170    ({foreach from=$public_flags key=key item=item})
     171      <option value="({$key})"({if $pflag==$key}) selected="selected"({/if})>({$item})
     172    ({/foreach})
     173    </select>
     174  ({/if})
     175({/if})
     176({/strip})
     177
     178</div>
     179
     180</td>
     181({/if})
     182</tr>
     183</table>
     184
     185</td>
     186<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
     187</tr>
     188({*********})
     189<tr>
     190<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
     191</tr>
     192({*********})
     193({else})
     194({***ニックネーム、生年月日、誕生日の非表示時の処理***})
     195({if $key == 'SYSTEM_NICKNAME'})<input type="hidden" name="nickname" value="({$c_member.nickname})">({/if})
     196({if $key == 'SYSTEM_BIRTH_YEAR'})<input type="hidden" name="birth_year" value="({if $profs.birth_year})({$profs.birth_year})({/if})">
     197<input type="hidden" name="public_flag_birth_year" value="({if $profs.public_flag_birth_year})({$profs.public_flag_birth_year})({else})({$profile.public_flag_default})({/if})">
     198({/if})
     199({if $key == 'SYSTEM_BIRTH_DAY'})
     200<input type="hidden" name="birth_month" value="({if $profs.birth_month})({$profs.birth_month})({/if})">
     201<input type="hidden" name="birth_day" value="({if $profs.birth_day})({$profs.birth_day})({/if})">
     202<input type="hidden" name="public_flag_birth_month_day" value="({if $profs.public_flag_birth_month_day})({$profs.public_flag_birth_month_day})({else})({$profile.public_flag_default})({/if})">
     203({/if})
     204({/if})
    282205({/foreach})
    283 </select>
    284 
    285 </div>
    286 
    287 </td>
    288 ({/if})
    289 </tr>
    290 </table>
    291 
    292 </td>
    293 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    294 </tr>
    295 ({*********})
    296 <tr>
    297 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    298 </tr>
    299 ({*********})
    300 ({/if})
    301 ({/foreach})
    302 
    303 ({if !$_cnt_nick && !$_cnt_birth})
    304 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    305 ({$smarty.capture.birth|smarty:nodefaults})
    306 ({$smarty.capture.nick|smarty:nodefaults})
    307 ({else})
    308 ({$smarty.capture.nick|smarty:nodefaults})
    309 ({$smarty.capture.birth|smarty:nodefaults})
    310 ({/if})
    311 ({else})
    312 ({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
    313 ({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
    314 ({/if})
     206
    315207({if $profs.secure.pc_address==""&&false})
    316208<tr>
  • OpenPNE/branches/work/ogawa/2059_profile/webapp/modules/pc/templates/h_regist_prof_confirm.tpl

    r6416 r6429  
    4040</tr>
    4141({*********})
    42 ({capture name="nick"})
     42
     43({foreach from=$profile_list key=key item=profile})
     44
     45({if $profile.disp_regist})
    4346<tr>
    4447<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
     
    4750<div class="padding_s">
    4851
    49 ニックネーム <span class="caution">※</span>
    50 
    51 </div>
    52 
    53 </td>
    54 <td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    55 <td style="width:413px;" class="bg_02" align="left" valign="middle">
    56 
    57 <div class="padding_s">
    58 
    59 ({$prof.nickname|default:"&nbsp;"})
    60 
    61 </div>
    62 
    63 </td>
    64 <td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    65 </tr>
    66 ({*********})
    67 <tr>
    68 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    69 </tr>
    70 ({*********})
    71 ({/capture})
    72 ({capture name="birth"})
    73 <tr>
    74 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    75 <td class="bg_05" align="left" valign="middle">
    76 
    77 <div class="padding_s">
    78 
    79 生まれた年 <span class="caution">※</span>
    80 
    81 </div>
    82 
    83 </td>
    84 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    85 <td class="bg_02" align="left" valign="middle">
    86 
    87 <div class="padding_s">
    88 
    89 ({$prof.birth_year|default:"&nbsp;"})年
    90 
    91 ({if $prof.public_flag_birth_year == 'friend'})
    92 (({$WORD_MY_FRIEND})まで公開)
    93 ({elseif $prof.public_flag_birth_year == 'private'})
    94 (公開しない)
    95 ({/if})
    96 
    97 </div>
    98 
    99 </td>
    100 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    101 </tr>
    102 ({*********})
    103 <tr>
    104 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    105 </tr>
    106 ({*********})
    107 <tr>
    108 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    109 <td class="bg_05" align="left" valign="middle">
    110 
    111 <div class="padding_s">
    112 
    113 誕生日 <span class="caution">※</span>
    114 
    115 </div>
    116 
    117 </td>
    118 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    119 <td class="bg_02" align="left" valign="middle">
    120 
    121 <div class="padding_s">
    122 
    123 ({$prof.birth_month|default:"&nbsp;"})月({$prof.birth_day|default:"&nbsp;"})日
    124 
    125 ({if $prof.public_flag_birth_month_day == 'friend'})
    126 (({$WORD_MY_FRIEND})まで公開)
    127 ({elseif $prof.public_flag_birth_month_day == 'private'})
    128 (公開しない)
    129 ({/if})
    130 
    131 </div>
    132 
    133 </td>
    134 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    135 </tr>
    136 ({*********})
    137 <tr>
    138 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    139 </tr>
    140 ({*********})
    141 ({/capture})
    142 
    143 ({foreach from=$profile_list item=profile})
    144 ({strip})
    145 
    146 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK
    147   && !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    148 ({counter assign="_cnt_nick"})
    149 ({counter assign="_cnt_birth"})
    150 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    151 ({$smarty.capture.birth|smarty:nodefaults})
    152 ({$smarty.capture.nick|smarty:nodefaults})
    153 ({else})
    154 ({$smarty.capture.nick|smarty:nodefaults})
    155 ({$smarty.capture.birth|smarty:nodefaults})
    156 ({/if})
    157 ({/if})
    158 
    159 ({if !$_cnt_nick && $profile.sort_order >= $smarty.const.SORT_ORDER_NICK})
    160 ({counter assign="_cnt_nick"})
    161 ({$smarty.capture.nick|smarty:nodefaults})
    162 ({/if})
    163 
    164 ({if !$_cnt_birth && $profile.sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    165 ({counter assign="_cnt_birth"})
    166 ({$smarty.capture.birth|smarty:nodefaults})
    167 ({/if})
    168 
    169 ({/strip})
    170 ({if $profile.disp_regist})
    171 <tr>
    172 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    173 <td class="bg_05" align="left" valign="middle">
    174 
    175 <div class="padding_s">
     52({if $profile.use_member_profile==1})
    17653
    17754({$profile.caption})
     
    18057({/if})
    18158
    182 </div>
    183 
    184 </td>
    185 <td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    186 <td class="bg_02" align="left" valign="middle">
    187 
    188 <div class="padding_s">
     59({else})
     60({if $profile.name == 'SYSTEM_NICKNAME'})({$WORD_NICKNAME}) <span class="caution">※</span>({/if})
     61({if $profile.name == 'SYSTEM_BIRTH_YEAR'})生まれた年 ({if $profile.is_required})<span class="caution">※</span>({/if})({/if})
     62({if $profile.name == 'SYSTEM_BIRTH_DAY'})誕生日 ({if $profile.is_required})<span class="caution">※</span>({/if})({/if})
     63({/if})
     64
     65</div>
     66
     67</td>
     68<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
     69<td style="width:413px;" class="bg_02" align="left" valign="middle">
     70
     71<div class="padding_s">
     72
     73({if $profile.use_member_profile==1})
    18974
    19075({if $prof.profile[$profile.name].value})
     
    20691({/if})
    20792
     93({else})
     94({if $profile.name == 'SYSTEM_NICKNAME'})({$prof.nickname})({/if})
     95({if $profile.name == 'SYSTEM_BIRTH_YEAR'})
     96({$prof.birth_year})年
     97({if $prof.public_flag_birth_year == 'friend'})
     98(({$WORD_MY_FRIEND})まで公開)
     99({elseif $prof.public_flag_birth_year == 'private'})
     100(公開しない)
     101({/if})
     102({/if})
     103({if $profile.name == 'SYSTEM_BIRTH_DAY'})
     104({$prof.birth_month})月({$prof.birth_day})日
     105({if $prof.public_flag_birth_month_day == 'friend'})
     106(({$WORD_MY_FRIEND})まで公開)
     107({elseif $prof.public_flag_birth_month_day == 'private'})
     108(公開しない)
     109({/if})
     110({/if})
     111
     112({/if})
     113
    208114</div>
    209115
     
    219125({/foreach})
    220126
    221 ({if !$_cnt_nick && !$_cnt_birth})
    222 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    223 ({$smarty.capture.birth|smarty:nodefaults})
    224 ({$smarty.capture.nick|smarty:nodefaults})
    225 ({else})
    226 ({$smarty.capture.nick|smarty:nodefaults})
    227 ({$smarty.capture.birth|smarty:nodefaults})
    228 ({/if})
    229 ({else})
    230 ({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
    231 ({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
    232 ({/if})
    233127<tr>
    234128<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
Note: See TracChangeset for help on using the changeset viewer.