base = new userpage(); $this->visual = new visual($this->base); if ($this->base->userpageexists) $this->visual->title .= " - ".$this->base->userpageinfo->displayname; $this->visual->Header(); $this->content(); $this->visual->Footer(); } function content() { $perpage = 18; $page = (isset($_GET['page']) ? (int)$_GET['page'] : 1); $start = 0; if ($page) { $start = $perpage * ($page - 1); } else $page = 1; $followsYou = false; if (!$this->base->user->logged_in) base::whatislinkywinktext(); if ($this->base->userpageexists) { $this->base->userhead(); ?>
base->user->logged_in) if ($this->base->notifications) $this->base->notifications->removeNotificationNewFollow($this->base->userpageinfo->username); if (!$this->base->userpageinfo->private || $this->base->isFollowing || ($this->base->userpageinfo->userid == $this->base->user->id)) { $q = "SELECT userlinks.linkid, userlinks.linkurl, userlinks.linktitle, userlinks.userid, userlinks.comments, userlinks.linkimage, userlinks.linked, userlinks.winktoo FROM userlinks WHERE userlinks.userid = ".$this->base->userpageinfo->userid." ORDER BY linked DESC LIMIT ".$start.", ".$perpage; $r = DB::cxn()->query($q); $linkcount = $r->num_rows; $counter = 0; $linklist = array(); $urllist = array(); while ($row = $r->fetch_object()) { $linklist[] = $row; if ($this->base->user->logged_in && ($this->base->user->id != $row->userid)) { $urllist[] = $row->linkurl; } } if ($this->base->user->logged_in && sizeof($urllist)) { $userurls = array(); $q_checkwinktoo = "SELECT linkurl FROM userlinks WHERE userid = ".$this->base->user->id." AND linkurl IN ("."'".(implode("','", $urllist))."'".")"; $r_checkwinktoo = DB::cxn()->query($q_checkwinktoo); while ($row_checkwinktoo = $r_checkwinktoo->fetch_object()) { $userurls[] = $row_checkwinktoo->linkurl; } } $linktitlelength = 150; if ($GLOBALS['isMobile']) $linktitlelength = 130; ?>
Drag to Bookmarks: Wink It
Then click the bookmark to Wink the page you are visiting, adding the link to your page.
Follow Suggestions
User is Private. Requests to Follow must be approved.
No such user.