Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reik pagalbos sujungiant paneles
Parašė newlifeboy· 2010 Vas. 28 10:02:19
#1
Sveiki , gal kas galit sujunkt šitas 3 paneles į vieną ir apačioi padaryt vieta tekstui apačioi va kodas:
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://www.tavosaitas.lt/invite.....$userdata['user_id'];
closeside();
}
if(iMEMBER) {
$result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
openside("Pakvietei");
echo "Tu jau pakvietęs <b>$result</b> draugus";
closeside();
}
openside("Daugiausiai pakvietė");
$result = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
closeside();
Redagavo newlifeboy· 2010 Vas. 28 10:02:57
Parašė newlifeboy· 2010 Vas. 28 18:02:11
#2
negi nieks negali sujunkt nes aš kai sujungiu visas web išsikraipo ...
Parašė edeni· 2010 Vas. 28 18:02:42
#3
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://tavosaitas.lt/invite.php?....$userdata['user_id']."";
$result1 = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result1)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
$result2 = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
openside("Pakvietei");
echo "Tu jau pakvietęs <b>$result2</b> draugus";
closeside();
}
Nemeginau ar veikia, bet pamegink.
Redagavo edeni· 2010 Vas. 28 19:02:02
Parašė newlifeboy· 2010 Vas. 28 19:02:26
#4
blogai kaž kas nes net nerodo paneles
Parašė edeni· 2010 Vas. 28 19:02:59
#5
O kai atsijungi rodo ?
Parašė newlifeboy· 2010 Vas. 28 19:02:50
#6
tai vat as sujungiau tas tris paneles kai prisijungi rodo normaliai jas sujungtas o kai atsijungi visas vaizdas issikraipo o pas tave is vis nieko nerodo
Parašė edeni· 2010 Vas. 28 19:02:44
#7
O tai kai prisijungi jas rodo ar ne ?
Parašė newlifeboy· 2010 Vas. 28 19:02:38
#8
ne ir kai atsijungi ir kai prisijungi ne , o turi but tai atsijungus tik topa rodyt o prisijungus pakvietimo nuoruoda ir kiek pakvietei ir topa
Redagavo newlifeboy· 2010 Vas. 28 19:02:20
Parašė newlifeboy· 2010 Vas. 28 19:02:52
#9
ne ir kai atsijungi ir kai prisijungi ne , o turi but tai atsijungus tik topa rodyt o prisijungus pakvietimo nuoruoda ir kiek pakvietei ir topa
Parašė edeni· 2010 Vas. 28 19:02:41
#10
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://tavosaitas.lt/invite.php?....$userdata['user_id']."";
$result1 = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result1)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
$result2 = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
openside("Pakvietei");
echo "Tu jau pakvietęs <b>$result2</b> draugus";
closeside();
}else{
openside("Daugiausiai pakvietė");
$result1 = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result1)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
closeside();
}
Pamegink
Redagavo edeni· 2010 Vas. 28 19:02:52
Parašė newlifeboy· 2010 Vas. 28 19:02:53
#11
edeni parašė:
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://tavosaitas.lt/invite.php?....$userdata['user_id']."";
$result1 = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result1)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
$result2 = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
openside("Pakvietei");
echo "Tu jau pakvietęs <b>$result2</b> draugus";
closeside();
}else{
openside("Daugiausiai pakvietė");
$result1 = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result1)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr> ";
}
echo "</table>";
closeside();
}
Pamegink
nerodo ...
Parašė edeni· 2010 Vas. 28 19:02:56
#12
Nu tada nežinau ko tu išvis nori :|
Parašė newlifeboy· 2010 Vas. 28 19:02:10
#13
na va tada pabandyk ištaisyt šį bug va kodas jau sujungtos mano bandymu paneles
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://www.ledfm.lt/invite.php?i....$userdata['user_id'];
}
if(iMEMBER) {
$result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
echo "<br>Tu jau pakvietжs <b>$result</b> draugus";
}
$result = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr>";
}
echo "</table>";
closeside();
pažiūrėt gali kas per bug
http://ledfm.lt o prisijungus login nick test pass testeris pamatysi kad normaliai atrodo tai kame čia bug pabandyt gali ištaisyt ?
Parašė newlifeboy· 2010 Vas. 28 19:02:56
#14
na va tada pabandyk ištaisyt šį bug va kodas jau sujungtos mano bandymu paneles
if(iMEMBER) {
openside("Pakviesk draugа, per savo nuorodа");
echo "Tavo nuoroda: http://www.ledfm.lt/invite.php?i....$userdata['user_id'];
}
if(iMEMBER) {
$result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'"));
echo "<br>Tu jau pakvietжs <b>$result</b> draugus";
}
$result = dbquery("SELECT * FROM `".DB_PREFIX."invites` GROUP by `invite_user_id` ORDER by COUNT(*) DESC LIMIT 5");
echo "<table class='tbl-border' width='100%'>";
while ($data = dbarray($result)) {
$time = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$data['invite_user_id']."'"));
$data2 = dbarray(dbquery("SELECT * FROM `".DB_PREFIX."users` WHERE `user_id`='".$data['invite_user_id']."'"));
echo "<tr><td class='tbl2' align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data2['user_id']."'
title='Perюiыrлti ".$data2['user_name']." profilб'>".$data2['user_name']."</a></td><td align='right' class='tbl1'>
$time</td></tr>";
}
echo "</table>";
closeside();
pažiūrėt gali kas per bug
http://ledfm.lt o prisijungus login nick test pass testeris pamatysi kad normaliai atrodo tai kame čia bug pabandyt gali ištaisyt ?