Login Required In order to submit photos you need to login as HotFLick Community member.

Please sign up if you are not HFC member.

EOT; echo viewScreen($content); exit(0); } foreach($_POST as $key => $value) $$key = stripslashes($value); if($submit) { $privatekey = "6LdwSggAAAAAANio4ClxJ2a3ZwfbqCgVmXEp5uB_"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); /* if (!$resp->is_valid) { $content = getContent("

Entered security letters is invalid. « Back

" ); } else */ $personal = $_GET['personal']==1; $id = $_SESSION['user']['id']; if (1) { $first_name = $_SESSION['user']['name']; $email = $_SESSION['user']['email']; $mailbody = "Name: $first_name
Email: $email
Celebrity Name: $celebname
Info:
" ; $name = $first_name ; $name = str_replace("script","*",$name) ; $message = str_replace("\\\"","\"",$infos) ; $message = str_replace("\\'","'",$message) ; $message = str_replace("\r\n\r\n","

",$message) ; $message = str_replace("\r\r","

",$message) ; $message = str_replace("\n\n","

",$message) ; $message = str_replace("\r\n","
",$message) ; $message = str_replace("\r","
",$message) ; $message = str_replace("\n","
",$message) ; $message = str_replace("

","

",$message) ; $message = str_replace("

","

",$message) ; $message = str_replace("script","*",$message) ; $mailbody .= $message ; $personaldata = $personal ? "_personal/":""; $dataname = $personal? "$id":uniqid($email); if (!is_dir("onlyus/submitdata/$personaldata$dataname")) { mkdir("onlyus/submitdata/$personaldata$dataname", 0777); chmod("onlyus/submitdata/$personaldata$dataname", 0777); } if (!is_dir("onlyus/submitdata/$personaldata$dataname/t")) { mkdir("onlyus/submitdata/$personaldata$dataname/t", 0777); chmod("onlyus/submitdata/$personaldata$dataname/t", 0777); } foreach($_FILES['pictures']['name'] as $idx => $fname) if(substr($_FILES['pictures']['type'][$idx],0,5)=="image") { $fname = str_replace(' ', '_', $fname); resizeImage($_FILES['pictures']['tmp_name'][$idx], "onlyus/submitdata/$personaldata$dataname/t/$fname", 80, 2, 0); move_uploaded_file($_FILES['pictures']['tmp_name'][$idx],"onlyus/submitdata/$personaldata$dataname/$fname"); } $fp = fopen("onlyus/submitdata/$personaldata$dataname.txt", 'w'); fwrite($fp, "$celebname\n$movie\n$first_name\n$email\n$infos"); fclose($fp); if (!$personal) $subject = "HF: New Submit on Celebrity Data ($celebname)"; else $subject = "HF: New Submit on Celebrity Data (Personal)"; $from = $name . " <" . $email . ">" ; $to = "Simon Han " ; sendEmail($from,$to,$subject,$mailbody,1); $from = $name . " <" . $email . ">" ; $to = "Aryo Sanjaya " ; sendEmail($from,$to,$subject,$mailbody,1); if ($personal && is_file("community/profilecache/$id")) unlink("community/profilecache/$id"); $content = "

THANK YOU!
We will review your submission before the pictures going online.

Submit another pictures

" ; } } else $content = getContent(); $_SESSION['contactus'] == "hotflick.net"; $template = file_get_contents("onlyus/template/new_main.html"); $template = str_replace("<%TITLE%>","Hotflick - Submit Celebrity Info",$template) ; $template = str_replace("<%DESCRIPTION%>","HotFlick.net",$template) ; $template = str_replace("<%KEYWORD%>","HotFlick.net",$template) ; $template = str_replace("<%CONTENT%>",$content,$template) ; $template = str_replace("<%OURSITES%>",'',$template) ; $template = str_replace("<%LEFTMENU%>",'',$template) ; $template = str_replace("<%LEFTMENUUP%>",'',$template) ; $template = str_replace("<%RIGHTMENUUP%>",$leftmenuup,$template) ; $template = str_replace("<%HEADADS%>",$headads,$template) ; echo $template; function getContent($msg='') { $publickey = "6LdwSggAAAAAAHbZgmdaVRETWxLZRQwDh6FOyajb"; $captcha = recaptcha_get_html($publickey); $name = $_SESSION['user']['name']; $email = $_SESSION['user']['email']; $tos = file_get_contents("onlyus/tos.txt"); $tos = htmlentities($tos, ENT_QUOTES); $personal = $_GET['personal']==1; $info = $personal?"On this page you can upload your personal photos of you or your friends. To upload photos of celebrities and movies, go here.":"On this page you can upload photos of celebrities and movies. To upload your personal photos of you or your friends to appear on your profile page, go here."; if ($personal) return <<< EOT

$info

Submit Your Photos

$msg
  Picture 1
  Picture 2
  Picture 3
  Picture 4
  Picture 5
 
    I understand that HotFlick is a place for people to review, discuss and generally celebrate the movies they love and agree IN PLAIN ENGLISH to upload only legally shareable photos, posters, & screenshots.
I also understand that pornography is not allowed and that my account will be cancelled if I upload pornographic images.
I also understand and agree to the legal terms and conditions below.
 
   
 
    Terms and Conditions:
EOT; else return <<< EOT

$info

Submit Celebrity Info

$msg
     Celebrity Name
use comma (,) to enter multiple names
     Movie Title
add movie title if any
  Your Name  $name
  Email  $email
  Additional Info 
 
Celebrity Pictures
  Picture 1
  Picture 2
  Picture 3
  Picture 4
  Picture 5
 
    I understand that HotFlick is a place for people to review, discuss and generally celebrate the movies they love and agree IN PLAIN ENGLISH to upload only legally shareable photos, posters, & screenshots.
I also understand that pornography is not allowed and that my account will be cancelled if I upload pornographic images.
I also understand and agree to the legal terms and conditions below.
 
   
 
    Terms and Conditions:
EOT; } /* $captcha */