?> <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
?> <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
?> <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>
?> <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>
} } </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">
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
?> <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>
?> <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
?> <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
/** * 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); }
/** * 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); } }
<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; ?>