HULP nodig
http://www.fyver.nationvoice.com/dealer user:test pass:test en dit is hetsz ript op het moment.
nee dat is het niet ik krijg wel een titel en aanmelden etc maar de rest is gewoon wit IPV 'mijn' link te krijgen en account stats de site is Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?session_start();
include('include.php');
head();
if(!isset($_SESSION['memberid'])){
echo"U moet ingelogd zijn om uw stats te bekijken!";
}
else{
$query=mysql_query("SELECT * FROM users WHERE id='$memberid'");
while($object=mysql_fetch_object($query)){
echo"<table border=\"0\" width=\"50%\"><tr><td>";
echo"Uw url hosting te verkopen is: <input type=text size='40' value=\"http://www.fyver.nationvoice.com/dealer/koop.php?id=".$memberid."\"><br>";
echo"U heeft al <b>".$object->euro."</b> verdient.<br>";
echo"U heeft <b>".$object->glaasjes." hosting accounts</b> verkocht.<br>";
if($object->ref){
$query_referer=mysql_query("SELECT username FROM users WHERE id='$object->ref'");
while($object_referer=mysql_fetch_object($query_referer)){
echo"Uw referer is <b>".$object_referer->username."</b>.<br>";
}
}
else{echo"U heeft <b>geen</b> referer.<br>";}
$query_ref=mysql_query("SELECT * FROM users WHERE ref='$memberid'");
$referalls=mysql_num_rows($query_ref);
echo"U heeft <b>".$referalls." referalls</b>.<br>Uw ref's zijn:<br>";
while($object_ref = mysql_fetch_object($query_ref)){
echo$object_ref->username."<br>";
}
echo"</tr></td></table>";
}
}
foot();
include('include.php');
head();
if(!isset($_SESSION['memberid'])){
echo"U moet ingelogd zijn om uw stats te bekijken!";
}
else{
$query=mysql_query("SELECT * FROM users WHERE id='$memberid'");
while($object=mysql_fetch_object($query)){
echo"<table border=\"0\" width=\"50%\"><tr><td>";
echo"Uw url hosting te verkopen is: <input type=text size='40' value=\"http://www.fyver.nationvoice.com/dealer/koop.php?id=".$memberid."\"><br>";
echo"U heeft al <b>".$object->euro."</b> verdient.<br>";
echo"U heeft <b>".$object->glaasjes." hosting accounts</b> verkocht.<br>";
if($object->ref){
$query_referer=mysql_query("SELECT username FROM users WHERE id='$object->ref'");
while($object_referer=mysql_fetch_object($query_referer)){
echo"Uw referer is <b>".$object_referer->username."</b>.<br>";
}
}
else{echo"U heeft <b>geen</b> referer.<br>";}
$query_ref=mysql_query("SELECT * FROM users WHERE ref='$memberid'");
$referalls=mysql_num_rows($query_ref);
echo"U heeft <b>".$referalls." referalls</b>.<br>Uw ref's zijn:<br>";
while($object_ref = mysql_fetch_object($query_ref)){
echo$object_ref->username."<br>";
}
echo"</tr></td></table>";
}
}
foot();
Gewijzigd op 01/01/1970 01:00:00 door kevin vdm
account: test
passwoord: test
http://www.fyver.nationvoice.com/dealer
dit is het huidige stats script
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?session_start();
include('include.php');
head();
if(!isset($_SESSION['memberid'])){
echo"U moet ingelogd zijn om uw stats te bekijken!";
}
else{
$query=mysql_query("SELECT * FROM users WHERE id='$memberid'");
while($object=mysql_fetch_object($query)){
echo"<table border=\"0\" width=\"50%\"><tr><td>";
echo"Uw url hosting te verkopen is: <input type=text size='40' value=\"http://www.fyver.nationvoice.com/dealer/koop.php?id=".$memberid."\"><br>";
echo"U heeft al <b>".$object->euro."</b> verdient.<br>";
echo"U heeft <b>".$object->glaasjes." hosting accounts</b> verkocht.<br>";
if($object->ref){
$query_referer=mysql_query("SELECT username FROM users WHERE id='$object->ref'");
while($object_referer=mysql_fetch_object($query_referer)){
echo"Uw referer is <b>".$object_referer->username."</b>.<br>";
}
}
else{echo"U heeft <b>geen</b> referer.<br>";}
$query_ref=mysql_query("SELECT * FROM users WHERE ref='$memberid'");
$referalls=mysql_num_rows($query_ref);
echo"U heeft <b>".$referalls." referalls</b>.<br>Uw ref's zijn:<br>";
while($object_ref = mysql_fetch_object($query_ref)){
echo$object_ref->username."<br>";
}
echo"</tr></td></table>";
}
}
foot();
?>
include('include.php');
head();
if(!isset($_SESSION['memberid'])){
echo"U moet ingelogd zijn om uw stats te bekijken!";
}
else{
$query=mysql_query("SELECT * FROM users WHERE id='$memberid'");
while($object=mysql_fetch_object($query)){
echo"<table border=\"0\" width=\"50%\"><tr><td>";
echo"Uw url hosting te verkopen is: <input type=text size='40' value=\"http://www.fyver.nationvoice.com/dealer/koop.php?id=".$memberid."\"><br>";
echo"U heeft al <b>".$object->euro."</b> verdient.<br>";
echo"U heeft <b>".$object->glaasjes." hosting accounts</b> verkocht.<br>";
if($object->ref){
$query_referer=mysql_query("SELECT username FROM users WHERE id='$object->ref'");
while($object_referer=mysql_fetch_object($query_referer)){
echo"Uw referer is <b>".$object_referer->username."</b>.<br>";
}
}
else{echo"U heeft <b>geen</b> referer.<br>";}
$query_ref=mysql_query("SELECT * FROM users WHERE ref='$memberid'");
$referalls=mysql_num_rows($query_ref);
echo"U heeft <b>".$referalls." referalls</b>.<br>Uw ref's zijn:<br>";
while($object_ref = mysql_fetch_object($query_ref)){
echo$object_ref->username."<br>";
}
echo"</tr></td></table>";
}
}
foot();
?>
Waar word $memberid opgehaald?
CREATE TABLE kopers (
id bigint(255) unsigned NOT NULL auto_increment,
ip varchar(255) default NULL,
time bigint(255) unsigned default NULL,
verkoperid bigint(255) unsigned default NULL,
url varchar(255) default NULL,
PRIMARY KEY (id),
UNIQUE KEY id (id),
KEY id_2 (id)
) TYPE=MyISAM;
# --------------------------------------------------------
#
# Tabel structuur voor tabel `users`
#
CREATE TABLE users (
id bigint(255) unsigned NOT NULL auto_increment,
username varchar(255) default NULL,
email varchar(255) default NULL,
ref bigint(255) default '0',
refglaasjes bigint(255) unsigned NOT NULL default '0',
glaasjes bigint(255) unsigned default '0',
euro float default '0',
pass varchar(255) default NULL,
PRIMARY KEY (id),
KEY id (id)
) TYPE=MyISAM;
enig idee om men probleem op te lossen?