YaWK  24.1
Yet another WebKit
friend-user.php File Reference

Go to the source code of this file.

Variables

 $hunted = $_POST['hunted']
 
if(!isset($db)) $uid = $_POST['uid']
 
 $userA = \YAWK\user::getUserNameFromID($db, $uid)
 
 $userB = $_POST['user']
 
if($sql=$db->query("SELECT id FROM {friends} WHERE friendA = '". $uid."' AND friendB = '". $hunted."' OR friendA = '". $hunted."' AND friendB = '". $uid."' AND confirmed = '1' AND aborted NOT LIKE '1'")) else
 

Variable Documentation

◆ $hunted

$hunted = $_POST['hunted']

Definition at line 15 of file friend-user.php.

◆ $uid

if (!isset( $db)) $uid = $_POST['uid']

Definition at line 14 of file friend-user.php.

◆ $userA

$userA = \YAWK\user::getUserNameFromID($db, $uid)

Definition at line 17 of file friend-user.php.

◆ $userB

$userB = $_POST['user']

Definition at line 16 of file friend-user.php.

◆ else

if ( $sql=$db->query("SELECT id FROM {friends} WHERE friendA = '". $uid."' AND friendB = '". $hunted."' OR friendA = '". $hunted."' AND friendB = '". $uid."' AND confirmed = '1' AND aborted NOT LIKE '1'")) else
Initial value:
{
echo \YAWK\alert::draw("danger", "Error!", "Some kind of error happened to the database. Please try again.","",4200)

Definition at line 60 of file friend-user.php.