本文整理汇总了PHP中fetch_inc_navi函数的典型用法代码示例。如果您正苦于以下问题:PHP fetch_inc_navi函数的具体用法?PHP fetch_inc_navi怎么用?PHP fetch_inc_navi使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了fetch_inc_navi函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: execute
function execute($requests)
{
$u = $GLOBALS['KTAI_C_MEMBER_ID'];
$this->set('tail', $GLOBALS['KTAI_URL_TAIL']);
if (empty($requests['target_id']) || $requests['target_id'] == $u) {
//自分自身
$target_id = $u;
$this->set('is_h', true);
//判別フラグ
} else {
//他人
$target_id = $requests['target_id'];
$this->set('is_f', true);
//判別フラグ
}
$this->set('inc_navi', fetch_inc_navi("h"));
$jmembers = biz_getJoinMemberSchedule($requests['id']);
if (array_search($target_member['nickname'], $jmembers)) {
$jmembers[$target_member['c_member_id']] = $target_member['nickname'];
$jmembers = array_unique($jmembers);
}
$this->set('jmembers', $jmembers);
$this->set('jmembers_enc', serialize($jmembers));
$this->set('t_id', $target_id);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:26,代码来源:fh_biz_schedule_view_member.php
示例2: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_commu_id = $requests['target_c_commu_id'];
$page = $requests['page'];
// ----------
$this->set('inc_navi', fetch_inc_navi("c", $target_c_commu_id));
//メンバー情報
$this->set("member", db_member_c_member4c_member_id($u));
//コミュニティID
$this->set("c_commu_id", $target_c_commu_id);
$this->set("c_commu", db_commu_c_commu4c_commu_id($target_c_commu_id));
$this->set("c_commu_num", db_commu_count_c_commu_member_list4c_commu_id($target_c_commu_id));
$page_size = 50;
//コミュニティメンバーリスト
list($c_member_list, $is_prev, $is_next, $total_num, $start_num, $end_num) = db_commu_c_members4c_commu_id($target_c_commu_id, $page_size, $page);
$this->set("c_member_list", $c_member_list);
$this->set("is_prev", $is_prev);
$this->set("is_next", $is_next);
$this->set("page", $page);
$this->set("total_num", $total_num);
$this->set('start_num', $start_num);
$this->set('end_num', $end_num);
for ($i = 1; $i <= ceil($total_num / $page_size); $i++) {
$page_num[] = $i;
}
$this->set("page_num", $page_num);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:30,代码来源:c_member_list.php
示例3: execute
function execute($requests)
{
if (!OPENPNE_USE_ALBUM) {
handle_kengen_error();
}
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_album_image_id = $requests['target_c_album_image_id'];
// ----------
$target_c_album_image = db_album_image_get_c_album_image4id($target_c_album_image_id);
$target_c_album_id = $target_c_album_image['c_album_id'];
$album = db_album_get_c_album4c_album_id($target_c_album_id);
if ($album['c_member_id'] != $u) {
handle_kengen_error();
}
// target が指定されていない
if (!$target_c_album_image_id) {
openpne_redirect('pc', 'page_h_err_fh_album');
}
// target の写真が存在しない
if (!p_common_is_active_c_album_image_id($target_c_album_image_id)) {
openpne_redirect('pc', 'page_h_err_fh_album');
}
$this->set('inc_navi', fetch_inc_navi("h"));
$this->set('target_c_album_image', $target_c_album_image);
$form_val = array("target_c_album_id" => $target_c_album_id, "target_c_album_image_id" => $target_c_album_image_id);
$this->set("form_val", $form_val);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:29,代码来源:h_album_image_delete_confirm.php
示例4: execute
function execute($requests)
{
$u = $GLOBALS['KTAI_C_MEMBER_ID'];
$this->set('tail', $GLOBALS['KTAI_URL_TAIL']);
if (empty($requests['target_id']) || $requests['target_id'] == $u) {
//自分
$target_id = $u;
$this->set('is_h', true);
//判別フラグ
} else {
//他人
$target_id = $requests['target_id'];
$this->set('is_f', true);
//判別フラグ
}
$this->set('inc_navi', fetch_inc_navi($cmd));
//プロフィール
$this->set("target_member", $target_member);
$this->set("form_val", $form_val);
//日付
$now = array('year' => date("y"), 'month' => date("n"), 'day' => date("d"));
$this->set('now', $now);
$this->set('gname', $gname);
$this->set('gid', $gid);
$this->set('msg', $requests['msg']);
$this->set('t_id', $target_id);
$biz_group_count = biz_getGroupCount($target_id);
$biz_group_list = biz_getJoinGroupList($target_id, 1, $biz_group_count);
$this->set('biz_group_list', $biz_group_list[0]);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:31,代码来源:fh_biz_schedule_add.php
示例5: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_member_id = $requests['target_c_member_id'];
$page = $requests['page'];
// ----------
if (is_null($target_c_member_id)) {
$target_c_member_id = $u;
}
if (db_member_is_access_block($u, $target_c_member_id)) {
openpne_redirect('pc', 'page_h_access_block');
}
// navi 振り分け用
if ($target_c_member_id == $u) {
$type = "h";
} else {
$type = "f";
}
$this->set('inc_navi', fetch_inc_navi($type, $target_c_member_id));
$this->set("target_member", db_member_c_member4c_member_id($target_c_member_id));
$page_size = 50;
$this->set("page", $page);
list($c_commu_list, $pager) = db_commu_c_commu_list4c_member_id($target_c_member_id, $page, $page_size);
$this->set("fh_com_list_user", $c_commu_list);
$this->set("pager", $pager);
for ($i = 1; $i <= $pager['total_page']; $i++) {
$page_list[] = $i;
}
$this->set("page_list", $page_list);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:32,代码来源:fh_com_list.php
示例6: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$c_review_id = $requests['c_review_id'];
$page = $requests['page'];
// ----------
$page_size = 30;
// c_reviewをAmazonの最新データに更新
db_review_update_old_c_review($c_review_id);
$c_review = db_review_list_product_c_review4c_review_id($c_review_id);
if (!$c_review) {
handle_kengen_error();
}
$this->set('inc_navi', fetch_inc_navi('h'));
$this->set('c_review', $c_review);
list($c_review_list, $is_prev, $is_next, $total_num, $start_num, $end_num) = db_review_list_product_c_review_list4c_review_id($c_review_id, $page, $page_size);
$this->set('c_review_list', $c_review_list);
$this->set("is_prev", $is_prev);
$this->set("is_next", $is_next);
$this->set("page", $page);
$this->set("total_num", $total_num);
$this->set('start_num', $start_num);
$this->set('end_num', $end_num);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:26,代码来源:h_review_list_product.php
示例7: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
$this->set('inc_navi', fetch_inc_navi('h'));
$c_member = db_member_c_member4c_member_id($u);
if ($requests['rss']) {
$c_member['rss'] = $requests['rss'];
}
$this->set('password_query_list', p_common_c_password_query4null());
$this->set('c_member', $c_member);
$this->set('c_member_id_block', db_member_c_member_id_block4c_member_id($u));
$this->set('daily_news_day_str', str_replace(',', '・', DAILY_NEWS_DAY));
if (DAILY_NEWS_DAY) {
$this->set('daily_news_day_num', count(explode(',', DAILY_NEWS_DAY)));
} else {
$this->set('daily_news_day_num', 0);
}
$this->set('OPENPNE_URL', OPENPNE_URL);
$this->set('SNS_NAME', SNS_NAME);
$this->set('is_shinobiashi', db_member_is_shinobiashi($u));
$this->set('is_unused_daily_news', util_is_unused_mail('m_pc_daily_news'));
$this->set('is_unused_ashiato', util_is_unused_mail('m_pc_ashiato'));
$this->set('is_unused_rank_up', util_is_unused_mail('m_pc_rank_up'));
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:25,代码来源:h_config.php
示例8: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
$this->set('inc_navi', fetch_inc_navi('h'));
$this->set('target_id', $requests['target_id']);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:7,代码来源:s_delete_schedule.php
示例9: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$page = $requests['page'];
// ----------
$this->set('inc_navi', fetch_inc_navi("h"));
//日記一覧
$page_size = 50;
$this->set("page_size", $page_size);
$lst = p_h_diary_list_friend_h_diary_list_friend4c_member_id($u, $page_size, $page);
$this->set("h_diary_list_friend", $lst[0]);
$this->set("is_prev", $lst[1]);
$this->set("is_next", $lst[2]);
$this->set("total_num", $lst[3]);
$this->set("page", $page);
$pager = array();
$pager['start'] = $page_size * ($page - 1) + 1;
if (($pager['end'] = $page_size * $page) > $lst[3]) {
$pager['end'] = $lst[3];
}
$this->set('pager', $pager);
if ($page == 1) {
// rss_cache
$limit = 20;
$this->set('c_rss_cache_list', db_rss_list_friend_c_rss_cache_list($u, $limit));
}
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:29,代码来源:h_diary_list_friend.php
示例10: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$c_commu_id = $requests['target_c_commu_id'];
$c_review_id = $requests['c_review_id'];
// ----------
//--- 権限チェック
//コミュニティメンバー
if (!db_commu_is_c_commu_member($c_commu_id, $u)) {
handle_kengen_error();
}
//---
if (!$c_review_id) {
$_REQUEST['target_c_commu_id'] = $c_commu_id;
openpne_forward('pc', 'page', "c_member_review_add");
exit;
}
$c_member_review = db_review_c_member_review_add_confirm_c_member_review4c_review_id($c_review_id, $u);
if (!$c_member_review) {
handle_kengen_error();
}
$this->set('c_member_review', $c_member_review);
$this->set('c_commu', db_commu_c_commu4c_commu_id($c_commu_id));
$this->set('c_review_id', $c_review_id);
$this->set('inc_navi', fetch_inc_navi('c', $c_commu_id));
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:28,代码来源:c_member_review_add_confirm.php
示例11: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_commu_id = $requests['target_c_commu_id'];
$page = $requests['page'];
// ----------
//--- 権限チェック
//コミュニティ管理者
if (!db_commu_is_c_commu_admin($target_c_commu_id, $u)) {
handle_kengen_error();
}
//---
$this->set('inc_navi', fetch_inc_navi('c', $target_c_commu_id));
//メンバー情報
$this->set("member", db_member_c_member4c_member_id($u));
//コミュニティID
$this->set("c_commu_id", $target_c_commu_id);
//コミュニティ情報
$this->set("c_commu", db_commu_c_commu4c_commu_id($target_c_commu_id));
$page_size = 20;
//コミュニティメンバーリスト
$list = db_commu_c_member_list4c_commu_id($target_c_commu_id, $page_size, $page);
$this->set("c_member_list", $list[0]);
$this->set("is_prev", $list[1]);
$this->set("is_next", $list[2]);
$this->set("page", $page);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:29,代码来源:c_edit_member.php
示例12: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
$sessid = session_id();
$sql = 'SELECT c_member_id, nickname FROM c_member WHERE c_member_id <> ?';
$params = array($u);
$members = db_get_all($sql, $params);
$sql = 'SELECT c_member_id, nickname FROM c_member WHERE c_member_id = ?';
$params = array($u);
$my_info = db_get_row($sql, $params);
array_unshift($members, $my_info);
$id = $requests['target_id'];
$group = biz_getGroupData($id);
if ($u != $group['admin_id']) {
die('アクセスできません。');
}
foreach ($members as $key => $value) {
if (biz_isGroupMember($value['c_member_id'], $id)) {
$members[$key]['joined'] = true;
} else {
$members[$key]['joined'] = false;
}
}
$this->set('inc_navi', fetch_inc_navi('h'));
$this->set("c_invite_list", $members);
$this->set("group", $group);
$this->set("c_member_id", $u);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:29,代码来源:h_biz_group_edit.php
示例13: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$keyword = $requests['keyword'];
$page = $requests['page'];
$type = $requests['type'];
// ----------
//バグ回避のため全角空白を半角空白に統一
$keyword = str_replace(" ", " ", $keyword);
do_common_insert_search_log($u, $keyword);
$this->set('inc_navi', fetch_inc_navi('h'));
$page_size = 20;
$this->set('page', $page);
//検索結果
list($result, $is_prev, $is_next, $total_num, $start_num, $end_num) = db_commu_search_c_commu_topic($keyword, $page_size, $page, $type);
$this->set('c_commu_topic_search_list', $result);
$this->set('is_prev', $is_prev);
$this->set('is_next', $is_next);
$this->set('total_num', $total_num);
$this->set('start_num', $start_num);
$this->set('end_num', $end_num);
$this->set('keyword', $keyword);
$search_val_list = array('type' => $type);
$this->set('search_val_list', $search_val_list);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:27,代码来源:h_com_topic_find_all.php
示例14: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_member_id = $requests['target_c_member_id'];
// ----------
if (db_member_is_access_block($u, $target_c_member_id)) {
openpne_redirect('pc', 'page_h_access_block');
}
if ($target_c_member_id == $u) {
handle_kengen_error();
}
//アクティブメンバーか
if (!db_member_is_active_c_member_id($target_c_member_id)) {
handle_kengen_error();
}
//お気に入り登録済みメンバーか
if (db_bookmark_is_bookmark($u, $target_c_member_id)) {
$p = array('c_member_id_to' => $target_c_member_id);
openpne_redirect('pc', 'page_f_bookmark_add_err_already', $p);
}
$this->set('inc_navi', fetch_inc_navi('f', $target_c_member_id));
$c_member = db_member_c_member_with_profile($target_c_member_id);
$c_member['last_login'] = p_f_home_last_login4access_date($c_member['access_date']);
$this->set('c_member', $c_member);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:27,代码来源:f_bookmark_add.php
示例15: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$c_commu_topic_comment_id = $requests['target_c_commu_topic_comment_id'];
// ----------
$c_commu_topic_comment = db_commu_c_commu_topic_comment4c_commu_topic_comment_id_3($c_commu_topic_comment_id);
$c_commu_id = $c_commu_topic_comment['c_commu_id'];
$c_commu_topic_id = $c_commu_topic_comment['c_commu_topic_id'];
$c_commu = db_commu_c_commu4c_commu_id($c_commu_id);
//--- 権限チェック
if (!db_commu_is_c_commu_view4c_commu_idAc_member_id($c_commu_id, $u)) {
handle_kengen_error();
}
$status = db_common_commu_status($u, $c_commu_id);
if (!$status['is_commu_admin'] && $c_commu_topic_comment['c_member_id'] != $u) {
handle_kengen_error();
}
//---
$this->set('inc_navi', fetch_inc_navi("c", $c_commu_id));
$this->set('c_commu_id', $c_commu_id);
$this->set('c_commu_topic_id', $c_commu_topic_id);
$this->set('c_commu_topic_comment', $c_commu_topic_comment);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:25,代码来源:c_event_write_delete_confirm.php
示例16: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$keyword = $requests['keyword'];
$category = $requests['category'];
$orderby = $requests['orderby'];
$page = $requests['page'];
// ----------
$page_size = 20;
$this->set('inc_navi', fetch_inc_navi("h"));
$this->set('category_disp', do_review_review_add_category_disp());
$this->set('category', $category);
$this->set('keyword', $keyword);
$this->set('orderby', $orderby);
list($result, $is_prev, $is_next, $total_num, $start_num, $end_num) = db_review_search_result4keyword_category($keyword, $category, $orderby, $page, $page_size);
$this->set('result', $result);
$this->set("is_prev", $is_prev);
$this->set("is_next", $is_next);
$this->set("page", $page);
$this->set("total_num", $total_num);
$this->set('start_num', $start_num);
$this->set('end_num', $end_num);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:25,代码来源:h_review_search.php
示例17: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$target_c_member_id = $requests['target_c_member_id'];
// ----------
if (is_null($target_c_member_id)) {
$target_c_member_id = $u;
}
if (db_member_is_access_block($u, $target_c_member_id)) {
openpne_redirect('pc', 'page_h_access_block');
}
// navi 振り分け用
if ($target_c_member_id == $u) {
$type = "h";
} else {
$type = "f";
}
$this->set('inc_navi', fetch_inc_navi($type, $target_c_member_id));
//自分情報
$this->set("member", db_member_c_member4c_member_id($u));
//ターゲット情報
$this->set("target_member", db_member_c_member4c_member_id($target_c_member_id));
if ($target_c_member_id == $u) {
$raw_c_friend_comment_list = db_friend_intro_list_with_my_intro4c_member_id($target_c_member_id);
} else {
$raw_c_friend_comment_list = db_friend_intro_list4c_member_id($target_c_member_id);
}
$c_friend_comment_list = $raw_c_friend_comment_list;
//紹介文達
$this->set("intro_list", $c_friend_comment_list);
//---- ページ表示 ----//
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:34,代码来源:fh_intro.php
示例18: execute
function execute($requests)
{
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$c_commu_topic_id = $requests['target_c_commu_topic_id'];
$c_member_ids = $requests['c_member_id'];
$body = $requests['body'];
// ----------
if (!$c_member_ids) {
$p = array('target_c_commu_topic_id' => $c_commu_topic_id);
openpne_redirect('pc', 'page_c_event_mail', $p);
}
$c_topic = db_commu_c_topic4c_commu_topic_id_2($c_commu_topic_id);
$c_commu_id = $c_topic['c_commu_id'];
//--- 権限チェック
if (!db_commu_is_c_commu_view4c_commu_idAc_member_id($c_commu_id, $u)) {
handle_kengen_error();
}
if (!db_commu_is_c_event_admin($c_commu_topic_id, $u) && !db_commu_is_c_commu_admin($c_commu_id, $u)) {
handle_kengen_error();
}
if (in_array($u, $c_member_ids)) {
handle_kengen_error();
}
//---
$this->set('c_commu', db_commu_c_commu4c_commu_id($c_commu_id));
$this->set('inc_navi', fetch_inc_navi('c', $c_commu_id));
$this->set('c_mail_member', db_commu_c_event_mail_confirm_list4c_member_ids($c_member_ids));
$this->set('body', $body);
$this->set('c_member_ids', implode(',', $c_member_ids));
$this->set("c_commu_id", $c_commu_id);
$this->set("c_commu_topic_id", $c_commu_topic_id);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:34,代码来源:c_event_mail_confirm.php
示例19: execute
function execute($requests)
{
if (!OPENPNE_USE_ALBUM) {
handle_kengen_error();
}
$u = $GLOBALS['AUTH']->uid();
// --- リクエスト変数
$form_val['image_description1'] = $requests['image_description1'];
$form_val['image_description2'] = $requests['image_description2'];
$form_val['image_description3'] = $requests['image_description3'];
$form_val['image_description4'] = $requests['image_description4'];
$form_val['image_description5'] = $requests['image_description5'];
$target_c_album_id = $requests['target_c_album_id'];
//--- 権限チェック
$album = db_album_get_c_album4c_album_id($target_c_album_id);
if ($album['c_member_id'] != $u) {
handle_kengen_error();
}
$this->set('inc_navi', fetch_inc_navi("h"));
$c_album = db_album_get_c_album4c_album_id($target_c_album_id);
$this->set('album_subject', $c_album['subject']);
$this->set('target_c_album_id', $target_c_album_id);
$this->set("form_val", $form_val);
//写真データ一時ファイル削除
$sessid = session_id();
t_image_clear_tmp($sessid);
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:28,代码来源:h_album_image_add.php
示例20: execute
function execute($requests)
{
//ブックマークフィードしない
if (!USE_BOOKMARK_FEED) {
openpne_redirect('pc', 'page_h_home');
}
// --- リクエスト変数
$page = $requests['page'];
// ----------
$u = $GLOBALS['AUTH']->uid();
$this->set('inc_navi', fetch_inc_navi('h'));
//日記一覧
$page_size = 50;
$this->set('page_size', $page_size);
$lst = db_bookmark_diary_list_with_pager($u, $page_size, $page);
$this->set('bookmark_diary_list', $lst[0]);
$this->set('is_prev', $lst[1]);
$this->set('is_next', $lst[2]);
$this->set('total_num', $lst[3]);
$this->set('page', $page);
$pager = array();
$pager['start'] = $page_size * ($page - 1) + 1;
if (($pager['end'] = $page_size * $page) > $lst[3]) {
$pager['end'] = $lst[3];
}
$this->set('pager', $pager);
if ($page == 1) {
//お気に入りの最新ブログ
$this->set('bookmark_blog_list', db_bookmark_blog_list($u, 10));
}
return 'success';
}
开发者ID:KimuraYoichi,项目名称:PukiWiki,代码行数:32,代码来源:h_bookmark_diary_blog_list.php
注:本文中的fetch_inc_navi函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论