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

Changeset 972


Ignore:
Timestamp:
Dec 1, 2006, 4:05:11 PM (14 years ago)
Author:
takanashi
Message:

#96 検索機能強化

Location:
OpenPNE/trunk
Files:
21 edited
1 copied

Legend:

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

    r966 r972  
    351351        }
    352352    }
    353     return array($list, $prev, $next);
     353    return array($list, $prev, $next, $total_num);
    354354}
    355355
     
    578578 * あるメンバーの指定された年月日の日記のリストを得る
    579579 */
    580 function p_fh_diary_list_diary_list_date4c_member_id($c_member_id, $year, $month, $day=0, $u = null)
     580function p_fh_diary_list_diary_list_date4c_member_id($c_member_id, $page_size, $page, $year, $month, $day=0 ,$u = null)
    581581{
    582582    if ($day) {
     
    589589
    590590    $pf_cond = db_diary_public_flag_condition($c_member_id, $u);
     591    $where = ' WHERE c_member_id = ? AND r_datetime >= ? AND r_datetime < ?';
    591592    $sql = 'SELECT * FROM c_diary' .
    592             ' WHERE c_member_id = ? AND r_datetime >= ? AND r_datetime < ?' . $pf_cond .
     593            $where . $pf_cond .
    593594            ' ORDER BY r_datetime DESC';
    594595    $params = array(intval($c_member_id), $s_date, $e_date);
    595     $list = db_get_all($sql, $params);
     596    $list = db_get_all_limit($sql, $page, $page_size, $params);
    596597
    597598    foreach ($list as $key => $c_diary) {
     
    599600    }
    600601
    601     return array($list, false, false);
     602    $sql = 'SELECT COUNT(*) FROM c_diary' . $where;
     603    $total_num = db_get_one($sql, $params);
     604
     605    if ($total_num != 0) {
     606        $total_page_num =  ceil($total_num / $page_size);
     607        if ($page >= $total_page_num) {
     608            $next = false;
     609        } else {
     610            $next = true;
     611        }
     612        if ($page <= 1) {
     613            $prev = false;
     614        } else {
     615            $prev = true;
     616        }
     617    }
     618    return array($list , $prev , $next, $total_num);
    602619}
    603620
     
    670687 * 空白(全角半角問わない)でand検索可
    671688 */
    672 function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page)
    673 {
     689function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $c_member_id = '')
     690{
     691    $params = array();
     692
    674693    $select = 'SELECT *';
    675694    $from = ' FROM c_diary';
    676     $where = " WHERE public_flag = 'public'";
     695
     696    //自分の日記だけを対象にする事も出来る
     697    if ($c_member_id) {
     698        $where = ' WHERE c_member_id = ?';
     699        $params[] = intval($c_member_id);
     700    } else {
     701        $where = " WHERE public_flag = 'public'";
     702    }
    677703
    678704    //and検索を実装
    679705    //subject,body を検索
    680     $params = array();
    681706    if ($keyword) {
    682707        //全角空白を半角に統一
  • OpenPNE/trunk/webapp/lib/db/etc.php

    r665 r972  
    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/trunk/webapp/lib/db/message.php

    r924 r972  
    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
     
    649684}
    650685
     686
     687//メッセージの次のc_message_idを取得
     688function db_message_get_c_message_next_id4c_message_id($c_member_id, $c_message_id, $box)
     689{
     690    if ($box == 'savebox' || $box == 'trash') {
     691        return null;
     692    } else if ($box == 'outbox'){   //送信箱
     693        $where = " WHERE c_member_id_from = ?";
     694    } else {                        //受信箱
     695        $where = " WHERE c_member_id_to = ?";
     696    }
     697
     698    $sql =  "SELECT c_message_id FROM c_message" .
     699            $where.
     700            " AND is_deleted_to = 0" .
     701            " AND is_send = 1" .
     702            " AND c_message_id > ?" .
     703            " ORDER BY r_datetime";
     704    $params = array(
     705                intval($c_member_id),
     706                intval($c_message_id)
     707              );
     708
     709    return db_get_one($sql, $params);
     710}
     711
     712//メッセージの前のc_message_idを取得
     713function db_message_get_c_message_prev_id4c_message_id($c_member_id, $c_message_id, $box)
     714{
     715    if ($box == 'savebox' || $box == 'trash') {
     716        return null;
     717    } else if ($box == 'outbox'){   //送信箱
     718        $where = " WHERE c_member_id_from = ?" .
     719                 " AND is_deleted_from = 0";
     720    } else {                        //受信箱
     721        $where = " WHERE c_member_id_to = ?" .
     722                 " AND is_deleted_to = 0";
     723    }
     724
     725    $sql =  "SELECT c_message_id FROM c_message" .
     726            $where.
     727            " AND is_send = 1" .
     728            " AND c_message_id < ?" .
     729            " ORDER BY r_datetime DESC";
     730    $params = array(
     731                intval($c_member_id),
     732                intval($c_message_id)
     733              );
     734
     735    return db_get_one($sql, $params);
     736}
     737
     738//メッセージを検索
     739//検索対象:subject,body
     740
     741function db_message_search_c_message($c_member_id, $page, $page_size, $keyword, $box, $target_c_member_id = null)
     742{
     743    $params = array();
     744    $params[] = intval($c_member_id);
     745
     746    if ($box == 'inbox' || !$box) {
     747        $where = "c_member_id_to = ?".
     748                 " AND is_deleted_to = 0" .
     749                 " AND is_send = 1";
     750        if ($target_c_member_id) {
     751            $where .= " AND c_member_id_from = ?";
     752            $params[] = intval($target_c_member_id);
     753        }
     754    } elseif ($box == 'outbox') {
     755        $where = "c_member_id_from = ?".
     756                 " AND is_deleted_from = 0" .
     757                 " AND is_send = 1";
     758        if ($target_c_member_id) {
     759            $where .= " AND c_member_id_to = ?";
     760            $params[] = intval($target_c_member_id);
     761        }
     762    }
     763
     764    $where .= " AND ( subject like ? OR body like ?)";
     765
     766    $params[] = '%'.strval($keyword).'%';
     767    $params[] = '%'.strval($keyword).'%';
     768
     769    $sql = "SELECT * FROM c_message";
     770    $sql .= " WHERE $where";
     771    $sql .= " ORDER BY r_datetime DESC";
     772
     773    $c_message_list = db_get_all_page($sql, $page, $page_size, $params);
     774
     775    foreach ($c_message_list as $key => $value) {
     776        if ($box == 'inbox' || !$box) {
     777            $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_from']);
     778        } else {
     779            $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_to']);
     780        }
     781        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     782        $c_message_list[$key]['image_filename'] = $c_member['image_filename'];
     783    }
     784
     785    $sql = "SELECT COUNT(*) FROM c_message WHERE $where";
     786    $total_num = db_get_one($sql, $params);
     787
     788    if ($total_num != 0) {
     789        $total_page_num =  ceil($total_num / $page_size);
     790        if ($page >= $total_page_num) {
     791            $next = false;
     792        } else {
     793            $next = true;
     794        }
     795        if ($page <= 1) {
     796            $prev = false;
     797        } else {
     798            $prev = true;
     799        }
     800    }
     801    return array($c_message_list , $prev , $next, $total_num);
     802
     803}
     804
     805
     806/**
     807 * 受信メッセージの送信者リストを取得
     808 */
     809function db_message_c_message_sender_list4c_member_id($c_member_id)
     810{
     811    $sql = "SELECT distinct c_member_id_from FROM c_message";
     812    $where = "c_member_id_to = ?".
     813            " AND is_deleted_to = 0" .
     814            " AND is_send = 1";
     815    $sql .= " WHERE $where";
     816    $sql .= " ORDER BY r_datetime DESC";
     817    $params = array(intval($c_member_id));
     818    $c_message_list = db_get_all($sql, $params);
     819
     820    foreach ($c_message_list as $key => $value) {
     821        $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_from']);
     822        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     823    }
     824    return $c_message_list;
     825}
     826
     827/**
     828 * 受信メッセージの送信者リストを取得
     829 */
     830function db_message_c_message_receiver_list4c_member_id($c_member_id)
     831{
     832    $sql = "SELECT distinct c_member_id_to FROM c_message";
     833    $where = "c_member_id_from = ?".
     834            " AND is_deleted_from = 0" .
     835            " AND is_send = 1";
     836    $sql .= " WHERE $where";
     837    $sql .= " ORDER BY r_datetime DESC";
     838    $params = array(intval($c_member_id));
     839    $c_message_list = db_get_all($sql, $params);
     840
     841    foreach ($c_message_list as $key => $value) {
     842        $c_member = db_common_c_member4c_member_id_LIGHT($value['c_member_id_to']);
     843        $c_message_list[$key]['nickname'] = $c_member['nickname'];
     844    }
     845    return $c_message_list;
     846}
     847
     848
     849/**
     850 * メッセージページの「各月のメッセージ」用
     851 *
     852 * メッセージを最初に書いた月からスタートしてみる
     853 */
     854function db_message_month_list4c_member_id($c_member_id, $box)
     855{
     856    if ($box == 'inbox' || !$box) {
     857        $where = "c_member_id_to = ?".
     858                 " AND is_deleted_to = 0" .
     859                 " AND is_send = 1";
     860    } elseif ($box == 'outbox') {
     861        $where = "c_member_id_from = ?".
     862                 " AND is_deleted_from = 0" .
     863                 " AND is_send = 1";
     864    } else {
     865        return null;
     866    }
     867
     868    $sql = "SELECT r_datetime FROM c_message" .
     869        " WHERE $where" .
     870        " ORDER BY r_datetime";
     871
     872    $params = array(intval($c_member_id));
     873    if (!$first_datetime = db_get_one($sql, $params)) {
     874        return array();
     875    }
     876
     877    $start_date = getdate(strtotime($first_datetime));
     878    $end_date =  getdate();
     879
     880    $date = array();
     881    $year = $start_date['year'];
     882    $month = $start_date['mon'];
     883    while (1) {
     884        $date[] =  array(
     885            'year' => $year,
     886            'month' => $month,
     887        );
     888
     889        if ($end_date['year'] <= $year
     890            && $end_date['mon'] <= $month) {
     891            break;
     892        }
     893
     894        $month++;
     895        if ($month > 12) {
     896            $month = 1;
     897            $year++;
     898        }
     899    }
     900    return array_reverse($date);
     901}
     902
     903
     904
     905/**
     906 * 指定された年月にメッセージを送受信した日のリストを返す
     907 */
     908function db_message_is_message_list4date($u, $year, $month, $box)
     909{
     910    include_once 'Date/Calc.php';
     911
     912    if ($box == 'inbox' || !$box) {
     913        $where = "c_member_id_to = ?".
     914                 " AND is_deleted_to = 0" .
     915                 " AND is_send = 1";
     916    } elseif ($box == 'outbox') {
     917        $where = "c_member_id_from = ?".
     918                 " AND is_deleted_from = 0" .
     919                 " AND is_send = 1";
     920    } else {
     921        return null;
     922    }
     923
     924    $sql = 'SELECT DISTINCT DAYOFMONTH(r_datetime) FROM c_message' .
     925           " WHERE $where" .
     926           ' AND is_send=1 AND r_datetime >= ? AND r_datetime < ?';
     927
     928    $date_format = '%Y-%m-%d 00:00:00';
     929    $thismonth = Date_Calc::beginOfMonth($month, $year, $date_format);
     930    $nextmonth = Date_Calc::beginOfNextMonth(0, $month, $year, $date_format);
     931
     932    $params = array(intval($u), $thismonth, $nextmonth);
     933
     934    return db_get_col($sql, $params);
     935}
     936
    651937?>
  • OpenPNE/trunk/webapp/modules/ktai/page/fh_diary_list.php

    r260 r972  
    1515        $direc = $requests['direc'];
    1616        $page = $requests['page'];
     17        $keyword = $requests['keyword'];
    1718        // ----------
    1819
     
    3940        $page += $direc;
    4041        //ターゲットの詳細な日記リスト
    41         $list = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     42        //検索する場合(自分の日記のみ)
     43        if ($keyword) {
     44            $list = p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $u);
     45        } else {
     46            $list = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     47        }
    4248
    4349        $this->set("target_diary_list", $list[0]);
     
    4551        $this->set("is_prev", $list[1]);
    4652        $this->set("is_next", $list[2]);
     53        $this->set("total_num", $list[3]);
     54
     55        $pager = array();
     56        $pager['start'] = $page_size * ($page - 1) + 1;
     57        if (($pager['end'] = $page_size * $page) > $list[3]) {
     58            $pager['end'] = $list[3];
     59        }
     60        $this->set('pager', $pager);
    4761
    4862        //f or h
     
    5266        db_ashiato_insert_c_ashiato($target_c_member_id, $u);
    5367
     68        //検索ワード
     69        $this->set('keyword', $keyword);
     70
    5471        return 'success';
    5572    }
  • OpenPNE/trunk/webapp/modules/ktai/page/h_diary_list_all.php

    r102 r972  
    2727        $this->set('is_prev', $result[1]);
    2828        $this->set('is_next', $result[2]);
     29        $this->set('total_num', $result[3]);
     30
    2931        $this->set('c_diary_search_list_count', $result[3]);
    3032
  • OpenPNE/trunk/webapp/modules/ktai/page/h_message_box.php

    r102 r972  
    1717        $direc_s = $requests['direc_s'];
    1818        $page_s = $requests['page_s'];
     19        $box = $requests['box'];
     20        $keyword = $requests['keyword'];
    1921        // ----------
    2022
     
    2224
    2325        // 1ページ当たりに表示するメッセージ数
    24         $page_size = 5;
     26        $page_size = 10;
    2527
    26         $page_r += $direc_r;
    27         $page_s += $direc_s;
     28        $this->set("box", $box);
     29        $this->set('keyword', $keyword);
    2830
    29         $list_r = k_p_h_message_box_c_message_received_list4c_member_id4range($u, $page_size, $page_r);
    30         $this->set("c_message_received_list", $list_r[0]);
    31         $this->set("page_r", $page_r);
    32         $this->set("is_prev_r", $list_r[1]);
    33         $this->set("is_next_r", $list_r[2]);
    34         $this->set("count_messages_received", $list_r[3]);
     31        if ($box == 'outbox') {
     32            $page_s += $direc_s;
     33            if (!$keyword) {
     34                $list_s = k_p_h_message_box_c_message_sent_list4c_member_id4range($u, $page_size, $page_s);
     35            } else {
     36                $list_s = db_message_search_c_message($u, $page_s, $page_size, $keyword, $box);
     37            }
    3538
    36         $list_s = k_p_h_message_box_c_message_sent_list4c_member_id4range($u, $page_size, $page_s);
    37         $this->set("c_message_sent_list", $list_s[0]);
    38         $this->set("page_s", $page_s);
    39         $this->set("is_prev_s", $list_s[1]);
    40         $this->set("is_next_s", $list_s[2]);
    41         $this->set("count_messages_sent", $list_s[3]);
     39            $this->set("c_message_sent_list", $list_s[0]);
     40            $this->set("page_s", $page_s);
     41            $this->set("is_prev_s", $list_s[1]);
     42            $this->set("is_next_s", $list_s[2]);
     43            $this->set("count_messages_sent", $list_s[3]);
     44            $this->set("total_num", $list_s[3]);
     45
     46            $pager = array();
     47            $pager['start'] = $page_size * ($page_s - 1) + 1;
     48            if (($pager['end'] = $page_size * $page_s) > $list_s[3]) {
     49                $pager['end'] = $list_s[3];
     50            }
     51            $this->set('pager', $pager);
     52        } else {
     53            $page_r += $direc_r;
     54
     55            if (!$keyword) {
     56                $list_r = k_p_h_message_box_c_message_received_list4c_member_id4range($u, $page_size, $page_r);
     57            } else {
     58                $list_r = db_message_search_c_message($u, $page_r, $page_size, $keyword, $box);
     59            }
     60
     61            $this->set("c_message_received_list", $list_r[0]);
     62            $this->set("page_r", $page_r);
     63            $this->set("is_prev_r", $list_r[1]);
     64            $this->set("is_next_r", $list_r[2]);
     65            $this->set("count_messages_received", $list_r[3]);
     66            $this->set("total_num", $list_r[3]);
     67
     68            $pager = array();
     69            $pager['start'] = $page_size * ($page_r - 1) + 1;
     70            if (($pager['end'] = $page_size * $page_r) > $list_r[3]) {
     71                $pager['end'] = $list_r[3];
     72            }
     73            $this->set('pager', $pager);
     74        }
    4275
    4376        return 'success';
  • OpenPNE/trunk/webapp/modules/ktai/templates/fh_diary_list.tpl

    r260 r972  
    22
    33<center><font color="orange">({$target_c_member.nickname}) さんの日記リスト</font></center>
    4 <hr><br>
     4<hr>
     5({if $INC_NAVI_type=="h"})
     6<a href="#search" accesskey="1">1.検索</a>
     7<br>
     8({/if})
     9({capture name="pager"})
     10<br>
     11({if $is_prev || $is_next})
     12({if $is_prev})<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;page=({$page-1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">前へ</a> ({/if})
     13({if $is_next})<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;page=({$page+1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">次へ</a>({/if})
     14({if $pager})
     15<br>
     16({$total_num})件中
     17({$pager.start})件~({$pager.end})件を表示<br>
     18<br>
     19({/if})
     20({/if})
     21({/capture})
     22({$smarty.capture.pager|smarty:nodefaults})
     23
    524({foreach from=$target_diary_list item=target_diary})
    625({$target_diary.r_date|date_format:"%y/%m/%d"})-<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_diary.c_diary_id})&amp;({$tail})">({$target_diary.subject})</a>(({$target_diary.num_comment}))<br>
    726({/foreach})
    8 <br>
    9 ({if $is_prev || $is_next})
    10 <br>
    11 ({if $is_prev})<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;page=({$page-1})&amp;({$tail})">前へ</a> ({/if})
    12 ({if $is_next})<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;page=({$page+1})&amp;({$tail})">次へ</a>({/if})
     27({$smarty.capture.pager|smarty:nodefaults})
    1328
     29({if $INC_NAVI_type=="h"})
     30<a name="search"></a>
     31({t_form _method=get m=ktai a=page_fh_diary_list})
     32<input type="hidden" name="ksid" value="({$PHPSESSID})">
     33<input type="text" name="keyword" value="({$keyword})">
     34<input type="submit" value="検索">
     35</form>
    1436({/if})
    15 
    16 <br>
    1737<hr>
    1838({if $INC_NAVI_type=="h"})
  • OpenPNE/trunk/webapp/modules/ktai/templates/h_diary_list_all.tpl

    r2 r972  
    33<center><font color="orange">({if $keyword})日記検索結果({else})最新日記({/if})</font></center>
    44<hr>
     5<a href="#search" accesskey="1">1.検索</a>
     6<br><br>
    57
    68({if $keyword})
     
    911({/if})
    1012
    11 ({foreach from=$new_diary_list item=item})
    12 ({$item.r_datetime|date_format:"%m/%d"})(({$item.c_member.nickname}))<br>
    13 <a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;({$tail})">({$item.subject|t_truncate:36:".."})</a>(({$item.comment_count}))<br>
    14 ({/foreach})
    15 <br>
    16 
     13({capture name="pager"})
    1714({if $is_prev || $is_next})
    1815({if $is_prev})
     
    2623
    2724({if $c_diary_search_list_count})
     25({$total_num})件中
    2826({$pager.start})件~({$pager.end})件を表示<br>
    2927<br>
    3028({/if})
     29({/capture})
     30({$smarty.capture.pager|smarty:nodefaults})
    3131
     32
     33({foreach from=$new_diary_list item=item})
     34({$item.r_datetime|date_format:"%m/%d"})(({$item.c_member.nickname}))<br>
     35<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;({$tail})">({$item.subject|t_truncate:36:".."})</a>(({$item.comment_count}))<br>
     36({/foreach})
     37<br>
     38
     39({$smarty.capture.pager|smarty:nodefaults})
     40
     41<a name="search"></a>
    3242({t_form _method=get m=ktai a=page_h_diary_list_all})
    3343<input type="hidden" name="ksid" value="({$PHPSESSID})">
  • OpenPNE/trunk/webapp/modules/ktai/templates/h_home.tpl

    r792 r972  
    4848◆<a href="({t_url m=ktai a=page_h_ranking})&amp;({$tail})">ランキング</a><br>
    4949◆<a href="({t_url m=ktai a=page_fh_intro})&amp;({$tail})">紹介文</a><br>
     50◆メッセージBOX<br>
     51∟<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;({$tail})">受信箱</a><br>
     52∟<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;({$tail})">送信箱</a><br>
    5053◆<a href="({t_url m=ktai a=page_h_ashiato})&amp;({$tail})">あしあと</a><br>
    5154<hr>
  • OpenPNE/trunk/webapp/modules/ktai/templates/h_message_box.tpl

    r2 r972  
    11({$inc_ktai_header|smarty:nodefaults})
    22
    3 <center><font color="orange">メッセージBOX</font></center>
     3<center><font color="orange">メッセージBOX(({if $box != 'outbox'})受信箱({else})送信箱({/if}))</font></center>
    44<hr>
     5<a href="#search" accesskey="1">1.検索</a>
     6<br><br>
     7
    58<a href="({t_url m=ktai a=page_h_message_send})&amp;({$tail})">メッセージを書く</a><br>
     9
     10
     11({if $box != 'outbox' })
    612<br>
    7 [受信メッセージ(({$count_messages_received}))]<br>
    8 ({if $count_messages_received})
     13[受信メッセージ(({if $total_num})({$total_num})({else})0({/if}))]<br>
     14
     15({capture name="pager"})
     16({if $is_prev_r || $is_next_r})
     17<br>
     18({if $is_prev_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;page_r=({$page_r-1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">前へ</a> ({/if})
     19({if $is_next_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;page_r=({$page_r+1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">次へ</a>({/if})
     20<br>
     21({$total_num})件中
     22({$pager.start})件~({$pager.end})件を表示<br>
     23<br>
     24({/if})
     25({/capture})
     26({$smarty.capture.pager|smarty:nodefaults})
     27
     28({if $total_num})
    929({foreach from=$c_message_received_list item=c_message_received})
    1030<tr>
     
    1333({/foreach})
    1434({else})
    15 メッセージはありません
     35メッセージはありません<br><br>
    1636({/if})
     37
     38({$smarty.capture.pager|smarty:nodefaults})
     39
     40({else})
     41
    1742<br>
    18 ({if $is_prev_r || $is_next_r})
     43[送信済メッセージ(({if $total_num})({$total_num})({else})0({/if}))]<br>
     44
     45({capture name="pager"})
     46({if $is_prev_s || $is_next_s})
    1947<br>
    20 ({if $is_prev_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;page_r=({$page_r-1})&amp;({$tail})">前へ</a> ({/if})
    21 ({if $is_next_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;page_r=({$page_r+1})&amp;({$tail})">次へ</a>({/if})
     48({if $is_prev_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;page_s=({$page_s-1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">前へ</a> ({/if})
     49({if $is_next_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;page_s=({$page_s+1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})">次へ</a>({/if})
     50<br>
     51({$total_num})件中
     52({$pager.start})件~({$pager.end})件を表示<br>
    2253<br>
    2354({/if})
     55({/capture})
     56({$smarty.capture.pager|smarty:nodefaults})
    2457
    2558
    26 <br>
    27 [送信済メッセージ(({$count_messages_sent}))]<br>
    28 ({if $count_messages_sent})
     59({if $total_num})
    2960({foreach from=$c_message_sent_list item=c_message_sent})
    3061({$c_message_sent.r_datetime|date_format:"%y/%m/%d"})-({$c_message_sent.nickname|default:"&nbsp;"})さん<br>
     
    3263({/foreach})
    3364({else})
    34 メッセージはありません
     65メッセージはありません<br><br>
     66({/if})
     67
     68({$smarty.capture.pager|smarty:nodefaults})
     69
     70({/if})
     71
     72<a href="({t_url m=ktai a=page_h_message_send})&amp;({$tail})">メッセージを書く</a><br><br>
     73
     74<a name="search"></a>
     75({t_form _method=get m=ktai a=page_h_message_box})
     76<input type="hidden" name="ksid" value="({$PHPSESSID})">
     77<input type="hidden" name="box" value="({$box})">
     78<input type="text" name="keyword" value="({$keyword})">
     79<input type="submit" value="検索">
     80</form>
     81
     82<hr>
     83({if $box != 'outbox'})
     84<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;({$tail})">送信箱</a>
     85({else})
     86<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;({$tail})">受信箱</a>
    3587({/if})
    3688<br>
    37 ({if $is_prev_s || $is_next_s})
    38 <br>
    39 ({if $is_prev_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;page_s=({$page_s-1})&amp;({$tail})">前へ</a> ({/if})
    40 ({if $is_next_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;page_s=({$page_s+1})&amp;({$tail})">次へ</a>({/if})
    41 <br>
    42 ({/if})
    43 
    44 <br>
    45 <a href="({t_url m=ktai a=page_h_message_send})&amp;({$tail})">メッセージを書く</a><br>
    46 <hr>
    47 
    4889({$inc_ktai_footer|smarty:nodefaults})
  • OpenPNE/trunk/webapp/modules/ktai/validate/page/fh_diary_list.ini

    r2 r972  
    1010type = "int"
    1111default = 1
     12
     13[keyword]
     14type = "string"
  • OpenPNE/trunk/webapp/modules/ktai/validate/page/h_message_box.ini

    r2 r972  
    1919default = 1
    2020
     21[box]
     22type = "string"
     23default = "inbox"
     24
     25[keyword]
     26type = "string"
  • OpenPNE/trunk/webapp/modules/pc/do/h_home_search.php

    r134 r972  
    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/trunk/webapp/modules/pc/page/fh_diary_list.php

    r952 r972  
    1919        $day = $requests['day'];
    2020        $category_id = $requests['category_id'];
     21        $keyword = $requests['keyword'];
    2122        // ----------
    2223
     
    4647
    4748        $page += $direc;
    48         $page_size = 30;
     49        $page_size = 20;
    4950
    5051        $target_member = db_common_c_member4c_member_id($target_c_member_id);
     
    5253        //年月日で一覧表示、日記数に制限なし
    5354        if ($year && $month) {
    54             $list_set = p_fh_diary_list_diary_list_date4c_member_id($target_c_member_id, $year, $month, $day, $u);
     55            $list_set = p_fh_diary_list_diary_list_date4c_member_id($target_c_member_id, $page_size, $page ,$year, $month, $day, $u);
    5556            $rss_list = p_fh_diary_list_c_rss_cache_list_date($target_c_member_id, $year, $month, $day);
    5657        } elseif($category_id) {
     
    6465            $this->set('all', 1);
    6566
    66             $list_set = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     67            //検索する場合
     68            if ($keyword) {
     69                $list_set = p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $u);
     70            } else {
     71                $list_set = p_fh_diary_list_diary_list4c_member_id($target_c_member_id, $page_size, $page, $u);
     72            }
     73
    6774            $rss_list = p_fh_diary_list_c_rss_cache_list($target_c_member_id, $page_size, $page);
    6875        }
     
    7582        $this->set('is_prev', $list_set[1]);
    7683        $this->set('is_next', $list_set[2]);
     84        $this->set("total_num", $list_set[3]);
    7785
    7886        $this->set('diary_list_count', count($list_set[0]));
     
    100108        }
    101109
     110        //検索ワード
     111        $this->set('keyword', $keyword);
     112        $this->set("url_keyword", urlencode($keyword));
     113
    102114        return 'success';
    103115    }
  • OpenPNE/trunk/webapp/modules/pc/page/h_message_box.php

    r102 r972  
    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
     
    3035        $this->set("box", $box);
    3136
     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));
     43
    3244        switch ($box) {
    3345
     
    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/trunk/webapp/modules/pc/templates/fh_diary_list.tpl

    r952 r972  
    346346
    347347<div style="width:490px;padding:30px 10px;margin:0px auto;" class="border_01 bg_03">
     348<table>
     349<tr>
     350<td>
     351({t_form _method=get m=pc a=page_fh_diary_list})
     352キーワード<img src="({t_img_url_skin filename=icon_arrow_2})" class="icon">
     353<input type="text" size="15" name="keyword" class="text border_01" value="({$keyword})">
     354<input type="submit" class="submit" value=" 検 索 ">
     355</form>
     356</td>
     357<td>
    348358({t_form _method=get m=pc a=page_h_diary_add})
    349 <input type="submit" class="submit" value=" 日 記 を 書 く ">
     359&nbsp;&nbsp;&nbsp;<input type="submit" class="submit" value=" 日 記 を 書 く ">
    350360</form>
    351 </div>
    352 
     361</td>
     362</tr>
     363</table>
     364</div>
    353365<img src="./skin/dummy.gif" class="v_spacer_l">
    354366
     
    422434
    423435({if $is_prev})
    424 <a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=-1&amp;page=({$page})">前を表示</a>
    425 ({/if})
     436<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=-1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">前を表示</a>
     437({/if})
     438({$total_num})件中
    426439({$page*$page_size-$page_size+1})件~
    427440({if $page_size > $diary_list_count})
     
    432445件を表示
    433446({if $is_next})
    434 <a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})">次を表示</a>
     447<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">次を表示</a>
    435448({/if})
    436449
     
    576589
    577590({if $is_prev})
    578 <a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=-1&amp;page=({$page})">前を表示</a>
    579 ({/if})
     591<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=-1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">前を表示</a>
     592({/if})
     593({$total_num})件中
    580594({$page*$page_size-$page_size+1})件~
    581595({if $page_size > $diary_list_count})
     
    586600件を表示
    587601({if $is_next})
    588 <a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})">次を表示</a>
     602<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">次を表示</a>
    589603({/if})
    590604
  • OpenPNE/trunk/webapp/modules/pc/templates/h_message_box.tpl

    r410 r972  
    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/trunk/webapp/modules/pc/templates/inc_search_box.tpl

    r839 r972  
    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/trunk/webapp/modules/pc/validate/do/h_home_search.ini

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

    r952 r972  
    2626[category_id]
    2727type = "int"
     28
     29[keyword]
     30type = "string"
  • OpenPNE/trunk/webapp/modules/pc/validate/page/h_message_box.ini

    r2 r972  
    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.