[help] pokemon browser

Results 1 to 4 of 4
  1. #1
    Registered learn4hack is offline
    MemberRank
    Apr 2015 Join Date
    10Posts

    [help] pokemon browser


    RaGEZONE Recommends

    RaGEZONE Recommends

    hello. i need help. i already stuck 2 days on this file.
    Below is my php code in register.php:
    PHP Code:

    <?php include('functions/config.php'); ?><?php include('functions/functions.php'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- -DefaulT //--><!-- d.faultx@gmail.com //--><html xmlns="http://www.w3.org/1999/xhtml"><head>    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />    <title>        Pokemoned Online    </title>    <link href="img/favicon.ico" type="image/x-icon" rel="icon" /><link href="img/favicon.ico" type="image/x-icon" rel="shortcut icon" /><link rel="stylesheet" type="text/css" href="css/style.css" /><link rel="stylesheet" type="text/css" href="css/jq.ui.css" /><link rel="stylesheet" type="text/css" href="css/slider.css" /><script type="text/javascript" src="js/jq.min.js"></script><script type="text/javascript" src="js/jq.ui.js"></script><script type="text/javascript" src="js/jq.easing.js"></script><script type="text/javascript" src="js/jq.hint.js"></script><script type="text/javascript" src="js/jq.mask.js"></script><script type="text/javascript" src="js/slider.js"></script><script type="text/javascript" src="js/tooltip.js"></script><script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>    </head><body>
        <!-- header-->  <div id="header">    <div class="hbg">      <!-- logo -->            <!-- navbar -->      <div id="navbar">        <ul>            <li><a href="index.php" class="">Home</a></li>            <li><a href="register.php" class="current">Register</a></li>            <li><a href="download.php" class="">Downloads</a></li>            <li><a href="how.php" class="">How to Play?</a></li>            <li><a href="about.php" class="">About Server</a></li>            <li><a href="ranking.php" class="">Ranking</a></li>            <li><a href="#">Forum</a></li>        <!--          <li><a class="current" href="#">Home</a></li>          <li><a href="#">Register</a></li>          <li><a href="#">Download</a></li>          <li><a href="#">Ranking</a></li>          <li><a href="#">Forums</a></li>          <li><a href="#">Support</a></li>          <li><a href="#">About</a></li>          <li><a href="#">Contact</a></li>         -->        </ul>      </div>    </div>  </div>    <div id="secondary">      <!-- server status -->      <div class="left">       <?php echo "".$world_status?>                <span class="stat-icon s-info"></span> Rates: <span class="blue">1x/1x/1x</span>                <span class="stat-icon s-event"></span> Beta <span class="purple">event</span>!        <!--'<span class="stat-icon s-online"></span> The server is <span class="green">Online</span>.'        <span class="stat-icon s-maintenance"></span> Pokemonod is <span class="orange">under maintenance</span>        <span class="stat-icon s-event"></span> Pokemonod is hosting an <span class="purple">event</span>!        <span class="stat-icon s-disabled"></span> <span class="grey">Pokemonod is disabled</span>        <span class="stat-icon s-info"></span> <span class="blue">50x EXP</span>-->      </div>      <!-- search -->       </div>    <div id="header-bg">
        <!-- second-bar -->
          <div class="w960">    <!-- breadcrumbs: top -->    <div class="breadcrumbs">      <span class="location"></span>      <a href="#">Pokemonod</a>      <div class="rel"><span>&gt;</span></div>      <a class="current" href="register.php">Register</a>    </div>        <!-- social networks -->    <div class="rel">    <div class="social">      <a href="#" title="Facebook" class="sn-fb">Facebook</a>      <a href="#" title="Youtube" class="sn-orkut">Youtube</a>      <a href="#" title="Twitter" class="sn-tw">Twitter</a>      <a href="#" title="StumbleUpon" class="sn-yt">StumbleUpon</a>        </div>    </div>        <!-- Dialog Google+ -->                  </div>    </div>  <!-- main -->  <div id="main-top"><div class="rel"><div class="char-top"></div></div></div>  <div id="main">      <!-- sidebar -->    <div id="sidebar">          <!-- button: download -->      <a href="download.php" title="Download Client" class="sb-special sb-download">Pokemonod Client 1.0</a>            <!-- button: community -->      <a href="#" title="Forum" class="sb-special sb-community">Access the Forum</a>            <!-- user panel -->      <div class="sb-title">        <span class="icon"><span class="icon-user"></span></span>        <h3>Control Panel</h3></div>      <div class="sb-con">
                              <form controller="users" id="UserLoginForm" method="post" action="#" accept-charset="iso-8859-1"><div style="display:none;"><input type="hidden" name="_method" value="POST" /><input type="hidden" name="data[_Token][key]" value="aa53de0e1ad69e03d80c9e86bd5c74cb5a5bbc80" id="Token1894939656" /></div>        <div>            <div class="input text required"><label for="UserLogin"></label><input name="data[User][login]" type="text" class="bar curved5" title="Login" maxlength="255" id="UserLogin" /></div>            <div class="input password required"><label for="UserPassword"></label><input type="password" name="data[User][password]" class="bar curved5" title="Senha" id="UserPassword" /></div>            <input class="btn s1" type="submit" value="Login" />             <a href="#" class="btn s2">Register</a>          </div>        <div style="display:none;"><input type="hidden" name="data[_Token][fields]" value="5ff4433fcffef84a7275401bdf4ce5199f41e216%3A" id="TokenFields206452648" /></div></form>        <div class="sb-sep"></div>        <a href="#" class="ilink">Forgot your Password?</a><br />                            </div>      <div class="sb-end"></div>            <!-- calendar -->      <div class="sb-title">        <span class="icon"><span class="icon-moon"></span></span>        <h3>Events</h3></div>      <div class="sb-con">        <div class="servertime">Current Time: <?php// set the default timezone to use. Available since PHP 5.1date_default_timezone_set('Asia/Kuala_Lumpur');
    // Format for PokeNet // DAY HOUR MINUTES// where day is a number from 0 - 6
    // Prints something like: 2 5 30echo date('h:i T');
    // Coded by -DefaulT for PokeNet servers
    ?></div>        <div class="sb-sep"></div>        <div id="calendar"></div>        <a href="/events" class="ilink">View all events</a>      </div>      <div class="sb-end"></div>                  <!-- ranking -->      <div class="sb-title">        <span class="icon"><span class="icon-ranking"></span></span>        <h3 id="sb-ranking-title">Ranking</h3></div>      <div class="sb-con">              <div id="sb-ranking-menu">        <div class="sb-links">            <a href="javascript:void(0);" id="ranking-revolution-players" class="i-bullet sb-ranking-btn">Pokemonod</a>                    </div>        <a href="javascript:void(0)" class="ilink right ilink2 curved3 switch-menu">Menu</a>        <div class="clearfix"></div>        </div>                    <div id="sb-ranking-revolution-players" class="sb-ranking-div">        <?php         $rs mysql_connect("localhost""mydatabaseusername""password") or die('<table class="sb-ranking" width="100%" border="0" cellspacing="0" cellpadding="0">          <tr class="thead">            <td class="name" scope="col">Error - MySQL Down</td>          </tr></table>');mysql_select_db("databasename",$rs) or die(mysql_error()); mysql_select_db("databasename",$rs) or die(mysql_error()); 
    $sql "SELECT * FROM pn_members ORDER BY skTrain DESC LIMIT 0,5              ";$result =   [MENTION=1333341228]Mysql[/MENTION]_query($sql) or die(mysql_error());$rank 1;

    echo 
    '<table class="sb-ranking" width="100%" border="0" cellspacing="0" cellpadding="0">';echo '<tr class="thead"><td class="rank" scope="col">#</td><td class="name" scope="col">User</td><td class="pts" scope="col">T-Points</td></tr>';
    while(
    $row mysql_fetch_array$result )) {        echo '<tr class="r1"><td class="rank"><span>';     echo $rank;    $rank++;    echo '</span></td>';     echo '<td class="name">';     echo $row['username'];    echo '</td><td class="pts">';     echo $row['skTrain'];    echo "</td>";     echo "</tr>";     }                 echo "</table>";            ?>         <a href="ranking.php" class="ilink left">View All</a>        <a href="javascript:void(0)" class="ilink right ilink2 curved3 switch-menu">View All</a>        <div class="clearfix"></div>        </div>                 </div>      <div class="sb-end"></div>                  <!-- facebook -->      <div class="sb-title">        <span class="icon"><span class="icon-fb"></span></span>        <h3>Join Facebook</h3></div>      <div class="sb-con">        <div class="fblike curved5">          <div id="fb-root"></div><fb:like-box href="https://www.facebook.com/pages/Pokemonod/635631689904593" width="202" height="270" show_faces="true" border_color="#FFF" stream="false" header="false"></fb:like-box>        </div>                       </div>      <div class="sb-end"></div>            <!-- Twitter -->      <div class="sb-title">        <span class="icon"><span class="icon-ann"></span></span>        <h3>Twitter</h3></div>      <div class="sb-con">        <div class="fblike curved5">          <div id="fb-root"></div><script src="http://widgets.twimg.com/j/2/widget.js"></script><script>new TWTR.Widget({  version: 2,  type: 'profile',  rpp: 4,  interval: 30000,  width: 202,  height: 300,  theme: {    shell: {      background: '#ffffff',      color: '#a3a3a3'    },    tweets: {      background: '#e4edea',      color: '#000000',      links: '#ffffff'    }  },  features: {    scrollbar: false,    loop: false,    live: false,    hashtags: true,    timestamp: true,    avatars: false,    behavior: 'all'  }}).render().setUser('Pokemonod1').start();</script>        </div>                       </div>      <div class="sb-end"></div>    </div>    <!-- sidebar:end -->      <!-- content -->        <div id="content">                 <div class="box-top"></div>
    <div class="box-title">
    <span class="icon"><span class="icon-r"></span></span>
    <h2>Register</h2>
    </div>
    <div class="box-con">
        <div class="box-margin">
            <div style="float:right;background: url('img/register-kafra.png');width:171px;height:341px;margin:-30px 50px 15px 30px;"></div>
            <br/>
            <form controller="users" id="registerForm" method="post" action="register.php" accept-charset="iso-8859-1"><div class="input text"><label for="login">Login</label><input name="user" type="text" class="bar curved5" style="margin-bottom:15px;" id="user" /></div>            <div class="input password">          <label for="password">Password</label>          <input type="password" name="pass1" class="bar curved5" value="" id="pass1" /></div>            <div class="input password">            <label for="confirmPassword">Confirm Password</label>            <input type="password" name="pass2]" class="bar curved5" value="" style="margin-bottom:15px;" id="pass2" /></div>            <div class="input text"><label for="email">E-mail</label><input name="email1" type="text" class="bar curved5" id="email1" /></div>            <div class="input text">              <label for="confirmEmail">Confirm E-mail</label>              <input name="email2" type="text" class="bar curved5" style="margin-bottom:15px;" id="email2" /></div>            <div class="input select">                <label for="starters">Starter</label>                <select name="starter" class="bar curved5" style="margin-bottom:15px;" id="starter"><option value="Bulbasaur">Bulbasaur</option><option value="Charmander">Charmander</option><option value="Squirtle">Squirtle</option><option value="Chikorita">Chikorita</option><option value="Cyndaquil">Cyndaquil</option><option value="Totodile">Totodile</option><option value="Treecko">Treecko</option><option value="Torchic">Torchic</option><option value="Mudkip">Mudkip</option><option value="Turtwig">Turtwig</option><option value="Chimchar">Chimchar</option><option value="Piplup">Piplup</option></select></div>    <div class="input select">                <label for="regions">Region</label>                <select name="region" class="bar curved5" style="margin-bottom:15px;" id="region"><option value="Kanto">Kanto</option>
    </select></div><div class="input select">                <label for="sexs">Sex</label>                <select name="sex" class="bar curved5" style="margin-bottom:15px;" id="sex"><option value="11">Male</option><option value="20">Female</option>
    </select></div>    <input class="btn s1 btn-form" type="submit" value="Register" /> 
            </form>        <br/><?phpif(isset($_POST['submit'])) {if(!$_POST['user'] || !$_POST['pass1'] || !$_POST['pass2'] || !$_POST['email1'] || !$_POST['email2']) {die('You must fill in all of the feilds!!!<BR>');}if(!get_magic_quotes_gpc()) {$user addslashes($_POST['user']);$pass whirlpool($_POST['pass1']);} else {$user $_POST['user'];$pass whirlpool($_POST['pass1']);}$pass2 whirlpool($_POST['pass2']);$check mysql_query("SELECT * pn_members WHERE username = '$user'");$check2 mysql_num_rows($check);if($check2 != '0') {die("Username: '".$user."' is in use!");}if($pass != $pass2) {die('Passwords dont match!');}$email $_POST['email1'];if($email1 != $emaail2) {die('Emails dont match!');}$sprite $_POST['sex'];$starter $_POST['starter'];
    $insert_member mysql_query("INSERT INTO pn_members (username, password, email, dob, sprite, x, y, mapX, mapY) VALUES ('$user', '$pass', '$email', '1/1/1990', '$sprite', '16, '14, '3', '1')");if($insert_member) {echo("<p class='b01'>Registration Complete! <a href=index.php>Click here</a>");} else {echo("<p class='b01'>Registration Failed!</p>");}}?>        </div>
    </div>
    <div class="box-btm"></div>
        </div>    <!-- content:end -->        <div class="clearfix"></div>  </div>  <div id="main-btm"></div>    <div class="w960">    <!-- breadcrumbs: bottom -->    <div class="breadcrumbs">      <span class="location"></span>      <a href="#">Pokemonod</a>      <div class="rel"><span>&gt;</span></div>      <a class="current" href="#">Register</a>      <a class="top" href="#">Top</a>    </div>  </div>    <div id="footer">    <div class="w960">      <!-- info -->      <div class="left">        <a href="/"><img src="img/ragbrasil_logo_s.png" alt="" /></a>        Copyright &copy; Pokemonod 2015. All rights reserved to the respective owners.      </div>      <!-- links -->      <!-- <div class="right">        <a href="#" title="Homepage">Home</a> <span>&frasl;</span>        <a href="#" title="Privacy Policy">Privacy Policy</a> <span>&frasl;</span>        <a href="#" title="Terms of Service">Terms of Service</a> <span>&frasl;</span>        <a href="#" title="Disclaimer">Disclaimer</a> <span>&frasl;</span>        <a href="#" title="About us">About</a> <span>&frasl;</span>        <a href="#" title="Contact us">Contact</a>            </div>      -->    </div>  </div>
            <script type="text/javascript" src="js/init.js"></script>  <script type="text/javascript" src="/Events/Calendar"></script></body></html><div style="background: #FFF"></div><!-- -DefaulT //--><!--d.faultx@gmail.com //-->
    This below my image upload file:
    http://s15.postimg.org/szdz7d5wr/Capture.jpg

    I take source on this thread:
    https://forum.ragezone.com/f705/rele...green-1047805/

    1. when i try open this script on dreamweaver, its show register content to me but when i look at live from my apache, it not showing that content register.

    2. i already put my correct database connection but it show "Error - My SQL Down".

    i already install all database.
    when i try run game it succes. its connect to my server. but on web base its look no have register content. please anyone help this to me.


  2. #2
    Omg It's -DefaulT -DefaulT is offline
    True MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,402Posts

    Re: [help] pokemon browser

    Looks like your mysql settings arent connecting, double check your function.config.php file and make sure all the connection settings are correct.

  3. #3
    Member Denis Zeniakin is offline
    MemberRank
    Jun 2014 Join Date
    57Posts

    Re: [help] pokemon browser

    contact me skype : morgan_hacker

  4. #4
    Registered destan0147 is offline
    MemberRank
    Jul 2016 Join Date
    5Posts

    Re: [help] pokemon browser

    file is corrupted please help the clan




Advertisement