Gallery for adullts

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

    Gallery for adullts

    Hey i need help please i have my normal gallery in my site but now i want to add another gallery 2nd one in there but i wont it to be that only ppl 18 + can enter there if their profile is not updated or not 18 they cant enter the gallery who can help me please coz some ppl want to be naughty but the site have youngsters online also
    ________________
    Jacques
    jacques@gw-designs.co.za
    http://coding.biz.tm
    Come join and lets make it a place to learn all the noobies how to code
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

    #2
    lol
    ------->lavalair<------- lol


    you can add age just copy and paste where u see in forums part...

    You can see it you can do it!
    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...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      you can use the same gallery .just add a new column say "ADULT-YES-or-NO" to your existing table

      and rest of the part is just to pass the right sql query

      Comment


        #4
        PHP Code:
        ///////////////////////////////////in core
        function smalldick($sid)
        {
        $xpmyid getuid_sid($sid);
        $agex mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$xpmyid."'"));
        $age getage($agex[0]);
        if(
        $age>=18)
          {
            return 
        true;
          }else{
          return 
        false;
        }
        }

        /////////////////////////////////in gallery
        if(!smalldick($sid))
            {
                echo 
        "<card id=\"main\" title=\"Under 18 Years\">";
              echo 
        "<p align=\"center\">";
        $ideu getuid_sid($sid);
        $sexx mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$ideu."'"));
          if(
        $sexx[0]=='M')
          {
            
        $sex "dick";
          }else if(
        $sexx[0]=='F'){
            
        $sex "pussy";
          }else{
            
        $sex "dick";
          }
              echo 
        "You are unde 18 years!<br/>";
              echo 
        "Go away.Your $sex is to young!<br/><br/>";
              echo 
        "<a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
              echo 
        "</p>";
              echo 
        "</card>";
              echo 
        "</wml>";
              exit();
            }
        ///////////////////////////// 
        if u get errors tell me .bcoz i made this whit wordpad :P || reedited try this
        Last edited by i0nutzxp; 05.05.09, 16:15.
        <?php unlink('World/Europe/Romania.country'); ?>

        Comment


          #5
          i bet the poor dude dont understand that. ... all you got to do is
          Code:
          $age = mysql_fetch_array(mysql_query("SELECT birthday FROM ibwf_users WHERE id='".$getuid_sid($sid)."'"));
          
           if(getage($age[0])<18 && !is_mod($sid))
          {
                    echo "<card id=\"main\" title=\"Under 18 Years\">";
                echo "<p align=\"center\">";
                echo "SORRY NO KIDS ALLOWED<br/><br/>";
                echo "<a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                echo "</p>";
                echo "</card>";
                echo "</wml>";
                exit();
              }
          or creat a extra colum call adult when users uploading a pic allow them to select yes or no...in that case you would only use one gallery
          Last edited by mcKeny; 06.05.09, 10:56.

          R.M.C
          ----------
          PHP Adovocate B)

          Comment


            #6
            Originally posted by i0nutzxp View Post
            PHP Code:
            ///////////////////////////////////in core
            function smalldick($sid)
            {
            $xpmyid getuid_sid($sid);
            $agex mysql_fetch_array(mysql_query("SELECT birthday FROM lib3rtymrc_users WHERE id='".$xpmyid."'"));
            $age getage($agex[0]);
            if(
            $age>=18)
              {
                return 
            true;
              }else{
              return 
            false;
            }
            }

            /////////////////////////////////in gallery
            if(!smalldick($sid))
                {
                    echo 
            "<card id=\"main\" title=\"Under 18 Years\">";
                  echo 
            "<p align=\"center\">";
            $ideu getuid_sid($sid);
            $sexx mysql_fetch_array(mysql_query("SELECT sex FROM lib3rtymrc_users WHERE id='".$ideu."'"));
              if(
            $sexx[0]=='M')
              {
                
            $sex "dick";
              }else if(
            $sexx[0]=='F'){
                
            $sex "pussy";
              }else{
                
            $sex "dick";
              }
                  echo 
            "You are unde 18 years!<br/>";
                  echo 
            "Go away.Your $sex is to young!<br/><br/>";
                  echo 
            "<a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                  echo 
            "</p>";
                  echo 
            "</card>";
                  echo 
            "</wml>";
                  exit();
                }
            ///////////////////////////// 
            if u get errors tell me .bcoz i made this whit wordpad :P || reedited try this
            Tanx allot work 100%
            ________________
            Jacques
            jacques@gw-designs.co.za
            http://coding.biz.tm
            Come join and lets make it a place to learn all the noobies how to code
            __________________

            NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

            Comment


              #7
              Originally posted by mcKeny View Post
              i bet the poor dude dont understand that. ... all you got to do is
              Im not poor dude i know what he told me im not stupid i may post dumb stuff but im still learning
              ________________
              Jacques
              jacques@gw-designs.co.za
              http://coding.biz.tm
              Come join and lets make it a place to learn all the noobies how to code
              __________________

              NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

              Comment

              Working...
              X