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

Changeset 1434


Ignore:
Timestamp:
Dec 28, 2006, 5:15:38 PM (14 years ago)
Author:
maruyama
Message:

バグフィックスなど

Location:
OpenPNE/branches/maruyama/prj_rc2_fix2/webapp
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/lib/db/review.php

    r1216 r1434  
    135135        $product['author'] = implode(',', $result[1]['authors']);
    136136    }
    137 
     137   
     138    if (!is_array($product)) {
     139        return false;
     140    }
    138141    foreach ($product as $key => $value) {
    139142        $product[$key] = mb_convert_encoding($value, 'UTF-8', 'auto');
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/modules/ktai/templates/h_message.tpl

    r924 r1434  
    2323<br>
    2424({$c_message.body|nl2br})
     25<br>
     26<br>
     27({if $c_message.image_filename_1})
     28画像1を見る:[<a href="({t_img_url filename=$c_message.image_filename_1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_message.image_filename_1 f=jpg})">大</a>]<br>
     29({/if})
     30({if $c_message.image_filename_2})
     31画像2を見る:[<a href="({t_img_url filename=$c_message.image_filename_2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_message.image_filename_2 f=jpg})">大</a>]<br>
     32({/if})
     33({if $c_message.image_filename_3})
     34画像3を見る:[<a href="({t_img_url filename=$c_message.image_filename_3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_message.image_filename_3 f=jpg})">大</a>]<br>
     35({/if})
    2536({if $com_url})<a href="({$com_url})">コミュニティページ</a>({/if})
    2637({if $friend_url})<a href="({$friend_url})">メンバーのページ</a>({/if})
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/modules/pc/do/c_review_add.php

    r1268 r1434  
    1919
    2020        $product = db_review_write_product4asin($asin);
     21        if (!$product) {
     22            openpne_redirect('pc','page_h_home');
     23        }
    2124
    2225        //c_reviewへ登録
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/modules/pc/do/h_regist_prof.php

    r1268 r1434  
    8888            db_member_update_c_member_profile($u, $c_member_profile_list);
    8989            db_member_update_password_query($u, $prof['password_query_id'], $prof['password_query_answer']);
     90            //管理画面で指定したコミュニティに強制参加
     91            $c_commu_id_list = db_commu_regist_join_list();
     92            foreach ($c_commu_id_list as $c_commu_id) {
     93                db_commu_join_c_commu($c_commu_id, $u);
     94            }
    9095            unset($_SESSION['prof']);
    9196           
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/modules/pc/page/h_review_add_write.php

    r1268 r1434  
    4545
    4646        $product = db_review_write_product4asin($asin);
     47        if (!$product) {
     48            openpne_redirect('pc','page_h_home');
     49        }
    4750
    4851        $this->set('product', $product);
  • OpenPNE/branches/maruyama/prj_rc2_fix2/webapp/modules/pc/page/h_review_add_write_confirm.php

    r2 r1434  
    2424        $satisfaction_level = $requests['satisfaction_level'];
    2525        // ----------
    26 
     26        $product = db_review_write_product4asin($asin);
     27        if (!$product) {
     28            openpne_redirect('pc','page_h_home');
     29        }
     30       
    2731        $this->set('inc_navi', fetch_inc_navi('h'));
    2832        $this->set('category_id', $category_id);
Note: See TracChangeset for help on using the changeset viewer.