Gallery for adullts

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

6 replies · 496 views · started 17 years ago · 1 min read

4 participants
riderz Lead · 975 posts #1

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

subzero Super moderator Fellow · 3,954 posts #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... _______…

Guest #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

i0nutzxp Developer · 150 posts #4
///////////////////////////////////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&sid=$sid\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }
/////////////////////////////

if u get errors tell me .bcoz i made this whit wordpad 😛 || reedited try this

<?php unlink('World/Europe/Romania.country'); ?>
mcKeny Developer · 130 posts #5

i bet the poor dude dont understand that. ... all you got to do is

$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&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

R.M.C

PHP Adovocate B)

riderz Lead · 975 posts #6

i0nutzxp wrote:

///////////////////////////////////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&sid=$sid\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }
/////////////////////////////

if u get errors tell me .bcoz i made this whit wordpad 😛 || 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

riderz Lead · 975 posts #7

mcKeny wrote: 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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close