ich versuche das o. g. Template abzuändern.
Ich möchte, dass der Hauptteil über die ganze Seite geht, also die linke Spalte soll ganz weg.
Hier könnt ihr euch meine Seite ansehen: Fewo Adlgass
die index.php sieht so aus:
<div id="contentbox">
<div id="infobox">
<!--beginn suche-->
<?php if(SHOW_SEARCH) { ?>
<h3>Suche</h3>
<div id="searchesa">
<form class="searchform" name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="get">
<input type="text" name="string" class="textbox" value="" />
<input type="submit" name="submit" value=" " class="button" />
</form></div>
<?php } ?>
<!--ende suche-->
<h3>Article and News</h3>
<?php
$group = 0;
$limit=10;
$readmore = "Weiterlesen";
$query = "SELECT * FROM ".TABLE_PREFIX."mod_news_posts WHERE group_id = $group and active = 1 ORDER BY position DESC LIMIT 0, 10;";
if ($group<1 ) {
$query = "SELECT * FROM ".TABLE_PREFIX."mod_news_posts WHERE active = 1 ORDER BY position DESC LIMIT 0, 10;";
}
global $database;
$result = $database->query($query);
$total = $result->numRows();
if ($total>1) {
$data = $result->fetchRow() ;
$data2 = $result->fetchRow() ;
echo '<strong>'.$data['title'].'</strong>'.$data['content_short'].'<a href="'.WB_URL.PAGES_DIRECTORY.$data['link'].PAGE_EXTENSION.'">'.$readmore.'</a>
';
echo '<strong>'.$data2['title'].'</strong>'.$data2['content_short'].'<a href="'.WB_URL.PAGES_DIRECTORY.$data2['link'].PAGE_EXTENSION.'">'.$readmore.'</a>
';
}
else {
echo '<span>keine Nachrichten ....</span>';
}
?>
<div id="login-box" class="pngtrans">
<!-- Admin login Box -->
<?php
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) { //If begin
?>
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post">
<fieldset class="topbox"><!-- www.webarte.de -->
<div class="topboxbody">
<label for="username"><?php echo $TEXT['USERNAME']; ?>:</label>
<input type="text" name="username" id="username" class="text" />
<label for="password"><?php echo $TEXT['PASSWORD']; ?>:</label>
<input type="password" name="password" id="password" class="text" />
<input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?/>" class="submit" />
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a>,
<?php if(is_numeric(FRONTEND_SIGNUP)) { ?>
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a>
<?php } ?>
</div>
</fieldset>
</form>
<?php
} elseif(FRONTEND_LOGIN AND $wb->is_authenticated()) {//elseIf begin
?>
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post">
<fieldset class="topbox">
<legend><?php echo $TEXT['LOGGED_IN']; ?>:</legend>
<div class="topboxbody"><!-- www.webarte.de -->
( <?php echo $TEXT['WELCOME_BACK']; ?>, <span class="username"><?php echo $wb->get_display_name(); ?></span> )
<strong><?php echo $TEXT['OPTION']; ?></strong>
<a href="<?php echo LOGOUT_URL; ?>"><?php echo $MENU['LOGOUT']; ?></a>,
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a>
<a href="<?php echo ADMIN_URL; ?>">Verwaltung</a> </div>
</fieldset>
</form>
<?php
}
?>
<!-- end admin box -->
</div><!-- end login -->
</div><!-- end sideColumn -->
<div id="content">
<a id="beginContent"></a>
<!-- www.webarte.de -->
<?php page_content(); ?>
</div><!-- end content -->
</div><!-- end contentContainer -->
<div class="clearcontent"> </div>
<!-- end main -->
Über eure Hilfe würde ich mich sehr freuen!
LG Maungerl
