John CMS

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

    #31
    Originally posted by riderz View Post
    well im not clever and im not a coder

    my secret are Here anyone can do it
    I really appreciate you humbleness.
    Last edited by metulj; 02.09.09, 21:52.

    Comment


      #32
      Originally posted by Hadian
      Riderz or someone can u help me? Please upload only john cms eng (with zip).. My PC error i use phone now (my ballance is low XD). Please!
      dont be lazy, you just need to click download. whats so hard about that? we are not your slaves to do everything for you
      LDSWAPWORLD sigpic
      site closed.
      im busy with other things in life like facebook , send me PM so i can add you
      www.pinoySG.com

      don't ask for help if you're not even helping yourself!
      i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


      Comment


        #33
        This is new john cms http://johncms.com/download/files/jo...ohncms_300.zip please translate to english

        Comment


          #34
          tanx for letting us know there are a new one out ill be translating it soon

          Comment


            #35
            wow mod built 300 it might better than before aheehhehehe thanks!

            Comment


              #36
              here are a link to the one im translating now started few minutes ago

              Geckowap

              Comment


                #37
                Register.php in english lol

                Code:
                <?php
                /*
                ////////////////////////////////////////////////////////////////////////////////
                // JohnCMS                             Content Management System              //
                // Official site of the project:       http://johncms.com                     //
                // Additional site support:            http://gazenwagen.com                  //
                ////////////////////////////////////////////////////////////////////////////////
                // JohnCMS core team:                                                         //
                // Eugene Ryabinin aka john77          john77@gazenwagen.com                  //
                // Oleg Cassian aka AlkatraZ           alkatraz@gazenwagen.com                //
                //                                                                            //
                // Information about the versions in the accompanying file version.txt        //
                ////////////////////////////////////////////////////////////////////////////////
                */
                
                define('_IN_JOHNCMS', 1);
                
                $textl = 'Registration';
                $rootpath = '';
                require_once ("incfiles/core.php");
                require_once ("incfiles/head.php");
                
                if ($regban || !$set['mod_reg'])
                {
                	echo '<p>Registration is temporarily closed.</p>';
                	require_once ("incfiles/end.php");
                	exit;
                }
                
                echo '<div class="phdr">Registration on the site</div>';
                function regform()
                {
                    $cod = rand(1000, 9999);
                    $_SESSION['code'] = $cod;
                    echo '<form action="registration.php" method="post">';
                    echo '<br /><b>Username:</b><br/><input type="text" name="nick" maxlength="15" value="' . check($_POST['nick']) . '" /><br />';
                    echo '<small>min. 2, Max. 15 Symbols.<br />The letters of the Russian and Latin alphabet are permitted,<br />number and the signs - = @ ! ? ~ _ ( ) [ ] . * (besides zero)</small><br /><br />';
                    echo '<b>Password:</b><br/><input type="text" name="password" maxlength="20" /><br/>';
                    echo '<small>min. 3, маx. 10 Symbols.<br />The letters of Latin alphabet and number are permitted.</small><br /><br />';
                    echo '<b>IM name:</b><br/><input type="text" name="imname" maxlength="30" value="' . check($_POST['imname']) . '" /><br />';
                    echo '<small>Max. 30 symbols.</small><br /><br />';
                    echo 'Gender:<br/><select name="sex"><option value="m">Male</option><option value="zh">Female</option></select><br /><br />';
                    echo 'About: <small>(Max. 500 symbols)</small><br/><textarea rows="3" name="about">' . check($_POST['about']) . '</textarea><br/><br/>';
                    echo 'If you do not see figure with the code,<br />Your phone does not support images<br />or you need to reload.<br /><br />';
                    echo '<img src="code.php" alt=""/><br />';
                    echo 'Code from the picture:<br/><input type="text" maxlength="4"  name="kod"/><br /><br />';
                    echo '<input type="submit" name="submit" value="Регистрация"/><br /><br /></form>';
                }
                
                if (isset($_POST['submit']))
                {
                    // We assume the variables
                    $reg_kod = intval($_POST['kod']);
                    $reg_nick = trim($_POST['nick']);
                    $lat_nick = rus_lat(mb_strtolower($reg_nick));
                    $reg_pass = trim($_POST['password']);
                    $reg_name = trim($_POST['imname']);
                    $reg_about = trim($_POST['about']);
                    $reg_sex = trim($_POST['sex']);
                
                    $error = false;
                    // Checking Username
                    if (empty($reg_nick))
                        $error = $error . 'Username must be filled in!<br/>';
                    elseif (mb_strlen($reg_nick) < 2 || mb_strlen($reg_nick) > 15)
                        $error = $error . 'Inadmissible length Of Username<br />';
                    if (preg_match("/[^1-9a-z\-\@\*\(\)\?\!\~\_\=\[\]]+/", $lat_nick))
                        $error = $error . 'Inadmissible symbols in Login!<br/>';
                    //  Checking Password
                    if (empty($reg_pass))
                        $error = $error . 'The password must be filled in!<br/>';
                    elseif (mb_strlen($reg_pass) < 3)
                        $error = $error . 'Inadmissible length of the password<br />';
                    if (preg_match("/[^\da-zA-Z_]+/", $reg_pass))
                        $error = $error . 'Inadmissible symbols in the password!<br/>';
                    //  Checking Username
                    if (empty($reg_name))
                        $error = $error . 'Username must be filled in!<br/>';
                    //  Checking Verification Code
                    if (empty($reg_kod))
                        $error = $error . 'The verifying code cant be empty!<br/>';
                    elseif ($reg_kod != $_SESSION['code'])
                        $error = $error . 'The verifying code is incorrect!<br/>';
                
                    // Checking the variables
                    if (empty($error))
                    {
                        $pass = md5(md5($reg_pass));
                        $reg_name = check(mb_substr($reg_name, 0, 20));
                        $reg_about = check(mb_substr($reg_about, 0, 500));
                        $reg_sex = check(mb_substr($reg_sex, 0, 2));
                        // Проверка, занят ли ник
                        $req = mysql_query("select * from `users` where `name_lat`='" . mysql_real_escape_string($lat_nick) . "';");
                        if (mysql_num_rows($req) != 0)
                        {
                            $error = 'This nick is already registered! Please Select another. thankyou<br/>';
                        }
                    }
                
                    if (empty($error))
                    {
                        if ($set['rmod'] != 1)
                        {
                            $preg = 1;
                        } else
                        {
                            $preg = 0;
                        }
                        mysql_query("INSERT INTO `users` SET
                		`name`='" . mysql_real_escape_string($reg_nick) . "',
                		`name_lat`='" . mysql_real_escape_string($lat_nick) . "',
                		`password`='" . mysql_real_escape_string($pass) . "',
                		`imname`='" . $reg_name . "',
                		`about`='" . $reg_about . "',
                		`sex`='" . $reg_sex . "',
                		`rights`='0',
                		`ip`='" . $ipl . "',
                		`browser`='" . $agn . "',
                		`datereg`='" . $realtime . "',
                		`lastdate`='" . $realtime . "',
                		`preg`='" . $preg . "';");
                
                        $usid = mysql_insert_id();
                        echo "You are registered!<br/>";
                        echo "User id: " . $usid . "<br/>";
                        echo "Username: " . $reg_nick . "<br/>";
                        echo "Password: " . $reg_pass . "<br/>";
                        echo "Auto Login URL:<br/><input type='text' value='" . $home . "/auto.php?id=" . $usid . "&amp;p=" . $reg_pass . "' /><br/>";
                
                        if ($set['rmod'] == 1)
                        {
                            echo "Please wait for your registration to be confirmed by the administrator<br/>";
                        } else
                        {
                            echo "<br /><a href='auto.php?id=" . $usid . "&amp;p=" . $reg_pass . "'>Enter</a><br/><br/>";
                        }
                    } else
                    {
                        echo '<br /><b>ERROR!</b><br />' . $error;
                        regform();
                    }
                }
                
                // Form of the registration
                else
                {
                    if ($set['rmod'] == 1)
                    {
                        echo "Attention! You will be able to obtain the authorized access to the divisions of site after confirmation of your registration by administrator.<br/>";
                    }
                    regform();
                }
                
                require_once ("incfiles/end.php");
                
                ?>

                Comment


                  #38
                  I will help translate
                  Visit my site

                  Comment


                    #39
                    ok nice can u do some of the folders ive done the pages folder incfiles all files in main folder and am busy with the panel folder wap2k were busy with the str folder he posted the files he done in translation catagorie here

                    Comment


                      #40
                      New version 3.10 http://johncms.com/download/files/jo...ohncms_310.zip

                      Comment


                        #41
                        What's new in 310??

                        ey check out this chicks style of johncms at created by ElArcI (C) looks freakin awesome and its mostly english some pages still russian
                        Last edited by metulj; 16.04.12, 08:03.
                        My site: http://mimobifunclub.tk
                        sigpic

                        Comment


                          #42
                          Originally posted by mobidev
                          ey check out this chicks style of johncms at created by ElArcI (C) looks freakin awesome and its mostly english some pages still russian
                          dont like the style, and what is this: image gallery
                          Advertise your mobile site for FREE with AdTwirl

                          Comment


                            #43
                            Originally posted by GumSlone View Post
                            dont like the style, and what is this: image gallery
                            well... thats special style
                            It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                            ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                            ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                            キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                            Comment


                              #44
                              I think it looks cool I'm also into skulls and vampires an stuff so yeah to me looks cool. And the gallery is just that its a downloads gallery.
                              I'm fully translating it to english and so far I think johncms is probable the best scripts I have seen.that's just my opinion. We can't all like the same things in life otherwise we'll be mindless drones lol.
                              My site: http://mimobifunclub.tk
                              sigpic

                              Comment

                              Working...
                              X