Pm to all friends

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pm to all friends

    here is small php code for pm..


    inbox.php
    PHP Code:

    if($action=="prijatelji")
    {
      
    addonline(getuid_sid($sid),"Salje PP za sve svoje prijatelje","");
      echo 
    "<card id=\"main\" title=\"Serbian world - Salji PP\">";
      echo 
    "<p align=\"center\">";
      
    $whonick getnick_uid($who);
      echo 
    "Posalji PP za sve svoje prijatelje<br/><br/>";
      echo 
    "<input name=\"pmtext\" maxlength=\"500\"/><br/>";
      echo 
    "<anchor>Posalji<go href=\"inbxproc.php?action=prijatelji&amp;who=$who&amp;sid=$sid\" method=\"post\">";
      echo 
    "<postfield name=\"pmtext\" value=\"$(pmtext)\"/>";
      echo 
    "</go></anchor><br/><br/>";
      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/>";
    echo 
    "Pocetna</a><br/>Created by HartMann";
      echo 
    "</p>";
        echo 
    "</card>"

    inbxproc.php
    PHP Code:

    if($action=="prijatelji")
    {
      echo 
    "<card id=\"main\" title=\"Serbian World - Poruka poslata\">";
      echo 
    "<p align=\"center\">";
        
    $byuid getuid_sid($sid);
    $whonick getnick_uid($who);
    $lastpm mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
    $pms mysql_query("SELECT uid FROM ibwf_buddies WHERE tid='$byuid'");
    $tm time();
    while(
    $pm=mysql_fetch_array($pms))
    {
    mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."[br/]ovu poruku sam poslao/la svim svojim prijateljima.', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
    }

    $pmk mysql_query("SELECT tid FROM ibwf_buddies WHERE uid='$byuid'");
    while(
    $pm1=mysql_fetch_array($pmk))
    {
    mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."[br/]Ovu poruku sam poslao/la svim prijateljima..', byuid='".$byuid."', touid='".$pm1[0]."', timesent='".$tm."'");
    }

    echo 
    "Poruka uspesno poslata!<br/> ";

      echo 
    "<br/><br/><a href=\"inbox.php?action=main&amp;sid=$sid\">Back to inbox</a><br/>";
      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/>";
    echo 
    "Pocetna</a>";
      echo 
    "</p>";
        echo 
    "</card>";

    http://www.youtube.com/watch?v=vsLkpcFKbOk

    #2
    :d yes you make the spammers job verry easy

    Comment


      #3
      lol..add if plusses < 1000
      echo f+ck,u can send pm!
      else
      code here
      http://www.youtube.com/watch?v=vsLkpcFKbOk

      Comment


        #4
        Originally posted by slayder View Post
        :d yes you make the spammers job verry easy
        Thanks for code Rapper. If we want, we use, if not, we dont use it.
        mysterio.al - programming is a functional art

        Comment


          #5
          Originally posted by slayder View Post
          :d yes you make the spammers job verry easy
          spammers will definitely win
          http://myfacepals.com
          MYFACEPALS SOCIAL NETWORKsigpic

          Comment


            #6
            But he need it to add many members LoL! btw thanks
            Did I help you?
            You can help me too
            Your donations will help me finance my studies.

            Comment


              #7
              Very good for free advertisement in some sites, please add that function :D
              OR JUST SEND PM

              Comment


                #8
                use tool of opticalpignon delete inbox in admin panel :P
                http://www.youtube.com/watch?v=vsLkpcFKbOk

                Comment


                  #9
                  translate in XHTML..
                  sigpicthe italian/international COMMUNITY of friendship
                  http://people2000.netne.net
                  WAP/WEB
                  peoplemailbox@katamail.com

                  Comment


                    #10
                    read wml to xhtml tutorial :D
                    http://www.youtube.com/watch?v=vsLkpcFKbOk

                    Comment


                      #11
                      pm to all member

                      i hv a script of pm to all member bt it is xhtml if u need u can contact with me

                      Comment


                        #12
                        Originally posted by sklbd View Post
                        i hv a script of pm to all member bt it is xhtml if u need u can contact with me
                        mate i dont want to pay small codes...and i have that code.
                        http://www.youtube.com/watch?v=vsLkpcFKbOk

                        Comment


                          #13
                          Originally posted by sklbd View Post
                          i hv a script of pm to all member bt it is xhtml if u need u can contact with me
                          i think Rapper posted the code for begginers. For others it is not hard to do it.
                          mysterio.al - programming is a functional art

                          Comment


                            #14
                            yes,i posted this for begginers..and i am begginer.
                            http://www.youtube.com/watch?v=vsLkpcFKbOk

                            Comment


                              #15
                              Originally posted by sladex View Post
                              Very good for free advertisement in some sites, please add that function :D
                              i wudnt say that if i was u
                              Want something coded email me at sales@webnwaphost.com for a prices.




                              Comment

                              Working...
                              X