当前位置: 首页>>代码示例>>PHP>>正文


PHP getBoardDetails函数代码示例

本文整理汇总了PHP中getBoardDetails函数的典型用法代码示例。如果您正苦于以下问题:PHP getBoardDetails函数的具体用法?PHP getBoardDetails怎么用?PHP getBoardDetails使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getBoardDetails函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: site_url

                ?>
                                    <a href="<?php 
                echo site_url('user/index/' . $boardPinValue->user_id);
                ?>
" class="convo_img">
                                        <img src="<?php 
                echo $userDetails['image'];
                ?>
" alt="user" />
                                    </a>
                                    <p>
                                        <?php 
                $source = GetDomain($boardPinValue->source_url);
                ?>
                                        <?php 
                $boardDetails = getBoardDetails($boardPinValue->board_id);
                ?>
                                        <a href="<?php 
                echo site_url('user/index/' . $boardPinValue->user_id);
                ?>
"><?php 
                echo $userDetails['name'];
                ?>
</a>
                                        <?php 
                if ($boardPinValue->source_url != "") {
                    ?>
                                            Via <a target="_blank" href="<?php 
                    echo $boardPinValue->source_url;
                    ?>
"><?php 
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:allpins_view.php

示例2: site_url

                ?>
                                <a href="<?php 
                echo site_url('user/index/' . $activityValue->user_id);
                ?>
" class="convo_img">
                                    <img src="<?php 
                echo $userDetails['image'];
                ?>
" alt="cogzidel" />
                                </a>
                                <p>
                                    <?php 
                $source = GetDomain($activityValue->source_url);
                ?>
                                    <?php 
                $boardDetails = getBoardDetails($activityValue->board_id);
                ?>
                                    <a href="<?php 
                echo site_url('user/index/' . $activityValue->user_id);
                ?>
"><?php 
                echo $userDetails['name'];
                ?>
</a>
                                     <?php 
                if ($activityValue->source_url != "") {
                    ?>
                                        Via <a target="_blank" href="<?php 
                    echo $activityValue->source_url;
                    ?>
"><?php 
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:activity_view.php

示例3: site_url

        ?>
                            <a href="<?php 
        echo site_url('user/index/' . $searchResultValue->user_id);
        ?>
" class="convo_img">
                                <img src="<?php 
        echo $userDetails['image'];
        ?>
" alt="cogzidel" />
                            </a>
                            <p>
                                <?php 
        $gift = GetDomain($searchResultValue->pin_url);
        ?>
                                <?php 
        $boardDetails = getBoardDetails($searchResultValue->board_id);
        ?>
                                <a href="<?php 
        echo site_url('user/index/' . $searchResultValue->user_id);
        ?>
"><?php 
        echo $userDetails['name'];
        ?>
</a>
                                Via <a target="_blank" href="<?php 
        echo $searchResultValue->pin_url;
        ?>
"><?php 
        echo $gift;
        ?>
</a>
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:search_pin_view.php

示例4: site_url

        ?>
                            <a href="<?php 
        echo site_url('user/index/' . $sourcePinValue->user_id);
        ?>
" class="convo_img">
                                <img src="<?php 
        echo $userDetails['image'];
        ?>
" alt="cogzidel" />
                            </a>
                            <p>
                                <?php 
        $source = GetDomain($sourcePinValue->source_url);
        ?>
                                <?php 
        $boardDetails = getBoardDetails($sourcePinValue->board_id);
        ?>
                                <a href="<?php 
        echo site_url('user/index/' . $sourcePinValue->user_id);
        ?>
"><?php 
        echo $userDetails['name'];
        ?>
</a>
                                Via <a target="_blank" href="<?php 
        echo $sourcePinValue->source_url;
        ?>
"><?php 
        echo $source;
        ?>
</a>
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:videopins_view.php

示例5: getBoardFollowers

    }
}
</script>

<?php 
$userFollows = getBoardFollowers($boardId);
?>
<div class="white_strip"></div>
<div class="middle-banner_bg"><!-- staing middlebanner -->

    <!-- Display the information about the page-->
    <div class="info_bar">
        <div class="left">
            <div class="right">
                <?php 
$boardDetails = getBoardDetails($boardId);
?>
                <?php 
$userDetails = userDetails($boardDetails->user_id);
?>
                <div class="mid">
                    <div id="info"><label>Followers of the board <?php 
echo $boardDetails->board_name;
?>
</label></div>
                </div>
            </div>
        </div>
    </div>
    <div id="Container" style="margin-left: 250px;">
        <div id="alpha" class="container Mcenter clearfix transitions-enabled">
开发者ID:selbachgra,项目名称:http-localhost-42675,代码行数:31,代码来源:board_followers.php

示例6: foreach

 Repins </h3>
                    <ul class="repin_itembox_style">
                        <?php 
if ($repinUsers) {
    ?>
                            <?php 
    foreach ($repinUsers as $key => $value) {
        ?>
                                <?php 
        $userDetails = userDetails($value->repin_user_id);
        ?>
                                <?php 
        $repinDetails = getPinDetails($value->new_pin_id);
        ?>
                                <?php 
        $repinBoardDetails = getBoardDetails($repinDetails->board_id);
        ?>
                                <li id="addrepin_<?php 
        echo $value->repin_user_id;
        ?>
">
                                    <div class="repin_itembox">
                                        <div class="inside_repin_thumbs"><a href="<?php 
        echo site_url('user/index/' . $userDetails['userId']);
        ?>
"><img src="<?php 
        echo $userDetails['image'];
        ?>
" width="49px" height="49px" /></a></div>
                                        <div class="onto_div">
                                            <p><a href="<?php 
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:pinpage_view.php

示例7: site_url

    ?>
                <a href="<?php 
    echo site_url('user/index/' . $value->user_id);
    ?>
" class="convo_img">
                    <img src="<?php 
    echo $userDetails['image'];
    ?>
" alt="cogzidel" />
                </a>
                <p>
                    <?php 
    $source = GetDomain($value->source_url);
    ?>
                    <?php 
    $boardDetails = getBoardDetails($value->board_id);
    ?>
                    <a href="<?php 
    echo site_url('user/index/' . $value->user_id);
    ?>
"><?php 
    echo $userDetails['name'];
    ?>
</a>
                    Via <a href="<?php 
    echo $value->source_url;
    ?>
"><?php 
    echo $source;
    ?>
</a>
开发者ID:selbachgra,项目名称:http-localhost-42675,代码行数:31,代码来源:board_view_pinfull.php

示例8: site_url

        ?>
                            <a href="<?php 
        echo site_url('user/index/' . $giftPinValue->user_id);
        ?>
" class="convo_img">
                                <img src="<?php 
        echo $userDetails['image'];
        ?>
" alt="cogzidel" />
                            </a>
                            <p>
                                <?php 
        $gift = GetDomain($giftPinValue->source_url);
        ?>
                                <?php 
        $boardDetails = getBoardDetails($giftPinValue->board_id);
        ?>
                                <a href="<?php 
        echo site_url('user/index/' . $giftPinValue->user_id);
        ?>
"><?php 
        echo $userDetails['name'];
        ?>
</a>
                                <?php 
        if ($giftPinValue->source_url != "") {
            ?>
                                    Via <a target="_blank" href="<?php 
            echo $giftPinValue->source_url;
            ?>
"><?php 
开发者ID:selbachgra,项目名称:http-localhost-42675,代码行数:31,代码来源:gift_view.php

示例9: site_url

            ?>
                                <a href="<?php 
            echo site_url('user/index/' . $likeValue->user_id);
            ?>
" class="convo_img">
                                    <img src="<?php 
            echo $userDetails['image'];
            ?>
" alt="cogzidel" />
                                </a>
                                <p>
                                    <?php 
            $source = GetDomain($likeValue->source_url);
            ?>
                                    <?php 
            $boardDetails = getBoardDetails($likeValue->board_id);
            ?>
                                    <a href="<?php 
            echo site_url('user/index/' . $likeValue->user_id);
            ?>
"><?php 
            echo $userDetails['name'];
            ?>
</a>
                                    <?php 
            if ($likeValue->source_url != "") {
                ?>
                                        Via <a target="_blank" href="<?php 
                echo $likeValue->source_url;
                ?>
"><?php 
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:like_view.php

示例10: saveFollowUnfollow

 /**
  * Function to save the follow/unfollw a single board using ajax
  * @param  :
  * @param  : <string> $follow_type
  * @author : Vishal
  * @since  : 14-05-2012
  * @return
  */
 function saveFollowUnfollow()
 {
     $arrayFollow['user_id'] = $this->session->userdata('login_user_id');
     $arrayFollow['is_following'] = $this->input->post('is_following');
     $arrayFollow['is_following_board_id'] = $this->input->post('is_following_board_id');
     if ($this->input->post('action') == 'follow') {
         $boardDetails = getBoardDetails($this->input->post('is_following_board_id'));
         $activity = array('user_id' => $this->session->userdata('login_user_id'), 'log' => "Following the board " . $boardDetails->board_name, 'type' => "follow_board", 'action_id' => $this->input->post('is_following_board_id'));
         activityList($activity);
         $this->action_model->saveFollow($arrayFollow);
     } else {
         $boardDetails = getBoardDetails($this->input->post('is_following_board_id'));
         $activity = array('user_id' => $this->session->userdata('login_user_id'), 'log' => "Unfollows the board " . $boardDetails->board_name, 'type' => "follow_board", 'action_id' => $this->input->post('is_following_board_id'));
         activityList($activity);
         $this->action_model->saveUnFollow($arrayFollow);
     }
     echo json_encode(true);
 }
开发者ID:selbachgra,项目名称:http-localhost-42675,代码行数:26,代码来源:follow.php

示例11: pins

 /**
  * Function to display the induvidual post from board id and pin id
  * @param  : $boardId,$pinId
  * @author : Vishal
  * @since  : 02-04-2012
  * @return
  */
 function pins($boardId, $pinId, $action = false)
 {
     $data['title'] = 'Pin page';
     $data['boardId'] = $boardId;
     $data['pinId'] = $pinId;
     $pinDetails = getPinDetails($pinId, $boardId);
     $userDetails = userDetails($pinDetails->user_id);
     $boardDetails = getBoardDetails($boardId);
     $data['title'] = 'Pin by ' . $userDetails['name'] . ' on ' . $boardDetails->board_name . ' | Craftiana ';
     if ($action == 'view') {
         $this->load->view('pinpage_view', $data);
     } else {
         $this->sitelogin->entryCheck();
         $this->load->view('pinpage_normal', $data);
     }
 }
开发者ID:shimondoodkin,项目名称:cubetboard,代码行数:23,代码来源:board.php

示例12: getBoardDetails

<div class="fancybox-bg" id="fancybox-bg-e"></div>
<div class="fancybox-bg" id="fancybox-bg-se"></div>
<div class="fancybox-bg" id="fancybox-bg-s"></div>
<div class="fancybox-bg" id="fancybox-bg-sw"></div
><div class="fancybox-bg" id="fancybox-bg-w"></div>
<div class="fancybox-bg" id="fancybox-bg-nw"></div>
<div style="border-width: 10px; width: 580px; height: auto;" id="fancybox-content">
    <div style="width: auto; height: auto; overflow: auto; position: relative;">
        <div id="Repin_Pop" class="Pop_Up_Blk">
            <h2>Edit Board</h2>
            <div class="pop_content">
                <div id="pop_content">
                    <div class="right clsFloatRight" style="float: left;width: auto;">
                        <div id="edit_user">
                            <?php 
$result = getBoardDetails($id);
?>
                            <table>
                                <tr>
                                    <td><label>Name</label></td>
                                    <td><input type="text" name="board_name" value="<?php 
echo $result->board_name;
?>
" id="board_name" /></td>
                                    <td><div id="error_name" class="validation-message"></div></td>
                                </tr>
                                <tr>
                                    <td><label>Description</label></td>
                                    <td><textarea rows="2" name="description" maxlength="500" id="description" cols="40" class="expand autocomplete_desc" style="width:316px;height: 31px;"><?php 
echo $result->description;
?>
开发者ID:alokthakur142,项目名称:CMPE-203-Pinterest-Like-WebApplication,代码行数:31,代码来源:admin_board_edit.php


注:本文中的getBoardDetails函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。