Location: PHPKode > projects > World of Warcraft Signature Script > index.php
<?php
/*******************************************************

Projectname: World of Warcraft Signature Script 
Version: 0.87
Authors: l4wr3ny <hide@address.com>
License: GPL 2.0 (http://www.gnu.org/copyleft/gpl.html)

*******************************************************/
define("INZWOWSIG","TRUE");
include("config.php");
include("includes/dbconnect.php");
include("includes/xml_dl_clases.php"); 
$id=$_GET['id'];
$searchid=$_GET['searchid'];
$mod=$_GET['mod'];

if ($_GET['updatepw']==$updatepw)
{
    include("includes/update.php");
   exit;
}
elseif (is_numeric($id))
{
   $id=mysql_real_escape_string($id);
    include("includes/pic.php");
   exit;
}
?>
<h1>wowsig Signaturen Generator</h1>
<form action="index.php" methode="get">
characternamen eingeben
<?
if ($allowwildcards)
{
  echo "(benutze % als wildcard)";
}
?>:<br>
<input type="text" name="searchid" value="<? echo $searchid;?>">
<input type="hidden" name="mod" value="search">
<?
if ($_GET['extendedsearch']=="true")
{
include("includes/varconfig.php");
?>
<input type="hidden" name="extendedsearch" value="true">
<br>
<p><a href="index.php?searchid=<? echo $_GET['searchid'];?>">Einfache Einstellungen</a></p>
<h3>Erweiterte Einstellungen</h3>

-Alle Farben werden in R G B angegeben, wobei jeder Wert zwischen 0 und 255 liegt<br>
-Bei Schriftarten wird ein Wert zwischen 1 und 8 erwartet<br>
-Leer gelassene Felder werden mit Standardwerten gefüllt<br>
<table>
 <tr>
 <td colspan="2"><h4><center>Farben</center></h4></td>
 </tr>

 <tr>
  <td>Überschirft</td>
  <td>
   <input size="3" maxlength="3" type="text" name="headcolor_r" value="<? echo $headcolor_r;?>">
   <input size="3" maxlength="3" type="text" name="headcolor_g" value="<? echo $headcolor_g;?>">
   <input size="3" maxlength="3" type="text" name="headcolor_b" value="<? echo $headcolor_b;?>">
  </td>
 </tr>

 <tr>
  <td>Umrandung</td>
  <td>
   <input size="3" maxlength="3" type="text" name="rahmencolor_r" value="<? echo $rahmencolor_r;?>">
   <input size="3" maxlength="3" type="text" name="rahmencolor_g" value="<? echo $rahmencolor_g;?>">
   <input size="3" maxlength="3" type="text" name="rahmencolor_b" value="<? echo $rahmencolor_b;?>">
  </td>
 </tr>

 <tr>
  <td>Beschriftung</td>
  <td>
   <input size="3" maxlength="3" type="text" name="labelcolor_r" value="<? echo $labelcolor_r;?>">
   <input size="3" maxlength="3" type="text" name="labelcolor_g" value="<? echo $labelcolor_g;?>">
   <input size="3" maxlength="3" type="text" name="labelcolor_b" value="<? echo $labelcolor_b;?>">
  </td>
 </tr>

 <tr>
  <td>Inhalt</td>
  <td>
   <input size="3" maxlength="3" type="text" name="contcolor_r" value="<? echo $contcolor_r;?>">
   <input size="3" maxlength="3" type="text" name="contcolor_g" value="<? echo $contcolor_g;?>">
   <input size="3" maxlength="3" type="text" name="contcolor_b" value="<? echo $contcolor_b;?>">
  </td>
 </tr>

 <tr>
  <td>Serverüberschirft</td>
  <td>
   <input size="3" maxlength="3" type="text" name="serverheadcolor_r" value="<? echo $serverheadcolor_r;?>">
   <input size="3" maxlength="3" type="text" name="serverheadcolor_g" value="<? echo $serverheadcolor_g;?>">
   <input size="3" maxlength="3" type="text" name="serverheadcolor_b" value="<? echo $serverheadcolor_b;?>">
  </td>
 </tr>

 <tr>
  <td>Serverinhalt</td>
  <td>
   <input size="3" maxlength="3" type="text" name="servercontcolor_r" value="<? echo $servercontcolor_r;?>">
   <input size="3" maxlength="3" type="text" name="servercontcolor_g" value="<? echo $servercontcolor_g;?>">
   <input size="3" maxlength="3" type="text" name="servercontcolor_b" value="<? echo $servercontcolor_b;?>">
  </td>
 </tr>

 <tr>
 <td colspan="2"><h4><center>Schriftarten</center></h4></td>
 </tr>
 
 <tr>
  <td>Beschriftung</td>
  <td>
   <input size="1" maxlength="1" type="text" name="labelfont" value="<? echo $labelfont;?>">
  </td>
 </tr>

 <tr>
  <td>Inhalt</td>
  <td>
   <input size="1" maxlength="1" type="text" name="contfont" value="<? echo $contfont;?>">
  </td>
 </tr>

 <tr>
  <td>Überschrift</td>
  <td>
   <input size="1" maxlength="1" type="text" name="headfont" value="<? echo $headfont;?>">
  </td>
 </tr>

 <tr>
  <td>Serverüberschrift</td>
  <td>
   <input size="1" maxlength="1" type="text" name="serverheadfont" value="<? echo $headfont;?>">
  </td>
 </tr>

 <tr>
  <td>Serverinhalt</td>
  <td>
   <input size="1" maxlength="1" type="text" name="servercontfont" value="<? echo $servercontfont;?>">
  </td>
 </tr>

 <tr>
 <td colspan="2"><h4><center>Schriftgrößen</center></h4></td>
 </tr>

 <tr>
  <td>Überschrift</td>
  <td>
   <input size="1" maxlength="2" type="text" name="headsize" value="<? echo $headsize;?>">
  </td>
 </tr>

 <tr>
  <td>Beschriftung</td>
  <td>
   <input size="1" maxlength="2" type="text" name="labelsize" value="<? echo $labelsize;?>">
  </td>
 </tr>

 <tr>
  <td>Inhalt</td>
  <td>
   <input size="1" maxlength="2" type="text" name="contsize" value="<? echo $contsize;?>">
  </td>
 </tr>

 <tr>
  <td>Serverüberschrift</td>
  <td>
   <input size="1" maxlength="2" type="text" name="serverheadsize" value="<? echo $headsize;?>">
  </td>
 </tr>

 <tr>
  <td>Serverinhalt</td>
  <td>
   <input size="1" maxlength="2" type="text" name="servercontsize" value="<? echo $servercontsize;?>">
  </td>
 </tr>


 <tr>
 <td colspan="2"><h4><center>Sonstiges</center></h4></td>
 </tr>

 <tr>
  <td>Hintergrundschärfe (in Prozent)</td>
  <td>
   <input size="3" maxlength="3" type="text" name="bgvisible" value="<? echo $bgvisible;?>">
  </td>
 </tr>

</table>
<?
}
else
{
?>
<p><a href="index.php?extendedsearch=true&searchid=<? echo $_GET['searchid'];?>">Erweitere Einstellungen</a></p>
<?
}
?>
<input type="submit" value="generate">
</form>
<?
if ($mod=="search"&&$searchid!='')
{
   $searchid=mysql_real_escape_string($searchid);
    include("includes/search.php");
}
?><p>Die Informationen können aus technischen und finanziellen Gründen um bis zu <?
echo round($refreshrate/60);
?> Minuten abweichen</p>
Return current item: World of Warcraft Signature Script