auswahl hat sondern mehr. folgende schritte habe ich unterommen :
in der admin/config.php habe ich hinzugefügt:
Code: Alles auswählen
zu dem
if ($action=="changereciprocal")
{
$linktitle=safety($_POST["linktitle"]);
$topbannerurl=safety($_POST["topbannerurl"]);
$topbannerurla=safety($_POST["topbannerurla"]);
$topbannerurlb=safety($_POST["topbannerurlb"]);
$topbannerurlc=safety($_POST["topbannerurlc"]);
$topbannerurld=safety($_POST["topbannerurld"]);
dies hier:
$topbannerurle=safety($_POST["topbannerurle"]);
unter
if($topbannerurld!="")
{
$check=bannercheck($topbannerurld);
if($check==1)
{$error20d=$errortext5;}
if($check==2)
{$error20d=$errortext5b;}
if($check==3)
{$error20d=$errortext5a;}
}
dies:
if($topbannerurle!="")
{
$check=bannercheck($topbannerurle);
if($check==1)
{$error20e=$errortext5;}
if($check==2)
{$error20e=$errortext5b;}
if($check==3)
{$error20e=$errortext5a;}
}
$sqlholder=",topbannerurl='$topbannerurl',topbannerurla='$topbannerurla',topbannerurlb='$topbannerurlb',topbannerurlc='$topbannerurlc',topbannerurld='$topbannerurld',topbannerurle='$topbannerurle',";
}
if ($error18 || $error20 || $error20a || $error20b || $error20c || $error20d || $error20e)
zu
if($action=="reciprocal" or $action=="changehtmlcode" or $action=="recistan" or $getbanner=="yes")
{
$topbannerurl=$data[topbannerurl];
$topbannerurla=$data[topbannerurla];
$topbannerurlb=$data[topbannerurlb];
$topbannerurlc=$data[topbannerurlc];
$topbannerurld=$data[topbannerurld];
das hier:
$topbannerurle=$data[topbannerurle];
unter
<tr>
<td height=\"22\" bgcolor=\"#FFFFFF\">".$text_topbannerurl." 5</td>
<td bgcolor=\"#FFFFFF\">
<input name=\"topbannerurld\" type=\"text\" class=\"inputs\" id=\"topbannerurld\" value=\"".$topbannerurld."\">
</td>
<td bgcolor=\"#FFFFFF\"><span class=\"error\">".$error20d."</span> ".$text_exp_topbannerurl."</td>
</tr>
das:
<tr>
<td height=\"22\" bgcolor=\"#FFFFFF\">".$text_topbannerurl." 6</td>
<td bgcolor=\"#F7F7F7\">
<input name=\"topbannerurle\" type=\"text\" class=\"inputs\" id=\"topbannerurle\" value=\"".$topbannerurle."\">
</td>
<td bgcolor=\"#F7F7F7\"><span class=\"error\">".$error20e."</span> ".$text_exp_topbannerurl."</td>
</tr>
mit folgenden werten eingefügt:
typ : varchar
länge: 255
Kollation: latin1_swedish_ci
null: not null
und in der add.php :
Code: Alles auswählen
unter
if ($topbannerurld!="")
{$htmlcode3.="\n".$text_banner." 5\n".$htmlcodescript."\n".recipcodebanner($id,$topxl_admin_table,$topsiteurl,$topbannerurld,$linktitle,$filename)."\n";}
dies eingefügt:
if ($topbannerurle!="")
{$htmlcode3.="\n".$text_banner." 6\n".$htmlcodescript."\n".recipcodebanner($id,$topxl_admin_table,$topsiteurl,$topbannerurle,$linktitle,$filename)."\n";}
und unter
if ($topbannerurld!="")
{$htmlcode.=bannerhtmlgen($id,$topxl_admin_table,$topsiteurl,$topbannerurld,$linktitle,$filename,$text_banner,$htmlcodescript,$text_preview);}
das:
if ($topbannerurle!="")
{$htmlcode.=bannerhtmlgen($id,$topxl_admin_table,$topsiteurl,$topbannerurle,$linktitle,$filename,$text_banner,$htmlcodescript,$text_preview);}
und unter
if ($topbannerurld!="")
{$prevhtmlcode.="<br><strong>".$text_banner." 5</strong><br>".recipcodebanner("none",$topxl_admin_table,$topsiteurl,$topbannerurld,$linktitle,$filename)."<br>";}
dies:
if ($topbannerurle!="")
{$prevhtmlcode.="<br><strong>".$text_banner." 6</strong><br>".recipcodebanner("none",$topxl_admin_table,$topsiteurl,$topbannerurle,$linktitle,$filename)."<br>";}
wird im adminberreich abgespeichert aber nirgends anderst gezeigt....
achja meine topliste : http://dslan-forum.bplaced.net/topliste/index.php