anybody hv this code?
Pm to all club member
Started on the old forum in February 2011 · view the original in the archive · old links redirect here
I dont have time copy and paste this code and i dont have time to edit lavascript again. Download old retrivewap script and copy the action==pmallmember and paste to here. I will secure it 4 u. Or use if() state to secure it.
E.g
if($clubowner==$uid)
{
pm form here lol!
}els{
what are u doing here, when you are not the club owner. **** you stop kidding adex3g, stupid hacker/cracker
}
but is better to paste it here, so i will help.
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
code it by ur self.. because all of us dont know the SQL fields of your database
adex3g is correct IF condition
and you put your code inside of that condition 🙂
if($clubowner==$uid) { // you need to use INNER JOIN sql command to combine the 2 table ibwf_private and ibwf_clubmember
mysql_query("INSERT INTO ibwf_private SET touid='".$variable."', byuid='".$clubowner."', timesend=''".time()."' "); }els{ what are u doing here, when you are not the club owner. **** you stop kidding adex3g, stupid hacker/cracker }
adex3g wrote: I dont have time copy and paste this code and i dont have time to edit lavascript again. Download old retrivewap script and copy the action==pmallmember and paste to here. I will secure it 4 u. Or use if() state to secure it.
E.g
if($clubowner==$uid) { pm form here lol! }els{ what are u doing here, when you are not the club owner. **** you stop kidding adex3g, stupid hacker/cracker }but is better to paste it here, so i will help.
leadiztah wrote: code it by ur self.. because all of us dont know the SQL fields of your database
adex3g is correct IF condition
and you put your code inside of that condition 🙂
if($clubowner==$uid) { // you need to use INNER JOIN sql command to combine the 2 table ibwf_private and ibwf_clubmember
mysql_query("INSERT INTO ibwf_private SET touid='".$variable."', byuid='".$clubowner."', timesend=''".time()."' "); }els{ what are u doing here, when you are not the club owner. **** you stop kidding adex3g, stupid hacker/cracker }
Do you see what i see lol
Tell me whats wrong in this picture ??
What error did you both make ??
Other coders leave it upto this newbies they need to learn how to code.
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
// in club index add :
if($clinfo['owner'] == $uid)
echo '<a href="index.php?action=clubpm&sid='.$sid.'&clubid='.$clid.'">Pm to all members</a>';
//in index.php
else if($action == 'clubpm')
{
$clubid = (int)$_GET['clubid'];
$info = mysql_fetch_row(mysql_query("SELECT owner FROM ibwf_clubs WHERE id='".$clubid."'"));
addonline(getuid_sid($sid),'Admin','');
echo '<card id="main" title="club">';
echo '<p align="center">';
if($info[0] == '' || $info[0] != $uid){
echo 'This club dont exist or u arent the club owner.';
}else{
if(!isset($_POST['text']) && $_POST['text'] == ''){
echo 'Pm text: <input name="text" maxlength="30"/><br/>';
echo '<anchor>Send';
echo '<go href=\"index.php?action=clubpm&sid='.$sid.'&clubid='.$clubid.'" method="post">';
echo "<postfield name=\"text\" value=\"$(text)\"/>";
echo '</go></anchor>';
}else{
$sql = mysql_query("SELECT uid FROM ibwf_clubmembers WHERE clid='".$clubid."' AND accepted='1'");
$no = 0;
while($user = mysql_fetch_assoc($sql)){
$sent = autopm(mysql_real_escape_string($_POST['text'],$user['uid']);
if($sent)$no++;
}
if($no > 0) echo 'Pm sent to '.$no.' member'.($no < 2?'':'s').'<br/>'; else echo 'Error. Try again later.';
}
}
echo '<a href="index.php?action=main&sid='.$sid.'">Home</a>';
echo '</p>';
echo '</card>';
}
Ps: autopm function must be already defined in core.php 😛 PS2: This wasnt tested;))
subzero wrote: Do you see what i see lol
Tell me whats wrong in this picture ??
What error did you both make ??
Other coders leave it upto this newbies they need to learn how to code.
i think one mistake is
}els{
wich should b
}else{
and another one is
action==pmallmember
should b like this
(action=="pmallmember")
is that what you mean :-?
skils are gained by practis http://myguruworld.com/