|
|
Latest News |
Latest Threads |
|
 |
55.484 Posts & 4.945 Themen in 78 Foren |
|
|
|
 |
Forensuche |
|
Suchbegriff |
Benutzerauswahl |
Ergebnisse anzeigen |
 |
 |
Welcome Boxen (für PHP-Kit 1.6.1) 29 Beiträge in diesem Thema |
|
|
 |
 |
Geschlossen |
|
|
|
|
 |
|
 |
26.07.2007 - 11:36 Uhr |
|
|
|
Hallo,
habe gerade das PHP-Kit 1.6.1 inst. und danach den Hack für die 3 Boxen auf der Startseite hat auch alles prima geklappt nur kann ich im Admin Menue unter Startseite nichts einstellen ! Was hab ich Dummi nur falsch gemacht ???
Hüüüüülfe ich dreh am Rad
greetz Tom
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 12:35 Uhr |
|
|
|
Poste bitte einmal den Gesamten Code deiner admin/config.php dieses jedoch bitte in einem formatierten Zustand.
( [php*]code[/php*] - Ohne * )
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 12:51 Uhr |
|
|
|
sorry, aber ich bin newbee was meinst du mit formatiertem zustand ?? 
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 13:12 Uhr |
|
|
|
Steht doch darunter!?
Mit BB-Code einfügen.
Du kopierst nun den gesamten Code der Oben genannten Page und fügst ihn hier in das Forum ein.
[php*]HIER DEN CODE EINFÜGEN[/php*]
Fertig, nur ohne *.
So ist der Code übersichtlicher, das nennt man den Code in BB-Code formatieren.
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 13:16 Uhr |
|
|
|
na dann, aber köpf mich nicht wenns falsch ist
Hier klicken zum aufklappen   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 | | PHP-Quelltext <?php
if (adminaccess('config')) {
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
if ($_REQUEST['do']!='' && $_REQUEST['do']!='all') {
$do=$_REQUEST['do'];
unset($toplink);
}
else {
$do='all';
eval ("$toplink= "".templateinclude("config_all_toplink")."";");
eval ("$site_body.= "".templateinclude("config_all_links")."";");
}
if ($do=='profil' or $do=='newprofil') {
if ($ACTION==$_POST['create']) {header("location: admin.php?do=newprofilsession_id()); exit();}
elseif ($ACTION==$_POST['save']) {
$DB->query("INSERT INTO ".$db_tab['config']." (profil_name) VALUES ('".$_POST['profil_name']."')");
header("location: admin.php?do=profil&profilid=".$DB->insert_id()."session_id()); exit();
}
if ($ACTION==$_POST['delete']) {
$DB->query("DELETE FROM ".$db_tab['config']." WHERE profil_id='".$_POST['profilid']."'");
$profilid=$DB->fetch_array($DB->query("SELECT profil_id FROM ".$db_tab['config']." LIMIT 1"));
$profilid=$profilid['profil_id'];
}
if (isset($_REQUEST['profilid']) or isset($profilid)) {
if (!isset($profilid)) {$profilid=$_REQUEST['profilid'];}
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=0 WHERE profil_id!='".$profilid."'");
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=1 WHERE profil_id='".$profilid."'");
header("location: admin.php?do=basicsession_id()); exit();
}
}
if ($do=='basic' or $do=='all') {
if ($ACTION==$_POST['save']) {
$site_name=addslashes($_POST['site_name']);
$site_title=addslashes($_POST['site_title']);
$parse_url=explode("/",addslashes($_POST['site_url'])); unset($site_url); if (is_array($parse_url)) {foreach ($parse_url as $u) {$u=trim($u); if (!eregi("http",$u) && $u!="") {if ($site_url=="") {$site_url="http://".$u;} else {$site_url.="/".$u;}}}} unset($parse_url);
$site_urls=addslashes($_POST['site_urls']);
$site_copy=addslashes($_POST['site_copy']);
if (!emailcheck($_POST['site_email'],0)) {unset($_POST['site_email']);}
else {$site_email=addslashes($_POST['site_email']);}
$site_width=$_POST['site_width'];
$time_gmtzone=$_POST['time_gmtzone'];
$DB->query("UPDATE ".$db_tab['config']." SET site_name='".$site_name."', site_title='".$site_title."', site_url='".$site_url."', site_urls='".$site_urls."', site_email='".$site_email."', site_copy='".$site_copy."', site_width='".$site_width."', time_gmtzone='".$time_gmtzone."', version_check='".$_POST['version_check']."', site_logo='".$_POST['site_logo']."', site_adview='".$_POST['site_adview']."', site_style='".$_POST['site_style']."', templatename='".$_POST['templatename']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($i);
$getconfiginfo=$DB->query("SELECT profil_id, profil_name, profil_active FROM ".$db_tab['config']." ORDER by profil_name ASC");
while ($configinfo=$DB->fetch_array($getconfiginfo)) {
if ($config['profil_id']==$configinfo['profil_id']) {$option_selected=' selected';}
eval ("$profil_option.= "".templateinclude("config_profil_option")."";");
unset($option_selected);
unset($option_selected2);
$i++;
}
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." ORDER by style_name ASC");
while ($styles=$DB->fetch_array($getstyles)) {
$site_style_list.='<option value="'.$styles['style_id'].'"';
if ($styles['style_id']==$config['site_style']) $site_style_list.=' selected';
$site_style_list.='>'.$styles['style_name'].'</option>';
}
if ($i>1) {eval ("$profil_delete= "".templateinclude("config_profil_delete")."";");}
eval ("$site_body.= "".templateinclude("config_profil")."";");
$site_name=htmlentities(stripslashes($config['site_name']));
$site_title=htmlentities(stripslashes($config['site_title']));
$site_url=htmlentities(stripslashes($config['site_url']));
$site_urls=htmlentities(stripslashes($config['site_urls']));
$site_copy=htmlentities(stripslashes($config['site_copy']));
if ($config['site_width']=='770') $width770=' selected';
elseif ($config['site_width']=='980') $width980=' selected';
else $width100=' selected';
if ($config['site_adview']=='1') $adview1=' selected';
else $adview0=' selected';
if ($config['time_gmtzone']<0) {$v=eregi_replace("-|.","",$config['time_gmtzone']); $tz="m".$v;}
elseif ($config['time_gmtzone']>0) {$v=eregi_replace("+|.","",$config['time_gmtzone']); $tz="p".$v;}
else $tz=0;
$var="info_".$tz;
$$var="selected";
if ($config['templatename']==1) $templatename1='selected';
else $templatename0='selected';
if ($config['version_check']==1) $vcheck1='checked';
else $vcheck0='checked';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_basic")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="mailer" or $do=="all") {
if ($ACTION==$_POST['save']) {
$smtp_server=addslashes($_POST['smtp_server']);
$site_mail_txt=addslashes($_POST['site_mail_txt']);
$site_mail_htm=addslashes($_POST['site_mail_htm']);
$DB->query("UPDATE ".$db_tab['config']." SET smtp_server='".$smtp_server."',site_mail_txt='".$site_mail_txt."',site_mail_htm='".$site_mail_htm."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$smtp_server=stripslashes($config['smtp_server']);
$site_mail_txt=stripslashes($config['site_mail_txt']);
$site_mail_htm=stripslashes($config['site_mail_htm']);
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_mailer")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="frontpage" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_array=explode("n",addslashes($_POST['site_frontpage'])); unset($site_frontpage); if (is_array($site_array)) {foreach($site_array as $p) {$p=trim($p); if ($p!='') {$site_frontpage.=$p."n";}}}
$welcome_eod=$_POST['welcome_eod'];
$welcome_title=addslashes($_POST['welcome_title']);
$welcome_text=addslashes($_POST['welcome_text']);
$DB->query("UPDATE ".$db_tab['config']." SET site_frontpage='".$site_frontpage."', welcome_eod='".$welcome_eod."', welcome_title='".$welcome_title."', welcome_text='".$welcome_text."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['welcome_eod']==1) {$welcome_eod1=" selected";}
else {$welcome_eod0=" selected";}
$welcome_title=htmlentities(stripslashes($config['welcome_title']));
$welcome_text=htmlentities(stripslashes($config['welcome_text']));
$site_frontpage=htmlentities(stripslashes($config['site_frontpage']));
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_frontpage")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="censor" or $do=="all") {
if ($ACTION==$_POST['save']) {
$censor_username=$_POST['censor_username'];
$censor_email=$_POST['censor_email'];
$censor_ip=$_POST['censor_ip'];
$censor_badword=$_POST['censor_badword'];
$DB->query("UPDATE ".$db_tab['config']." SET censor_username='".$censor_username."', censor_email='".$censor_email."', censor_ip='".$censor_ip."', censor_badword='".$censor_badword."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_censor")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="notify" or $do=="all") {
if ($ACTION==$_POST['save']) {
$narray=explode("n",$_POST['notify_by_register_mail']); unset($notify_by_register_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_comment_mail']); unset($notify_by_comment_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_gbook_mail']); unset($notify_by_gbook_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_forum_mail']); unset($notify_by_forum_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_submit_mail']); unset($notify_by_submit_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_register_im']); unset($notify_by_register_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_comment_im']); unset($notify_by_comment_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_gbook_im']); unset($notify_by_gbook_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_forum_im']); unset($notify_by_forum_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_submit_im']); unset($notify_by_submit_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_im.=$p."n";}}}
$DB->query("UPDATE ".$db_tab['config']." SET notify_register_m='".$notify_by_register_mail."', notify_comment_m='".$notify_by_comment_mail."', notify_gbook_m='".$notify_by_gbook_mail."', notify_forum_m='".$notify_by_forum_mail."', notify_submit_m='".$notify_by_submit_mail."', notify_register_i='".$notify_by_register_im."', notify_comment_i='".$notify_by_comment_im."', notify_gbook_i='".$notify_by_gbook_im."', notify_forum_i='".$notify_by_forum_im."', notify_submit_i='".$notify_by_submit_im."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($sqlcommand); $second_cache=array();
$id_cache=explode("n",$config['notify_register_i']."n".$config['notify_comment_i']."n".$config['notify_gbook_i']."n".$config['notify_forum_i']."n".$config['notify_submit_i']);
if (is_array($id_cache)) {
foreach ($id_cache as $id) {
$id=trim($id);
if ($second_cache[$id]=='') {
$second_cache[$id]=$id;
if ($id!='' && $sqlcommand=='') {$sqlcommand="SELECT user_id, user_nick FROM ".$db_tab['user']." WHERE user_id='".$id."'";}
elseif ($id!='') {$sqlcommand.=" OR user_id='".$id."'";}
}
}
if ($sqlcommand!='') {
$getuserinfo=$DB->query($sqlcommand." ORDER by user_id ASC");
while($userinfo=$DB->fetch_array($getuserinfo)) {$userinfo_cache[$userinfo[user_id]]=$userinfo;}
}
}
if (is_array($userinfo_cache)) {
if ($config['notify_register_i']!='') {$info=explode("n",$config['notify_register_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_register_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_comment_i']!='') {$info=explode("n",$config['notify_comment_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_comment_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_gbook_i']!='') {$info=explode("n",$config['notify_gbook_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_gbook_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_forum_i']!='') {$info=explode("n",$config['notify_forum_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_forum_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_submit_i']!='') { $info=explode("n",$config['notify_submit_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_submit_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
}
$notify_by_register_mail=$config['notify_register_m'];
$notify_by_register_im=$config['notify_register_i'];
$notify_by_comment_mail=$config['notify_comment_m'];
$notify_by_comment_im=$config['notify_comment_i'];
$notify_by_gbook_mail=$config['notify_gbook_m'];
$notify_by_gbook_im=$config['notify_gbook_i'];
$notify_by_forum_mail=$config['notify_forum_m'];
$notify_by_forum_im=$config['notify_forum_i'];
$notify_by_submit_mail=$config['notify_submit_m'];
$notify_by_submit_im=$config['notify_submit_i'];
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_notify")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="register" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET user_registry='".$_POST['user_registry']."', user_activate='".$_POST['user_activate']."', user_disclaimer='".$_POST['user_disclaimer']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['user_registry']==1) {$info_registry1=" selected";}
elseif ($config['user_registry']==2) {$info_registry2=" selected";}
else {$info_registry0=" selected";}
if ($config['user_activate']==1) {$info_activate1=" selected";}
else {$info_activate0=" selected";}
if ($config['user_disclaimer']==1) {$info_disclaimer1=" selected";}
else {$info_disclaimer0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_register")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="member" or $do=="all") {
if ($ACTION==$_POST['save']) {
if ($_POST['user_namemin']<1 or $_POST['user_namemin']>$_POST['user_namemax']) {$_POST['user_namemin']=1;}
if ($_POST['user_namemax']>50 or $_POST['user_namemax']<$_POST['user_namemin']) {$_POST['user_namemax']=50;}
$DB->query("UPDATE ".$db_tab['config']." SET text_ubb='".$_POST['text_ubb']."', text_smilies='".$_POST['text_smilies']."', text_images='".$_POST['text_images']."', member_infoshow='".$_POST['member_infoshow']."', member_epp='".$_POST['member_epp']."', member_gbook='".$_POST['member_gbook']."', member_mailer='".$_POST['member_mailer']."', user_namemin='".$_POST['user_namemin']."', user_namemax='".$_POST['user_namemax']."', user_delete='".$_POST['user_delete']."', user_ghost='".$_POST['user_ghost']."', user_design='".$_POST['user_design']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['member_infoshow']=="admin") {$member_showinfo1=" selected";}
elseif ($config['member_infoshow']=="mod") {$member_showinfo2=" selected";}
elseif ($config['member_infoshow']=="member") {$member_showinfo3=" selected";}
elseif ($config['member_infoshow']=="user") {$member_showinfo4=" selected";}
else {$member_showinfo0=" selected";}
if ($config['user_delete']==1) {$info_delete1=" selected";}
elseif ($config['user_delete']==2) {$info_delete2=" selected";}
else {$info_delete0=" selected";}
if ($config[text_ubb]==1) {$info_ubb1=" checked";}
else {$info_ubb0=" checked";}
if ($config[text_smilies]==1) {$info_smilies1=" checked";}
else {$info_smilies0=" checked";}
if ($config[text_images]==1) {$info_images1=" checked";}
else {$info_images0=" checked";}
if ($config['member_gbook']==1) {$info_gbook1=" checked";}
else {$info_gbook0=" checked";}
if ($config['member_mailer']==1) $info_mailer1=" checked";
else $info_mailer0=" checked";
if ($config['user_ghost']==1) $info_ghost1=" checked";
else $info_ghost0=" checked";
if ($config['user_design']==1) $info_design1=" checked";
else $info_design0=" checked";
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_member")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="avatar" or $do=="all") {
if ($ACTION==$_POST['action']) {
$avatarpath=explode("/",$_POST['avatar_path']);
unset($_POST['avatar_path']);
if (is_array($avatarpath)) {
foreach($avatarpath as $p) {
$p=trim($p);
if ($p!="") {
if ($_POST['avatar_path']=="") $_POST['avatar_path']=$p;
else $_POST['avatar_path'].="/".$p;
}
}
}
$DB->query("UPDATE ".$db_tab['config']." SET avatar_size='".$_POST['avatar_size']."', avatar_height='".$_POST['avatar_height']."', avatar_width='".$_POST['avatar_width']."', avatar_eod='".$_POST['avatar_eod']."', avatar_path='".$_POST['avatar_path']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config[avatar_eod]==1) {$info_avatar_eod1=" selected";}
elseif ($config[avatar_eod]==2) {$info_avatar_eod2=" selected";}
else {$info_avatar_eod0=" selected";}
if (!@is_writeable('../'.$config['avatar_path']) || !@is_dir('../'.$config['avatar_path'])) eval ("$path_error= "".templateinclude("config_avatar_patherror")."";");
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_avatar")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="blacklist" or $do=="all") {
if (is_array($_POST['delete']) && $_POST['action']==$lang['remove']) {
unset($sqlcommand);
foreach($_POST['delete'] as $id) {
if ($sqlcommand=="") {$sqlcommand="DELETE FROM ".$db_tab['blacklist']." WHERE blacklist_id='".$id."'";}
else {$sqlcommand.=" OR blacklist_id='".$id."'";}
}
$DB->query($sqlcommand);
}
elseif ($ACTION==$_POST['save'] && $_POST['blacklist_url']!="" && ($_POST['blacklist_userstatus']=="user" or $_POST['blacklist_userstatus']=="member" or $_POST['blacklist_userstatus']=="mod" or $_POST['blacklist_userstatus']=="admin")) {
$DB->query("INSERT INTO ".$db_tab['blacklist']." (blacklist_url, blacklist_userstatus) VALUES ('".$_POST['blacklist_url']."', '".$_POST['blacklist_userstatus']."')");
}
else {
$getlist=$DB->query("SELECT blacklist_url, blacklist_userstatus, blacklist_id FROM ".$db_tab['blacklist']." ORDER by blacklist_userstatus ASC");
while($list=$DB->fetch_array($getlist)) {
$row=rowcolor($row);
if ($list['blacklist_userstatus']=="user") {$status=$lang['user'];}
elseif ($list['blacklist_userstatus']=="member") {$status=$lang['member'];}
elseif ($list['blacklist_userstatus']=="mod") {$status=$lang['mod'];}
elseif ($list['blacklist_userstatus']=="admin") {$status=$lang['admin'];}
eval ("$blacklist_sites_row.= "".templateinclude("config_blacklist_sites_row")."";");
}
if ($blacklist_sites_row!="") {eval ("$blacklist_sites= "".templateinclude("config_blacklist_sites")."";");}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_blacklist")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="referer" or $do=="all") {
if ($ACTION==$_POST['save']) {$DB->query("UPDATE ".$db_tab['config']." SET referer_filter='".$_POST['referer_filter']."', referer_eod='".$_POST['referer_eod']."', referer_delete='".$_POST['referer_delete']."' WHERE profil_id='".$config['profil_id']."'");}
else {
if ($config['referer_eod']==1) {$referer_eod1=" selected";}
else {$referer_eod0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_referer")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="offline" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_message=addslashes($_POST['site_message']);
$DB->query("UPDATE ".$db_tab['config']." SET site_eod='".$_POST['site_eod']."', site_message='".$site_message."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$site_message=htmlentities(stripslashes($config['site_message']));
if ($config['site_eod']==1) $info_eod1=" selected";
else $info_eod0=" selected";
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_offline")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="comment" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET comment_order='".$_POST['comment_order']."', comment_bb='".$_POST['comment_bbcode']."', comment_smilies='".$_POST['comment_smilies']."', comment_images='".$_POST['comment_images']."', comment_register='".$_POST['comment_register']."', comment_floodctrl='".$_POST['comment_floodctrl']."', comment_maxchars='".$_POST['comment_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['comment_order']=="ASC") {$info_orderA=" selected";}
else {$info_orderD=" selected";}
if ($config['comment_bb']==1) {$info_bbcode1=" selected";}
else {$info_bbcode0=" selected";}
if ($config['comment_smilies']==1) {$info_smilies1=" selected";}
else {$info_smilies0=" selected";}
if ($config['comment_images']==1) {$info_images1=" selected";}
else {$info_images0=" selected";}
if ($config['comment_register']==1) {$info_register1=" selected";}
else {$info_register0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_comment")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="guestbook" or $do=="all") {
if ($ACTION==$_POST['save']) {
$gbook_welcome=addslashes($_POST['gbook_welcome']);
$DB->query("UPDATE ".$db_tab['config']." SET gbook_eod='".$_POST['gbook_eod']."', gbook_welcome='".$gbook_welcome."', gbook_commenteod='".$_POST['gbook_commenteod']."', gbook_epp='".$_POST['gbook_epp']."', gbook_smilies='".$_POST['gbook_smilies']."', gbook_images='".$_POST['gbook_images']."', gbook_ubb='".$_POST['gbook_ubb']."', gbook_floodctrl='".$_POST['gbook_floodctrl']."', gbook_maxchars='".$_POST['gbook_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['gbook_eod']==1) {$gb_eod1=" selected";}
else {$gb_eod0=" selected";}
if ($config['gbook_commenteod']==1) {$gb_ceod1=" selected";}
else {$gb_ceod0=" selected";}
if ($config['gbook_ubb']==1) {$gb_ubb1=" selected";}
else {$gb_ubb0=" selected";}
if ($config['gbook_smilies']==1) {$gb_smilies1=" selected";}
else {$gb_smilies0=" selected";}
if ($config['gbook_images']==1) {$gb_images1=" selected";}
else {$gb_images0=" selected";}
$gbook_welcome=htmlentities(stripslashes($config['gbook_welcome']));
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_guestbook")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="content" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET content_epp1='".$_POST['content_epp1']."', content_epp2='".$_POST['content_epp2']."', content_epp3='".$_POST['content_epp3']."', content_epp4='".$_POST['content_epp4']."', content_length1='".$_POST['content_length1']."', content_length2='".$_POST['content_length2']."', content_length3='".$_POST['content_length3']."', content_length4='".$_POST['content_length4']."', content_submit1='".$_POST['content_submit1']."', content_submit2='".$_POST['content_submit2']."', content_submit3='".$_POST['content_submit3']."', content_submit4='".$_POST['content_submit4']."', content_downloadpath='".$_POST['content_downloadpath']."', content_downloadstatus='".$_POST['content_dlstatus']."', content_style1='".$_POST['content_style1']."',content_style2='".$_POST['content_style2']."',content_style3='".$_POST['content_style3']."',content_style4='".$_POST['content_style4']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['content_submit1']=="guest") $submit1_4=" selected";
elseif ($config['content_submit1']=="user") $submit1_1=" selected";
elseif ($config['content_submit1']=="member") $submit1_2=" selected";
elseif ($config['content_submit1']=="mod") $submit1_3=" selected";
elseif ($config['content_submit1']=="none") $submit1_0=" selected";
if ($config['content_submit2']=="guest") $submit2_4=" selected";
elseif ($config['content_submit2']=="user") $submit2_1=" selected";
elseif ($config['content_submit2']=="member") $submit2_2=" selected";
elseif ($config['content_submit2']=="mod") $submit2_3=" selected";
elseif ($config['content_submit2']=="none") $submit2_0=" selected";
if ($config['content_submit3']=="guest") $submit3_4=" selected";
elseif ($config['content_submit3']=="user") $submit3_1=" selected";
elseif ($config['content_submit3']=="member") $submit3_2=" selected";
elseif ($config['content_submit3']=="mod") $submit3_3=" selected";
elseif ($config['content_submit3']=="none") $submit3_0=" selected";
if ($config['content_submit4']=="guest") $submit4_4=" selected";
elseif ($config['content_submit4']=="user") $submit4_1=" selected";
elseif ($config['content_submit4']=="member") $submit4_2=" selected";
elseif ($config['content_submit4']=="mod") $submit4_3=" selected";
elseif ($config['content_submit4']=="none") $submit4_0=" selected";
if ($config['content_downloadstatus']=="guest") $dlstatus4_0=" selected";
elseif ($config['content_downloadstatus']=="user") $dlstatus4_1=" selected";
elseif ($config['content_downloadstatus']=="member") $dlstatus4_2=" selected";
elseif ($config['content_downloadstatus']=="mod") $dlstatus4_3=" selected";
elseif ($config['content_downloadstatus']=="admin") $dlstatus4_4=" selected";
elseif ($config['content_downloadstatus']=="none") $dlstatus4_5=" selected";
$var='style1_'.$config['content_style1']; $$var='selected';
$var='style2_'.$config['content_style2']; $$var='selected';
$var='style3_'.$config['content_style3']; $$var='selected';
$var='style4_'.$config['content_style4']; $$var='selected';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_content")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="forum" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET forum_eod='".$_POST['forum_eod']."', forum_standalone='".$_POST['forum_standalone']."',forum_ubb='".$_POST['forum_ubb']."',forum_smilies='".$_POST['forum_smilies']."',forum_start='".$_POST['forum_start']."',forum_button='".$_POST['forum_button']."',forum_searcheod='".$_POST['forum_searcheod']."',forum_showmod='".$_POST['forum_showmod']."',forum_maxfav='".$_POST['forum_maxfav']."',forum_viewreply='".$_POST['forum_viewreply']."',forum_showrank='".$_POST['forum_showrank']."',forum_postorder='".$_POST['forum_postorder']."',forum_structur='".$_POST['forum_structur']."',forum_doublepost='".$_POST['forum_doublepost']."',forum_images='".$_POST['forum_images']."',forum_attach_dir='".$_POST['forum_attach_dir']."',forum_attach_size='".$_POST['forum_attach_size']."',forum_attach_ext='".$_POST['forum_attach_ext']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['forum_eod']==1) $option_eod1='selected';
else $option_eod0='selected';
if ($config['forum_ubb']==1) $option_ubb1='selected';
else $option_ubb0='selected';
if ($config['forum_smilies']==1) $option_smilies1='selected';
else $option_smilies0='selected';
if ($config['forum_images']==1) $option_images1='selected';
else $option_images0='selected';
if ($config['forum_searcheod']==1) $option_searcheod1='selected';
else $option_searcheod0='selected';
if ($config['forum_showmod']==1) $option_showmod1='selected';
else $option_showmod0='selected';
if ($config['forum_showrank']==1) $option_showrank1='selected';
else $option_showrank0='selected';
if ($config['forum_standalone']==1) $option_standalone1='selected';
elseif ($config['forum_standalone']==2) $option_standalone2='selected';
elseif ($config['forum_standalone']==3) $option_standalone3='selected';
else $option_standalone0='selected';
if ($config['forum_postorder']=="ASC") $option_postorder0='selected';
else $option_postorder1='selected';
if ($config['forum_structur']==1) $option_structur1='selected';
else $option_structur0='selected';
if ($config['forum_doublepost']==1) $option_doublepost1='selected';
else $option_doublepost0='selected';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_forum")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($ACTION==$_POST['save']) {header("location: admin.php?do=".$_POST['do']."session_id()); exit();}
elseif ($do!='') {
if ($do!='all') eval ("$config_do= "".templateinclude("config_".$do."")."";");
eval ("$site_body.= "".templateinclude("config")."";");
}
}
else {header ("location: admin.phpsession_id()); exit();}
?> | |  |
EDIT by WEBI
Code in Klapptext eingefügt
EDIT by WEBI
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 13:23 Uhr |
|
|
|
uuups sorry das mit dem klapptext habe ich übersehen 
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 13:24 Uhr |
|
|
|
So, der Code sollte eigentlich wie folgt aussehen:
Hier klicken zum aufklappen   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | | PHP-Quelltext <?php
if (adminaccess('config')) {
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
if ($_REQUEST['do']!='' && $_REQUEST['do']!='all') {
$do=$_REQUEST['do'];
unset($toplink);
}
else {
$do='all';
eval ("$toplink= "".templateinclude("config_all_toplink")."";");
eval ("$site_body.= "".templateinclude("config_all_links")."";");
}
if ($do=='profil' or $do=='newprofil') {
if ($ACTION==$_POST['create']) {header("location: admin.php?do=newprofilsession_id()); exit();}
elseif ($ACTION==$_POST['save']) {
$DB->query("INSERT INTO ".$db_tab['config']." (profil_name) VALUES ('".$_POST['profil_name']."')");
header("location: admin.php?do=profil&profilid=".$DB->insert_id()."session_id()); exit();
}
if ($ACTION==$_POST['delete']) {
$DB->query("DELETE FROM ".$db_tab['config']." WHERE profil_id='".$_POST['profilid']."'");
$profilid=$DB->fetch_array($DB->query("SELECT profil_id FROM ".$db_tab['config']." LIMIT 1"));
$profilid=$profilid['profil_id'];
}
if (isset($_REQUEST['profilid']) or isset($profilid)) {
if (!isset($profilid)) {$profilid=$_REQUEST['profilid'];}
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=0 WHERE profil_id!='".$profilid."'");
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=1 WHERE profil_id='".$profilid."'");
header("location: admin.php?do=basicsession_id()); exit();
}
}
if ($do=='basic' or $do=='all') {
if ($ACTION==$_POST['save']) {
$site_name=addslashes($_POST['site_name']);
$site_title=addslashes($_POST['site_title']);
$parse_url=explode("/",addslashes($_POST['site_url'])); unset($site_url); if (is_array($parse_url)) {foreach ($parse_url as $u) {$u=trim($u); if (!eregi("http",$u) && $u!="") {if ($site_url=="") {$site_url="http://".$u;} else {$site_url.="/".$u;}}}} unset($parse_url);
$site_urls=addslashes($_POST['site_urls']);
$site_copy=addslashes($_POST['site_copy']);
if (!emailcheck($_POST['site_email'],0)) {unset($_POST['site_email']);}
else {$site_email=addslashes($_POST['site_email']);}
$site_width=$_POST['site_width'];
$time_gmtzone=$_POST['time_gmtzone'];
$DB->query("UPDATE ".$db_tab['config']." SET site_name='".$site_name."', site_title='".$site_title."', site_url='".$site_url."', site_urls='".$site_urls."', site_email='".$site_email."', site_copy='".$site_copy."', site_width='".$site_width."', time_gmtzone='".$time_gmtzone."', version_check='".$_POST['version_check']."', site_logo='".$_POST['site_logo']."', site_adview='".$_POST['site_adview']."', site_style='".$_POST['site_style']."', templatename='".$_POST['templatename']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($i);
$getconfiginfo=$DB->query("SELECT profil_id, profil_name, profil_active FROM ".$db_tab['config']." ORDER by profil_name ASC");
while ($configinfo=$DB->fetch_array($getconfiginfo)) {
if ($config['profil_id']==$configinfo['profil_id']) {$option_selected=' selected';}
eval ("$profil_option.= "".templateinclude("config_profil_option")."";");
unset($option_selected);
unset($option_selected2);
$i++;
}
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." ORDER by style_name ASC");
while ($styles=$DB->fetch_array($getstyles)) {
$site_style_list.='<option value="'.$styles['style_id'].'"';
if ($styles['style_id']==$config['site_style']) $site_style_list.=' selected';
$site_style_list.='>'.$styles['style_name'].'</option>';
}
if ($i>1) {eval ("$profil_delete= "".templateinclude("config_profil_delete")."";");}
eval ("$site_body.= "".templateinclude("config_profil")."";");
$site_name=htmlentities(stripslashes($config['site_name']));
$site_title=htmlentities(stripslashes($config['site_title']));
$site_url=htmlentities(stripslashes($config['site_url']));
$site_urls=htmlentities(stripslashes($config['site_urls']));
$site_copy=htmlentities(stripslashes($config['site_copy']));
if ($config['site_width']=='770') $width770=' selected';
elseif ($config['site_width']=='980') $width980=' selected';
else $width100=' selected';
if ($config['site_adview']=='1') $adview1=' selected';
else $adview0=' selected';
if ($config['time_gmtzone']<0) {$v=eregi_replace("-|.","",$config['time_gmtzone']); $tz="m".$v;}
elseif ($config['time_gmtzone']>0) {$v=eregi_replace("+|.","",$config['time_gmtzone']); $tz="p".$v;}
else $tz=0;
$var="info_".$tz;
$$var="selected";
if ($config['templatename']==1) $templatename1='selected';
else $templatename0='selected';
if ($config['version_check']==1) $vcheck1='checked';
else $vcheck0='checked';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_basic")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="mailer" or $do=="all") {
if ($ACTION==$_POST['save']) {
$smtp_server=addslashes($_POST['smtp_server']);
$site_mail_txt=addslashes($_POST['site_mail_txt']);
$site_mail_htm=addslashes($_POST['site_mail_htm']);
$DB->query("UPDATE ".$db_tab['config']." SET smtp_server='".$smtp_server."',site_mail_txt='".$site_mail_txt."',site_mail_htm='".$site_mail_htm."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$smtp_server=stripslashes($config['smtp_server']);
$site_mail_txt=stripslashes($config['site_mail_txt']);
$site_mail_htm=stripslashes($config['site_mail_htm']);
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_mailer")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="frontpage" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_array=explode("n",addslashes($_POST['site_frontpage'])); unset($site_frontpage); if (is_array($site_array)) {foreach($site_array as $p) {$p=trim($p); if ($p!='') {$site_frontpage.=$p."n";}}}
$welcome_eod=$_POST['welcome_eod'];
// New Home by HTH-C.com Start //
$welcome_home_height=addslashes($_POST['welcome_home_height']);
$welcome_border_color=addslashes($_POST['welcome_border_color']);
// New Home by HTH-C.com Ende //
$welcome_title=addslashes($_POST['welcome_title']);
// New Home by HTH-C.com Start //
$welcome_title_1=addslashes($_POST['welcome_title_1']);
$welcome_title_2=addslashes($_POST['welcome_title_2']);
$welcome_title_3=addslashes($_POST['welcome_title_3']);
// New Home by HTH-C.com Ende //
$welcome_text=addslashes($_POST['welcome_text']);
// New Home by HTH-C.com Start //
$welcome_text_1=addslashes($_POST['welcome_text_1']);
$welcome_text_2=addslashes($_POST['welcome_text_2']);
$welcome_text_3=addslashes($_POST['welcome_text_3']);
// New Home by HTH-C.com Ende //
$DB->query("UPDATE ".$db_tab['config']." SET site_frontpage='".$site_frontpage."', welcome_eod='".$welcome_eod."',welcome_home_height='".$welcome_home_height."', welcome_border_color='".$welcome_border_color."', welcome_title='".$welcome_title."',welcome_title_1='".$welcome_title_1."', welcome_title_2='".$welcome_title_2."', welcome_title_3='".$welcome_title_3."', welcome_text='".$welcome_text."', welcome_text_1='".$welcome_text_1."', welcome_text_2='".$welcome_text_2."', welcome_text_3='".$welcome_text_3."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['welcome_eod']==1) {$welcome_eod1=" selected";}
else {$welcome_eod0=" selected";}
// New Home by HTH-C.com Start //
$welcome_home_height=htmlentities(stripslashes($config['welcome_home_height']));
$welcome_border_color=htmlentities(stripslashes($config['welcome_border_color']));
// New Home by HTH-C.com Ende //
$welcome_title=htmlentities(stripslashes($config['welcome_title']));
// New Home by HTH-C.com Start //
$welcome_title_1=htmlentities(stripslashes($config['welcome_title_1']));
$welcome_title_2=htmlentities(stripslashes($config['welcome_title_2']));
$welcome_title_3=htmlentities(stripslashes($config['welcome_title_3']));
// New Home by HTH-C.com Ende //
$welcome_text=htmlentities(stripslashes($config['welcome_text']));
// New Home by HTH-C.com Start //
$welcome_text_1=htmlentities(stripslashes($config['welcome_text_1']));
$welcome_text_2=htmlentities(stripslashes($config['welcome_text_2']));
$welcome_text_3=htmlentities(stripslashes($config['welcome_text_3']));
// New Home by HTH-C.com Ende //
$site_frontpage=htmlentities(stripslashes($config['site_frontpage']));
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_frontpage")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="censor" or $do=="all") {
if ($ACTION==$_POST['save']) {
$censor_username=$_POST['censor_username'];
$censor_email=$_POST['censor_email'];
$censor_ip=$_POST['censor_ip'];
$censor_badword=$_POST['censor_badword'];
$DB->query("UPDATE ".$db_tab['config']." SET censor_username='".$censor_username."', censor_email='".$censor_email."', censor_ip='".$censor_ip."', censor_badword='".$censor_badword."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_censor")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="notify" or $do=="all") {
if ($ACTION==$_POST['save']) {
$narray=explode("n",$_POST['notify_by_register_mail']); unset($notify_by_register_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_comment_mail']); unset($notify_by_comment_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_gbook_mail']); unset($notify_by_gbook_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_forum_mail']); unset($notify_by_forum_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_submit_mail']); unset($notify_by_submit_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_mail.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_register_im']); unset($notify_by_register_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_comment_im']); unset($notify_by_comment_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_gbook_im']); unset($notify_by_gbook_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_forum_im']); unset($notify_by_forum_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_im.=$p."n";}}}
$narray=explode("n",$_POST['notify_by_submit_im']); unset($notify_by_submit_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_im.=$p."n";}}}
$DB->query("UPDATE ".$db_tab['config']." SET notify_register_m='".$notify_by_register_mail."', notify_comment_m='".$notify_by_comment_mail."', notify_gbook_m='".$notify_by_gbook_mail."', notify_forum_m='".$notify_by_forum_mail."', notify_submit_m='".$notify_by_submit_mail."', notify_register_i='".$notify_by_register_im."', notify_comment_i='".$notify_by_comment_im."', notify_gbook_i='".$notify_by_gbook_im."', notify_forum_i='".$notify_by_forum_im."', notify_submit_i='".$notify_by_submit_im."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($sqlcommand); $second_cache=array();
$id_cache=explode("n",$config['notify_register_i']."n".$config['notify_comment_i']."n".$config['notify_gbook_i']."n".$config['notify_forum_i']."n".$config['notify_submit_i']);
if (is_array($id_cache)) {
foreach ($id_cache as $id) {
$id=trim($id);
if ($second_cache[$id]=='') {
$second_cache[$id]=$id;
if ($id!='' && $sqlcommand=='') {$sqlcommand="SELECT user_id, user_nick FROM ".$db_tab['user']." WHERE user_id='".$id."'";}
elseif ($id!='') {$sqlcommand.=" OR user_id='".$id."'";}
}
}
if ($sqlcommand!='') {
$getuserinfo=$DB->query($sqlcommand." ORDER by user_id ASC");
while($userinfo=$DB->fetch_array($getuserinfo)) {$userinfo_cache[$userinfo[user_id]]=$userinfo;}
}
}
if (is_array($userinfo_cache)) {
if ($config['notify_register_i']!='') {$info=explode("n",$config['notify_register_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_register_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_comment_i']!='') {$info=explode("n",$config['notify_comment_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_comment_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_gbook_i']!='') {$info=explode("n",$config['notify_gbook_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_gbook_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_forum_i']!='') {$info=explode("n",$config['notify_forum_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_forum_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_submit_i']!='') { $info=explode("n",$config['notify_submit_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_submit_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
}
$notify_by_register_mail=$config['notify_register_m'];
$notify_by_register_im=$config['notify_register_i'];
$notify_by_comment_mail=$config['notify_comment_m'];
$notify_by_comment_im=$config['notify_comment_i'];
$notify_by_gbook_mail=$config['notify_gbook_m'];
$notify_by_gbook_im=$config['notify_gbook_i'];
$notify_by_forum_mail=$config['notify_forum_m'];
$notify_by_forum_im=$config['notify_forum_i'];
$notify_by_submit_mail=$config['notify_submit_m'];
$notify_by_submit_im=$config['notify_submit_i'];
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_notify")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="register" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET user_registry='".$_POST['user_registry']."', user_activate='".$_POST['user_activate']."', user_disclaimer='".$_POST['user_disclaimer']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['user_registry']==1) {$info_registry1=" selected";}
elseif ($config['user_registry']==2) {$info_registry2=" selected";}
else {$info_registry0=" selected";}
if ($config['user_activate']==1) {$info_activate1=" selected";}
else {$info_activate0=" selected";}
if ($config['user_disclaimer']==1) {$info_disclaimer1=" selected";}
else {$info_disclaimer0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_register")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="member" or $do=="all") {
if ($ACTION==$_POST['save']) {
if ($_POST['user_namemin']<1 or $_POST['user_namemin']>$_POST['user_namemax']) {$_POST['user_namemin']=1;}
if ($_POST['user_namemax']>50 or $_POST['user_namemax']<$_POST['user_namemin']) {$_POST['user_namemax']=50;}
$DB->query("UPDATE ".$db_tab['config']." SET text_ubb='".$_POST['text_ubb']."', text_smilies='".$_POST['text_smilies']."', text_images='".$_POST['text_images']."', member_infoshow='".$_POST['member_infoshow']."', member_epp='".$_POST['member_epp']."', member_gbook='".$_POST['member_gbook']."', member_mailer='".$_POST['member_mailer']."', user_namemin='".$_POST['user_namemin']."', user_namemax='".$_POST['user_namemax']."', user_delete='".$_POST['user_delete']."', user_ghost='".$_POST['user_ghost']."', user_design='".$_POST['user_design']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['member_infoshow']=="admin") {$member_showinfo1=" selected";}
elseif ($config['member_infoshow']=="mod") {$member_showinfo2=" selected";}
elseif ($config['member_infoshow']=="member") {$member_showinfo3=" selected";}
elseif ($config['member_infoshow']=="user") {$member_showinfo4=" selected";}
else {$member_showinfo0=" selected";}
if ($config['user_delete']==1) {$info_delete1=" selected";}
elseif ($config['user_delete']==2) {$info_delete2=" selected";}
else {$info_delete0=" selected";}
if ($config[text_ubb]==1) {$info_ubb1=" checked";}
else {$info_ubb0=" checked";}
if ($config[text_smilies]==1) {$info_smilies1=" checked";}
else {$info_smilies0=" checked";}
if ($config[text_images]==1) {$info_images1=" checked";}
else {$info_images0=" checked";}
if ($config['member_gbook']==1) {$info_gbook1=" checked";}
else {$info_gbook0=" checked";}
if ($config['member_mailer']==1) $info_mailer1=" checked";
else $info_mailer0=" checked";
if ($config['user_ghost']==1) $info_ghost1=" checked";
else $info_ghost0=" checked";
if ($config['user_design']==1) $info_design1=" checked";
else $info_design0=" checked";
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_member")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="avatar" or $do=="all") {
if ($ACTION==$_POST['action']) {
$avatarpath=explode("/",$_POST['avatar_path']);
unset($_POST['avatar_path']);
if (is_array($avatarpath)) {
foreach($avatarpath as $p) {
$p=trim($p);
if ($p!="") {
if ($_POST['avatar_path']=="") $_POST['avatar_path']=$p;
else $_POST['avatar_path'].="/".$p;
}
}
}
$DB->query("UPDATE ".$db_tab['config']." SET avatar_size='".$_POST['avatar_size']."', avatar_height='".$_POST['avatar_height']."', avatar_width='".$_POST['avatar_width']."', avatar_eod='".$_POST['avatar_eod']."', avatar_path='".$_POST['avatar_path']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config[avatar_eod]==1) {$info_avatar_eod1=" selected";}
elseif ($config[avatar_eod]==2) {$info_avatar_eod2=" selected";}
else {$info_avatar_eod0=" selected";}
if (!@is_writeable('../'.$config['avatar_path']) || !@is_dir('../'.$config['avatar_path'])) eval ("$path_error= "".templateinclude("config_avatar_patherror")."";");
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_avatar")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="blacklist" or $do=="all") {
if (is_array($_POST['delete']) && $_POST['action']==$lang['remove']) {
unset($sqlcommand);
foreach($_POST['delete'] as $id) {
if ($sqlcommand=="") {$sqlcommand="DELETE FROM ".$db_tab['blacklist']." WHERE blacklist_id='".$id."'";}
else {$sqlcommand.=" OR blacklist_id='".$id."'";}
}
$DB->query($sqlcommand);
}
elseif ($ACTION==$_POST['save'] && $_POST['blacklist_url']!="" && ($_POST['blacklist_userstatus']=="user" or $_POST['blacklist_userstatus']=="member" or $_POST['blacklist_userstatus']=="mod" or $_POST['blacklist_userstatus']=="admin")) {
$DB->query("INSERT INTO ".$db_tab['blacklist']." (blacklist_url, blacklist_userstatus) VALUES ('".$_POST['blacklist_url']."', '".$_POST['blacklist_userstatus']."')");
}
else {
$getlist=$DB->query("SELECT blacklist_url, blacklist_userstatus, blacklist_id FROM ".$db_tab['blacklist']." ORDER by blacklist_userstatus ASC");
while($list=$DB->fetch_array($getlist)) {
$row=rowcolor($row);
if ($list['blacklist_userstatus']=="user") {$status=$lang['user'];}
elseif ($list['blacklist_userstatus']=="member") {$status=$lang['member'];}
elseif ($list['blacklist_userstatus']=="mod") {$status=$lang['mod'];}
elseif ($list['blacklist_userstatus']=="admin") {$status=$lang['admin'];}
eval ("$blacklist_sites_row.= "".templateinclude("config_blacklist_sites_row")."";");
}
if ($blacklist_sites_row!="") {eval ("$blacklist_sites= "".templateinclude("config_blacklist_sites")."";");}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_blacklist")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="referer" or $do=="all") {
if ($ACTION==$_POST['save']) {$DB->query("UPDATE ".$db_tab['config']." SET referer_filter='".$_POST['referer_filter']."', referer_eod='".$_POST['referer_eod']."', referer_delete='".$_POST['referer_delete']."' WHERE profil_id='".$config['profil_id']."'");}
else {
if ($config['referer_eod']==1) {$referer_eod1=" selected";}
else {$referer_eod0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_referer")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="offline" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_message=addslashes($_POST['site_message']);
$DB->query("UPDATE ".$db_tab['config']." SET site_eod='".$_POST['site_eod']."', site_message='".$site_message."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$site_message=htmlentities(stripslashes($config['site_message']));
if ($config['site_eod']==1) $info_eod1=" selected";
else $info_eod0=" selected";
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_offline")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="comment" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET comment_order='".$_POST['comment_order']."', comment_bb='".$_POST['comment_bbcode']."', comment_smilies='".$_POST['comment_smilies']."', comment_images='".$_POST['comment_images']."', comment_register='".$_POST['comment_register']."', comment_floodctrl='".$_POST['comment_floodctrl']."', comment_maxchars='".$_POST['comment_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['comment_order']=="ASC") {$info_orderA=" selected";}
else {$info_orderD=" selected";}
if ($config['comment_bb']==1) {$info_bbcode1=" selected";}
else {$info_bbcode0=" selected";}
if ($config['comment_smilies']==1) {$info_smilies1=" selected";}
else {$info_smilies0=" selected";}
if ($config['comment_images']==1) {$info_images1=" selected";}
else {$info_images0=" selected";}
if ($config['comment_register']==1) {$info_register1=" selected";}
else {$info_register0=" selected";}
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_comment")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="guestbook" or $do=="all") {
if ($ACTION==$_POST['save']) {
$gbook_welcome=addslashes($_POST['gbook_welcome']);
$DB->query("UPDATE ".$db_tab['config']." SET gbook_eod='".$_POST['gbook_eod']."', gbook_welcome='".$gbook_welcome."', gbook_commenteod='".$_POST['gbook_commenteod']."', gbook_epp='".$_POST['gbook_epp']."', gbook_smilies='".$_POST['gbook_smilies']."', gbook_images='".$_POST['gbook_images']."', gbook_ubb='".$_POST['gbook_ubb']."', gbook_floodctrl='".$_POST['gbook_floodctrl']."', gbook_maxchars='".$_POST['gbook_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['gbook_eod']==1) {$gb_eod1=" selected";}
else {$gb_eod0=" selected";}
if ($config['gbook_commenteod']==1) {$gb_ceod1=" selected";}
else {$gb_ceod0=" selected";}
if ($config['gbook_ubb']==1) {$gb_ubb1=" selected";}
else {$gb_ubb0=" selected";}
if ($config['gbook_smilies']==1) {$gb_smilies1=" selected";}
else {$gb_smilies0=" selected";}
if ($config['gbook_images']==1) {$gb_images1=" selected";}
else {$gb_images0=" selected";}
$gbook_welcome=htmlentities(stripslashes($config['gbook_welcome']));
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_guestbook")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="content" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET content_epp1='".$_POST['content_epp1']."', content_epp2='".$_POST['content_epp2']."', content_epp3='".$_POST['content_epp3']."', content_epp4='".$_POST['content_epp4']."', content_length1='".$_POST['content_length1']."', content_length2='".$_POST['content_length2']."', content_length3='".$_POST['content_length3']."', content_length4='".$_POST['content_length4']."', content_submit1='".$_POST['content_submit1']."', content_submit2='".$_POST['content_submit2']."', content_submit3='".$_POST['content_submit3']."', content_submit4='".$_POST['content_submit4']."', content_downloadpath='".$_POST['content_downloadpath']."', content_downloadstatus='".$_POST['content_dlstatus']."', content_style1='".$_POST['content_style1']."',content_style2='".$_POST['content_style2']."',content_style3='".$_POST['content_style3']."',content_style4='".$_POST['content_style4']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['content_submit1']=="guest") $submit1_4=" selected";
elseif ($config['content_submit1']=="user") $submit1_1=" selected";
elseif ($config['content_submit1']=="member") $submit1_2=" selected";
elseif ($config['content_submit1']=="mod") $submit1_3=" selected";
elseif ($config['content_submit1']=="none") $submit1_0=" selected";
if ($config['content_submit2']=="guest") $submit2_4=" selected";
elseif ($config['content_submit2']=="user") $submit2_1=" selected";
elseif ($config['content_submit2']=="member") $submit2_2=" selected";
elseif ($config['content_submit2']=="mod") $submit2_3=" selected";
elseif ($config['content_submit2']=="none") $submit2_0=" selected";
if ($config['content_submit3']=="guest") $submit3_4=" selected";
elseif ($config['content_submit3']=="user") $submit3_1=" selected";
elseif ($config['content_submit3']=="member") $submit3_2=" selected";
elseif ($config['content_submit3']=="mod") $submit3_3=" selected";
elseif ($config['content_submit3']=="none") $submit3_0=" selected";
if ($config['content_submit4']=="guest") $submit4_4=" selected";
elseif ($config['content_submit4']=="user") $submit4_1=" selected";
elseif ($config['content_submit4']=="member") $submit4_2=" selected";
elseif ($config['content_submit4']=="mod") $submit4_3=" selected";
elseif ($config['content_submit4']=="none") $submit4_0=" selected";
if ($config['content_downloadstatus']=="guest") $dlstatus4_0=" selected";
elseif ($config['content_downloadstatus']=="user") $dlstatus4_1=" selected";
elseif ($config['content_downloadstatus']=="member") $dlstatus4_2=" selected";
elseif ($config['content_downloadstatus']=="mod") $dlstatus4_3=" selected";
elseif ($config['content_downloadstatus']=="admin") $dlstatus4_4=" selected";
elseif ($config['content_downloadstatus']=="none") $dlstatus4_5=" selected";
$var='style1_'.$config['content_style1']; $$var='selected';
$var='style2_'.$config['content_style2']; $$var='selected';
$var='style3_'.$config['content_style3']; $$var='selected';
$var='style4_'.$config['content_style4']; $$var='selected';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_content")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($do=="forum" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET forum_eod='".$_POST['forum_eod']."', forum_standalone='".$_POST['forum_standalone']."',forum_ubb='".$_POST['forum_ubb']."',forum_smilies='".$_POST['forum_smilies']."',forum_start='".$_POST['forum_start']."',forum_button='".$_POST['forum_button']."',forum_searcheod='".$_POST['forum_searcheod']."',forum_showmod='".$_POST['forum_showmod']."',forum_maxfav='".$_POST['forum_maxfav']."',forum_viewreply='".$_POST['forum_viewreply']."',forum_showrank='".$_POST['forum_showrank']."',forum_postorder='".$_POST['forum_postorder']."',forum_structur='".$_POST['forum_structur']."',forum_doublepost='".$_POST['forum_doublepost']."',forum_images='".$_POST['forum_images']."',forum_attach_dir='".$_POST['forum_attach_dir']."',forum_attach_size='".$_POST['forum_attach_size']."',forum_attach_ext='".$_POST['forum_attach_ext']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['forum_eod']==1) $option_eod1='selected';
else $option_eod0='selected';
if ($config['forum_ubb']==1) $option_ubb1='selected';
else $option_ubb0='selected';
if ($config['forum_smilies']==1) $option_smilies1='selected';
else $option_smilies0='selected';
if ($config['forum_images']==1) $option_images1='selected';
else $option_images0='selected';
if ($config['forum_searcheod']==1) $option_searcheod1='selected';
else $option_searcheod0='selected';
if ($config['forum_showmod']==1) $option_showmod1='selected';
else $option_showmod0='selected';
if ($config['forum_showrank']==1) $option_showrank1='selected';
else $option_showrank0='selected';
if ($config['forum_standalone']==1) $option_standalone1='selected';
elseif ($config['forum_standalone']==2) $option_standalone2='selected';
elseif ($config['forum_standalone']==3) $option_standalone3='selected';
else $option_standalone0='selected';
if ($config['forum_postorder']=="ASC") $option_postorder0='selected';
else $option_postorder1='selected';
if ($config['forum_structur']==1) $option_structur1='selected';
else $option_structur0='selected';
if ($config['forum_doublepost']==1) $option_doublepost1='selected';
else $option_doublepost0='selected';
if ($do=='all') {
eval ("$config_do.= "".templateinclude("config_forum")."";");
eval ("$config_do.= "".templateinclude("config_all")."";");
}
}
}
if ($ACTION==$_POST['save']) {header("location: admin.php?do=".$_POST['do']."session_id()); exit();}
elseif ($do!='') {
if ($do!='all') eval ("$config_do= "".templateinclude("config_".$do."")."";");
eval ("$site_body.= "".templateinclude("config")."";");
}
}
else {header ("location: admin.phpsession_id()); exit();}
?> | |  |
Darin fehlte jeglicher Code der Welcome Boxen.
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 13:39 Uhr |
|
|
|
so hab deinen code überspielt mit dem Resultat das wenn ich jetzt in das Adminmenue gehe und dann auf Einstellungen klicke kommt das hier:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /homepages/45/d152406193/htdocs/igradio/admin/config.php on line 11
ich verzweifel noch
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 13:42 Uhr |
|
|
|
Ja, der Fehler ist logisch, zwar dir eventuell nicht bekannt aber mir, das war einzig und allein mein Fehler.
Du hast deinen Code gepostet, ich editiert, durch das editieren, wurden daraus Zeichen entfernt, diese Zeichen fehlen nun auch in meinem Code, da ich den Code mir erst nach dem Editieren ansah, man oh man, wie schlau von mir, tut mir leid.
Nutze diesen:
Hier klicken zum aufklappen   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 | | PHP-Quelltext <?php
if (adminaccess('config')) {
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
if ($_REQUEST['do']!='' && $_REQUEST['do']!='all') {
$do=$_REQUEST['do'];
unset($toplink);
}
else {
$do='all';
eval ("\$toplink= \"".templateinclude("config_all_toplink")."\";");
eval ("\$site_body.= \"".templateinclude("config_all_links")."\";");
}
if ($do=='profil' or $do=='newprofil') {
if ($ACTION==$_POST['create']) {header("location: admin.php?do=newprofilsession_id()); exit();}
elseif ($ACTION==$_POST['save']) {
$DB->query("INSERT INTO ".$db_tab['config']." (profil_name) VALUES ('".$_POST['profil_name']."')");
header("location: admin.php?do=profil&profilid=".$DB->insert_id()."session_id()); exit();
}
if ($ACTION==$_POST['delete']) {
$DB->query("DELETE FROM ".$db_tab['config']." WHERE profil_id='".$_POST['profilid']."'");
$profilid=$DB->fetch_array($DB->query("SELECT profil_id FROM ".$db_tab['config']." LIMIT 1"));
$profilid=$profilid['profil_id'];
}
if (isset($_REQUEST['profilid']) or isset($profilid)) {
if (!isset($profilid)) {$profilid=$_REQUEST['profilid'];}
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=0 WHERE profil_id!='".$profilid."'");
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=1 WHERE profil_id='".$profilid."'");
header("location: admin.php?do=basicsession_id()); exit();
}
}
if ($do=='basic' or $do=='all') {
if ($ACTION==$_POST['save']) {
$site_name=addslashes($_POST['site_name']);
$site_title=addslashes($_POST['site_title']);
$parse_url=explode("/",addslashes($_POST['site_url'])); unset($site_url); if (is_array($parse_url)) {foreach ($parse_url as $u) {$u=trim($u); if (!eregi("http",$u) && $u!="") {if ($site_url=="") {$site_url="http://".$u;} else {$site_url.="/".$u;}}}} unset($parse_url);
$site_urls=addslashes($_POST['site_urls']);
$site_copy=addslashes($_POST['site_copy']);
if (!emailcheck($_POST['site_email'],0)) {unset($_POST['site_email']);}
else {$site_email=addslashes($_POST['site_email']);}
$site_width=$_POST['site_width'];
$time_gmtzone=$_POST['time_gmtzone'];
$DB->query("UPDATE ".$db_tab['config']." SET site_name='".$site_name."', site_title='".$site_title."', site_url='".$site_url."', site_urls='".$site_urls."', site_email='".$site_email."', site_copy='".$site_copy."', site_width='".$site_width."', time_gmtzone='".$time_gmtzone."', version_check='".$_POST['version_check']."', site_logo='".$_POST['site_logo']."', site_adview='".$_POST['site_adview']."', site_style='".$_POST['site_style']."', templatename='".$_POST['templatename']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($i);
$getconfiginfo=$DB->query("SELECT profil_id, profil_name, profil_active FROM ".$db_tab['config']." ORDER by profil_name ASC");
while ($configinfo=$DB->fetch_array($getconfiginfo)) {
if ($config['profil_id']==$configinfo['profil_id']) {$option_selected=' selected';}
eval ("\$profil_option.= \"".templateinclude("config_profil_option")."\";");
unset($option_selected);
unset($option_selected2);
$i++;
}
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." ORDER by style_name ASC");
while ($styles=$DB->fetch_array($getstyles)) {
$site_style_list.='<option value="'.$styles['style_id'].'"';
if ($styles['style_id']==$config['site_style']) $site_style_list.=' selected';
$site_style_list.='>'.$styles['style_name'].'</option>';
}
if ($i>1) {eval ("\$profil_delete= \"".templateinclude("config_profil_delete")."\";");}
eval ("\$site_body.= \"".templateinclude("config_profil")."\";");
$site_name=htmlentities(stripslashes($config['site_name']));
$site_title=htmlentities(stripslashes($config['site_title']));
$site_url=htmlentities(stripslashes($config['site_url']));
$site_urls=htmlentities(stripslashes($config['site_urls']));
$site_copy=htmlentities(stripslashes($config['site_copy']));
if ($config['site_width']=='770') $width770=' selected';
elseif ($config['site_width']=='980') $width980=' selected';
else $width100=' selected';
if ($config['site_adview']=='1') $adview1=' selected';
else $adview0=' selected';
if ($config['time_gmtzone']<0) {$v=eregi_replace("-|\.","",$config['time_gmtzone']); $tz="m".$v;}
elseif ($config['time_gmtzone']>0) {$v=eregi_replace("\+|\.","",$config['time_gmtzone']); $tz="p".$v;}
else $tz=0;
$var="info_".$tz;
$$var="selected";
if ($config['templatename']==1) $templatename1='selected';
else $templatename0='selected';
if ($config['version_check']==1) $vcheck1='checked';
else $vcheck0='checked';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_basic")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="mailer" or $do=="all") {
if ($ACTION==$_POST['save']) {
$smtp_server=addslashes($_POST['smtp_server']);
$site_mail_txt=addslashes($_POST['site_mail_txt']);
$site_mail_htm=addslashes($_POST['site_mail_htm']);
$DB->query("UPDATE ".$db_tab['config']." SET smtp_server='".$smtp_server."',site_mail_txt='".$site_mail_txt."',site_mail_htm='".$site_mail_htm."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$smtp_server=stripslashes($config['smtp_server']);
$site_mail_txt=stripslashes($config['site_mail_txt']);
$site_mail_htm=stripslashes($config['site_mail_htm']);
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_mailer")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="frontpage" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_array=explode("\n",addslashes($_POST['site_frontpage'])); unset($site_frontpage); if (is_array($site_array)) {foreach($site_array as $p) {$p=trim($p); if ($p!='') {$site_frontpage.=$p."\n";}}}
$welcome_eod=$_POST['welcome_eod'];
// New Home by HTH-C.com Start //
$welcome_home_height=addslashes($_POST['welcome_home_height']);
$welcome_border_color=addslashes($_POST['welcome_border_color']);
// New Home by HTH-C.com Ende //
$welcome_title=addslashes($_POST['welcome_title']);
// New Home by HTH-C.com Start //
$welcome_title_1=addslashes($_POST['welcome_title_1']);
$welcome_title_2=addslashes($_POST['welcome_title_2']);
$welcome_title_3=addslashes($_POST['welcome_title_3']);
// New Home by HTH-C.com Ende //
$welcome_text=addslashes($_POST['welcome_text']);
// New Home by HTH-C.com Start //
$welcome_text_1=addslashes($_POST['welcome_text_1']);
$welcome_text_2=addslashes($_POST['welcome_text_2']);
$welcome_text_3=addslashes($_POST['welcome_text_3']);
// New Home by HTH-C.com Ende //
// New Home by HTH-C.com Start //
$DB->query("UPDATE ".$db_tab['config']." SET site_frontpage='".$site_frontpage."', welcome_eod='".$welcome_eod."', welcome_home_height='".$welcome_home_height."', welcome_border_color='".$welcome_border_color."', welcome_title='".$welcome_title."', welcome_title_1='".$welcome_title_1."', welcome_title_2='".$welcome_title_2."', welcome_title_3='".$welcome_title_3."', welcome_text='".$welcome_text."', welcome_text_1='".$welcome_text_1."', welcome_text_2='".$welcome_text_2."', welcome_text_3='".$welcome_text_3."' WHERE profil_id='".$config['profil_id']."'");
// New Home by HTH-C.com Ende //
}
else {
if ($config['welcome_eod']==1) {$welcome_eod1=" selected";}
else {$welcome_eod0=" selected";}
// New Home by HTH-C.com Start //
$welcome_home_height=htmlentities(stripslashes($config['welcome_home_height']));
$welcome_border_color=htmlentities(stripslashes($config['welcome_border_color']));
// New Home by HTH-C.com Ende //
$welcome_title=htmlentities(stripslashes($config['welcome_title']));
// New Home by HTH-C.com Start //
$welcome_title_1=htmlentities(stripslashes($config['welcome_title_1']));
$welcome_title_2=htmlentities(stripslashes($config['welcome_title_2']));
$welcome_title_3=htmlentities(stripslashes($config['welcome_title_3']));
// New Home by HTH-C.com Ende //
$welcome_text=htmlentities(stripslashes($config['welcome_text']));
// New Home by HTH-C.com Start //
$welcome_text_1=htmlentities(stripslashes($config['welcome_text_1']));
$welcome_text_2=htmlentities(stripslashes($config['welcome_text_2']));
$welcome_text_3=htmlentities(stripslashes($config['welcome_text_3']));
// New Home by HTH-C.com Ende //
$site_frontpage=htmlentities(stripslashes($config['site_frontpage']));
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_frontpage")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="censor" or $do=="all") {
if ($ACTION==$_POST['save']) {
$censor_username=$_POST['censor_username'];
$censor_email=$_POST['censor_email'];
$censor_ip=$_POST['censor_ip'];
$censor_badword=$_POST['censor_badword'];
$DB->query("UPDATE ".$db_tab['config']." SET censor_username='".$censor_username."', censor_email='".$censor_email."', censor_ip='".$censor_ip."', censor_badword='".$censor_badword."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_censor")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="notify" or $do=="all") {
if ($ACTION==$_POST['save']) {
$narray=explode("\n",$_POST['notify_by_register_mail']); unset($notify_by_register_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_comment_mail']); unset($notify_by_comment_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_gbook_mail']); unset($notify_by_gbook_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_forum_mail']); unset($notify_by_forum_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_submit_mail']); unset($notify_by_submit_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_register_im']); unset($notify_by_register_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_comment_im']); unset($notify_by_comment_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_gbook_im']); unset($notify_by_gbook_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_forum_im']); unset($notify_by_forum_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_submit_im']); unset($notify_by_submit_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_im.=$p."\n";}}}
$DB->query("UPDATE ".$db_tab['config']." SET notify_register_m='".$notify_by_register_mail."', notify_comment_m='".$notify_by_comment_mail."', notify_gbook_m='".$notify_by_gbook_mail."', notify_forum_m='".$notify_by_forum_mail."', notify_submit_m='".$notify_by_submit_mail."', notify_register_i='".$notify_by_register_im."', notify_comment_i='".$notify_by_comment_im."', notify_gbook_i='".$notify_by_gbook_im."', notify_forum_i='".$notify_by_forum_im."', notify_submit_i='".$notify_by_submit_im."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($sqlcommand); $second_cache=array();
$id_cache=explode("\n",$config['notify_register_i']."\n".$config['notify_comment_i']."\n".$config['notify_gbook_i']."\n".$config['notify_forum_i']."\n".$config['notify_submit_i']);
if (is_array($id_cache)) {
foreach ($id_cache as $id) {
$id=trim($id);
if ($second_cache[$id]=='') {
$second_cache[$id]=$id;
if ($id!='' && $sqlcommand=='') {$sqlcommand="SELECT user_id, user_nick FROM ".$db_tab['user']." WHERE user_id='".$id."'";}
elseif ($id!='') {$sqlcommand.=" OR user_id='".$id."'";}
}
}
if ($sqlcommand!='') {
$getuserinfo=$DB->query($sqlcommand." ORDER by user_id ASC");
while($userinfo=$DB->fetch_array($getuserinfo)) {$userinfo_cache[$userinfo[user_id]]=$userinfo;}
}
}
if (is_array($userinfo_cache)) {
if ($config['notify_register_i']!='') {$info=explode("\n",$config['notify_register_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_register_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_comment_i']!='') {$info=explode("\n",$config['notify_comment_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_comment_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_gbook_i']!='') {$info=explode("\n",$config['notify_gbook_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_gbook_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_forum_i']!='') {$info=explode("\n",$config['notify_forum_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_forum_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_submit_i']!='') { $info=explode("\n",$config['notify_submit_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_submit_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
}
$notify_by_register_mail=$config['notify_register_m'];
$notify_by_register_im=$config['notify_register_i'];
$notify_by_comment_mail=$config['notify_comment_m'];
$notify_by_comment_im=$config['notify_comment_i'];
$notify_by_gbook_mail=$config['notify_gbook_m'];
$notify_by_gbook_im=$config['notify_gbook_i'];
$notify_by_forum_mail=$config['notify_forum_m'];
$notify_by_forum_im=$config['notify_forum_i'];
$notify_by_submit_mail=$config['notify_submit_m'];
$notify_by_submit_im=$config['notify_submit_i'];
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_notify")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="register" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET user_registry='".$_POST['user_registry']."', user_activate='".$_POST['user_activate']."', user_disclaimer='".$_POST['user_disclaimer']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['user_registry']==1) {$info_registry1=" selected";}
elseif ($config['user_registry']==2) {$info_registry2=" selected";}
else {$info_registry0=" selected";}
if ($config['user_activate']==1) {$info_activate1=" selected";}
else {$info_activate0=" selected";}
if ($config['user_disclaimer']==1) {$info_disclaimer1=" selected";}
else {$info_disclaimer0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_register")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="member" or $do=="all") {
if ($ACTION==$_POST['save']) {
if ($_POST['user_namemin']<1 or $_POST['user_namemin']>$_POST['user_namemax']) {$_POST['user_namemin']=1;}
if ($_POST['user_namemax']>50 or $_POST['user_namemax']<$_POST['user_namemin']) {$_POST['user_namemax']=50;}
$DB->query("UPDATE ".$db_tab['config']." SET text_ubb='".$_POST['text_ubb']."', text_smilies='".$_POST['text_smilies']."', text_images='".$_POST['text_images']."', member_infoshow='".$_POST['member_infoshow']."', member_epp='".$_POST['member_epp']."', member_gbook='".$_POST['member_gbook']."', member_mailer='".$_POST['member_mailer']."', user_namemin='".$_POST['user_namemin']."', user_namemax='".$_POST['user_namemax']."', user_delete='".$_POST['user_delete']."', user_ghost='".$_POST['user_ghost']."', user_design='".$_POST['user_design']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['member_infoshow']=="admin") {$member_showinfo1=" selected";}
elseif ($config['member_infoshow']=="mod") {$member_showinfo2=" selected";}
elseif ($config['member_infoshow']=="member") {$member_showinfo3=" selected";}
elseif ($config['member_infoshow']=="user") {$member_showinfo4=" selected";}
else {$member_showinfo0=" selected";}
if ($config['user_delete']==1) {$info_delete1=" selected";}
elseif ($config['user_delete']==2) {$info_delete2=" selected";}
else {$info_delete0=" selected";}
if ($config[text_ubb]==1) {$info_ubb1=" checked";}
else {$info_ubb0=" checked";}
if ($config[text_smilies]==1) {$info_smilies1=" checked";}
else {$info_smilies0=" checked";}
if ($config[text_images]==1) {$info_images1=" checked";}
else {$info_images0=" checked";}
if ($config['member_gbook']==1) {$info_gbook1=" checked";}
else {$info_gbook0=" checked";}
if ($config['member_mailer']==1) $info_mailer1=" checked";
else $info_mailer0=" checked";
if ($config['user_ghost']==1) $info_ghost1=" checked";
else $info_ghost0=" checked";
if ($config['user_design']==1) $info_design1=" checked";
else $info_design0=" checked";
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_member")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="avatar" or $do=="all") {
if ($ACTION==$_POST['action']) {
$avatarpath=explode("/",$_POST['avatar_path']);
unset($_POST['avatar_path']);
if (is_array($avatarpath)) {
foreach($avatarpath as $p) {
$p=trim($p);
if ($p!="") {
if ($_POST['avatar_path']=="") $_POST['avatar_path']=$p;
else $_POST['avatar_path'].="/".$p;
}
}
}
$DB->query("UPDATE ".$db_tab['config']." SET avatar_size='".$_POST['avatar_size']."', avatar_height='".$_POST['avatar_height']."', avatar_width='".$_POST['avatar_width']."', avatar_eod='".$_POST['avatar_eod']."', avatar_path='".$_POST['avatar_path']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config[avatar_eod]==1) {$info_avatar_eod1=" selected";}
elseif ($config[avatar_eod]==2) {$info_avatar_eod2=" selected";}
else {$info_avatar_eod0=" selected";}
if (!@is_writeable('../'.$config['avatar_path']) || !@is_dir('../'.$config['avatar_path'])) eval ("\$path_error= \"".templateinclude("config_avatar_patherror")."\";");
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_avatar")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="blacklist" or $do=="all") {
if (is_array($_POST['delete']) && $_POST['action']==$lang['remove']) {
unset($sqlcommand);
foreach($_POST['delete'] as $id) {
if ($sqlcommand=="") {$sqlcommand="DELETE FROM ".$db_tab['blacklist']." WHERE blacklist_id='".$id."'";}
else {$sqlcommand.=" OR blacklist_id='".$id."'";}
}
$DB->query($sqlcommand);
}
elseif ($ACTION==$_POST['save'] && $_POST['blacklist_url']!="" && ($_POST['blacklist_userstatus']=="user" or $_POST['blacklist_userstatus']=="member" or $_POST['blacklist_userstatus']=="mod" or $_POST['blacklist_userstatus']=="admin")) {
$DB->query("INSERT INTO ".$db_tab['blacklist']." (blacklist_url, blacklist_userstatus) VALUES ('".$_POST['blacklist_url']."', '".$_POST['blacklist_userstatus']."')");
}
else {
$getlist=$DB->query("SELECT blacklist_url, blacklist_userstatus, blacklist_id FROM ".$db_tab['blacklist']." ORDER by blacklist_userstatus ASC");
while($list=$DB->fetch_array($getlist)) {
$row=rowcolor($row);
if ($list['blacklist_userstatus']=="user") {$status=$lang['user'];}
elseif ($list['blacklist_userstatus']=="member") {$status=$lang['member'];}
elseif ($list['blacklist_userstatus']=="mod") {$status=$lang['mod'];}
elseif ($list['blacklist_userstatus']=="admin") {$status=$lang['admin'];}
eval ("\$blacklist_sites_row.= \"".templateinclude("config_blacklist_sites_row")."\";");
}
if ($blacklist_sites_row!="") {eval ("\$blacklist_sites= \"".templateinclude("config_blacklist_sites")."\";");}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_blacklist")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="referer" or $do=="all") {
if ($ACTION==$_POST['save']) {$DB->query("UPDATE ".$db_tab['config']." SET referer_filter='".$_POST['referer_filter']."', referer_eod='".$_POST['referer_eod']."', referer_delete='".$_POST['referer_delete']."' WHERE profil_id='".$config['profil_id']."'");}
else {
if ($config['referer_eod']==1) {$referer_eod1=" selected";}
else {$referer_eod0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_referer")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="offline" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_message=addslashes($_POST['site_message']);
$DB->query("UPDATE ".$db_tab['config']." SET site_eod='".$_POST['site_eod']."', site_message='".$site_message."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$site_message=htmlentities(stripslashes($config['site_message']));
if ($config['site_eod']==1) $info_eod1=" selected";
else $info_eod0=" selected";
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_offline")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="comment" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET comment_order='".$_POST['comment_order']."', comment_bb='".$_POST['comment_bbcode']."', comment_smilies='".$_POST['comment_smilies']."', comment_images='".$_POST['comment_images']."', comment_register='".$_POST['comment_register']."', comment_floodctrl='".$_POST['comment_floodctrl']."', comment_maxchars='".$_POST['comment_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['comment_order']=="ASC") {$info_orderA=" selected";}
else {$info_orderD=" selected";}
if ($config['comment_bb']==1) {$info_bbcode1=" selected";}
else {$info_bbcode0=" selected";}
if ($config['comment_smilies']==1) {$info_smilies1=" selected";}
else {$info_smilies0=" selected";}
if ($config['comment_images']==1) {$info_images1=" selected";}
else {$info_images0=" selected";}
if ($config['comment_register']==1) {$info_register1=" selected";}
else {$info_register0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_comment")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="guestbook" or $do=="all") {
if ($ACTION==$_POST['save']) {
$gbook_welcome=addslashes($_POST['gbook_welcome']);
$DB->query("UPDATE ".$db_tab['config']." SET gbook_eod='".$_POST['gbook_eod']."', gbook_welcome='".$gbook_welcome."', gbook_commenteod='".$_POST['gbook_commenteod']."', gbook_epp='".$_POST['gbook_epp']."', gbook_smilies='".$_POST['gbook_smilies']."', gbook_images='".$_POST['gbook_images']."', gbook_ubb='".$_POST['gbook_ubb']."', gbook_floodctrl='".$_POST['gbook_floodctrl']."', gbook_maxchars='".$_POST['gbook_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['gbook_eod']==1) {$gb_eod1=" selected";}
else {$gb_eod0=" selected";}
if ($config['gbook_commenteod']==1) {$gb_ceod1=" selected";}
else {$gb_ceod0=" selected";}
if ($config['gbook_ubb']==1) {$gb_ubb1=" selected";}
else {$gb_ubb0=" selected";}
if ($config['gbook_smilies']==1) {$gb_smilies1=" selected";}
else {$gb_smilies0=" selected";}
if ($config['gbook_images']==1) {$gb_images1=" selected";}
else {$gb_images0=" selected";}
$gbook_welcome=htmlentities(stripslashes($config['gbook_welcome']));
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_guestbook")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="content" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET content_epp1='".$_POST['content_epp1']."', content_epp2='".$_POST['content_epp2']."', content_epp3='".$_POST['content_epp3']."', content_epp4='".$_POST['content_epp4']."', content_length1='".$_POST['content_length1']."', content_length2='".$_POST['content_length2']."', content_length3='".$_POST['content_length3']."', content_length4='".$_POST['content_length4']."', content_submit1='".$_POST['content_submit1']."', content_submit2='".$_POST['content_submit2']."', content_submit3='".$_POST['content_submit3']."', content_submit4='".$_POST['content_submit4']."', content_downloadpath='".$_POST['content_downloadpath']."', content_downloadstatus='".$_POST['content_dlstatus']."', content_style1='".$_POST['content_style1']."',content_style2='".$_POST['content_style2']."',content_style3='".$_POST['content_style3']."',content_style4='".$_POST['content_style4']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['content_submit1']=="guest") $submit1_4=" selected";
elseif ($config['content_submit1']=="user") $submit1_1=" selected";
elseif ($config['content_submit1']=="member") $submit1_2=" selected";
elseif ($config['content_submit1']=="mod") $submit1_3=" selected";
elseif ($config['content_submit1']=="none") $submit1_0=" selected";
if ($config['content_submit2']=="guest") $submit2_4=" selected";
elseif ($config['content_submit2']=="user") $submit2_1=" selected";
elseif ($config['content_submit2']=="member") $submit2_2=" selected";
elseif ($config['content_submit2']=="mod") $submit2_3=" selected";
elseif ($config['content_submit2']=="none") $submit2_0=" selected";
if ($config['content_submit3']=="guest") $submit3_4=" selected";
elseif ($config['content_submit3']=="user") $submit3_1=" selected";
elseif ($config['content_submit3']=="member") $submit3_2=" selected";
elseif ($config['content_submit3']=="mod") $submit3_3=" selected";
elseif ($config['content_submit3']=="none") $submit3_0=" selected";
if ($config['content_submit4']=="guest") $submit4_4=" selected";
elseif ($config['content_submit4']=="user") $submit4_1=" selected";
elseif ($config['content_submit4']=="member") $submit4_2=" selected";
elseif ($config['content_submit4']=="mod") $submit4_3=" selected";
elseif ($config['content_submit4']=="none") $submit4_0=" selected";
if ($config['content_downloadstatus']=="guest") $dlstatus4_0=" selected";
elseif ($config['content_downloadstatus']=="user") $dlstatus4_1=" selected";
elseif ($config['content_downloadstatus']=="member") $dlstatus4_2=" selected";
elseif ($config['content_downloadstatus']=="mod") $dlstatus4_3=" selected";
elseif ($config['content_downloadstatus']=="admin") $dlstatus4_4=" selected";
elseif ($config['content_downloadstatus']=="none") $dlstatus4_5=" selected";
$var='style1_'.$config['content_style1']; $$var='selected';
$var='style2_'.$config['content_style2']; $$var='selected';
$var='style3_'.$config['content_style3']; $$var='selected';
$var='style4_'.$config['content_style4']; $$var='selected';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_content")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="forum" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET forum_eod='".$_POST['forum_eod']."', forum_standalone='".$_POST['forum_standalone']."',forum_ubb='".$_POST['forum_ubb']."',forum_smilies='".$_POST['forum_smilies']."',forum_start='".$_POST['forum_start']."',forum_button='".$_POST['forum_button']."',forum_searcheod='".$_POST['forum_searcheod']."',forum_showmod='".$_POST['forum_showmod']."',forum_maxfav='".$_POST['forum_maxfav']."',forum_viewreply='".$_POST['forum_viewreply']."',forum_showrank='".$_POST['forum_showrank']."',forum_postorder='".$_POST['forum_postorder']."',forum_structur='".$_POST['forum_structur']."',forum_doublepost='".$_POST['forum_doublepost']."',forum_images='".$_POST['forum_images']."',forum_attach_dir='".$_POST['forum_attach_dir']."',forum_attach_size='".$_POST['forum_attach_size']."',forum_attach_ext='".$_POST['forum_attach_ext']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['forum_eod']==1) $option_eod1='selected';
else $option_eod0='selected';
if ($config['forum_ubb']==1) $option_ubb1='selected';
else $option_ubb0='selected';
if ($config['forum_smilies']==1) $option_smilies1='selected';
else $option_smilies0='selected';
if ($config['forum_images']==1) $option_images1='selected';
else $option_images0='selected';
if ($config['forum_searcheod']==1) $option_searcheod1='selected';
else $option_searcheod0='selected';
if ($config['forum_showmod']==1) $option_showmod1='selected';
else $option_showmod0='selected';
if ($config['forum_showrank']==1) $option_showrank1='selected';
else $option_showrank0='selected';
if ($config['forum_standalone']==1) $option_standalone1='selected';
elseif ($config['forum_standalone']==2) $option_standalone2='selected';
elseif ($config['forum_standalone']==3) $option_standalone3='selected';
else $option_standalone0='selected';
if ($config['forum_postorder']=="ASC") $option_postorder0='selected';
else $option_postorder1='selected';
if ($config['forum_structur']==1) $option_structur1='selected';
else $option_structur0='selected';
if ($config['forum_doublepost']==1) $option_doublepost1='selected';
else $option_doublepost0='selected';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_forum")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($ACTION==$_POST['save']) {header("location: admin.php?do=".$_POST['do']."session_id()); exit();}
elseif ($do!='') {
if ($do!='all') eval ("\$config_do= \"".templateinclude("config_".$do."")."\";");
eval ("\$site_body.= \"".templateinclude("config")."\";");
}
}
else {header ("location: admin.phpsession_id()); exit();}
?> | |  |
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 13:48 Uhr |
|
|
|
du glaubst es nicht, nächste fehlermeldung:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /homepages/45/d152406193/htdocs/igradio/admin/config.php on line 18
*heul
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 13:56 Uhr |
|
|
|
Ja, das wiederum liegt nun daran das das Kit Standardmäßig die PHPKit S I D entfernt, selbst aus dem Code, da dieses ein Eingriff in den Code ist, darf ich nun mal schnell alle daraus entfernen.
Dürften nun hoffentlich alle daraus entfernt sein.
Hier klicken zum aufklappen   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 | | PHP-Quelltext <?php
if (adminaccess('config')) {
if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
if ($_REQUEST['do']!='' && $_REQUEST['do']!='all') {
$do=$_REQUEST['do'];
unset($toplink);
}
else {
$do='all';
eval ("\$toplink= \"".templateinclude("config_all_toplink")."\";");
eval ("\$site_body.= \"".templateinclude("config_all_links")."\";");
}
if ($do=='profil' or $do=='newprofil') {
if ($ACTION==$_POST['create']) {header("location: admin.php?do=newprofil"); exit();}
elseif ($ACTION==$_POST['save']) {
$DB->query("INSERT INTO ".$db_tab['config']." (profil_name) VALUES ('".$_POST['profil_name']."')");
header("location: admin.php?do=profil&profilid=".$DB->insert_id().""); exit();
}
if ($ACTION==$_POST['delete']) {
$DB->query("DELETE FROM ".$db_tab['config']." WHERE profil_id='".$_POST['profilid']."'");
$profilid=$DB->fetch_array($DB->query("SELECT profil_id FROM ".$db_tab['config']." LIMIT 1"));
$profilid=$profilid['profil_id'];
}
if (isset($_REQUEST['profilid']) or isset($profilid)) {
if (!isset($profilid)) {$profilid=$_REQUEST['profilid'];}
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=0 WHERE profil_id!='".$profilid."'");
$DB->query("UPDATE ".$db_tab['config']." SET profil_active=1 WHERE profil_id='".$profilid."'");
header("location: admin.php?do=basic"); exit();
}
}
if ($do=='basic' or $do=='all') {
if ($ACTION==$_POST['save']) {
$site_name=addslashes($_POST['site_name']);
$site_title=addslashes($_POST['site_title']);
$parse_url=explode("/",addslashes($_POST['site_url'])); unset($site_url); if (is_array($parse_url)) {foreach ($parse_url as $u) {$u=trim($u); if (!eregi("http",$u) && $u!="") {if ($site_url=="") {$site_url="http://".$u;} else {$site_url.="/".$u;}}}} unset($parse_url);
$site_urls=addslashes($_POST['site_urls']);
$site_copy=addslashes($_POST['site_copy']);
if (!emailcheck($_POST['site_email'],0)) {unset($_POST['site_email']);}
else {$site_email=addslashes($_POST['site_email']);}
$site_width=$_POST['site_width'];
$time_gmtzone=$_POST['time_gmtzone'];
$DB->query("UPDATE ".$db_tab['config']." SET site_name='".$site_name."', site_title='".$site_title."', site_url='".$site_url."', site_urls='".$site_urls."', site_email='".$site_email."', site_copy='".$site_copy."', site_width='".$site_width."', time_gmtzone='".$time_gmtzone."', version_check='".$_POST['version_check']."', site_logo='".$_POST['site_logo']."', site_adview='".$_POST['site_adview']."', site_style='".$_POST['site_style']."', templatename='".$_POST['templatename']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($i);
$getconfiginfo=$DB->query("SELECT profil_id, profil_name, profil_active FROM ".$db_tab['config']." ORDER by profil_name ASC");
while ($configinfo=$DB->fetch_array($getconfiginfo)) {
if ($config['profil_id']==$configinfo['profil_id']) {$option_selected=' selected';}
eval ("\$profil_option.= \"".templateinclude("config_profil_option")."\";");
unset($option_selected);
unset($option_selected2);
$i++;
}
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." ORDER by style_name ASC");
while ($styles=$DB->fetch_array($getstyles)) {
$site_style_list.='<option value="'.$styles['style_id'].'"';
if ($styles['style_id']==$config['site_style']) $site_style_list.=' selected';
$site_style_list.='>'.$styles['style_name'].'</option>';
}
if ($i>1) {eval ("\$profil_delete= \"".templateinclude("config_profil_delete")."\";");}
eval ("\$site_body.= \"".templateinclude("config_profil")."\";");
$site_name=htmlentities(stripslashes($config['site_name']));
$site_title=htmlentities(stripslashes($config['site_title']));
$site_url=htmlentities(stripslashes($config['site_url']));
$site_urls=htmlentities(stripslashes($config['site_urls']));
$site_copy=htmlentities(stripslashes($config['site_copy']));
if ($config['site_width']=='770') $width770=' selected';
elseif ($config['site_width']=='980') $width980=' selected';
else $width100=' selected';
if ($config['site_adview']=='1') $adview1=' selected';
else $adview0=' selected';
if ($config['time_gmtzone']<0) {$v=eregi_replace("-|\.","",$config['time_gmtzone']); $tz="m".$v;}
elseif ($config['time_gmtzone']>0) {$v=eregi_replace("\+|\.","",$config['time_gmtzone']); $tz="p".$v;}
else $tz=0;
$var="info_".$tz;
$$var="selected";
if ($config['templatename']==1) $templatename1='selected';
else $templatename0='selected';
if ($config['version_check']==1) $vcheck1='checked';
else $vcheck0='checked';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_basic")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="mailer" or $do=="all") {
if ($ACTION==$_POST['save']) {
$smtp_server=addslashes($_POST['smtp_server']);
$site_mail_txt=addslashes($_POST['site_mail_txt']);
$site_mail_htm=addslashes($_POST['site_mail_htm']);
$DB->query("UPDATE ".$db_tab['config']." SET smtp_server='".$smtp_server."',site_mail_txt='".$site_mail_txt."',site_mail_htm='".$site_mail_htm."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$smtp_server=stripslashes($config['smtp_server']);
$site_mail_txt=stripslashes($config['site_mail_txt']);
$site_mail_htm=stripslashes($config['site_mail_htm']);
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_mailer")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="frontpage" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_array=explode("\n",addslashes($_POST['site_frontpage'])); unset($site_frontpage); if (is_array($site_array)) {foreach($site_array as $p) {$p=trim($p); if ($p!='') {$site_frontpage.=$p."\n";}}}
$welcome_eod=$_POST['welcome_eod'];
// New Home by HTH-C.com Start //
$welcome_home_height=addslashes($_POST['welcome_home_height']);
$welcome_border_color=addslashes($_POST['welcome_border_color']);
// New Home by HTH-C.com Ende //
$welcome_title=addslashes($_POST['welcome_title']);
// New Home by HTH-C.com Start //
$welcome_title_1=addslashes($_POST['welcome_title_1']);
$welcome_title_2=addslashes($_POST['welcome_title_2']);
$welcome_title_3=addslashes($_POST['welcome_title_3']);
// New Home by HTH-C.com Ende //
$welcome_text=addslashes($_POST['welcome_text']);
// New Home by HTH-C.com Start //
$welcome_text_1=addslashes($_POST['welcome_text_1']);
$welcome_text_2=addslashes($_POST['welcome_text_2']);
$welcome_text_3=addslashes($_POST['welcome_text_3']);
// New Home by HTH-C.com Ende //
// New Home by HTH-C.com Start //
$DB->query("UPDATE ".$db_tab['config']." SET site_frontpage='".$site_frontpage."', welcome_eod='".$welcome_eod."', welcome_home_height='".$welcome_home_height."', welcome_border_color='".$welcome_border_color."', welcome_title='".$welcome_title."', welcome_title_1='".$welcome_title_1."', welcome_title_2='".$welcome_title_2."', welcome_title_3='".$welcome_title_3."', welcome_text='".$welcome_text."', welcome_text_1='".$welcome_text_1."', welcome_text_2='".$welcome_text_2."', welcome_text_3='".$welcome_text_3."' WHERE profil_id='".$config['profil_id']."'");
// New Home by HTH-C.com Ende //
}
else {
if ($config['welcome_eod']==1) {$welcome_eod1=" selected";}
else {$welcome_eod0=" selected";}
// New Home by HTH-C.com Start //
$welcome_home_height=htmlentities(stripslashes($config['welcome_home_height']));
$welcome_border_color=htmlentities(stripslashes($config['welcome_border_color']));
// New Home by HTH-C.com Ende //
$welcome_title=htmlentities(stripslashes($config['welcome_title']));
// New Home by HTH-C.com Start //
$welcome_title_1=htmlentities(stripslashes($config['welcome_title_1']));
$welcome_title_2=htmlentities(stripslashes($config['welcome_title_2']));
$welcome_title_3=htmlentities(stripslashes($config['welcome_title_3']));
// New Home by HTH-C.com Ende //
$welcome_text=htmlentities(stripslashes($config['welcome_text']));
// New Home by HTH-C.com Start //
$welcome_text_1=htmlentities(stripslashes($config['welcome_text_1']));
$welcome_text_2=htmlentities(stripslashes($config['welcome_text_2']));
$welcome_text_3=htmlentities(stripslashes($config['welcome_text_3']));
// New Home by HTH-C.com Ende //
$site_frontpage=htmlentities(stripslashes($config['site_frontpage']));
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_frontpage")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="censor" or $do=="all") {
if ($ACTION==$_POST['save']) {
$censor_username=$_POST['censor_username'];
$censor_email=$_POST['censor_email'];
$censor_ip=$_POST['censor_ip'];
$censor_badword=$_POST['censor_badword'];
$DB->query("UPDATE ".$db_tab['config']." SET censor_username='".$censor_username."', censor_email='".$censor_email."', censor_ip='".$censor_ip."', censor_badword='".$censor_badword."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_censor")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="notify" or $do=="all") {
if ($ACTION==$_POST['save']) {
$narray=explode("\n",$_POST['notify_by_register_mail']); unset($notify_by_register_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_comment_mail']); unset($notify_by_comment_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_gbook_mail']); unset($notify_by_gbook_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_forum_mail']); unset($notify_by_forum_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_submit_mail']); unset($notify_by_submit_mail); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_mail.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_register_im']); unset($notify_by_register_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_register_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_comment_im']); unset($notify_by_comment_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_comment_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_gbook_im']); unset($notify_by_gbook_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_gbook_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_forum_im']); unset($notify_by_forum_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_forum_im.=$p."\n";}}}
$narray=explode("\n",$_POST['notify_by_submit_im']); unset($notify_by_submit_im); if (is_array($narray)) {foreach($narray as $p) {$p=trim($p); if ($p!='') {$notify_by_submit_im.=$p."\n";}}}
$DB->query("UPDATE ".$db_tab['config']." SET notify_register_m='".$notify_by_register_mail."', notify_comment_m='".$notify_by_comment_mail."', notify_gbook_m='".$notify_by_gbook_mail."', notify_forum_m='".$notify_by_forum_mail."', notify_submit_m='".$notify_by_submit_mail."', notify_register_i='".$notify_by_register_im."', notify_comment_i='".$notify_by_comment_im."', notify_gbook_i='".$notify_by_gbook_im."', notify_forum_i='".$notify_by_forum_im."', notify_submit_i='".$notify_by_submit_im."' WHERE profil_id='".$config['profil_id']."'");
}
else {
unset($sqlcommand); $second_cache=array();
$id_cache=explode("\n",$config['notify_register_i']."\n".$config['notify_comment_i']."\n".$config['notify_gbook_i']."\n".$config['notify_forum_i']."\n".$config['notify_submit_i']);
if (is_array($id_cache)) {
foreach ($id_cache as $id) {
$id=trim($id);
if ($second_cache[$id]=='') {
$second_cache[$id]=$id;
if ($id!='' && $sqlcommand=='') {$sqlcommand="SELECT user_id, user_nick FROM ".$db_tab['user']." WHERE user_id='".$id."'";}
elseif ($id!='') {$sqlcommand.=" OR user_id='".$id."'";}
}
}
if ($sqlcommand!='') {
$getuserinfo=$DB->query($sqlcommand." ORDER by user_id ASC");
while($userinfo=$DB->fetch_array($getuserinfo)) {$userinfo_cache[$userinfo[user_id]]=$userinfo;}
}
}
if (is_array($userinfo_cache)) {
if ($config['notify_register_i']!='') {$info=explode("\n",$config['notify_register_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_register_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_comment_i']!='') {$info=explode("\n",$config['notify_comment_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_comment_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_gbook_i']!='') {$info=explode("\n",$config['notify_gbook_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_gbook_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_forum_i']!='') {$info=explode("\n",$config['notify_forum_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_forum_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
if ($config['notify_submit_i']!='') { $info=explode("\n",$config['notify_submit_i']); if (is_array($info)) {foreach ($info as $id) {$id=trim($id); if ($id!='') {$notify_by_submit_info.=$userinfo_cache[$id]['user_nick'].', ';}}} unset($info);}
}
$notify_by_register_mail=$config['notify_register_m'];
$notify_by_register_im=$config['notify_register_i'];
$notify_by_comment_mail=$config['notify_comment_m'];
$notify_by_comment_im=$config['notify_comment_i'];
$notify_by_gbook_mail=$config['notify_gbook_m'];
$notify_by_gbook_im=$config['notify_gbook_i'];
$notify_by_forum_mail=$config['notify_forum_m'];
$notify_by_forum_im=$config['notify_forum_i'];
$notify_by_submit_mail=$config['notify_submit_m'];
$notify_by_submit_im=$config['notify_submit_i'];
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_notify")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="register" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET user_registry='".$_POST['user_registry']."', user_activate='".$_POST['user_activate']."', user_disclaimer='".$_POST['user_disclaimer']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['user_registry']==1) {$info_registry1=" selected";}
elseif ($config['user_registry']==2) {$info_registry2=" selected";}
else {$info_registry0=" selected";}
if ($config['user_activate']==1) {$info_activate1=" selected";}
else {$info_activate0=" selected";}
if ($config['user_disclaimer']==1) {$info_disclaimer1=" selected";}
else {$info_disclaimer0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_register")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="member" or $do=="all") {
if ($ACTION==$_POST['save']) {
if ($_POST['user_namemin']<1 or $_POST['user_namemin']>$_POST['user_namemax']) {$_POST['user_namemin']=1;}
if ($_POST['user_namemax']>50 or $_POST['user_namemax']<$_POST['user_namemin']) {$_POST['user_namemax']=50;}
$DB->query("UPDATE ".$db_tab['config']." SET text_ubb='".$_POST['text_ubb']."', text_smilies='".$_POST['text_smilies']."', text_images='".$_POST['text_images']."', member_infoshow='".$_POST['member_infoshow']."', member_epp='".$_POST['member_epp']."', member_gbook='".$_POST['member_gbook']."', member_mailer='".$_POST['member_mailer']."', user_namemin='".$_POST['user_namemin']."', user_namemax='".$_POST['user_namemax']."', user_delete='".$_POST['user_delete']."', user_ghost='".$_POST['user_ghost']."', user_design='".$_POST['user_design']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['member_infoshow']=="admin") {$member_showinfo1=" selected";}
elseif ($config['member_infoshow']=="mod") {$member_showinfo2=" selected";}
elseif ($config['member_infoshow']=="member") {$member_showinfo3=" selected";}
elseif ($config['member_infoshow']=="user") {$member_showinfo4=" selected";}
else {$member_showinfo0=" selected";}
if ($config['user_delete']==1) {$info_delete1=" selected";}
elseif ($config['user_delete']==2) {$info_delete2=" selected";}
else {$info_delete0=" selected";}
if ($config[text_ubb]==1) {$info_ubb1=" checked";}
else {$info_ubb0=" checked";}
if ($config[text_smilies]==1) {$info_smilies1=" checked";}
else {$info_smilies0=" checked";}
if ($config[text_images]==1) {$info_images1=" checked";}
else {$info_images0=" checked";}
if ($config['member_gbook']==1) {$info_gbook1=" checked";}
else {$info_gbook0=" checked";}
if ($config['member_mailer']==1) $info_mailer1=" checked";
else $info_mailer0=" checked";
if ($config['user_ghost']==1) $info_ghost1=" checked";
else $info_ghost0=" checked";
if ($config['user_design']==1) $info_design1=" checked";
else $info_design0=" checked";
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_member")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="avatar" or $do=="all") {
if ($ACTION==$_POST['action']) {
$avatarpath=explode("/",$_POST['avatar_path']);
unset($_POST['avatar_path']);
if (is_array($avatarpath)) {
foreach($avatarpath as $p) {
$p=trim($p);
if ($p!="") {
if ($_POST['avatar_path']=="") $_POST['avatar_path']=$p;
else $_POST['avatar_path'].="/".$p;
}
}
}
$DB->query("UPDATE ".$db_tab['config']." SET avatar_size='".$_POST['avatar_size']."', avatar_height='".$_POST['avatar_height']."', avatar_width='".$_POST['avatar_width']."', avatar_eod='".$_POST['avatar_eod']."', avatar_path='".$_POST['avatar_path']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config[avatar_eod]==1) {$info_avatar_eod1=" selected";}
elseif ($config[avatar_eod]==2) {$info_avatar_eod2=" selected";}
else {$info_avatar_eod0=" selected";}
if (!@is_writeable('../'.$config['avatar_path']) || !@is_dir('../'.$config['avatar_path'])) eval ("\$path_error= \"".templateinclude("config_avatar_patherror")."\";");
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_avatar")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="blacklist" or $do=="all") {
if (is_array($_POST['delete']) && $_POST['action']==$lang['remove']) {
unset($sqlcommand);
foreach($_POST['delete'] as $id) {
if ($sqlcommand=="") {$sqlcommand="DELETE FROM ".$db_tab['blacklist']." WHERE blacklist_id='".$id."'";}
else {$sqlcommand.=" OR blacklist_id='".$id."'";}
}
$DB->query($sqlcommand);
}
elseif ($ACTION==$_POST['save'] && $_POST['blacklist_url']!="" && ($_POST['blacklist_userstatus']=="user" or $_POST['blacklist_userstatus']=="member" or $_POST['blacklist_userstatus']=="mod" or $_POST['blacklist_userstatus']=="admin")) {
$DB->query("INSERT INTO ".$db_tab['blacklist']." (blacklist_url, blacklist_userstatus) VALUES ('".$_POST['blacklist_url']."', '".$_POST['blacklist_userstatus']."')");
}
else {
$getlist=$DB->query("SELECT blacklist_url, blacklist_userstatus, blacklist_id FROM ".$db_tab['blacklist']." ORDER by blacklist_userstatus ASC");
while($list=$DB->fetch_array($getlist)) {
$row=rowcolor($row);
if ($list['blacklist_userstatus']=="user") {$status=$lang['user'];}
elseif ($list['blacklist_userstatus']=="member") {$status=$lang['member'];}
elseif ($list['blacklist_userstatus']=="mod") {$status=$lang['mod'];}
elseif ($list['blacklist_userstatus']=="admin") {$status=$lang['admin'];}
eval ("\$blacklist_sites_row.= \"".templateinclude("config_blacklist_sites_row")."\";");
}
if ($blacklist_sites_row!="") {eval ("\$blacklist_sites= \"".templateinclude("config_blacklist_sites")."\";");}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_blacklist")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="referer" or $do=="all") {
if ($ACTION==$_POST['save']) {$DB->query("UPDATE ".$db_tab['config']." SET referer_filter='".$_POST['referer_filter']."', referer_eod='".$_POST['referer_eod']."', referer_delete='".$_POST['referer_delete']."' WHERE profil_id='".$config['profil_id']."'");}
else {
if ($config['referer_eod']==1) {$referer_eod1=" selected";}
else {$referer_eod0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_referer")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="offline" or $do=="all") {
if ($ACTION==$_POST['save']) {
$site_message=addslashes($_POST['site_message']);
$DB->query("UPDATE ".$db_tab['config']." SET site_eod='".$_POST['site_eod']."', site_message='".$site_message."' WHERE profil_id='".$config['profil_id']."'");
}
else {
$site_message=htmlentities(stripslashes($config['site_message']));
if ($config['site_eod']==1) $info_eod1=" selected";
else $info_eod0=" selected";
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_offline")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="comment" or $do=="all") {
if ($ACTION==$_POST['save']) {
$DB->query("UPDATE ".$db_tab['config']." SET comment_order='".$_POST['comment_order']."', comment_bb='".$_POST['comment_bbcode']."', comment_smilies='".$_POST['comment_smilies']."', comment_images='".$_POST['comment_images']."', comment_register='".$_POST['comment_register']."', comment_floodctrl='".$_POST['comment_floodctrl']."', comment_maxchars='".$_POST['comment_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['comment_order']=="ASC") {$info_orderA=" selected";}
else {$info_orderD=" selected";}
if ($config['comment_bb']==1) {$info_bbcode1=" selected";}
else {$info_bbcode0=" selected";}
if ($config['comment_smilies']==1) {$info_smilies1=" selected";}
else {$info_smilies0=" selected";}
if ($config['comment_images']==1) {$info_images1=" selected";}
else {$info_images0=" selected";}
if ($config['comment_register']==1) {$info_register1=" selected";}
else {$info_register0=" selected";}
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_comment")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="guestbook" or $do=="all") {
if ($ACTION==$_POST['save']) {
$gbook_welcome=addslashes($_POST['gbook_welcome']);
$DB->query("UPDATE ".$db_tab['config']." SET gbook_eod='".$_POST['gbook_eod']."', gbook_welcome='".$gbook_welcome."', gbook_commenteod='".$_POST['gbook_commenteod']."', gbook_epp='".$_POST['gbook_epp']."', gbook_smilies='".$_POST['gbook_smilies']."', gbook_images='".$_POST['gbook_images']."', gbook_ubb='".$_POST['gbook_ubb']."', gbook_floodctrl='".$_POST['gbook_floodctrl']."', gbook_maxchars='".$_POST['gbook_maxchars']."' WHERE profil_id='".$config['profil_id']."'");
}
else {
if ($config['gbook_eod']==1) {$gb_eod1=" selected";}
else {$gb_eod0=" selected";}
if ($config['gbook_commenteod']==1) {$gb_ceod1=" selected";}
else {$gb_ceod0=" selected";}
if ($config['gbook_ubb']==1) {$gb_ubb1=" selected";}
else {$gb_ubb0=" selected";}
if ($config['gbook_smilies']==1) {$gb_smilies1=" selected";}
else {$gb_smilies0=" selected";}
if ($config['gbook_images']==1) {$gb_images1=" selected";}
else {$gb_images0=" selected";}
$gbook_welcome=htmlentities(stripslashes($config['gbook_welcome']));
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_guestbook")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="content" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET content_epp1='".$_POST['content_epp1']."', content_epp2='".$_POST['content_epp2']."', content_epp3='".$_POST['content_epp3']."', content_epp4='".$_POST['content_epp4']."', content_length1='".$_POST['content_length1']."', content_length2='".$_POST['content_length2']."', content_length3='".$_POST['content_length3']."', content_length4='".$_POST['content_length4']."', content_submit1='".$_POST['content_submit1']."', content_submit2='".$_POST['content_submit2']."', content_submit3='".$_POST['content_submit3']."', content_submit4='".$_POST['content_submit4']."', content_downloadpath='".$_POST['content_downloadpath']."', content_downloadstatus='".$_POST['content_dlstatus']."', content_style1='".$_POST['content_style1']."',content_style2='".$_POST['content_style2']."',content_style3='".$_POST['content_style3']."',content_style4='".$_POST['content_style4']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['content_submit1']=="guest") $submit1_4=" selected";
elseif ($config['content_submit1']=="user") $submit1_1=" selected";
elseif ($config['content_submit1']=="member") $submit1_2=" selected";
elseif ($config['content_submit1']=="mod") $submit1_3=" selected";
elseif ($config['content_submit1']=="none") $submit1_0=" selected";
if ($config['content_submit2']=="guest") $submit2_4=" selected";
elseif ($config['content_submit2']=="user") $submit2_1=" selected";
elseif ($config['content_submit2']=="member") $submit2_2=" selected";
elseif ($config['content_submit2']=="mod") $submit2_3=" selected";
elseif ($config['content_submit2']=="none") $submit2_0=" selected";
if ($config['content_submit3']=="guest") $submit3_4=" selected";
elseif ($config['content_submit3']=="user") $submit3_1=" selected";
elseif ($config['content_submit3']=="member") $submit3_2=" selected";
elseif ($config['content_submit3']=="mod") $submit3_3=" selected";
elseif ($config['content_submit3']=="none") $submit3_0=" selected";
if ($config['content_submit4']=="guest") $submit4_4=" selected";
elseif ($config['content_submit4']=="user") $submit4_1=" selected";
elseif ($config['content_submit4']=="member") $submit4_2=" selected";
elseif ($config['content_submit4']=="mod") $submit4_3=" selected";
elseif ($config['content_submit4']=="none") $submit4_0=" selected";
if ($config['content_downloadstatus']=="guest") $dlstatus4_0=" selected";
elseif ($config['content_downloadstatus']=="user") $dlstatus4_1=" selected";
elseif ($config['content_downloadstatus']=="member") $dlstatus4_2=" selected";
elseif ($config['content_downloadstatus']=="mod") $dlstatus4_3=" selected";
elseif ($config['content_downloadstatus']=="admin") $dlstatus4_4=" selected";
elseif ($config['content_downloadstatus']=="none") $dlstatus4_5=" selected";
$var='style1_'.$config['content_style1']; $$var='selected';
$var='style2_'.$config['content_style2']; $$var='selected';
$var='style3_'.$config['content_style3']; $$var='selected';
$var='style4_'.$config['content_style4']; $$var='selected';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_content")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($do=="forum" or $do=="all") {
if ($ACTION==$_POST['save']) $DB->query("UPDATE ".$db_tab['config']." SET forum_eod='".$_POST['forum_eod']."', forum_standalone='".$_POST['forum_standalone']."',forum_ubb='".$_POST['forum_ubb']."',forum_smilies='".$_POST['forum_smilies']."',forum_start='".$_POST['forum_start']."',forum_button='".$_POST['forum_button']."',forum_searcheod='".$_POST['forum_searcheod']."',forum_showmod='".$_POST['forum_showmod']."',forum_maxfav='".$_POST['forum_maxfav']."',forum_viewreply='".$_POST['forum_viewreply']."',forum_showrank='".$_POST['forum_showrank']."',forum_postorder='".$_POST['forum_postorder']."',forum_structur='".$_POST['forum_structur']."',forum_doublepost='".$_POST['forum_doublepost']."',forum_images='".$_POST['forum_images']."',forum_attach_dir='".$_POST['forum_attach_dir']."',forum_attach_size='".$_POST['forum_attach_size']."',forum_attach_ext='".$_POST['forum_attach_ext']."' WHERE profil_id='".$config['profil_id']."'");
else {
if ($config['forum_eod']==1) $option_eod1='selected';
else $option_eod0='selected';
if ($config['forum_ubb']==1) $option_ubb1='selected';
else $option_ubb0='selected';
if ($config['forum_smilies']==1) $option_smilies1='selected';
else $option_smilies0='selected';
if ($config['forum_images']==1) $option_images1='selected';
else $option_images0='selected';
if ($config['forum_searcheod']==1) $option_searcheod1='selected';
else $option_searcheod0='selected';
if ($config['forum_showmod']==1) $option_showmod1='selected';
else $option_showmod0='selected';
if ($config['forum_showrank']==1) $option_showrank1='selected';
else $option_showrank0='selected';
if ($config['forum_standalone']==1) $option_standalone1='selected';
elseif ($config['forum_standalone']==2) $option_standalone2='selected';
elseif ($config['forum_standalone']==3) $option_standalone3='selected';
else $option_standalone0='selected';
if ($config['forum_postorder']=="ASC") $option_postorder0='selected';
else $option_postorder1='selected';
if ($config['forum_structur']==1) $option_structur1='selected';
else $option_structur0='selected';
if ($config['forum_doublepost']==1) $option_doublepost1='selected';
else $option_doublepost0='selected';
if ($do=='all') {
eval ("\$config_do.= \"".templateinclude("config_forum")."\";");
eval ("\$config_do.= \"".templateinclude("config_all")."\";");
}
}
}
if ($ACTION==$_POST['save']) {header("location: admin.php?do=".$_POST['do'].""); exit();}
elseif ($do!='') {
if ($do!='all') eval ("\$config_do= \"".templateinclude("config_".$do."")."\";");
eval ("\$site_body.= \"".templateinclude("config")."\";");
}
}
else {header ("location: admin.php"); exit();}
?> | |  |
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 14:05 Uhr |
|
|
|
Tja, so leid es mir tut aber jetzt ist wieder alles so wie am anfang ich habe in bezug auf die drei boxen keine einstellungsmöglichkeiten wenn ich im Adminmenue unter konfiguration>Startseite gehe. Es ist nur der standart bildschirm zu sehen.
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 14:09 Uhr |
|
|
|
Bitte mal den Code des Templates admin/templates/config_frontpage.htm hier posten.
mfG
|
|
|
|
|
|
|
 |
|
 |
26.07.2007 - 14:11 Uhr |
|
|
|
wie war das noch mit klapptext ?
|
|
|
|
|
|
|
 |
WEBI Unberechenbares Urgestein |
 |
|
|
|
|
|
|
|
|
 |
26.07.2007 - 14:12 Uhr |
|
|
|
|
|
|
 |
|
 |
Geschlossen |
|
|
|
 |
Ähnliche Themen |
|
|
|
|
|
|
|
|