Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: fLap klausimukai [katik dar vienas klausimuks]

Parašė fLap· 2010 Vas. 16 15:02:17
#42

Jei galite pataisykite pilnai..

// Freundschaftssystem v.1.0 BETA>

if ($userdata['user_id'] = $lookup AND $userdata['user_id'] = '') {

echo "<br><center> <a href='profile.php?lookup=$lookup&buddy=I'> friendship offer </a> </center>";

}

echo " <br><center>friendship offer</center>";


$date = time ();

if ($userdata['user_id'] = "") (

$result_from = dbquery ("SELECT * FROM". $db_prefix. "buddys WHERE buddy_from =".$userdata ['user_id']." AND buddy_to = $ lookup")



)

if ($data_from ['buddy_id'] = "" AND $buddy = "") {

$result = dbquery ("INSERT INTO ". $db_prefix. "buddys (buddy_id, buddy_from, buddy_to, buddy_date, buddy_status) VALUES ('','".$userdata ['user_id']."',' $lookup ', '$date','1')");

fallback ("profile.php?lookup = $lookup");

}

// Freundschaftssystem v.1.0 BETA <