Codes Request

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

    Codes Request

    Who have the following codes to share An award space to give awards for members example are at world.2wap
    A code that show the lats 10 posts made
    A code to send pm to all members
    A code to give plusses to all members



    Post requests in proper forum and
    use search to find some posted codes

    #2
    very simple u can code all ...PM to all members can be find everywere 2.A code to give plusses to all members -- > to give at all members the same numb of + ? --> like pm only u dont use the ibwf_private table ...use the give + from staff and use it in this .....2 simple mane // etc :D
    Hate romains that take codes from here and tell to all that they had made that

    Comment


      #3
      <div class='quotetop'>QUOTE (Numb @ Dec 27 2008, 09:59 AM) <{POST_SNAPBACK}></div>
      Who have the following codes to share An award space to give awards for members example are at world.2wap
      A code that show the lats 10 posts made
      A code to send pm to all members
      A code to give plusses to all members



      Post requests in proper forum and
      use search to find some posted codes [/b]
      this in sef.php
      else if($action=="masss")
      {
      echo "<card id=\"main\" title=\"Cpanel ">";
      echo "<p align=\"center\">";
      echo "send mass 2 all
      ";
      echo "<input name=\"pmtext\" maxlength=\"500\"/>
      ";
      echo "<anchor>SEND<go href=\"seff.php?action=masss&amp;sid=$sid\" method=\"post\">";
      echo "<postfield name=\"pmtext\" value=\"$(pmtext)\"/>";
      echo "</go></anchor>

      ";
      echo "<a href=\"index.php?action=ownercp&amp;sid=$sid\"><im g src=\"images/admn.gif\" alt=\"*\"/>";
      echo "cpanel</a>
      ";
      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
      echo "Prim</a>";
      echo "</p>";
      echo "</card>";

      }
      ////////////////////
      else if($action=="masss")
      {
      $pmtext = $_POST["pmtext"];
      echo "<card id=\"main\" title=\"Cpanel ">";
      echo "<p align=\"center\">";
      echo "<img src=\"images/ok.gif\" alt=\"O\"/>Mass send succes:
      $pmtext

      ";
      $sql = "SELECT id, name FROM ibwf_users WHERE perm>&#39;".$online."&#39;";
      $items = mysql_query($sql);
      echo mysql_error();
      while ($item = mysql_fetch_array($items))
      {
      $trimite = $item[0];
      $nume = $item[1];
      $res = mysql_query("INSERT INTO ibwf_private SET text=&#39;".$pmtext."&#39;, byuid=&#39;1&#39;, touid=&#39;".$trimite."&#39;, timesent=&#39;".time()."&#39;");

      if($res)
      {
      echo "<img src=\"images/ok.gif\" alt=\"O\"/>$numesucces

      ";
      }else{
      echo "<img src=\"images/notok.gif\" alt=\"O\"/>Erorr

      ";
      }
      }
      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
      echo "home</a>";
      echo "</p>";
      echo "</card>";

      }
      //////try this:P to send pm 2 all

      Comment

      Working...
      X