/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to showinterest.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-14 01:38:42 UTC
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: gustav.hartvigsson@gmail.com-20130414013842-iaxddqxj5filzhkk
Added licensing information to some files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?PHP
 
2
/*
 
3
    ExtremeDating - a Hackathon 2013 project.
 
4
    Copyright (C) 2013 Gustav Hartvigsson <gustav.hartvigsson@gmail.com>
 
5
    Copyright (C) 2013 Daniel Johansson <maila@danieljohansson.nu>
 
6
 
 
7
 
 
8
    This program is free software: you can redistribute it and/or modify
 
9
    it under the terms of the GNU Affero General Public License as
 
10
    published by the Free Software Foundation, either version 3 of the
 
11
    License, or (at your option) any later version.
 
12
 
 
13
    This program is distributed in the hope that it will be useful,
 
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
    GNU Affero General Public License for more details.
 
17
 
 
18
    You should have received a copy of the GNU Affero General Public License
 
19
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
*/
2
21
if($profilename != $username) {
3
22
        $relationinfo = $db->query("SELECT * from dateInterests WHERE(user1='$username' AND user2='$profilename')");
4
23
        $relationquery = $relationinfo->fetchAll();