anpera.net

anpera.net

experimental server @home
Aktuelle Zeit: Di 23 Apr, 2024 10:26

Alle Zeiten sind UTC + 1 Stunde




Ein neues Thema erstellen Auf das Thema antworten  [ 27 Beiträge ]  Gehe zu Seite Vorherige  1, 2
Autor Nachricht
 Betreff des Beitrags:
BeitragVerfasst: Di 28 Nov, 2006 11:48 
Offline
Profi
Profi

Registriert: Fr 31 Mär, 2006 19:30
Beiträge: 143
Wohnort: Hannover
Geschlecht: Männlich
LoGD: http://goddart.eu/source.php
Rikkarda ?

ich hab ja soweit alles verstanden ausser das mti dem
viewcommentary verstehe ich nicht
wie muss ich das machen?
Danke schonmal im vorraus


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi 14 Nov, 2007 18:46 
Offline
Profi
Profi

Registriert: So 03 Sep, 2006 13:55
Beiträge: 141
Hi,
ich versuche seit geraumer Zeit Deshers Gildensystem einzubauen und hab dabei unter anderem das Problem, dass man in der viewcommentary etwas umstellen muss, das aber nicht auf /ms ausgelegt ist.
Jetzt meine Bitte, dass Rikkarda (von ihr weiß ich, sie benutzt dieses Gildensystem) evtl. ihre Lösung dieses Problems uppen könnte.
Wäre wirklich sehr nett.

December


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi 14 Nov, 2007 19:04 
Offline
Freak
Freak
Benutzeravatar

Registriert: Sa 28 Aug, 2004 18:48
Beiträge: 1712
poste pls deine viewcommentary

_________________
~Inaktiv und Abwesend solange Mysql hier Moderatorenrechte hat~


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi 14 Nov, 2007 19:06 
Offline
Profi
Profi

Registriert: So 03 Sep, 2006 13:55
Beiträge: 141
function viewcommentary($section,$message="Kommentar hinzufügen?",$limit=10,$talkline="sagt") {
global $HTTP_POST_VARS,$session,$REQUEST_URI,$HTTP_GET_VARS, $doublepost,$appoencode_str;

$nobios = array("motd.php"=>true);
if ($nobios[basename($_SERVER['SCRIPT_NAME'])]) $linkbios=false; else $linkbios=true;
//output("`b".basename($_SERVER['SCRIPT_NAME'])."`b`n");
if ($doublepost) output("`\$`bDoppelpost?`b`0`n");
$message = translate($message);

$com=(int)$HTTP_GET_VARS[comscroll];
// Guild/Clans code by Dasher
$sql = "SELECT commentary.*,
accounts.name,
accounts.login,
accounts.guildID,
lotbd_guilds.GuildPrefix
FROM commentary
INNER JOIN accounts
ON accounts.acctid = commentary.author
LEFT JOIN lotbd_guilds
ON lotbd_guilds.ID = accounts.GuildID
WHERE section = '$section'
AND accounts.locked=0
ORDER BY commentid DESC
LIMIT ".($com*$limit).",$limit";
$result = db_query($sql) or die(db_error(LINK));
$counttoday=0;
for ($i=0;$i < db_num_rows($result);$i++){
$row = db_fetch_assoc($result);
$row[comment]=preg_replace("'[`][^".$appoencode_str."`]'","",$row[comment]);
$commentids[$i] = $row[commentid];

$x=0;
$ft="";
for ($x=0;strlen($ft)<3 && $x<strlen($row[comment]);$x++){
if (substr($row[comment],$x,1)=="`" && strlen($ft)==0) {
$x++;
}else{
$ft.=substr($row[comment],$x,1);
}
}
$link = "bio.php?char=".rawurlencode($row[login]) . "&ret=".URLEncode($_SERVER['REQUEST_URI']);
$link2 = "`2[`0<a href='showdetail.php?id=".$row['gildenid']."' target='window_popup' onClick=\"".popup("showdetail.php?id=".$row['gildenid'])."; return false;\">`&".stripslashes($row['gildenprefix'])."`&</a>`2]";
if (substr($ft,0,2)=="::") $ft = substr($ft,0,2);
if (substr($ft,0,2)=="/X") $ft = substr($ft,0,2);
else
if (substr($ft,0,1)==":") $ft = substr($ft,0,1);
/*
Landschafts-Emote by Eliwood
*/
if ($ft=="/X")
{
//Stealthwatcher by Wraith
if ($session[user][superuser]>=3){
if ($session['user']['prefs']["xmote"]==1){
$SW_sql = "SELECT name FROM accounts WHERE acctid='".$row[author]."'";
$SW_result = db_query($SW_sql) or die(db_error(LINK));
$SW_c=0;
for ($SW_c=0;$SW_c < db_num_rows($SW_result);$SW_c++){
$op[$i].=" `7[von `&".$row[name]."`7] ";
}
}
}
//end Stealthwatcher
$x = strpos($row[comment],$ft);
if ($x!==false)
{
if ($linkbios)
$op[$i] .= str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] .= str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*Landschaft-Emote Ende*/
elseif ($ft=="::" || $ft=="/me" || $ft==":"){
$x = strpos($row[comment],$ft);
if ($x!==false){
if ($linkbios)
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0".$link2."`0<a href='$link' style='text-decoration: none'>\n`&$row[name]`0</a>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`&$row[name]`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*beginn ms-rp Emote by Rikkarda@silienta-logd.de for http://www.silienta-logd.de*/
elseif ($ft=="/ms"){
$name = str_replace("`0","",$row['name']);
$namestrlen = strlen($name);
$lastchar = $name{$namestrlen-1};
$name = $name.($lastchar == "s" || $lastchar == "x"?"'`0":"s`0");

$x = strpos($row[comment],$ft);
if ($x!==false){
if ($linkbios)
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0<a href='$link' style='text-decoration: none' >\n<span onMouseOver=\"return escape('".HTMLEntities($string)."')\">`&$name`0</span></a>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n<span onMouseOver=\"return escape('".HTMLEntities($string)."')\">`&$name`0</span>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*rp-ms Emote-End*/
if ($op[$i]=="")
if ($linkbios)
$op[$i] = "`0".$link2."`0<a href='$link' style='text-decoration: none'>`&$row[name]`0</a>`3 sagt: \"`#"
.str_replace("&amp;","&",HTMLEntities($row[comment]))."`3\"`0`n";
else
$op[$i] = "`0`&$row[name]`0`3 sagt: \"`#"
.str_replace("&amp;","&",HTMLEntities($row[comment]))."`3\"`0`n";
if ($message=="X") $op[$i]="`0($row[section]) ".$op[$i];
$loggedin=(date("U") - strtotime($row[laston]) < getsetting("LOGINTIMEOUT",900) && $row[loggedin]);
if ($row['postdate']>=$session['user']['recentcomments']) $op[$i]=($loggedin?"<img src='images/new-online.gif' alt='&gt;' width='3' height='5' align='absmiddle'> ":"<img src='images/new.gif' alt='&gt;' width='3' height='5' align='absmiddle'> ").$op[$i];
addnav("",$link);
}
$i--;
$outputcomments=array();
$sect="x";
for (;$i>=0;$i--){
$out="";
if ($session[user][superuser]>=3 && $message=="X"){
$out.="`0[ <a href='superuser.php?op=commentdelete&commentid=$commentids[$i]&return=".URLEncode($_SERVER['REQUEST_URI'])."'>Löschen</a> ]&nbsp;";
addnav("","superuser.php?op=commentdelete&commentid=$commentids[$i]&return=".URLEncode($_SERVER['REQUEST_URI']));
$matches=array();
preg_match("/[(][^)]*[)]/",$op[$i],$matches);
$sect=$matches[0];
}
//output($op[$i],true);
$out.=$op[$i];
if (!is_array($outputcomments[$sect])) $outputcomments[$sect]=array();
array_push($outputcomments[$sect],$out);
}
ksort($outputcomments);
reset($outputcomments);
while (list($sec,$v)=each($outputcomments)){
if ($sec!="x") output("`n`b$sec`b`n");
output(implode('',$v),true);
}

if ($session[user][loggedin]) {
//if ($counttoday<($limit/2) || $session['user']['superuser']>=2){
if ($message!="X"){
if ($talkline!="says") $tll = strlen($talkline)+11; else $tll=0;
output("<form action=\"$REQUEST_URI\" method='POST'>`@$message`n<input name='insertcommentary[$section]'
onkeyup=\"document.getElementById('chatpreview').innerHTML = appoencode(this.value);\"><input type='hidden' name='talkline' value='$talkline'><input type='hidden' name='section' value='$section'><input type='submit' class='button' value='Hinzufügen'><span id='chatpreview'></span>`n".(round($limit/2,0)-$counttoday<3?"`)(Du hast noch ".(round($limit/2,0)-$counttoday)." Beiträge für heute übrig)":"")."`0`n</form>",true);
addnav("",$REQUEST_URI);
}
// }else{
// output("`@$message`nSorry, du hast deine Beiträge in dieser Region für heute aufgebraucht.`0`n");
// }
}
if (db_num_rows($result)>=$limit){
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]-])*'","",$REQUEST_URI)."&comscroll=".($com+1);
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com+1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output("<a href=\"$req\">&lt;&lt; Vorherige</a>",true);
addnav("",$req);
}
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]]|-)*'","",$REQUEST_URI)."&comscroll=0";
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com-1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output("&nbsp;<a href=\"$req\">Aktualisieren</a>&nbsp;",true);
addnav("",$req);
if ($com>0){
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]]|-)*'","",$REQUEST_URI)."&comscroll=".($com-1);
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com-1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output(" <a href=\"$req\">Nächste &gt;&gt;</a>",true);
addnav("",$req);
}
output("<a href='farben.php' onClick=\"".popup("farben.php").";return false;\" target='_blank' class='button' align='right'>&nbsp;`^Farben&nbsp;</a>",true);
addnav("","farben.php");

db_free_result($result);
}


December


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi 14 Nov, 2007 19:11 
Offline
Freak
Freak
Benutzeravatar

Registriert: Sa 28 Aug, 2004 18:48
Beiträge: 1712
suche:

$this->bbcode_second_pass_code('', '/*
Landschafts-Emote by Eliwood
*/')

füge davor ein:


$this->bbcode_second_pass_code('', ' // Guild/Clans code by Dasher
if (!(unserialize($row['GuildPrefix'])===false)) {
$row['GuildPrefix']=unserialize($row['GuildPrefix']);
$pre=$row['GuildPrefix']['pre']; // Prefix or postfix
$prefix=$row['GuildPrefix']['display'].""; // This Guild TLA
if ($prefix!="") {
// The link to display the guild info for non-members
$Guildshortlink = "guild.php?op=nonmember&action=examine&id=".$row['guildID'].
"&return=".URLEncode(CalcReturnPath());
$Guildlink = "`0<a href='".$Guildshortlink."' style='text-decoration: none'>`0[$prefix`0]</a>`& ";
switch ( $pre ) {
case 0: // suffix
$guildsuf = $Guildlink;
$guildpre = "";
addnav("",$Guildshortlink);
break;
case 1: // prefix
$guildsuf = "";
$guildpre = $Guildlink;
addnav("",$Guildshortlink);
break;
case 2: // nofix
default:
$guildsuf = "";
$guildpre = "";
break;
}
}
}')

irgendwie hast du nur die halbe Gildenänderung drin bei dir. Falls dann noch fehler gemeldet werden bitte den fehler posten

_________________
~Inaktiv und Abwesend solange Mysql hier Moderatorenrechte hat~


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi 14 Nov, 2007 19:22 
Offline
Freak
Freak
Benutzeravatar

Registriert: Sa 28 Aug, 2004 18:48
Beiträge: 1712
$this->bbcode_second_pass_code('', '

function viewcommentary($section,$message="Kommentar hinzufügen?",$limit=10,$talkline="sagt") {
global $HTTP_POST_VARS,$session,$REQUEST_URI,$HTTP_GET_VARS, $doublepost,$appoencode_str;

$nobios = array("motd.php"=>true);
if ($nobios[basename($_SERVER['SCRIPT_NAME'])]) $linkbios=false; else $linkbios=true;
//output("`b".basename($_SERVER['SCRIPT_NAME'])."`b`n");
if ($doublepost) output("`\$`bDoppelpost?`b`0`n");
$message = translate($message);

$com=(int)$HTTP_GET_VARS[comscroll];
// Guild/Clans code by Dasher
$sql = "SELECT commentary.*,
accounts.loggedin,
accounts.name,
accounts.login,
accounts.guildID,
accounts.prefs,
accounts.invis,
lotbd_guilds.GuildPrefix
FROM commentary
INNER JOIN accounts
ON accounts.acctid = commentary.author
LEFT JOIN lotbd_guilds
ON lotbd_guilds.ID = accounts.GuildID
WHERE section = '$section'
AND accounts.locked=0
ORDER BY commentid DESC
LIMIT ".($com*$limit).",$limit";
$result = db_query($sql) or die(db_error(LINK));

$counttoday = 0;
for ($i=0;$i < db_num_rows($result);$i++){
$row = db_fetch_assoc($result);
$appoencode_str = Get_Allowed_Tags();
$row[comment]=preg_replace("'[`][^".$appoencode_str."]'","",$row[comment]);
$commentids[$i] = $row[commentid];

$x=0;
$ft="";
for ($x=0;strlen($ft)<3 && $x<strlen($row[comment]);$x++){
if (substr($row[comment],$x,1)=="`" && strlen($ft)==0) {
$x++;
}else{
$ft.=substr($row[comment],$x,1);
}
}
$link = "bio.php?char=".rawurlencode($row[login]) . "&ret=".URLEncode($_SERVER['REQUEST_URI']);

if (substr($ft,0,2)=="::") $ft = substr($ft,0,2);
if (substr($ft,0,3)=="/em") $ft = substr($ft,0,3);
else
if (substr($ft,0,1)==":") $ft = substr($ft,0,1);




// Guild/Clans code by Dasher
if (!(unserialize($row['GuildPrefix'])===false)) {
$row['GuildPrefix']=unserialize($row['GuildPrefix']);
$pre=$row['GuildPrefix']['pre']; // Prefix or postfix
$prefix=$row['GuildPrefix']['display'].""; // This Guild TLA
if ($prefix!="") {
// The link to display the guild info for non-members
$Guildshortlink = "guild.php?op=nonmember&action=examine&id=".$row['guildID'].
"&return=".URLEncode(CalcReturnPath());
$Guildlink = "`0<a href='".$Guildshortlink."' style='text-decoration: none'>`0[$prefix`0]</a>`& ";
switch ( $pre ) {
case 0: // suffix
$guildsuf = $Guildlink;
$guildpre = "";
addnav("",$Guildshortlink);
break;
case 1: // prefix
$guildsuf = "";
$guildpre = $Guildlink;
addnav("",$Guildshortlink);
break;
case 2: // nofix
default:
$guildsuf = "";
$guildpre = "";
break;
}
}
}


/*
Landschafts-Emote by Eliwood
*/
if ($ft=="/X")
{
//Stealthwatcher by Wraith
if ($session[user][superuser]>=3){
if ($session['user']['prefs']["xmote"]==1){
$SW_sql = "SELECT name FROM accounts WHERE acctid='".$row[author]."'";
$SW_result = db_query($SW_sql) or die(db_error(LINK));
$SW_c=0;
for ($SW_c=0;$SW_c < db_num_rows($SW_result);$SW_c++){
$op[$i].=" `7[von `&".$row[name]."`7] ";
}
}
}
//end Stealthwatcher
$x = strpos($row[comment],$ft);
if ($x!==false)
{
if ($linkbios)
$op[$i] .= str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] .= str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*Landschaft-Emote Ende*/
/*beginn ms-rp Emote by Rikkarda@silienta-logd.de for www.silienta-logd.de*/
elseif ($ft=="/ms"){
$name = str_replace("`0","",$row['name']);
$namestrlen = strlen($name);
$lastchar = $name{$namestrlen-1};
$name = $name.($lastchar == "s" || $lastchar == "x"?"'`0":"s`0");

$x = strpos($row[comment],$ft);
if ($x!==false){
if ($linkbios)
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0<a href='$link' style='text-decoration: none' >\n<span onMouseOver=\"return escape('".HTMLEntities($string)."')\">`&$name`0</span></a>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n<span onMouseOver=\"return escape('".HTMLEntities($string)."')\">`&$name`0</span>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}
/*rp-ms Emote-End*/
elseif ($ft=="::" || $ft=="/me" || $ft==":"){
$x = strpos($row[comment],$ft);
if ($x!==false){
if ($linkbios)
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0".$link2."`0<a href='$link' style='text-decoration: none'>\n`&$row[name]`0</a>\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
else
$op[$i] = str_replace("&amp;","&",HTMLEntities(substr($row[comment],0,$x)))
."`0\n`&$row[name]`0\n`& "
.str_replace("&amp;","&",HTMLEntities(substr($row[comment],$x+strlen($ft))))
."`0`n";
}
}

if ($op[$i]=="")
if ($linkbios)
$op[$i] = "`0".$link2."`0<a href='$link' style='text-decoration: none'>`&$row[name]`0</a>`3 sagt: \"`#"
.str_replace("&amp;","&",HTMLEntities($row[comment]))."`3\"`0`n";
else
$op[$i] = "`0`&$row[name]`0`3 sagt: \"`#"
.str_replace("&amp;","&",HTMLEntities($row[comment]))."`3\"`0`n";
if ($message=="X") $op[$i]="`0($row[section]) ".$op[$i];
$loggedin=(date("U") - strtotime($row[laston]) < getsetting("LOGINTIMEOUT",900) && $row[loggedin]);
if ($row['postdate']>=$session['user']['recentcomments']) $op[$i]=($loggedin?"<img src='images/new-online.gif' alt='&gt;' width='3' height='5' align='absmiddle'> ":"<img src='images/new.gif' alt='&gt;' width='3' height='5' align='absmiddle'> ").$op[$i];
addnav("",$link);
}
$i--;
$outputcomments=array();
$sect="x";
for (;$i>=0;$i--){
$out="";
if ($session[user][superuser]>=3 && $message=="X"){
$out.="`0[ <a href='superuser.php?op=commentdelete&commentid=$commentids[$i]&return=".URLEncode($_SERVER['REQUEST_URI'])."'>Löschen</a> ]&nbsp;";
addnav("","superuser.php?op=commentdelete&commentid=$commentids[$i]&return=".URLEncode($_SERVER['REQUEST_URI']));
$matches=array();
preg_match("/[(][^)]*[)]/",$op[$i],$matches);
$sect=$matches[0];
}
//output($op[$i],true);
$out.=$op[$i];
if (!is_array($outputcomments[$sect])) $outputcomments[$sect]=array();
array_push($outputcomments[$sect],$out);
}
ksort($outputcomments);
reset($outputcomments);
while (list($sec,$v)=each($outputcomments)){
if ($sec!="x") output("`n`b$sec`b`n");
output(implode('',$v),true);
}

if ($session[user][loggedin]) {
//if ($counttoday<($limit/2) || $session['user']['superuser']>=2){
if ($message!="X"){
if ($talkline!="says") $tll = strlen($talkline)+11; else $tll=0;
output("<form action=\"$REQUEST_URI\" method='POST'>`@$message`n<input name='insertcommentary[$section]'
onkeyup=\"document.getElementById('chatpreview').innerHTML = appoencode(this.value);\"><input type='hidden' name='talkline' value='$talkline'><input type='hidden' name='section' value='$section'><input type='submit' class='button' value='Hinzufügen'><span id='chatpreview'></span>`n".(round($limit/2,0)-$counttoday<3?"`)(Du hast noch ".(round($limit/2,0)-$counttoday)." Beiträge für heute übrig)":"")."`0`n</form>",true);
addnav("",$REQUEST_URI);
}
// }else{
// output("`@$message`nSorry, du hast deine Beiträge in dieser Region für heute aufgebraucht.`0`n");
// }
}
if (db_num_rows($result)>=$limit){
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]-])*'","",$REQUEST_URI)."&comscroll=".($com+1);
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com+1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output("<a href=\"$req\">&lt;&lt; Vorherige</a>",true);
addnav("",$req);
}
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]]|-)*'","",$REQUEST_URI)."&comscroll=0";
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com-1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output("&nbsp;<a href=\"$req\">Aktualisieren</a>&nbsp;",true);
addnav("",$req);
if ($com>0){
$req = preg_replace("'[&]?c(omscroll)?=([[:digit:]]|-)*'","",$REQUEST_URI)."&comscroll=".($com-1);
//$req = substr($REQUEST_URI,0,strpos($REQUEST_URI,"c="))."&c=$HTTP_GET_VARS[c]"."&comscroll=".($com-1);
$req = str_replace("?&","?",$req);
if (!strpos($req,"?")) $req = str_replace("&","?",$req);
output(" <a href=\"$req\">Nächste &gt;&gt;</a>",true);
addnav("",$req);
}
output("<a href='farben.php' onClick=\"".popup("farben.php").";return false;\" target='_blank' class='button' align='right'>&nbsp;`^Farben&nbsp;</a>",true);
addnav("","farben.php");

db_free_result($result);
}

')

versuchs mal so, /ms war auch an falscher stelle[/code]

_________________
~Inaktiv und Abwesend solange Mysql hier Moderatorenrechte hat~


Nach oben
 Profil  
Mit Zitat antworten  
BeitragVerfasst: Di 18 Mär, 2008 21:23 
Offline
Profi
Profi

Registriert: Fr 31 Mär, 2006 19:30
Beiträge: 143
Wohnort: Hannover
Geschlecht: Männlich
LoGD: http://goddart.eu/source.php
schade is schönes tool hatte das mal aufn alten server
aber ich hab leider net das von chaosmaker drinn
kann man das auch anders machen ?


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 27 Beiträge ]  Gehe zu Seite Vorherige  1, 2

Alle Zeiten sind UTC + 1 Stunde


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 72 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen
Du darfst keine Antworten zu Themen in diesem Forum erstellen
Du darfst deine Beiträge in diesem Forum nicht ändern
Du darfst deine Beiträge in diesem Forum nicht löschen
Du darfst keine Dateianhänge in diesem Forum erstellen

Suche nach:
Gehe zu:  
cron
POWERED_BY
Deutsche Übersetzung durch phpBB.de
anpera.net - Impressum