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

Changeset 970


Ignore:
Timestamp:
Dec 1, 2006, 1:28:24 AM (14 years ago)
Author:
takanashi
Message:

911/969確認用

Location:
OpenPNE/branches/takanashi/prj_takanashi
Files:
21 edited
1 copied

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/lib/db/diary.php

    r787 r970  
    209209        }
    210210    }
    211     return array($list, $prev, $next);
     211    return array($list, $prev, $next, $total_num);
    212212}
    213213
     
    436436 * あるメンバーの指定された年月日の日記のリストを得る
    437437 */
    438 function p_fh_diary_list_diary_list_date4c_member_id($c_member_id, $year, $month, $day=0, $u = null)
     438function p_fh_diary_list_diary_list_date4c_member_id($c_member_id, $page_size, $page, $year, $month, $day=0 ,$u = null)
    439439{
    440440    if ($day) {
     
    447447
    448448    $pf_cond = db_diary_public_flag_condition($c_member_id, $u);
     449    $where = ' WHERE c_member_id = ? AND r_datetime >= ? AND r_datetime < ?';
    449450    $sql = 'SELECT * FROM c_diary' .
    450             ' WHERE c_member_id = ? AND r_datetime >= ? AND r_datetime < ?' . $pf_cond .
     451            $where . $pf_cond .
    451452            ' ORDER BY r_datetime DESC';
    452453    $params = array(intval($c_member_id), $s_date, $e_date);
    453     $list = db_get_all($sql, $params);
     454    $list = db_get_all_limit($sql, $page, $page_size, $params);
    454455
    455456    foreach ($list as $key => $c_diary) {
     
    457458    }
    458459
    459     return array($list, false, false);
     460    $sql = 'SELECT COUNT(*) FROM c_diary' . $where;
     461    $total_num = db_get_one($sql, $params);
     462
     463    if ($total_num != 0) {
     464        $total_page_num =  ceil($total_num / $page_size);
     465        if ($page >= $total_page_num) {
     466            $next = false;
     467        } else {
     468            $next = true;
     469        }
     470        if ($page <= 1) {
     471            $prev = false;
     472        } else {
     473            $prev = true;
     474        }
     475    }
     476    return array($list , $prev , $next, $total_num);
    460477}
    461478
     
    528545 * 空白(全角半角問わない)でand検索可
    529546 */
    530 function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page)
    531 {
     547function p_h_diary_list_all_search_c_diary4c_diary($keyword, $page_size, $page, $c_member_id = '')
     548{
     549    $params = array();
     550
    532551    $select = 'SELECT *';
    533552    $from = ' FROM c_diary';
    534     $where = " WHERE public_flag = 'public'";
     553
     554    //自分の日記だけを対象にする事も出来る
     555    if ($c_member_id) {
     556        $where = ' WHERE c_member_id = ?';
     557        $params[] = intval($c_member_id);
     558    } else {
     559        $where = " WHERE public_flag = 'public'";
     560    }
    535561
    536562    //and検索を実装
    537563    //subject,body を検索
    538     $params = array();
    539564    if ($keyword) {
    540565        //全角空白を半角に統一
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/lib/db/etc.php

    r665 r970  
    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/takanashi/prj_takanashi/webapp/lib/db/message.php

    r619 r970  
    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
     
    598633}
    599634
     635
     636//メッセージの次のc_message_idを取得
     637function db_message_get_c_message_next_id4c_message_id($c_member_id, $c_message_id, $box)
     638{
     639    if ($box == 'savebox' || $box == 'trash') {
     640        return null;
     641    } else if ($box == 'outbox'){   //送信箱
     642        $where = " WHERE c_member_id_from = ?";
     643    } else {                        //受信箱
     644        $where = " WHERE c_member_id_to = ?";
     645    }
     646
     647    $sql =  "SELECT c_message_id FROM c_message" .
     648            $where.
     649            " AND is_deleted_to = 0" .
     650            " AND is_send = 1" .
     651            " AND c_message_id > ?" .
     652            " ORDER BY r_datetime";
     653    $params = array(
     654                intval($c_member_id),
     655                intval($c_message_id)
     656              );
     657
     658    return db_get_one($sql, $params);
     659}
     660
     661//メッセージの前のc_message_idを取得
     662function db_message_get_c_message_prev_id4c_message_id($c_member_id, $c_message_id, $box)
     663{
     664    if ($box == 'savebox' || $box == 'trash') {
     665        return null;
     666    } else if ($box == 'outbox'){   //送信箱
     667        $where = " WHERE c_member_id_from = ?" .
     668                 " AND is_deleted_from = 0";
     669    } else {                        //受信箱
     670        $where = " WHERE c_member_id_to = ?" .
     671                 " AND is_deleted_to = 0";
     672    }
     673
     674    $sql =  "SELECT c_message_id FROM c_message" .
     675            $where.
     676            " AND is_send = 1" .
     677            " AND c_message_id < ?" .
     678            " ORDER BY r_datetime DESC";
     679    $params = array(
     680                intval($c_member_id),
     681                intval($c_message_id)
     682              );
     683
     684    return db_get_one($sql, $params);
     685}
     686
     687//メッセージを検索
     688//検索対象:subject,body
     689
     690function db_message_search_c_message($c_member_id, $page, $page_size, $keyword, $box, $target_c_member_id = null)
     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
    600888?>
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/ktai/page/fh_diary_list.php

    r260 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/page/h_diary_list_all.php

    r102 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/page/h_message_box.php

    r102 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/templates/fh_diary_list.tpl

    r260 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/templates/h_diary_list_all.tpl

    r2 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/templates/h_home.tpl

    r792 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/templates/h_message_box.tpl

    r2 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/ktai/validate/page/fh_diary_list.ini

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

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

    r134 r970  
    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/takanashi/prj_takanashi/webapp/modules/pc/page/fh_diary_list.php

    r260 r970  
    1818        $month = $requests['month'];
    1919        $day = $requests['day'];
     20        $keyword = $requests['keyword'];
    2021        // ----------
    2122
     
    4546
    4647        $page += $direc;
    47         $page_size = 30;
     48        $page_size = 20;
    4849
    4950        $target_member = db_common_c_member4c_member_id($target_c_member_id);
     
    5152        //年月日で一覧表示、日記数に制限なし
    5253        if ($year && $month) {
    53             $list_set = p_fh_diary_list_diary_list_date4c_member_id($target_c_member_id, $year, $month, $day, $u);
     54            $list_set = p_fh_diary_list_diary_list_date4c_member_id($target_c_member_id, $page_size, $page ,$year, $month, $day, $u);
    5455            $rss_list = p_fh_diary_list_c_rss_cache_list_date($target_c_member_id, $year, $month, $day);
    5556        } else {
     
    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        }
     
    6976        $this->set('is_prev', $list_set[1]);
    7077        $this->set('is_next', $list_set[2]);
     78        $this->set("total_num", $list_set[3]);
    7179
    7280        $this->set('diary_list_count', count($list_set[0]));
     
    8997        $this->set('date_list', p_fh_diary_list_date_list4c_member_id($target_c_member_id));
    9098
     99        //検索ワード
     100        $this->set('keyword', $keyword);
     101        $this->set("url_keyword", urlencode($keyword));
     102
    91103        return 'success';
    92104    }
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/pc/page/h_message_box.php

    r102 r970  
    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/branches/takanashi/prj_takanashi/webapp/modules/pc/templates/fh_diary_list.tpl

    r640 r970  
    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
     
    364376
    365377({if $is_prev})
    366 <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>
    367 ({/if})
     378<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>
     379({/if})
     380({$total_num})件中
    368381({$page*$page_size-$page_size+1})件~
    369382({if $page_size > $diary_list_count})
     
    374387件を表示
    375388({if $is_next})
    376 <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>
     389<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>
    377390({/if})
    378391
     
    518531
    519532({if $is_prev})
    520 <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>
    521 ({/if})
     533<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>
     534({/if})
     535({$total_num})件中
    522536({$page*$page_size-$page_size+1})件~
    523537({if $page_size > $diary_list_count})
     
    528542件を表示
    529543({if $is_next})
    530 <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>
     544<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>
    531545({/if})
    532546
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/pc/templates/h_message_box.tpl

    r410 r970  
    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/takanashi/prj_takanashi/webapp/modules/pc/templates/inc_search_box.tpl

    r839 r970  
    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/takanashi/prj_takanashi/webapp/modules/pc/validate/do/h_home_search.ini

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

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

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