[SHARE]One of the best lithuania community portal

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

    #31
    Originally posted by lexuss View Post
    i like the design, i wanna translate this script to english, but i wanna make sure that are no erors. what do you all think?
    I already translate...see my DEMO

    Comment


      #32
      Sladex please help me...when i upload photo..and i see in photo album..my photo damaged..

      Comment


        #33
        when i upload photo and see in photo album..photo damaged

        Comment


          #34
          whats wrong with foto?
          OR JUST SEND PM

          Comment


            #35
            photo damaged

            Originally posted by sladex View Post
            whats wrong with foto?
            hmm .. when I upload pictures ... and I see my photo in my photos .. all broken .. you can try in the wapsite using my nickname

            Address: neox.penanghosting.com/wapforum
            Nickname: nightwish
            password: 123456

            Comment


              #36
              Chmod all directory where is iploading photo. and chmod all txt files. 777
              OR JUST SEND PM

              Comment


                #37
                Originally posted by sladex View Post
                Chmod all directory where is iploading photo. and chmod all txt files. 777
                but why i can upload smiley without any problems .. actually photo can be uploaded but when I look in the folder Nuotraukos all the pictures I have uploaded size O bytes..
                Last edited by neostream; 05.01.10, 15:12.

                Comment


                  #38
                  chmod Nuotraukos folder. I don't know in my localhost and other hosting everything works fine.
                  OR JUST SEND PM

                  Comment


                    #39
                    Originally posted by sladex View Post
                    chmod Nuotraukos folder. I don't know in my localhost and other hosting everything works fine.
                    can you give me the copy.php for me?

                    Comment


                      #40
                      Here is copy.php


                      <?php
                      header("Cache-Control: no-store, no-cache, must-revalidate");

                      include("MySQLconnect.php");

                      $id = trim(htmlspecialchars($_GET['id'],ENT_QUOTES));
                      $info = base64_decode($id);
                      $info = explode("|", $info);
                      $nuotrauka = "$info[0]";
                      $dydis = "$info[1]";
                      $vartotojas = "$info[2]";
                      $vartotojas = strtolower($vartotojas);
                      $dydis = strtolower($dydis);
                      $view = mysql_fetch_array(mysql_query("SELECT * FROM nuotraukos WHERE ID='$nuotrauka' and Vartotojas='$vartotojas'"));
                      $foto = $view["ID"];
                      $narys = $view["Vartotojas"];
                      $busena = $view["Busena"];
                      $formatas = $view["Formatas"];
                      $rotate = $view["Rotate"];

                      if(empty($rotate) or $rotate != "-90" and $rotate != "90" and $rotate != "180" and $rotate == "no") {
                      $rotate = "0"; }

                      else {
                      $rotate = "$rotate"; }
                      $failas = "nuotraukos/$narys/$foto.$formatas";
                      if(empty($nuotrauka) or empty($vartotojas) or $nuotrauka != "$foto") {
                      $image = "images/nerasta.gif";
                      $formatas = "gif"; $reklama = "0"; }

                      elseif($busena == "ban") {
                      $image = "images/ban.gif";
                      $formatas = "gif"; $reklama = "0"; }

                      elseif(!file_exists($failas)) {
                      $image = "images/nerasta.gif";
                      $formatas = "gif"; $reklama = "0"; }

                      else {
                      $image = "nuotraukos/$narys/$foto.$formatas";
                      $formatas = "$formatas"; $reklama = "1"; }

                      if($rotate == "90" or $rotate == "-90") {
                      list($height,$width) = getimagesize($image); }

                      else {
                      list($width,$height) = getimagesize($image); }
                      $max = "250";
                      if($width > $max) {
                      $procentai = $max*100/$width;
                      $first = floor(($width/100)*$procentai);
                      $second = floor(($height/100)*$procentai); }

                      else {
                      $first = "$width";
                      $second = "$height"; }
                      if($formatas == "jpg") {
                      header("Content-type: image/Jpeg"); }

                      elseif($formatas == "gif") {
                      header("Content-type: image/Gif"); }

                      elseif($formatas == "png") {
                      header("Content-type: image/Png"); }
                      $thumb = imagecreatetruecolor($first,$second);

                      if($formatas == "jpg") {
                      $source = imagecreatefromjpeg("$image"); }

                      elseif($formatas == "gif") {
                      $source = imagecreatefromgif("$image"); }

                      elseif($formatas == "png") {
                      $source = imagecreatefrompng("$image"); }

                      $source = imagerotate($source, $rotate, 0);
                      imagecopyresampled($thumb, $source, 0, 0, 0, 0, $first, $second, $width, $height);

                      if($formatas == "jpg") {
                      imagejpeg($thumb); }

                      elseif($formatas == "gif") {
                      imagegif($thumb); }

                      elseif($formatas == "png") {
                      imagepng($thumb); }

                      imagedestroy($thumb);
                      ?>
                      OR JUST SEND PM

                      Comment


                        #41
                        Maybe someone have ENGLISH DEMO?
                        OR JUST SEND PM

                        Comment


                          #42
                          has any1 got english version of the script

                          Comment


                            #43
                            Maybe someone are using this script?
                            OR JUST SEND PM

                            Comment


                              #44
                              i want this script... fully modefied??

                              Comment

                              Working...
                              X