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

Changeset 911


Ignore:
Timestamp:
Nov 27, 2006, 3:41:51 AM (14 years ago)
Author:
ishida
Message:

#96 日記・メッセージ・コミュニティから全文検索。
http://trac.openpne.jp/ticket/96
PC版だけ実装完了

Location:
OpenPNE/branches/ishida/prj_dev26
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ishida/prj_dev26/webapp/lib/db/diary.php

    r665 r911  
    528528 * 空白(全角半角問わない)でand検索可
    529529 */
    530 function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page)
    531 {
     530function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $c_member_id = '')
     531{
     532    $params = array();
     533
    532534    $select = 'SELECT *';
    533535    $from = ' FROM c_diary';
    534     $where = " WHERE public_flag = 'public'";
     536
     537    //自分の日記だけを対象にする事も出来る
     538    if ($c_member_id) {
     539        $where = ' WHERE c_member_id = ?';
     540        $params[] = intval($c_member_id);
     541    } else {
     542        $where = " WHERE public_flag = 'public'";
     543    }
    535544
    536545    //and検索を実装
    537546    //subject,body を検索
    538     $params = array();
    539547    if ($keyword) {
    540548        //全角空白を半角に統一
  • OpenPNE/branches/ishida/prj_dev26/webapp/lib/db/etc.php

    r665 r911  
    170170    $sql = 'SELECT r_datetime FROM c_diary WHERE c_member_id = ? ORDER BY r_datetime';
    171171    $first_datetime = db_get_one($sql, array(intval($c_member_id)));
     172
     173    // 前の月、次の月
     174    $prev_month = $Month->prevMonth('timestamp');
     175    $this_month = $Month->thisMonth('timestamp');
     176    $next_month = $Month->nextMonth('timestamp');
     177
     178    $ym = array(
     179        'disp_year'  => $year,
     180        'disp_month' => $month,
     181        'prev_year'  => null,
     182        'prev_month' => null,
     183        'next_year'  => null,
     184        'next_month' => null,
     185    );
     186    if ($first_datetime && strtotime($first_datetime) < $this_month) {
     187        $ym['prev_year'] = date('Y', $prev_month);
     188        $ym['prev_month'] = date('n', $prev_month);
     189    }
     190    if ($next_month < time()) {
     191        $ym['next_year'] = date('Y', $next_month);
     192        $ym['next_month'] = date('n', $next_month);
     193    }
     194    $calendar['ym'] = $ym;
     195
     196    return $calendar;
     197}
     198
     199/**
     200 * メッセージページのカレンダー生成
     201 */
     202function db_common_message_monthly_calendar($u, $year, $month, $c_member_id, $box)
     203{
     204    include_once 'Calendar/Month/Weekdays.php';
     205    $Month = new Calendar_Month_Weekdays($year, $month, 0);
     206    $Month->build();
     207
     208    $is_message_list = db_message_is_message_list4date($u, $year, $month, $box);
     209
     210    $calendar = array();
     211    $week = 0;
     212    while ($Day = $Month->fetch()) {
     213        if ($Day->isFirst()) $week++;
     214
     215        if ($Day->isEmpty()) {
     216            $calendar['days'][$week][] = array();
     217        } else {
     218            $day = $Day->thisDay();
     219            $item = array(
     220                'day' => $day,
     221                'is_message' => @in_array($day, $is_message_list),
     222            );
     223            $calendar['days'][$week][] = $item;
     224        }
     225    }
     226
     227    if ($box == 'inbox' || !$box) {
     228        $where = "c_member_id_to = ?".
     229                 " AND is_deleted_to = 0" .
     230                 " AND is_send = 1";
     231    } elseif ($box == 'outbox') {
     232        $where = "c_member_id_from = ?".
     233                 " AND is_deleted_from = 0" .
     234                 " AND is_send = 1";
     235    } else {
     236        return null;
     237    }
     238
     239    // 最初にメッセージを書いた日
     240    $sql = "SELECT r_datetime FROM c_message WHERE $where ORDER BY r_datetime";
     241    $first_datetime = db_get_one($sql, array(intval($u)));
    172242
    173243    // 前の月、次の月
  • OpenPNE/branches/ishida/prj_dev26/webapp/lib/db/message.php

    r910 r911  
    5858
    5959/**
    60  * 受信メッセージリストを取得
    61  */
    62 function db_message_c_message_received_list4c_member_id4range($c_member_id, $page, $page_size)
    63 {
     60 * 受信メッセージリストを取得(年月日絞りに対応)
     61 */
     62function db_message_c_message_received_list4c_member_id4range($c_member_id, $page, $page_size, $year = '', $month = '', $day = '')
     63{
     64    $params = array();
     65    $params[] = intval($c_member_id);
     66
    6467    $sql = "SELECT * FROM c_message";
    6568    $where = "c_member_id_to = ?".
    6669            " AND is_deleted_to = 0" .
    6770            " AND is_send = 1";
     71
     72    //年月日で絞る
     73    if ($year && $month) {
     74        if ($day) {
     75            $s_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, $day, $year));
     76            $e_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, $day+1, $year));
     77        } else {
     78            $s_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, 1, $year));
     79            $e_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month+1, 1, $year));
     80        }
     81        $where .= ' AND r_datetime >= ? AND r_datetime < ?';
     82        $params[] = $s_date;
     83        $params[] = $e_date;
     84    }
     85
    6886    $sql .= " WHERE $where";
    6987    $sql .= " ORDER BY r_datetime DESC";
    70     $params = array(intval($c_member_id));
     88
    7189    $c_message_list = db_get_all_page($sql, $page, $page_size, $params);
    7290
     
    93111        }
    94112    }
    95     return array($c_message_list , $prev , $next);
     113    return array($c_message_list , $prev , $next, $total_num);
    96114}
    97115
     
    99117 * 送信メッセージリストを取得
    100118 */
    101 function db_message_c_message_sent_list4c_member_id4range($c_member_id, $page, $page_size)
    102 {
     119function db_message_c_message_sent_list4c_member_id4range($c_member_id, $page, $page_size, $year = '', $month = '', $day = '')
     120{
     121    $params = array(intval($c_member_id));
     122
    103123    $sql = "SELECT * FROM c_message";
    104124    $where = "c_member_id_from = ?" .
    105125            " AND is_deleted_from = 0" .
    106126            " AND is_send = 1";
     127
     128
     129    //年月日で絞る
     130    if ($year && $month) {
     131        if ($day) {
     132            $s_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, $day, $year));
     133            $e_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, $day+1, $year));
     134        } else {
     135            $s_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month, 1, $year));
     136            $e_date = date('Y-m-d H:i:s', mktime(0, 0, 0, $month+1, 1, $year));
     137        }
     138        $where .= ' AND r_datetime >= ? AND r_datetime < ?';
     139        $params[] = $s_date;
     140        $params[] = $e_date;
     141    }
     142
    107143    $sql .= " WHERE $where";
    108144    $sql .= " ORDER BY r_datetime DESC";
    109     $params = array(intval($c_member_id));
    110145    $c_message_list = db_get_all_page($sql, $page, $page_size, $params);
    111146
     
    133168    }
    134169
    135     return array($c_message_list , $prev , $next);
     170    return array($c_message_list , $prev , $next, $total_num);
    136171}
    137172
     
    173208    }
    174209
    175     return array($c_message_list, $prev, $next);
     210    return array($c_message_list, $prev, $next, $total_num);
    176211}
    177212
     
    205240       $c_message_id[$key] = intval($row['c_message_id']);
    206241    }
    207     array_multisort($c_message_id, SORT_DESC, $c_message_list);
    208     $c_message_list = array_slice($c_message_list, ($page_size * ($page - 1) + 1), $page_size);
     242    @array_multisort($c_message_id, SORT_DESC, $c_message_list);
     243    $c_message_list = array_slice($c_message_list, $page_size * ($page - 1), $page_size);
    209244
    210245    $total_num = $c_message_num_from + $c_message_num_to;
     
    234269    }
    235270
    236     return array($c_message_list, $prev, $next);
     271    return array($c_message_list, $prev, $next, $total_num);
    237272}
    238273
     
    630665        return null;
    631666    } else if ($box == 'outbox'){   //送信箱
    632         $where = " WHERE c_member_id_from = ?";
     667        $where = " WHERE c_member_id_from = ?" .
     668                 " AND is_deleted_from = 0";
    633669    } else {                        //受信箱
    634         $where = " WHERE c_member_id_to = ?";
     670        $where = " WHERE c_member_id_to = ?" .
     671                 " AND is_deleted_to = 0";
    635672    }
    636673
    637674    $sql =  "SELECT c_message_id FROM c_message" .
    638675            $where.
    639             " AND is_deleted_to = 0" .
    640676            " AND is_send = 1" .
    641677            " AND c_message_id < ?" .
     
    649685}
    650686
     687//メッセージを検索
     688//検索対象:subject,body
     689
     690function db_message_search_c_message($c_member_id, $page, $page_size, $keyword, $box, $target_c_member_id)
     691{
     692    $params = array();
     693    $params[] = intval($c_member_id);
     694
     695    if ($box == 'inbox' || !$box) {
     696        $where = "c_member_id_to = ?".
     697                 " AND is_deleted_to = 0" .
     698                 " AND is_send = 1";
     699        if ($target_c_member_id) {
     700            $where .= " AND c_member_id_from = ?";
     701            $params[] = intval($target_c_member_id);
     702        }
     703    } elseif ($box == 'outbox') {
     704        $where = "c_member_id_from = ?".
     705                 " AND is_deleted_from = 0" .
     706                 " AND is_send = 1";
     707        if ($target_c_member_id) {
     708            $where .= " AND c_member_id_to = ?";
     709            $params[] = intval($target_c_member_id);
     710        }
     711    }
     712
     713    $where .= " AND ( subject like ? OR body like ?)";
     714
     715    $params[] = '%'.strval($keyword).'%';
     716    $params[] = '%'.strval($keyword).'%';
     717
     718    $sql = "SELECT * FROM c_message";
     719    $sql .= " WHERE $where";
     720    $sql .= " ORDER BY r_datetime DESC";
     721
     722    $c_message_list = db_get_all_page($sql, $page, $page_size, $params);
     723
     724    foreach ($c_message_list as $key => $value) {
     725        if ($box == 'inbox' || !$box) {
     726            $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_from']);
     727        } else {
     728            $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_to']);
     729        }
     730        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     731        $c_message_list[$key]['image_filename'] = $c_member['image_filename'];
     732    }
     733
     734    $sql = "SELECT COUNT(*) FROM c_message WHERE $where";
     735    $total_num = db_get_one($sql, $params);
     736
     737    if ($total_num != 0) {
     738        $total_page_num =  ceil($total_num / $page_size);
     739        if ($page >= $total_page_num) {
     740            $next = false;
     741        } else {
     742            $next = true;
     743        }
     744        if ($page <= 1) {
     745            $prev = false;
     746        } else {
     747            $prev = true;
     748        }
     749    }
     750    return array($c_message_list , $prev , $next, $total_num);
     751
     752}
     753
     754
     755/**
     756 * 受信メッセージの送信者リストを取得
     757 */
     758function db_message_c_message_sender_list4c_member_id($c_member_id)
     759{
     760    $sql = "SELECT distinct c_member_id_from FROM c_message";
     761    $where = "c_member_id_to = ?".
     762            " AND is_deleted_to = 0" .
     763            " AND is_send = 1";
     764    $sql .= " WHERE $where";
     765    $sql .= " ORDER BY r_datetime DESC";
     766    $params = array(intval($c_member_id));
     767    $c_message_list = db_get_all($sql, $params);
     768
     769    foreach ($c_message_list as $key => $value) {
     770        $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_from']);
     771        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     772    }
     773    return $c_message_list;
     774}
     775
     776/**
     777 * 受信メッセージの送信者リストを取得
     778 */
     779function db_message_c_message_receiver_list4c_member_id($c_member_id)
     780{
     781    $sql = "SELECT distinct c_member_id_to FROM c_message";
     782    $where = "c_member_id_from = ?".
     783            " AND is_deleted_from = 0" .
     784            " AND is_send = 1";
     785    $sql .= " WHERE $where";
     786    $sql .= " ORDER BY r_datetime DESC";
     787    $params = array(intval($c_member_id));
     788    $c_message_list = db_get_all($sql, $params);
     789
     790    foreach ($c_message_list as $key => $value) {
     791        $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_to']);
     792        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     793    }
     794    return $c_message_list;
     795}
     796
     797
     798/**
     799 * メッセージページの「各月のメッセージ」用
     800 *
     801 * メッセージを最初に書いた月からスタートしてみる
     802 */
     803function db_message_month_list4c_member_id($c_member_id, $box)
     804{
     805    if ($box == 'inbox' || !$box) {
     806        $where = "c_member_id_to = ?".
     807                 " AND is_deleted_to = 0" .
     808                 " AND is_send = 1";
     809    } elseif ($box == 'outbox') {
     810        $where = "c_member_id_from = ?".
     811                 " AND is_deleted_from = 0" .
     812                 " AND is_send = 1";
     813    } else {
     814        return null;
     815    }
     816
     817    $sql = "SELECT r_datetime FROM c_message" .
     818        " WHERE $where" .
     819        " ORDER BY r_datetime";
     820
     821    $params = array(intval($c_member_id));
     822    if (!$first_datetime = db_get_one($sql, $params)) {
     823        return array();
     824    }
     825
     826    $start_date = getdate(strtotime($first_datetime));
     827    $end_date =  getdate();
     828
     829    $date = array();
     830    $year = $start_date['year'];
     831    $month = $start_date['mon'];
     832    while (1) {
     833        $date[] =  array(
     834            'year' => $year,
     835            'month' => $month,
     836        );
     837
     838        if ($end_date['year'] <= $year
     839            && $end_date['mon'] <= $month) {
     840            break;
     841        }
     842
     843        $month++;
     844        if ($month > 12) {
     845            $month = 1;
     846            $year++;
     847        }
     848    }
     849    return array_reverse($date);
     850}
     851
     852
     853
     854/**
     855 * 指定された年月にメッセージを送受信した日のリストを返す
     856 */
     857function db_message_is_message_list4date($u, $year, $month, $box)
     858{
     859    include_once 'Date/Calc.php';
     860
     861    if ($box == 'inbox' || !$box) {
     862        $where = "c_member_id_to = ?".
     863                 " AND is_deleted_to = 0" .
     864                 " AND is_send = 1";
     865    } elseif ($box == 'outbox') {
     866        $where = "c_member_id_from = ?".
     867                 " AND is_deleted_from = 0" .
     868                 " AND is_send = 1";
     869    } else {
     870        return null;
     871    }
     872
     873    $sql = 'SELECT DISTINCT DAYOFMONTH(r_datetime) FROM c_message' .
     874           " WHERE $where" .
     875           ' AND is_send=1 AND r_datetime >= ? AND r_datetime < ?';
     876
     877    $date_format = '%Y-%m-%d 00:00:00';
     878    $thismonth = Date_Calc::beginOfMonth($month, $year, $date_format);
     879    $nextmonth = Date_Calc::beginOfNextMonth(0, $month, $year, $date_format);
     880
     881    $params = array(intval($u), $thismonth, $nextmonth);
     882
     883    return db_get_col($sql, $params);
     884}
     885
     886
     887
    651888?>
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/do/h_home_search.php

    r134 r911  
    1717            $q = urlencode($requests['q']);
    1818            client_redirect_absolute('http://www.google.com/search?hl=ja&q='.$q);
     19        } elseif (!is_null($requests['message_x'])) {
     20            $p = array('keyword' => $requests['q'],'box' => 'inbox');
     21            openpne_redirect('pc', 'page_h_message_box', $p);
    1922        } else { // default
    20             $p = array('keyword' => $requests['q']);
     23            $p = array('keyword'=> $requests['q']);
    2124            openpne_redirect('pc', 'page_h_diary_list_all', $p);
    2225        }
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/page/fh_diary_list.php

    r260 r911  
    1818        $month = $requests['month'];
    1919        $day = $requests['day'];
     20        $keyword = $requests['keyword'];
    2021        // ----------
    2122
     
    5859            $this->set('all', 1);
    5960
    60             $list_set = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     61            //検索する場合
     62            if ($keyword) {
     63                $list_set = p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $u);
     64            } else {
     65                $list_set = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     66            }
     67
    6168            $rss_list = p_fh_diary_list_c_rss_cache_list($target_c_member_id, $page_size, $page);
    6269        }
     
    8996        $this->set('date_list', p_fh_diary_list_date_list4c_member_id($target_c_member_id));
    9097
     98        //検索ワード
     99        $this->set('keyword', $keyword);
     100
    91101        return 'success';
    92102    }
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/page/h_message_box.php

    r102 r911  
    1717        $save_page = $requests['save_page'];
    1818        $trash_page = $requests['trash_page'];
     19        $keyword = $requests['keyword'];
     20        $target_c_member_id = $requests['target_c_member_id'];
     21        $year = $requests['year'];
     22        $month = $requests['month'];
     23        $day = $requests['day'];
    1924        // ----------
    2025
     
    2429
    2530        // 1ページ当たりに表示するメッセージ数
    26         $page_size = 20;
     31        $page_size = 2;
    2732        $this->set("page_size", $page_size);
    2833
    2934        //ボックス判定
    3035        $this->set("box", $box);
     36
     37        //送受信絞り
     38        $this->set("target_c_member_id", $target_c_member_id);
     39
     40        //keyword
     41        $this->set("keyword", $keyword);
     42        $this->set("url_keyword", urlencode($keyword));
    3143
    3244        switch ($box) {
     
    3547        case 'inbox':
    3648        default:
    37             list($ru_list,$is_ru_prev,$is_ru_next) = p_h_message_box_c_message_received_list4c_member_id4range($u, $ru_page, $page_size);
     49            //検索
     50            if ($keyword || $target_c_member_id) {
     51                list($ru_list,$is_ru_prev,$is_ru_next, $total_num) = db_message_search_c_message($u, $ru_page, $page_size, $keyword, $box, $target_c_member_id);
     52            } elseif ($year && $month) {
     53            //年月日絞り
     54                list($ru_list,$is_ru_prev,$is_ru_next, $total_num) = db_message_c_message_received_list4c_member_id4range($u, $ru_page, $page_size, $year, $month, $day);
     55            } else {
     56                list($ru_list,$is_ru_prev,$is_ru_next, $total_num) = db_message_c_message_received_list4c_member_id4range($u, $ru_page, $page_size);
     57            }
    3858            $this->set("c_message_ru_list", $ru_list);
     59            //メッセージの送信者リスト
     60            $this->set("c_message_sender_list", db_message_c_message_sender_list4c_member_id($u));
     61
    3962            $this->set("count_c_message_ru_list", count($ru_list));
    4063
     
    4669        //送信済みリスト
    4770        case 'outbox':
    48             list($s_list,$is_s_prev,$is_s_next) = p_h_message_box_c_message_sent_list4c_member_id4range($u, $s_page, $page_size);
     71            //検索
     72            if ($keyword || $target_c_member_id) {
     73                list($s_list,$is_s_prev,$is_s_next, $total_num) = db_message_search_c_message($u, $s_page, $page_size, $keyword, $box, $target_c_member_id);
     74            } elseif ($year && $month) {
     75
     76                list($s_list,$is_s_prev,$is_s_next, $total_num) = db_message_c_message_sent_list4c_member_id4range($u, $s_page, $page_size, $year, $month, $day);
     77            } else {
     78                list($s_list,$is_s_prev,$is_s_next, $total_num) = p_h_message_box_c_message_sent_list4c_member_id4range($u, $s_page, $page_size);
     79            }
     80
    4981            $this->set("c_message_s_list", $s_list);
    5082            $this->set("count_c_message_s_list", count($s_list));
     83            //メッセージの宛先リスト
     84            $this->set("c_message_receiver_list", db_message_c_message_receiver_list4c_member_id($u));
    5185
    5286            $s_data = array('s_page' => $s_page,'is_s_prev' => $is_s_prev,'is_s_next' => $is_s_next);
     
    5791        //下書き保存リスト
    5892        case 'savebox':
    59             list($save_list,$is_save_prev,$is_save_next) = p_h_message_box_c_message_save_list4c_member_id4range($u, $save_page, $page_size);
     93            list($save_list,$is_save_prev,$is_save_next, $total_num) = p_h_message_box_c_message_save_list4c_member_id4range($u, $save_page, $page_size);
    6094            $this->set("c_message_save_list", $save_list);
    6195            $this->set("count_c_message_save_list", count($save_list));
     
    68102        //ごみ箱リスト
    69103        case 'trash':
    70             list($trash_list,$is_trash_prev,$is_trash_next) = p_h_message_box_c_message_trash_list4c_member_id4range($u, $trash_page, $page_size);
     104            list($trash_list,$is_trash_prev,$is_trash_next, $total_num) = p_h_message_box_c_message_trash_list4c_member_id4range($u, $trash_page, $page_size);
    71105            $this->set("c_message_trash_list", $trash_list);
    72106            $this->set("count_c_message_trash_list", count($trash_list));
     
    78112        }
    79113
     114        $this->set("date_list", db_message_month_list4c_member_id($u, $box));
     115        $this->set("total_num", $total_num);
     116
     117        if (!$year || !$month) {
     118            $this->set('all', 1);
     119        }
     120        if (!$year) {
     121            $year = date('Y');
     122        }
     123        if (!$month) {
     124            $month = date('n');
     125        }
     126
     127        //メッセージ一覧、カレンダー用変数
     128        $date_val = array(
     129            'year'  => $year,
     130            'month' => $month,
     131            'day'   => $day,
     132        );
     133        $this->set('date_val', $date_val);
     134        //メッセージのカレンダー
     135        $calendar = db_common_message_monthly_calendar($u, $year, $month, $target_c_member_id, $box);
     136        $this->set('calendar', $calendar['days']);
     137        $this->set('ym', $calendar['ym']);
     138
    80139        return 'success';
    81140    }
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/templates/fh_diary_list.tpl

    r640 r911  
    291291
    292292<div style="width:490px;padding:30px 10px;margin:0px auto;" class="border_01 bg_03">
     293<table>
     294<tr>
     295<td>
     296({t_form _method=get m=pc a=page_fh_diary_list})
     297キーワード<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     298<input type="text" size="15" name="keyword" class="text border_01" value="({$keyword})">
     299<input type="submit" class="submit" value=" 検 索 ">
     300</form>
     301</td>
     302<td>
    293303({t_form _method=get m=pc a=page_h_diary_add})
    294 <input type="submit" class="submit" value=" 日 記 を 書 く ">
     304&nbsp;&nbsp;&nbsp;<input type="submit" class="submit" value=" 日 記 を 書 く ">
    295305</form>
    296 </div>
    297 
     306</td>
     307</tr>
     308</table>
     309</div>
    298310<img src="./skin/dummy.gif" class="v_spacer_l">
    299311
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/templates/h_message_box.tpl

    r410 r911  
    101101<!-- ******ここまで:メッセージボックス左メニュー****** -->
    102102<!-- *********************************************** -->
     103
     104
     105({if $calendar})
     106<img src="./skin/dummy.gif" class="v_spacer_l">
     107
     108<!-- ******************************* -->
     109<!-- ******ここから:カレンダー****** -->
     110<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
     111<tr>
     112<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     113<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     114<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     115</tr>
     116<tr>
     117<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     118<td class="bg_10" align="center">
     119<!-- *ここから:カレンダー>内容* -->
     120({*ここから:header*})
     121<!-- ここから:カレンダータイトル -->
     122<table border="0" cellspacing="0" cellpadding="0" style="width:149px;margin:0px auto;">
     123<tr>
     124<td align="center" class="bg_03 padding_s">
     125
     126({strip})
     127({if $ym.prev_month})
     128<span class="b_b">
     129<a href="({t_url m=pc a=page_h_message_box})
     130    &amp;target_c_member_id=({$target_member.c_member_id})
     131    &amp;box=({$box})
     132    &amp;year=({$ym.prev_year})
     133    &amp;month=({$ym.prev_month})">
     134
     135</a>
     136</span>
     137({/if})
     138
     139<span class="b_b">({$date_val.month})月のカレンダー</span>
     140
     141({if $ym.next_month})
     142<span class="b_b">
     143<a href="({t_url m=pc a=page_h_message_box})
     144    &amp;target_c_member_id=({$target_member.c_member_id})
     145    &amp;box=({$box})
     146    &amp;year=({$ym.next_year})
     147    &amp;month=({$ym.next_month})">
     148
     149</a>
     150</span>
     151({/if})
     152({/strip})
     153
     154</td>
     155</tr>
     156</table>
     157<!-- ここまで:カレンダータイトル -->
     158({*ここまで:header*})
     159({*ここから:body*})
     160<!-- ここから:主内容 -->
     161<table border="0" cellspacing="0" cellpadding="0" style="width:149px;margin:0px auto;">
     162({****************})
     163<tr>
     164<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" style="width:149px;height:1px;" class="dummy"></td>
     165</tr>
     166({****************})
     167<tr>
     168<td class="bg_09 s_ss padding_ss" align="right"><span class="c_02 s_ss">日</span></td>
     169<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     170<td class="bg_09 s_ss padding_ss" align="right">月</td>
     171<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     172<td class="bg_09 s_ss padding_ss" align="right">火</td>
     173<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     174<td class="bg_09 s_ss padding_ss" align="right">水</td>
     175<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     176<td class="bg_09 s_ss padding_ss" align="right">木</td>
     177<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     178<td class="bg_09 s_ss padding_ss" align="right">金</td>
     179<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     180<td class="bg_09 s_ss padding_ss" align="right"><span class="c_03 s_ss">土</span></td>
     181</tr>
     182({****************})
     183<tr>
     184<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" style="width:149px;height:1px;" class="dummy"></td>
     185</tr>
     186({****************})
     187({foreach from=$calendar item=week})
     188<tr>
     189({foreach from=$week item=item name="calendar_days"})
     190<td style="width:({if $smarty.foreach.calendar_days.iteration%7 == 0 || $smarty.foreach.calendar_days.iteration%7 == 1})21({else})20({/if})px;height:18px;" valign="middle" align="right" class="bg_02 s_ss padding_ss">
     191({if $item.day})
     192({if $item.is_message})
     193<a href="({t_url m=pc a=page_h_message_box})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$item.day})&amp;box=({$box})" class="s_ss">({$item.day})</a>
     194({else})
     195({$item.day})
     196({/if})
     197({else})
     198&nbsp;({/if})
     199</td>
     200({if $smarty.foreach.calendar_days.iteration%7 != 0})
     201<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     202({/if})
     203({/foreach})
     204</tr>
     205({****************})
     206<tr>
     207<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" style="width:149px;height:1px;" class="dummy"></td>
     208</tr>
     209({****************})
     210({/foreach})
     211</table>
     212<!-- ここまで:主内容 -->
     213({*ここまで:body*})
     214({*ここから:footer*})
     215<!-- 無し -->
     216({*ここまで:footer*})
     217<!-- *ここまで:カレンダー>>内容* -->
     218</td>
     219<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     220</tr>
     221<tr>
     222<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     223<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     224<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     225</tr>
     226</table>
     227<!-- ******ここまで:カレンダー****** -->
     228<!-- ****************************** -->
     229
     230<img src="./skin/dummy.gif" class="v_spacer_l">
     231({/if})
     232
     233({if $date_list})
     234<img src="./skin/dummy.gif" class="v_spacer_l">
     235<!-- ********************************** -->
     236<!-- ******ここから:各月のメッセージ一覧****** -->
     237<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
     238<tr>
     239<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     240<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     241<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     242</tr>
     243<tr>
     244<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     245<td class="bg_10" align="center">
     246<!-- *ここから:各月のメッセージ一覧>内容* -->
     247({*ここから:header*})
     248<!-- ここから:小タイトル -->
     249<table border="0" cellspacing="0" cellpadding="0" style="width:149px;" class="border_01">
     250<tr>
     251<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
     252<td style="width:111px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">各月のメッセージ</span></td>
     253</tr>
     254</table>
     255<!-- ここまで:小タイトル -->
     256({*ここまで:header*})
     257({*ここから:body*})
     258<!-- ここから:主内容 -->
     259<div align="left" class="bg_02 border_01 padding_ss">
     260({foreach from=$date_list item=date})
     261
     262<div><a href="({t_url m=pc a=page_h_message_box})&amp;box=({$box})&amp;year=({$date.year})&amp;month=({$date.month})&amp;box=({$box})"><img src="./skin/dummy.gif" style="width:14px;height:14px;" class="icon icon_2">({$date.year})年({$date.month})月の一覧</a></div>
     263
     264({/foreach})
     265</div>
     266<!-- ここまで:主内容 -->
     267({*ここまで:body*})
     268({*ここから:footer*})
     269<!-- 無し -->
     270({*ここまで:footer*})
     271<!-- *ここまで:各月のメッセージ一覧>>内容* -->
     272</td>
     273<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     274</tr>
     275<tr>
     276<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     277<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     278<td class="bg_10"><img src="./skin/dummy.gif" style="width:7px;height:7px;" class="dummy"></td>
     279</tr>
     280</table>
     281<!-- ******ここまで:各月のメッセージ一覧****** -->
     282<!-- ********************************** -->
     283
     284<img src="./skin/dummy.gif" class="v_spacer_l">
     285({/if})
    103286
    104287<img src="./skin/dummy.gif" class="v_spacer_l">
     
    144327({/if})
    145328</span></td>
     329<td style="width:486px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">
     330({if !$all})
     331&nbsp;({$date_val.year})年({$date_val.month})月({if $date_val.day})({$date_val.day})日({/if})
     332({/if})
     333</span>
     334</td>
    146335</tr>
    147336</table>
     
    159348<!-- ここまで:主内容>>メッセージ -->
    160349
    161 ({t_form m=pc a=do_h_message_box_delete_message})
    162 <input type="hidden" name="sessid" value="({$PHPSESSID})">
    163 
    164350({if $box == "inbox" || !$box })
    165351
     352 <!-- ここから:主内容>>受信箱>>検索BOX -->
     353({capture name="inbox_search_box"})
     354<table style="width:504px;" border="0" cellspacing="0" cellpadding="0" style="width:auto;margin:0px auto;" class="border_01">
     355({*********})
     356<tr>
     357<td style="width:50%;" class="bg_05" align="center">
     358
     359<div class="padding_s">
     360({t_form _method=get m=pc a=page_h_message_box})
     361<input type="hidden" name="box" value="({$box})">
     362キーワード<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     363<input type="text" size="15" name="keyword" class="text border_01" value="({$keyword})">
     364送信者<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     365<select name="target_c_member_id">
     366<option value="">指定なし</option>
     367({foreach from=$c_message_sender_list item=item})
     368<option ({if $target_c_member_id==$item.c_member_id_from})selected({/if}) value="({$item.c_member_id_from})">({$item.nickname})</option>
     369({/foreach})
     370</select>
     371<input type=submit  class="submit"  value="  検 索  ">
     372</form>
     373</div>
     374
     375</td>
     376</tr>
     377({*********})
     378</table>
     379({/capture})
     380
     381<!-- ここまで:主内容>>受信箱>>検索BOX -->
     382
    166383({if $count_c_message_ru_list})
    167384
     
    182399
    183400<div class="padding_s">
    184 
     401({capture name="ru_pager"})
    185402({if $ru_data.is_ru_prev})
    186  <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page-1})&amp;box=inbox">前を表示</a>
    187 ({/if})
     403 <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page-1})&amp;box=inbox&amp;keyword=({$url_keyword})&amp;target_c_member_id=({$target_c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$date_val.day})">前を表示</a>
     404({/if})
     405({$total_num})件中
    188406({$ru_data.ru_page*$page_size-$page_size+1})件~
    189407({if $ru_data.ru_page*$page_size > $count_c_message_ru_list })
     
    194412件を表示
    195413({if $ru_data.is_ru_next})
    196  <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page+1})&amp;box=inbox">次を表示</a>
    197 ({/if})
     414 <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page+1})&amp;box=inbox&amp;keyword=({$url_keyword})&amp;target_c_member_id=({$target_c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$date_val.day})">次を表示</a>
     415({/if})
     416({/capture})
     417({$smarty.capture.ru_pager|smarty:nodefaults})
    198418
    199419</div>
     
    204424</table>
    205425<!-- ここまで:主内容>>受信箱>>ページ切り替えタブ -->
     426
     427<!-- ここから:主内容>>受信箱>>検索BOX -->
     428
     429({$smarty.capture.inbox_search_box|smarty:nodefaults})
     430
     431<!-- ここまで:主内容>>受信箱>>検索BOX -->
    206432
    207433<!-- ここから:主内容>>受信箱>>メール内容リスト -->
     
    220446</tr>
    221447({*********})
     448
     449({t_form m=pc a=do_h_message_box_delete_message})
     450<input type="hidden" name="sessid" value="({$PHPSESSID})">
     451
    222452({foreach from=$c_message_ru_list item=c_message_ru})
    223453<tr>
     
    245475<div class="padding_s">
    246476
    247 ({if $ru_data.is_ru_prev})
    248  <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page-1})&amp;box=inbox">前を表示</a>
    249 ({/if})
    250 ({$ru_data.ru_page*$page_size-$page_size+1})件~
    251 ({if $ru_data.ru_page*$page_size > $count_c_message_ru_list })
    252 ({$count_c_message_ru_list+$ru_data.ru_page*$page_size-$page_size })
    253 ({else})
    254 ({$ru_data.ru_page*$page_size})
    255 ({/if})
    256 件を表示
    257 ({if $ru_data.is_ru_next})
    258  <a href="({t_url m=pc a=page_h_message_box})&amp;ru_page=({$ru_data.ru_page+1})&amp;box=inbox">次を表示</a>
    259 ({/if})
     477({$smarty.capture.ru_pager|smarty:nodefaults})
    260478
    261479</div>
     
    276494<input type="hidden" name="box" value="({$box})">
    277495<input type="submit" class="submit" value="削 除">
     496</form>
    278497
    279498</div>
     
    288507
    289508<!-- ここから:主内容>>受信箱>>メールナッシング -->
     509
     510<!-- ここから:主内容>>受信箱>>検索BOX -->
     511
     512({$smarty.capture.inbox_search_box|smarty:nodefaults})
     513
     514<!-- ここまで:主内容>>受信箱>>検索BOX -->
     515
    290516<div align="center" style="padding:20px 30px;" class="bg_02 border_01">
    291517
     
    301527({if $box == "outbox"})
    302528
     529
     530 <!-- ここから:主内容>>送信箱>>検索BOX -->
     531({capture name="outbox_search_box"})
     532<table style="width:504px;" border="0" cellspacing="0" cellpadding="0" style="width:auto;margin:0px auto;" class="border_01">
     533({*********})
     534<tr>
     535<td style="width:50%;" class="bg_05" align="center">
     536
     537<div class="padding_s">
     538({t_form _method=get m=pc a=page_h_message_box})
     539<input type="hidden" name="box" value="({$box})">
     540キーワード<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     541<input type="text" size="15" name="keyword" class="text border_01" value="({$keyword})">
     542宛先<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     543<select name="target_c_member_id">
     544<option value="">指定なし</option>
     545({foreach from=$c_message_receiver_list item=item})
     546<option ({if $target_c_member_id==$item.c_member_id_to})selected({/if}) value="({$item.c_member_id_to})">({$item.nickname})</option>
     547({/foreach})
     548</select>
     549<input type=submit  class="submit"  value="  検 索  ">
     550</form>
     551</div>
     552
     553</td>
     554</tr>
     555({*********})
     556</table>
     557({/capture})
     558
     559<!-- ここまで:主内容>>送信箱>>検索BOX -->
     560
    303561({if $count_c_message_s_list})
    304562
     
    310568
    311569<div class="padding_s">
    312 
     570({capture name="s_pager"})
    313571({if $s_data.is_s_prev})
    314  <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page-1})&amp;box=outbox">前を表示</a>
    315 ({/if})
     572 <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page-1})&amp;box=outbox&amp;keyword=({$url_keyword})&amp;target_c_member_id=({$target_c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$date_val.day})">前を表示</a>
     573({/if})
     574({$total_num})件中
    316575({$s_data.s_page*$page_size-$page_size+1})件~
    317576({if $s_data.s_page*$page_size > $count_c_message_s_list })
     
    322581件を表示
    323582({if $s_data.is_s_next})
    324  <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page+1})&amp;box=outbox">次を表示</a>
    325 ({/if})
     583 <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page+1})&amp;box=outbox&amp;keyword=({$url_keyword})&amp;target_c_member_id=({$target_c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$date_val.day})">次を表示</a>
     584({/if})
     585({/capture})
     586({$smarty.capture.s_pager|smarty:nodefaults})
     587
    326588</div>
    327589
     
    331593</table>
    332594<!-- ここまで:主内容>>送信済み箱>>ページ切り替えタブ -->
     595
     596<!-- ここから:主内容>>送信箱>>検索BOX -->
     597
     598({$smarty.capture.outbox_search_box|smarty:nodefaults})
     599
     600<!-- ここまで:主内容>>送信箱>>検索BOX -->
     601
    333602
    334603<!-- ここから:主内容>>送信済み箱>>メール内容リスト -->
     
    347616</tr>
    348617({*********})
     618
     619({t_form m=pc a=do_h_message_box_delete_message})
     620<input type="hidden" name="sessid" value="({$PHPSESSID})">
     621
    349622({foreach from=$c_message_s_list item=c_message_s})
    350623<tr>
     
    372645<div class="padding_s">
    373646
    374 ({if $s_data.is_s_prev})
    375  <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page-1})&amp;box=outbox">前を表示</a>
    376 ({/if})
    377 ({$s_data.s_page*$page_size-$page_size+1})件~
    378 ({if $s_data.s_page*$page_size > $count_c_message_s_list })
    379 ({$count_c_message_s_list+$s_data.s_page*$page_size-$page_size })
    380 ({else})
    381 ({$s_data.s_page*$page_size})
    382 ({/if})
    383 件を表示
    384 ({if $s_data.is_s_next})
    385  <a href="({t_url m=pc a=page_h_message_box})&amp;s_page=({$s_data.s_page+1})&amp;box=outbox">次を表示</a>
    386 ({/if})
     647({$smarty.capture.s_pager|smarty:nodefaults})
     648
    387649</div>
    388650
     
    402664<input type="hidden" name="box" value="({$box})">
    403665<input type="submit" class="submit" value="削 除">
    404 
     666</form>
    405667</div>
    406668
     
    414676
    415677<!-- ここから:主内容>>送信済み箱>>メールナッシング -->
     678
     679<!-- ここから:主内容>>受信箱>>検索BOX -->
     680
     681({$smarty.capture.outbox_search_box|smarty:nodefaults})
     682
     683<!-- ここまで:主内容>>受信箱>>検索BOX -->
     684
    416685<div align="center" style="padding:20px 30px;" class="bg_02 border_01">
    417686
     
    437706<div class="padding_s">
    438707
     708({capture name="save_pager"})
    439709({if $save_data.is_save_prev})
    440710 <a href="({t_url m=pc a=page_h_message_box})&amp;save_page=({$save_data.save_page-1})&amp;box=savebox">前を表示</a>
    441711({/if})
    442 ({$save_data.save_page*20-19})件~
    443 ({if $save_data.save_page*20 > $count_c_message_save_list })
    444 ({$count_c_message_save_list+$save_data.save_page*20-20 })
    445 ({else})
    446 ({$save_data.save_page*20})
     712({$total_num})件中
     713({$save_data.save_page*$page_size-$page_size+1})件~
     714({if $save_data.save_page*$page_size > $count_c_message_save_list })
     715({$count_c_message_save_list+$save_data.save_page*$page_size-$page_size })
     716({else})
     717({$save_data.save_page*$page_size})
    447718({/if})
    448719件を表示
     
    450721 <a href="({t_url m=pc a=page_h_message_box})&amp;save_page=({$save_data.save_page+1})&amp;box=savebox">次を表示</a>
    451722({/if})
    452 
     723({/capture})
     724({$smarty.capture.save_pager|smarty:nodefaults})
    453725</div>
    454726
     
    474746</tr>
    475747({*********})
     748
     749({t_form m=pc a=do_h_message_box_delete_message})
     750<input type="hidden" name="sessid" value="({$PHPSESSID})">
     751
    476752({foreach from=$c_message_save_list item=c_message_save})
    477753<tr>
     
    499775<div class="padding_s">
    500776
    501 ({if $save_data.is_save_prev})
    502  <a href="({t_url m=pc a=page_h_message_box})&amp;save_page=({$save_data.save_page-1})&amp;box=savebox">前を表示</a>
    503 ({/if})
    504 ({$save_data.save_page*20-19})件~
    505 ({if $save_data.save_page*20 > $count_c_message_save_list })
    506 ({$count_c_message_save_list+$save_data.save_page*20-20 })
    507 ({else})
    508 ({$save_data.save_page*20})
    509 ({/if})
    510 件を表示
    511 ({if $save_data.is_save_next})
    512  <a href="({t_url m=pc a=page_h_message_box})&amp;save_page=({$save_data.save_page+1})&amp;box=savebox">次を表示</a>
    513 ({/if})
     777({$smarty.capture.save_pager|smarty:nodefaults})
    514778
    515779</div>
     
    530794<input type="hidden" name="box" value="savebox">
    531795<input type="submit" class="submit" value="削 除">
     796</form>
    532797
    533798</div>
     
    576841<div class="padding_s">
    577842
     843({capture name="trash_pager"})
    578844({if $trash_data.is_trash_prev})
    579845 <a href="({t_url m=pc a=page_h_message_box})&amp;trash_page=({$trash_data.trash_page-1})&amp;box=trash">前を表示</a>
    580846({/if})
    581 ({$trash_data.trash_page*20-19})件~
    582 ({if $trash_data.trash_page*20 > $count_c_message_trash_list })
    583 ({$count_c_message_trash_list+$trash_data.trash_page*20-20 })
    584 ({else})
    585 ({$trash_data.trash_page*20})
     847({$total_num})件中
     848({$trash_data.trash_page*$page_size-$page_size+1})件~
     849({if $trash_data.trash_page*$page_size > $count_c_message_trash_list })
     850({$count_c_message_trash_list+$trash_data.trash_page*$page_size-$page_size })
     851({else})
     852({$trash_data.trash_page*$page_size})
    586853({/if})
    587854件を表示
     
    589856<a href="({t_url m=pc a=page_h_message_box})&amp;trash_page=({$trash_data.trash_page+1})&amp;box=trash">次を表示</a>
    590857({/if})
    591 
     858({/capture})
     859<nobr>
     860({$smarty.capture.trash_pager|smarty:nodefaults})
     861</nobr>
    592862</div>
    593863
     
    613883</tr>
    614884({*********})
     885
     886({t_form m=pc a=do_h_message_box_delete_message})
     887<input type="hidden" name="sessid" value="({$PHPSESSID})">
     888
    615889({foreach from=$c_message_trash_list item=c_message_trash})
    616890<tr>
     
    650924<div class="padding_s">
    651925
    652 ({if $trash_data.is_trash_prev})
    653 <a href="({t_url m=pc a=page_h_message_box})&amp;trash_page=({$trash_data.trash_page-1})&amp;box=trash">前を表示</a>
    654 ({/if})
    655 ({$trash_data.trash_page*20-19})件~
    656 ({if $trash_data.trash_page*20 > $count_c_message_trash_list })
    657 ({$count_c_message_trash_list+$trash_data.trash_page*20-20 })
    658 ({else})
    659 ({$trash_data.trash_page*20})
    660 ({/if})
    661 件を表示
    662 ({if $trash_data.is_trash_next})
    663 <a href="({t_url m=pc a=page_h_message_box})&amp;trash_page=({$trash_data.trash_page+1})&amp;box=trash">次を表示</a>
    664 ({/if})
     926({$smarty.capture.trash_pager|smarty:nodefaults})
    665927
    666928</div>
     
    683945<input type="submit" class="submit" name="move" value="元に戻す">
    684946<input type="submit" class="submit" name="remove" value="削除">
     947</form>
    685948
    686949</div>
     
    706969({/if})
    707970
    708 </form>
    709971<!-- ここまで:主内容 -->
    710972({*ここまで:body*})
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/templates/inc_search_box.tpl

    r823 r911  
    1818<input type="image" src="({t_img_url_skin filename=button_search_1})" value="diary" alt="日記" border="0" name="diary" class="button" style="width:62px;height:20px;">
    1919<input type="image" src="({t_img_url_skin filename=button_search_2})" value="community" alt="コミュニティ" border="0" name="community" class="button" style="width:62px;height:20px;">
     20<input type="image" src="({t_img_url_skin filename=button_search_4})" value="message" alt="メッセージ" border="0" name="message" class="button" style="width:62px;height:20px;">
    2021({if $smarty.const.USE_EXTRA_SERVICE})
    2122<input type="image" src="({t_img_url_skin filename=button_search_3})" value="web" alt="web" border="0" name="web" class="button" style="width:62px;height:20px;">
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/validate/do/h_home_search.ini

    r2 r911  
    88[web_x]
    99type = "string"
     10
     11[message_x]
     12type = "string"
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/validate/page/fh_diary_list.ini

    r2 r911  
    2323[day]
    2424type = "int"
     25
     26[keyword]
     27type = "string"
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/validate/page/h_message_box.ini

    r2 r911  
    22type ="string"
    33default = "inbox"
     4
     5[keyword]
     6type ="string"
     7default = ""
     8
     9[target_c_member_id]
     10type ="int"
    411
    512[ru_page]
     
    1825type = "int"
    1926default = 1
     27
     28[year]
     29type = "int"
     30
     31[month]
     32type = "int"
     33
     34[day]
     35type = "int"
Note: See TracChangeset for help on using the changeset viewer.