Neuigkeiten:

still alive...

Hauptmenü

warscript frage

Begonnen von zomby, 15. Februar 2005, 19:42:44

Vorheriges Thema - Nächstes Thema

neolass

Überschreib mal die Zeile hab da 2 x das \"\\\" vergessen *peinlichsei*  /uploads/emoticons/icon_e_surprised.gif.a8707b3f35a569cb4cfe563fc72ef78d.gif\" alt=\":-o\" />
 

echo \"\"; 



http://www.igl-europe.com/gfx/smilies/1hanf.gif\" alt=\"1hanf.gif\">




							

mahe


Original von zOmby na dann sollte das ja geklärt sein /uploads/emoticons/icon_e_wink.gif.fcb053ab2c91cb6224c03a16c6332abf.gif\" alt=\";)\" />
kommen wir nun zurück zum thema, kann mir wer helfen wenn ich die dateien hochlade ? ich habe absolut keine ahnung davon...
[/quote]Also für mich ist da garnichts geklärt ...

http://blog.mahe.at\" rel=\"external nofollow\">http://blog.mahe.at/wp-content/uploads/2007/06/88x31_1.jpg\" alt=\"88x31_1.jpg\">


Ja, diese Signatur dient zur Werbung!


Und dass ich meine Posts wiederfinde ...


zomby

wow hat geklappt, bin dir sehr dankbar dafür, würde das auch mit dieser datei gehen ?
würde da gern anstatt aktiv und inaktiv wieder die buttons haben ( zentirert )
edit :
 

Bitte die Datei \\\"members_setup.php\\\" vom Server löschen!\";
   exit();
}
@include (\"members_datas/config.inc.php\");
@mysql_connect ($db[\'server\'], $db[\'user\'], $db[\'pw\']);
@mysql_select_db ($db[\'name\']);
$conn_check = @mysql_query (\"select * from oz_members_config\");
if (!($conn_check)) {
   echo \"Es konnte keine Verbindung zur Datenbank hergestellt werden!
   Bitte überprüfe deine Config, oder führe die Installation aus!\";
   exit();
}
elseif ($conn_check) {
   function getcatname ($var) {
       $query = mysql_query (\"select * from oz_members_cats where id=\'\".$var.\"\'\");
       $row = mysql_fetch_array ($query, MYSQL_ASSOC);
       $out.=$row[\'name\'];
       return ($out);
   }
   function getwww ($var) {
       if (strstr ($var, \"http://\")) {$out.=\"\".$var.\"\";}
       elseif (!(strstr ($var, \"http://\"))) {$out.=\"http://\".$var.\"\";}
       return ($out);
   }
   function gettime ($var) {
       $now = date (\"d.m.Y\", time());
       $date = date (\"d.m.Y\", $var);
       $date_true = date (\"H:i\", $var);
       $date_false = date (\"d.m.Y - H:i\", $var);
       if ($date == $now) {$out.=\"Heute - \".$date_true.\"\";}
       elseif ($date != $now) {$out.=\"\".$date_false.\"\";}
       return ($out);
   }
   function bbcode ($var) {
       $var = htmlentities ($var);
       $var = nl2br ($var);
       $var = str_replace (\":)\", \"\", $var);
       $var = str_replace (\":(\", \"\", $var);
       $var = str_replace (\";)\", \"\", $var);
       $var = str_replace (\";(\", \"\", $var);
       $var = str_replace (\":D\", \"\", $var);
       $var = str_replace (\"=)\", \"\", $var);
       $var = str_replace (\"]\", \"\", $var);
       $var = str_replace (\"8)\", \"\", $var);
       $var = str_replace (\":o\", \"\", $var);
       $var = str_replace (\":P\", \"\", $var);
       $var = url_parse ($var);
       $var = str_replace (\"
\", \"\", $var);
       $var = preg_replace (\"/\\(.*)\\[\\/b\\]/siU\", \"\\\\1\", $var);
       $var = preg_replace (\"/\\(.*)\\[\\/i\\]/siU\", \"\\\\1\", $var);
       $var = preg_replace (\"/\\(.*)\\[\\/u\\]/siU\", \"\\\\1\", $var);
       $var = str_replace (\"[raquo]\", \"»\", $var);
       $var = str_replace (\"[laquo]\", \"«\", $var);
       $var = preg_replace (\"/\\
(.*)\\[\\/center\\]/siU\", \"\\\\1\", $var);
       $var = preg_replace (\"/\\[img](.*)\\[\\/img\\]/siU\", \"\", $var);
       $var = preg_replace (\"/\\[color=(.*)\\](.*)\\[\\/color\\]/siU\", \"\\\\2\", $var);
       $var = eregi_replace (\"\\\\[url\\\\]www.([^\\\\[]*)\\\\[/url\\\\]\", \"\\\\1\", $var);
       $var = eregi_replace (\"\\\\[url\\\\]([^\\\\[]*)\\\\[/url\\\\]\", \"\\\\1\", $var);
       $var = preg_replace(\"/\\(.*)\\[\\/url\\]/siU\", \"\\\\2\", $var);
       $var = eregi_replace (\"\\\\[email\\\\]([^\\\\[]*)\\\\[/email\\\\]\", \"\\\\1\", $var);
       $var = preg_replace (\"/\\[email=(.*)\\](.*)\\[\\/email\\]/siU\", \"\\\\2\", $var);
       return ($var);
   }
   function url_parse ($var) {
       $url1 = array (
       \"/([^]_a-z0-9-=\\\"\'\\/])((https?|ed2k|unreal|ftp|gopher|news|telnet):\\/\\/|www\\.)([^ \\r\\n\\(\\)\\*\\^\\$!`\\\"\'\\|\\[\\]\\{\\};]*)/si\",
       \"/^((https?|ed2k|unreal|ftp|gopher|news|telnet):\\/\\/|www\\.)([^ \\r\\n\\(\\)\\*\\^\\$!`\\\"\'\\|\\[\\]\\{\\};]*)/si\"
       );
       $url2 = array (
       \"\\\\1[url]\\\\2\\\\4
\",
       \"//\\\\1\\\\3\"
       );
       $email1 = array (
       \"/([ \\n\\r\\t])([_a-zA-Z0-9-]+(\\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*(\\.[a-zA-Z]{2,4}))/si\",
       \"/^([_a-zA-Z0-9-]+(\\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*(\\.[a-zA-Z]{2,4}))/si\"
       );
       $email2 = array (
       \"\\\\1\\\\2\",
       \"\\\\0\"
       );
       $out = preg_replace ($url1, $url2, $var);
       if (strpos ($out, \"@\")) {
           $out = preg_replace ($email1, $email2, $out);
       }
       return ($out);
   }
   $query_config = mysql_query (\"select * from oz_members_config\");
   $row_config = mysql_fetch_array ($query_config, MYSQL_ASSOC);
   echo \"
   \".$row_config[\'clanname\'].\" - Members
 
   \\n\";
   switch ($_GET[\'act\']) {
       case \"show\":
       if (!(isset ($_GET[\'id\']))) {$err = \"1\";}
       @mysql_query (\"update oz_members set views=views+1 where id=\'\".$_GET[\'id\'].\"\'\");
       $query = @mysql_query (\"select * from oz_members where id=\'\".$_GET[\'id\'].\"\'\");
       $row = @mysql_fetch_array ($query, MYSQL_ASSOC);
       if (!($row)) {$err = \"1\";}
       if ($err == \"1\") {
           if ($row_config[\'include\'] == \"1\") {$loc = $row_config[\'include_path\'];}
           else {$loc = \"members.php\";}
           header (\"location: \".$loc.\"\");
       }
       echo \"\".$row_config[\'clanname\'].\" Members
       \".$row_config[\'clantag_prefix\'].\"\".$row[\'name\'].\"\".$row_config[\'clantag_suffix\'].\"
       Real-Name:
       \".($row[\'real_name\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'real_name\'].\"\").\"
       \".$row_config[\'clantag_prefix\'].\"\".$row[\'name\'].\"\".$row_config[\'clantag_suffix\'].\" wirkt in \".($row[\'cat2id\'] == \"\" ? \"der Kategorie \".getcatname($row[\'catid\']).\"\" : \"den Kategorien \".getcatname($row[\'catid\']).\", \".getcatname($row[\'cat2id\']).\"\".($row[\'cat3id\'] == \"\" ? \"\" : \", \".getcatname($row[\'cat3id\']).\"\").\"\".($row[\'cat4id\'] == \"\" ? \"\" : \", \".getcatname($row[\'cat4id\']).\"\").\"\".($row[\'cat5id\'] == \"\" ? \"\" : \", \".getcatname($row[\'cat5id\']).\"\").\"\").\" mit
       Alter:
       \".($row[\'_alter\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'_alter\'].\"\").\"
       Herkunft:
       \".($row[\'herkunft\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'herkunft\'].\"\").\"
       Nationalität:
 
       Geschlecht:
       \".($row[\'geschlecht\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'geschlecht\'].\"\").\"
       Homepage:
       \".($row[\'homepage\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'homepage\'].\"\").\"
       E-Mail:
       \".($row[\'email\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'email\'].\"\").\"
       ICQ:
       \".($row[\'icq\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'icq\'].\"\").\"
       Member seit:
       \".($row[\'member_since_month\'] == \"\" ? \"-\" : \"\".$row[\'member_since_month\'].\"\").\"/\".($row[\'member_since_year\'] == \"\" ? \"-\" : \"\".$row[\'member_since_year\'].\"\").\"
       Aufgaben:
       \".($row[\'aufgaben\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'aufgaben\'].\"\").\"
       Status:
       \".($row[\'stat\'] == \"1\" ? \"Aktiv\" : \"Inaktiv\").\"
       Equipment
       CPU:
       \".($row[\'equipment_cpu\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_cpu\'].\"\").\"
       GPU:
       \".($row[\'equipment_gpu\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_gpu\'].\"\").\"
       RAM:
       \".($row[\'equipment_ram\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_ram\'].\"\").\"
       Motherboard:
       \".($row[\'equipment_motherboard\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_motherboard\'].\"\").\"
       Soundkarte:
       \".($row[\'equipment_soundkarte\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_soundkarte\'].\"\").\"
       Monitor:
       \".($row[\'equipment_monitor\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_monitor\'].\"\").\"
       Auflösung:
       \".($row[\'equipment_resolution\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_resolution\'].\"\").\"
       Maus:
       \".($row[\'equipment_maus\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_maus\'].\"\").\"
       Mauspad:
       \".($row[\'equipment_mauspad\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_mauspad\'].\"\").\"
       Connection:
       \".($row[\'equipment_connection\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_connection\'].\"\").\"
       Betriebssystem:
       \".($row[\'equipment_betriebssystem\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'equipment_betriebssystem\'].\"\").\"
       Lieblings-
       Waffe(n):
       \".($row[\'lieblings_waffen\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'lieblings_waffen\'].\"\").\"
       Map(s):
       \".($row[\'lieblings_maps\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'lieblings_maps\'].\"\").\"
       Drink(s):
       \".($row[\'lieblings_drinks\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'lieblings_drinks\'].\"\").\"
       Stellung(en):
       \".($row[\'lieblings_stellungen\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'lieblings_stellungen\'].\"\").\"
       Musik:
       \".($row[\'lieblings_musik\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'lieblings_musik\'].\"\").\"
       Sonstiges
       Motto:
       \".($row[\'sonstiges_motto\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'sonstiges_motto\'].\"\").\"
       Clanhistory:
       \".($row[\'sonstiges_clanhistory\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'sonstiges_clanhistory\'].\"\").\"
       Kommentar:
       \".($row[\'sonstiges_kommentar\'] == \"\" ? \"keine Angabe\" : \"\".$row[\'sonstiges_kommentar\'].\"\").\"
       \\n\";
       if (!(isset ($site))) {$site = \"0\";}
       $pro_seite = $row_config[\'per_page\'];
       $query_gb = mysql_query (\"select * from oz_members_gbook where memberid=\'\".$_GET[\'id\'].\"\' order by id desc limit $site, $pro_seite\");
       $num_gb = @mysql_num_rows (mysql_query (\"select * from oz_members_gbook where memberid=\'\".$_GET[\'id\'].\"\'\"));
       echo \"
       Guestbook von \".$row_config[\'clantag_prefix\'].\"\".$row[\'name\'].\"\".$row_config[\'clantag_suffix\'].\" - \".($num_gb == \"1\" ? \"1 Message\" : \"\".($num_gb == \"0\" ? \"noch keine Messages vorhanden\" : \"\".$num_gb.\" Messages\").\"\").\"
       \";
       if ($num_gb == \"0\") {$num_gb = \"1\";}
       $gesamt_seiten = ceil ($num_gb/$pro_seite);
       echo \"Seite: \";
       for ($i=\"1\"; $i[ \".($site != $j ? \"\".$i.\"\" : \"\".$i.\"\").\" ]  \";
       }
       echo \"\\n\";
       $entryid = $num_gb - $site;
       $i = 0;
       while ($row_gb = mysql_fetch_array ($query_gb, MYSQL_ASSOC)) {
           $i++;
           if ($i == 2) {$color = $row_config[\'table_2_bgcolor\']; $i = 0;} else {$color = $row_config[\'table_1_bgcolor\'];}
           $row_gb[\'message\'] = stripslashes(bbcode ($row_gb[\'message\']));
           echo \"
           #\".$entryid--.\"
           \".stripslashes($row_gb[\'name\']).\" @ \".gettime ($row_gb[\'date\']).\"
           [ www ]  [ email ]  [ icq ]
           \".$row_gb[\'message\'].\"\".($row_gb[\'admin_comment\'] != \"\" ? \"Kommentar:\".$row_gb[\'admin_comment\'].\"\" : \"\").\"\\n\";
       }
       echo \"\\n\";
       echo \"
       function check () {
           if(document.a.name.value == \\\"\\\") {
               alert (\\\"Bitte Namen eingeben\\\");
               return false;
           }
           if(document.a.www.value == \\\"\\\") {
               alert (\\\"Bitte Homepage angeben\\\");
               return false;
           }
           if(document.a.email.value == \\\"\\\") {
               alert (\\\"Bitte E-Mail angeben\\\");
               return false;
           }
           if(document.a.icq.value == \\\"\\\") {
               alert (\\\"Bitte ICQ angeben\\\");
               return false;
           }
           if(document.a.message.value == \\\"\\\") {
               alert (\\\"Bitte Message eingeben\\\");
               return false;
           }
       }
 
       Name:
       WWW:
       E-Mail:
       ICQ:
       Message:
 
       [ Memberübersicht ]\\n\";
       break;
       case \"add_entry\":
       $query = @mysql_query (\"select * from oz_members_gbook where memberid=\'\".$_GET[\'memberid\'].\"\' order by id desc limit 0, 1\");
       $row = @mysql_fetch_array ($query, MYSQL_ASSOC);
       if ($row[\'ip\'] == $_SERVER[\'REMOTE_ADDR\']) {echo \"Spammschutz aktiv!\\n\";}
       elseif ($row[\'ip\'] != $_SERVER[\'REMOTE_ADDR\']) {
           $_POST[\'name\'] = addslashes ($_POST[\'name\']);
           $_POST[\'message\'] = addslashes ($_POST[\'message\']);
           $date = time();
           mysql_query (\"insert into oz_members_gbook (name, www, email, icq, message, ip, memberid, date) values (\'\".$_POST[\'name\'].\"\', \'\".$_POST[\'www\'].\"\', \'\".$_POST[\'email\'].\"\', \'\".$_POST[\'icq\'].\"\', \'\".$_POST[\'message\'].\"\', \'\".$_SERVER[\'REMOTE_ADDR\'].\"\', \'\".$_GET[\'memberid\'].\"\', \".$date.\")\");
           if ($row_config[\'include\'] == \"1\") {echo \"Danke für deinen Eintrag!\\n\";}
           elseif ($row_config[\'include\'] != \"1\") {header (\"location: ?act=show&id=\".$_GET[\'memberid\'].\"\");}
       }
       break;
       default:
       $num_top[\'gesamt\'] = @mysql_num_rows (mysql_query (\"select * from oz_members\"));
       $num_top[\'aktiv\'] = @mysql_num_rows (mysql_query (\"select * from oz_members where stat=\'1\'\"));
       $num_top[\'inaktiv\'] = @mysql_num_rows (mysql_query (\"select * from oz_members where stat=\'0\'\"));
       echo \"
       \".$row_config[\'clanname\'].\" Members
       Gesamt: \".$num_top[\'gesamt\'].\"
       Aktiv: \".$num_top[\'aktiv\'].\"
       Inaktiv: \".$num_top[\'inaktiv\'].\"
       \\n\";
       $query_cats = mysql_query (\"select * from oz_members_cats order by sort asc\");
       while ($row_cats = mysql_fetch_array ($query_cats, MYSQL_ASSOC)) {
           $num_cats_members = mysql_num_rows (mysql_query (\"select * from oz_members where catid=\'\".$row_cats[\'id\'].\"\' or cat2id=\'\".$row_cats[\'id\'].\"\' or cat3id=\'\".$row_cats[\'id\'].\"\' or cat4id=\'\".$row_cats[\'id\'].\"\' or cat5id=\'\".$row_cats[\'id\'].\"\' order by id asc\"));
           echo \"
           \".($row_config[\'show_gameicons\'] == \"1\" ? \" \" : \"\").\"\".$row_cats[\'name\'].\"
           \".($num_cats_members == \"1\" ? \"\".$num_cats_members.\" Member\" : \"\".$num_cats_members.\" Members\").\"
            
           \\n\";
           if ($num_cats_members == \"0\") {
               echo \"- keine Members in dieser Kategorie -\\n\";
           }
           elseif ($num_cats_members > \"0\") {
           echo \"Member
           Status
           Nationalität
           Aufgaben\\n\";
           }
           $query_overview = mysql_query (\"select * from oz_members where catid=\'\".$row_cats[\'id\'].\"\' or cat2id=\'\".$row_cats[\'id\'].\"\' or cat3id=\'\".$row_cats[\'id\'].\"\' or cat4id=\'\".$row_cats[\'id\'].\"\' or cat5id=\'\".$row_cats[\'id\'].\"\' order by id asc\");
           $i = 0;
           while ($row_overview = mysql_fetch_array ($query_overview, MYSQL_ASSOC)) {
               $i++;
               if ($i == 2) {$color = $row_config[\'table_2_bgcolor\']; $i = 0;} else {$color = $row_config[\'table_1_bgcolor\'];}
               echo \"
               \".$row_config[\'clantag_prefix\'].\"\".$row_overview[\'name\'].\"\".$row_config[\'clantag_suffix\'].\"
               \".($row_overview[\'stat\'] == \"1\" ? \"Aktiv\" : \"Inaktiv\").\"
               \".($row_overview[\'aufgaben\'] == \"\" ? \"keine Angabe\" : \"\".$row_overview[\'aufgaben\'].\"\").\"\\n\";
           }
           echo \"\\n\";
       }
       break;
   }
   echo \"
   Powered By XBrite Members 1.1 | © xelebrite.de | Admin
   \\n\";
}
?>
 

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


neolass



http://www.igl-europe.com/gfx/smilies/1hanf.gif\" alt=\"1hanf.gif\">




							

zomby

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


zomby

schade wohl nicht ;((

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


zomby

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


Zeile 243:

\".($row[\'stat\'] == \"1\" ? \"Aktiv\" : \"Inaktiv\").\"

 
ändern in:

\".($row[\'stat\'] == \"1\" ? \"\" : \"\").\"

 
img src=\\\"\".$gruenespic.\"\\\"
oben drüber natürlich wieder:


$gruenespic =\"URL/zum/gruenen/pic.jpg\";
$rotespic =\"URL/zum/roten/pic.jpg\";

vergiss die Zeile
img src=\\\"\".$gruenespic.\"\\\"
in dem post!

zomby

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


zomby

funktioniert leider nicht so wie du sagtest wenn ich alles richtig gemacht habe /uploads/emoticons/icon_e_smile.gif.4a0acefcb917340d2c82e5239c009e6e.gif\" alt=\":)\" />

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


zomby

kann mir denn kein andrer helfen ? :-/

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


zomby

ich schiebs nochmal hoch, es sind zwar schon 7 tage vergangen, aber vielleicht naht ja doch noch hilfe /uploads/emoticons/icon_e_smile.gif.4a0acefcb917340d2c82e5239c009e6e.gif\" alt=\":)\" />

Nun die Toten haben das Ende des Krieges gesehen...




www.myud.de


all your base are belong to us / Discord