archiv:expblog5

Dies ist eine alte Version des Dokuments!


vorlagen:delete

eXpBlog Mods

Autor: Volker Latainski

Datei Ordner
config.php /
.htaccess /
settings.php /
history.txt /plugins/
weblinks.php /plugins/
header.png /styles/expblog/img/
* /files/
suptime.php /plugins/
profile.php /plugins/
Blog content &copy; by <a href="www.hellhost.de">hellhost.de</a> 2008<br />
Codename: Lima V2<br />
echo '<li><a href="http://www.hellhost.de/global/datenschutz.html" target=_BLANK class="medi">Datenschutz</a></li>';
echo '<li><a href="http://wiki.hellhost.de" target=_BLANK class="medi">WiKi</a></li>';
echo '<li><a href="https://secure.hellhost.de/exp/admin/" target=_BLANK class="medi">Blogin</a></li>';
chmod($savepath.$basename.".jpg", $chmod);
chmod($savepath.$basename.".gif", $chmod);
chmod($savepath.$basename.".png", $chmod);
$limit = 5;
User-agent: *
Disallow: impressum.php
Disallow: /admin/

apache2.conf:

    <Directory "/var/www/web0/html/exp/">
        AllowOverride ALL
	 Options +FollowSymlinks
    </Directory>

.htaccess:

Options -MultiViews
RewriteEngine on 
RewriteRule ^([^/]+)/([^./]+)/?$ index.php?a=$1&b=$2 [L]
RewriteRule ^([^/]+)/([^./]+)/([^./]+)/?$ details.php?a=$1&b=$2&c=$3 [L]
  echo '<div style="text-align: center; width: 100%;"><font face="Trebuchet MS">';
  echo '<h1>CSB Tuning</h1><hr>';
  echo '<div style="text-align: center; margin:150px auto 0 auto;">Wir bauen für Sie! Schauen Sie doch einfach in einer halben Stunde wieder rein!</a></div>';
  echo '<br><center><img src="files/theme/zahnrad.jpg"></center><br></font>';
 
  echo '</div>';

Unterhalb der Zeile

if(!$hits->checkIfBlocked($_id)) $hits->addHit($_id);

folgendes einfügen:

if(isset($_COOKIE['comment_user_name'])) 
	{
		$comment_user_name = checksql($_COOKIE['comment_user_name']);
	}
if(isset($_COOKIE['comment_user_site'])) 
	{
		$comment_user_site = checksql($_COOKIE['comment_user_site']);
	}

Suche nach:

<div id="details_comment_form">

Ändern von:

    <input type="text" class="details_comment_form_text" name="name" value="Name" onclick="this.value=''" />
    <input type="text" class="details_comment_form_text" name="homepage" value="http://optional.deine.homepage" onclick="this.value=''" class="medi" />

in:

<?php if(isset($_COOKIE['comment_user_name'])) { ?>
    <input type="text" class="details_comment_form_text" name="name" value=<?php echo '"'.$comment_user_name.'"' ?> onclick="this.value=''" />
<?php    }
else { ?>
    <input type="text" class="details_comment_form_text" name="name" value="Name" onclick="this.value=''" />	
<?php }
//if
if(isset($_COOKIE['comment_user_site'])) { ?>
    <input type="text" class="details_comment_form_text" name="homepage" value=<?php echo '"'.$comment_user_site.'"' ?> onclick="this.value=''" class="medi" />
 <?php }
else { ?>
    <input type="text" class="details_comment_form_text" name="homepage" value="http://optional.deine.homepage" onclick="this.value=''" class="medi" />	
<?php } ?>

Suche nach:

$name = checkSql(htmlentities($_POST["name"]));

Unterhalb der Zeile einfügen:

setcookie("comment_user_name",$name,time() + (3600 * 24 * 30 * 12),"/");

Suche nach:

$homepage = checkSql(htmlentities($_POST["homepage"]));

Unterhalb der Zeile einfügen:

setcookie("comment_user_site",$homepage,time() + (3600 * 24 * 30 * 12),"/");
  • archiv/expblog5.1699220842.txt.gz
  • Zuletzt geändert: 2023/11/05 22:47
  • von psycore