Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 17:35

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

Advertisement



Itemshop will nicht :(

Discussion on Itemshop will nicht :( within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
marcelgogo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 507
Received Thanks: 19
Exclamation Itemshop will nicht :(

hey
Mein Itemshop funkt. nicht wenn ich ein Item kaufen möchte steht da:
Das angegebe Item existiert nicht.
Hier ist noch die Itemshop.php
Code:
<?PHP

  if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) {
    if(isset($_GET['k']) && checkInt($_GET['k'])) {
      $sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items WHERE kategorie_id='".$_GET['k']."' ORDER BY id DESC";
    }
    else {
      $sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items ORDER BY id DESC";
    }
  ?>
    <div id="content_top">Kategorien</div>
	<div id="content_main">
	<div width="80%">
      <?PHP
        $sqlCmd = "SELECT * FROM ".SQL_HP_DB.".is_kategorien ORDER BY titel ASC;";
        $sqlQry = mysql_query($sqlCmd,$sqlHp);
        while($getKats = mysql_fetch_object($sqlQry)) {
          echo'<a href="index.php?s=itemshop&k='.$getKats->id.'">'.$getKats->titel.'</a> &nbsp;&nbsp;&nbsp;&nbsp;';
        }
      ?>
	 </div> 
  </div>
  <div id="content_footer"></div>
  <br>
    <?PHP
      $sqlQry=mysql_query($sqlCmdS,$sqlHp);
      while($getItems=mysql_fetch_object($sqlQry)) {
        $aktItem = compareItems($getItems->vnum);
        $itemStufe = (checkInt($aktItem['stufe'])) ? "+".$aktItem['stufe'] : '';
        ?>
		  <div id="content_top"><?PHP echo $aktItem['item'].$itemStufe; echo ' ('.$getItems->preis.'<img src="img/coins.png"/>)';;?></div>
		  <div id="content_main">
		<table width="75%" cellspacing="0" cellpadding="0">
		<tr align="left">
		<td>
            <?PHP 
              if(!empty($getItems->bild)) echo'<img class="special" src="./is_img/'.$getItems->bild.'" title="'.$aktItem['item'].'" alt="'.$aktItem['item'].'"/>';	
			  elseif (empty($getItems->bild)) echo '<img class="special" src="./is_img/fail.png"</img> ';	
            ?>
			<td class="" align="left" valign="top" style="padding-left:8px;"><?PHP echo $getItems->beschreibung;?></td>
			</td>
		</tr>	
		</table>
		<table width="85%" cellspacing="0" cellpadding="0">
		<tr>
		 <td align="right"><img src="img/buy.png"><a class="special" href="index.php?s=is_buy&id=<?PHP echo $getItems->id; ?>">Kaufen</a></td>
		 </tr>
		</table>
		<br>
		</div>
		<div id="content_footer">
		</div><br>
        <?PHP
      }
    ?>
  <?PHP
  }
  else {
    echo'<div id="content_top">Itemshop</div>
	<div id="content_main">
	<p class="meldung">Sie müssen für diesen Bereich angemeldet sein.</p>
	</div>
	<div id="content_footer"></div>';
  }
?>
marcelgogo is offline  
Reply


Similar Threads Similar Threads
ImGame ItemShop ladet nicht
08/05/2012 - Metin2 Private Server - 3 Replies
Also ich hab den Neuen Clienten von NeonBlue 4.5 ;D und naturlich ladet die ImGame ItemShop seite net wo kann ich einstellen auf welche seite es leiten soll ich hab die Root dateien entpackt aber bin jetzt nicht so er spezialist wie mache ich das http://s5.directupload.net/images/100519/cb4vu4rb .png http://s1.directupload.net/images/100519/dpd88urt .png
Itemshop funktioniert nicht
05/06/2012 - Metin2 Private Server - 5 Replies
hallo habe die regi page von werdernator für hamachi Server und zwar wollt ich gerade eben item Shop machen Hab ne neue kategorie gemacht mit namen Uppitems ok das hat geglapt und dan wollte ich ich item einfügen in kategorie steht ales erfolgrei gemacht usw... aber das item kan man ned kaufen in itemshop hab ausgelogt und eingelogt und drozdem ned geglapt pls hilft mir
Itemshop funkt. nicht!
08/05/2011 - Metin2 Private Server - 6 Replies
Hi leute, Ich habe die Regipage/Itemshop CMS by hennick v1.3 und kann keinen Item/Waffen/Rüstungen.... in den Itemshop einfügen :rtfm: Könnt ihr mir helfen? Thanks gibt es natürlich!:handsdown:
itemshop kann auf db nicht zu greifen =(
06/18/2010 - Metin2 Private Server - 9 Replies
Hi freunde ;) also wie oben schon beschrieben,kann mein itemshop nicht auf meine db zugreifen,mir wurde schon gesagt,ich sollte eine tabeller erstellen,itemshop.habe ich auch getan,nur es tut sich nichts =( oder kommt in die tabelle noch was rein? danke für eure hilfe ;)



All times are GMT +2. The time now is 17:35.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.