Register for your free account! | Forgot your password?

You last visited: Today at 15:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Full Homepage Script]

Discussion on [Full Homepage Script] within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 10/15/2010, 16:16   #31
 
BL00DSTYL3's Avatar
 
elite*gold: 15
Join Date: Sep 2010
Posts: 580
Received Thanks: 175
sehr gut mach weiter sooo... *****5 Sterne ^^ xD
BL00DSTYL3 is offline  
Old 10/15/2010, 16:33   #32


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,143
Received Thanks: 2,763
Habe die Highlights.php einbisschen ausgebaut, sprich man bekommet jetzt mehr Informationen bzgl. des Servers.

Was könnt ihr an Infos entnehmen : ?

-Wieviele Accounts
-Wieviele Items
-Wieviele Chars
-Wieviele Gilden
-Wieviele Spieler sind online

Vorschau:



~Installation~
Ihr downloadet euch die neue Highlights.php und verschiebt sich in nach :
/includes/ jetzt ersetzt ihr die alte Highlights.php mit meiner.
Wen ihr jetzt F5 drückt, seht ihr die Server Informationen

Anhang :
.Marcel' is offline  
Thanks
6 Users
Old 10/15/2010, 16:41   #33
 
.Anonymous's Avatar
 
elite*gold: 193
Join Date: Jun 2009
Posts: 400
Received Thanks: 19
Gefällt mir ganz gut ! hast Thx

Bau mal bei V2 einen logout finde den nicht bei v1 =)
.Anonymous is offline  
Old 10/15/2010, 16:49   #34
 
elite*gold: 10
Join Date: May 2009
Posts: 586
Received Thanks: 414
logout ist da wenn man sich eingelogt hat
.Radical is offline  
Old 10/15/2010, 16:56   #35
 
.Anonymous's Avatar
 
elite*gold: 193
Join Date: Jun 2009
Posts: 400
Received Thanks: 19
Quote:
Originally Posted by .Radical View Post
logout ist da wenn man sich eingelogt hat
Dort ist bei mir der IS jetzt xD
.Anonymous is offline  
Old 10/15/2010, 17:02   #36
 
elite*gold: 10
Join Date: May 2009
Posts: 586
Received Thanks: 414
Bei dem Itemshop steht oben "home"
dadrauf dann kommst du zu "index2" und da kannst du dich auslogen.
.Radical is offline  
Old 10/15/2010, 17:02   #37
 
elite*gold: 0
Join Date: Sep 2010
Posts: 128
Received Thanks: 42
Quote:
Originally Posted by .Radical View Post
logout ist da wenn man sich eingelogt hat
^^ Man kanne es ja entfernen!

Hier der Code für die shop_layout.php
Code:
<html>
<head>
<title>Itemshop</title>
</head>
<br>
<br>
<div style="margin:0; margin-right:220px; margin-left:220px; border:1px solid #000; padding: 0em 1em 1em 1em; background: url(images/is_nav.png); text-align:center"> 
<p>
<center><font size="1"><b>    &raquo;<a href="index2.php">Startseite</a></b></font></center>
<p>
</div>
<br>


<link href="shop.css" rel="stylesheet" type="text/css" />
<div style="margin:0; margin-right:10px; border:1px solid #000; padding: 0em 1em 1em 1em; background: url(images/is_main.png);text-align:center"> 
<p>
<font size="2">
<?php
include("shop/shop.php");
?>
</font>
</div>
Dann steht da nur noch Startseite, wenn du dich einloggst!

Startseite ---> Link zur allgemeinen Startseite
.xSunjiix is offline  
Old 10/15/2010, 17:06   #38
 
elite*gold: 10
Join Date: May 2009
Posts: 586
Received Thanks: 414
Ehm es hat aber ein Sinn das man zur "index2" kommt.
Da kann man sein Passwort ändern usw.

Eigentlich ist es so das wenn man sich einlogt sofort zu "index2" kommt.
Nur wenn man noch eingelogt war und sich dann wieder einlogt kommt man dierekt zum Itemshop.
.Radical is offline  
Old 10/15/2010, 17:14   #39
 
elite*gold: 0
Join Date: Sep 2010
Posts: 128
Received Thanks: 42
Quote:
Originally Posted by .Radical View Post
Ehm es hat aber ein Sinn das man zur "index2" kommt.
Da kann man sein Passwort ändern usw.

Eigentlich ist es so das wenn man sich einlogt sofort zu "index2" kommt.
Nur wenn man noch eingelogt war und sich dann wieder einlogt kommt man dierekt zum Itemshop.
Hier sind die Datein!
Einfach nur ersetzen!

Viel Spaß!
Bei mir klappt es jedenfalls!
Attached Files
File Type: rar Homepage.rar (21.0 KB, 12 views)
.xSunjiix is offline  
Old 10/15/2010, 17:20   #40


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,143
Received Thanks: 2,763
Für Leute die keine [GM]´s [GA]´s etc im Ranking haben möchten nehme diese Rank.php


Rank.php
PHP Code:
<?php
echo "<center>";
include(
'inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'

    
$test "SELECT * from player";
        
$testquery mysql_query($test);
            
$num2 mysql_num_rows($testquery);

        if(
$_GET['max']) {
            
$get $_GET['max'];
        } else {
        
$get '0';


    
$max $get 20;
    
$max2 $get 20;

if(
$get $num2) {
}
elseif(
$get >= 20 && $get $num2) {  }
elseif (
$num2 <= 20) { echo ""; }
else {  }
echo 
"</center><br>";
?>

<center><table border="0">
    <tr>
        <th width="150">Platz</th>
        <th width="150">Name</th>
        <th width="150">Level</th>
        <th width="150">Exp</th>
        <th width="150">Reich</th>
    </tr>
</table></center>

<?php



    
include('inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'



// Select player etc from db //


    
$rank "SELECT * from player WHERE name NOT LIKE '[GA]%' and name NOT LIKE '[GM]%' order by level desc limit 10";
        
$query mysql_query($rank);
    echo 
"<center><table border=\"0\">"// Open table
    
$i 0;

            while(
$array mysql_fetch_array($query)) {
                
$i $i 1;


                echo 
"
                <tr>
                <th width=\"150\"><font color=\"black\">" 
$i "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["name"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["level"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["exp"] . "</font></th>";



                
$reich "SELECT empire from player_index where id = " $array[account_id] . "";
                    
$query2 mysql_query($reich);
                    
$array2 mysql_fetch_array($query2);


                if(
$array2["empire"] == 1) {
                echo 
"<th width=\"150\"><img src=\"images/red.jpg\"></th></tr>";
                } elseif(
$array2["empire"] == 2) {
                echo 
"<th width=\"150\"><img src=\"images/yellow.jpg\"></th></tr>";
                } else {
                echo 
"<th width=\"150\"><img src=\"images/blue.jpg\"></th></tr>";
                }
                }
    echo 
"</table></center><br>"// close table


}
?>
Einfach den inhalt hier in die "Rank.php" ersetzen
.Marcel' is offline  
Thanks
3 Users
Old 10/15/2010, 17:22   #41
 
elite*gold: 10
Join Date: May 2009
Posts: 586
Received Thanks: 414
Quote:
Originally Posted by .0x1338_# View Post
Für Leute die keine [GM]´s [GA]´s etc im Ranking haben möchten nehme diese Rank.php


Rank.php
PHP Code:
<?php
echo "<center>";
include(
'inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'

    
$test "SELECT * from player";
        
$testquery mysql_query($test);
            
$num2 mysql_num_rows($testquery);

        if(
$_GET['max']) {
            
$get $_GET['max'];
        } else {
        
$get '0';


    
$max $get 20;
    
$max2 $get 20;

if(
$get $num2) {
}
elseif(
$get >= 20 && $get $num2) {  }
elseif (
$num2 <= 20) { echo ""; }
else {  }
echo 
"</center><br>";
?>

<center><table border="0">
    <tr>
        <th width="150">Platz</th>
        <th width="150">Name</th>
        <th width="150">Level</th>
        <th width="150">Exp</th>
        <th width="150">Reich</th>
    </tr>
</table></center>

<?php



    
include('inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'



// Select player etc from db //


    
$rank "SELECT * from player WHERE name NOT LIKE '[GA]%' and name NOT LIKE '[GM]%' order by level desc limit 10";
        
$query mysql_query($rank);
    echo 
"<center><table border=\"0\">"// Open table
    
$i 0;

            while(
$array mysql_fetch_array($query)) {
                
$i $i 1;


                echo 
"
                <tr>
                <th width=\"150\"><font color=\"black\">" 
$i "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["name"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["level"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["exp"] . "</font></th>";



                
$reich "SELECT empire from player_index where id = " $array[account_id] . "";
                    
$query2 mysql_query($reich);
                    
$array2 mysql_fetch_array($query2);


                if(
$array2["empire"] == 1) {
                echo 
"<th width=\"150\"><img src=\"images/red.jpg\"></th></tr>";
                } elseif(
$array2["empire"] == 2) {
                echo 
"<th width=\"150\"><img src=\"images/yellow.jpg\"></th></tr>";
                } else {
                echo 
"<th width=\"150\"><img src=\"images/blue.jpg\"></th></tr>";
                }
                }
    echo 
"</table></center><br>"// close table


}
?>
Einfach den inhalt hier in die "Rank.php" ersetzen
War das bei meiner nicht auch schon ? ôO
Kann auch sein das ichs vergessen hab :'D
Danke
.Radical is offline  
Old 10/15/2010, 17:23   #42
 
elite*gold: 0
Join Date: Sep 2010
Posts: 128
Received Thanks: 42
Quote:
Originally Posted by .0x1338_# View Post
Für Leute die keine [GM]´s [GA]´s etc im Ranking haben möchten nehme diese Rank.php


Rank.php
PHP Code:
<?php
echo "<center>";
include(
'inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'

    
$test "SELECT * from player";
        
$testquery mysql_query($test);
            
$num2 mysql_num_rows($testquery);

        if(
$_GET['max']) {
            
$get $_GET['max'];
        } else {
        
$get '0';


    
$max $get 20;
    
$max2 $get 20;

if(
$get $num2) {
}
elseif(
$get >= 20 && $get $num2) {  }
elseif (
$num2 <= 20) { echo ""; }
else {  }
echo 
"</center><br>";
?>

<center><table border="0">
    <tr>
        <th width="150">Platz</th>
        <th width="150">Name</th>
        <th width="150">Level</th>
        <th width="150">Exp</th>
        <th width="150">Reich</th>
    </tr>
</table></center>

<?php



    
include('inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'



// Select player etc from db //


    
$rank "SELECT * from player WHERE name NOT LIKE '[GA]%' and name NOT LIKE '[GM]%' order by level desc limit 10";
        
$query mysql_query($rank);
    echo 
"<center><table border=\"0\">"// Open table
    
$i 0;

            while(
$array mysql_fetch_array($query)) {
                
$i $i 1;


                echo 
"
                <tr>
                <th width=\"150\"><font color=\"black\">" 
$i "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["name"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["level"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["exp"] . "</font></th>";



                
$reich "SELECT empire from player_index where id = " $array[account_id] . "";
                    
$query2 mysql_query($reich);
                    
$array2 mysql_fetch_array($query2);


                if(
$array2["empire"] == 1) {
                echo 
"<th width=\"150\"><img src=\"images/red.jpg\"></th></tr>";
                } elseif(
$array2["empire"] == 2) {
                echo 
"<th width=\"150\"><img src=\"images/yellow.jpg\"></th></tr>";
                } else {
                echo 
"<th width=\"150\"><img src=\"images/blue.jpg\"></th></tr>";
                }
                }
    echo 
"</table></center><br>"// close table


}
?>
Einfach den inhalt hier in die "Rank.php" ersetzen

Klappt! Danke
.xSunjiix is offline  
Thanks
1 User
Old 10/15/2010, 17:29   #43
 
.Anonymous's Avatar
 
elite*gold: 193
Join Date: Jun 2009
Posts: 400
Received Thanks: 19
Quote:
Originally Posted by .0x1338_# View Post
Für Leute die keine [GM]´s [GA]´s etc im Ranking haben möchten nehme diese Rank.php


Rank.php
PHP Code:
<?php
echo "<center>";
include(
'inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'

    
$test "SELECT * from player";
        
$testquery mysql_query($test);
            
$num2 mysql_num_rows($testquery);

        if(
$_GET['max']) {
            
$get $_GET['max'];
        } else {
        
$get '0';


    
$max $get 20;
    
$max2 $get 20;

if(
$get $num2) {
}
elseif(
$get >= 20 && $get $num2) {  }
elseif (
$num2 <= 20) { echo ""; }
else {  }
echo 
"</center><br>";
?>

<center><table border="0">
    <tr>
        <th width="150">Platz</th>
        <th width="150">Name</th>
        <th width="150">Level</th>
        <th width="150">Exp</th>
        <th width="150">Reich</th>
    </tr>
</table></center>

<?php



    
include('inc/config.php'); // Connect to DB
        
mysql_select_db('player'); // Select DB 'player'



// Select player etc from db //


    
$rank "SELECT * from player WHERE name NOT LIKE '[GA]%' and name NOT LIKE '[GM]%' order by level desc limit 10";
        
$query mysql_query($rank);
    echo 
"<center><table border=\"0\">"// Open table
    
$i 0;

            while(
$array mysql_fetch_array($query)) {
                
$i $i 1;


                echo 
"
                <tr>
                <th width=\"150\"><font color=\"black\">" 
$i "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["name"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["level"] . "</font></th>
                <th width=\"150\"><font color=\"black\">" 
$array["exp"] . "</font></th>";



                
$reich "SELECT empire from player_index where id = " $array[account_id] . "";
                    
$query2 mysql_query($reich);
                    
$array2 mysql_fetch_array($query2);


                if(
$array2["empire"] == 1) {
                echo 
"<th width=\"150\"><img src=\"images/red.jpg\"></th></tr>";
                } elseif(
$array2["empire"] == 2) {
                echo 
"<th width=\"150\"><img src=\"images/yellow.jpg\"></th></tr>";
                } else {
                echo 
"<th width=\"150\"><img src=\"images/blue.jpg\"></th></tr>";
                }
                }
    echo 
"</table></center><br>"// close table


}
?>
Einfach den inhalt hier in die "Rank.php" ersetzen

Bei rank2 auch ?^^
.Anonymous is offline  
Old 10/15/2010, 17:32   #44
 
EfimXXXX's Avatar
 
elite*gold: 20
Join Date: Sep 2008
Posts: 450
Received Thanks: 117
ist das nur bei mir so oder wiso ladet die rangliste so lange? oO
EfimXXXX is offline  
Old 10/15/2010, 17:33   #45
 
elite*gold: 0
Join Date: Sep 2010
Posts: 128
Received Thanks: 42
Quote:
Originally Posted by .MagicStick View Post
Bei rank2 auch ?^^
Ne nur bei rank.php nicht rang.php
.xSunjiix is offline  
Reply

Tags
homepage, itemshop, metin2, script


Similar Threads Similar Threads
[REL]DreamMt2-Homepage-Script-Full
09/11/2010 - Metin2 PServer Guides & Strategies - 55 Replies
Guten Tag , hier die Komplette DreamMt2-Homepage. Es sind alle Scripts drin. Ausser der Auto-Cashin der PSC´s. Für die Datenbank da schaut ihr bitte selbst und erstellt selbst die Tabellen ansonsten mache ich nachher ne .sql zum batchen. Mfg AciDDreaM



All times are GMT +1. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.