http://bezplatno.info/upload/viewer.php?id=jdv1306598844f.jpg
http://bezplatno.info/upload/viewer.php?id=rgh1306598993e.jpg
Искам да го направя да излиза с тясната линия в менюто.
Кода на страницата е :
[/p
http://bezplatno.info/upload/viewer.php?id=rgh1306598993e.jpg
Искам да го направя да излиза с тясната линия в менюто.
Кода на страницата е :
Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="SHORTCUT ICON" href="http://www.akvashow.info/favicon.ico" >
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Акваристика за любители</title>
<style type="text/css">
</style></head>
<body>
<table width="900" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr>
<td colspan="3" bgcolor="#D5EDB3"><div align="center"><img src="image/banner_header.jpg" width="890" height="177" /></div></td>
</tr>
<tr>
<td colspan="3" bgcolor="#99CC66"><p class="style60"><strong><span class="style82">Начало</span> ::<span class="style60"> <a href="aquariums.php">Аквариуми</a></span> :: <a href="fish.php">Риби</a> :: <span class="style82">Растения</span> :: <a href="diseases.php">Болести</a> :: <a href="foods.php" class="style83">Храни </a>:: <span class="style82">Оборудване</span> :: <a href="http://akvashow.info/forum/index.php" class="style83">Форум</a></strong> <strong>::</strong></p> </td>
</tr>
<tr>
<td width="180" height="670" align="center" valign="top" bordercolor="#99CC66" bgcolor="#5C743D"><p> </p>
<p><br />
<br />
</p></td>
<td width="525" valign="top" bgcolor="#FFFFFF"><p> </p>
<table width="500" align="center">
<tr>
<th bgcolor="#99CC66" class="style81" scope="col">Форум</th>
<th bgcolor="#99CC66" class="style81" scope="col">Обяви</th>
</tr>
<tr>
<td><?php
// ############ Edit below ########################################
$topic_length = '28'; // length of topic title
$topic_limit = '10'; // limit of displayed topics
$special_forums = '0'; // specify forums ('0' = no; '1' = yes)
$forum_ids = ''; // IDs of forums; separate them with a comma
$config_path = '/forum/'; // path to config.php
$root_path = '/forum/'; // link path
// ############ Edit above ########################################
$path = dirname(__FILE__);
include_once($path.$config_path .'config.php');
mysql_connect($dbhost, $dbuser, $dbpasswd) OR die('Unable to select server.');
mysql_select_db($dbname) OR die('Unable to select database.');
// ############## output ##############
echo '<table width="100%" cellpadding="1" cellspacing="1" border="0" align="center">
<tr>
</tr>';
// ############## output ##############
$where_forums = ( $special_forums == '0' ) ? '' : 't.forum_id IN ('. $forum_ids .') AND ';
$sql = "SELECT t.*, f.forum_id, f.forum_name, u.username AS first_poster, u.user_id AS first_poster_id, u2.username AS last_poster, u2.user_id AS last_poster_id, p.post_username AS first_poster_name, p2.post_username AS last_poster_name, p2.post_time
FROM ". $table_prefix ."topics t, ". $table_prefix ."forums f, ". $table_prefix ."users u, ". $table_prefix ."posts p, ". $table_prefix ."posts p2, ". $table_prefix ."users u2
WHERE $where_forums t.topic_poster = u.user_id AND f.forum_id = t.forum_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id
ORDER BY t.topic_last_post_id DESC LIMIT $topic_limit";
$result = mysql_query($sql);
if( !$result )
{
die('SQL Statement Error: '. mysql_error());
exit();
}
$line = array();
while( $row = mysql_fetch_array($result) )
{
$line[] = $row;
}
for( $i = 0; $i < count($line); $i++ )
{
$forum_id = $line[$i]['forum_id'];
$topic_id = $line[$i]['topic_id'];
$topic_url = $root_path .'viewtopic.php?t='. $topic_id;
$topic_title = ( strlen($line[$i]['topic_title']) < $topic_length ) ? $line[$i]['topic_title'] : substr(stripslashes($line[$i]['topic_title']), 0, $topic_length) .'...';
$views = $line[$i]['topic_views'];
$replies = $line[$i]['topic_replies'];
$first_author = ( $line[$i]['first_poster_id'] != '-1' ) ? '<a href="'. $root_path .'profile.php?mode=viewprofile&u='. $line[$i]['first_poster_id'] .'">'. $line[$i]['first_poster'] .'</a>' : ( ($line[$i]['first_poster_name'] != '' ) ? $line[$i]['first_poster_name'] : 'guest' );
$last_author = ( $line[$i]['last_poster_id'] != '-1' ) ? $line[$i]['last_poster'] : ( ($line[$i]['last_poster_name'] != '' ) ? $line[$i]['last_poster_name'] : 'guest' );
$last_url = '<a href="'. $root_path .'viewtopic.php?p='. $line[$i]['topic_last_post_id'] .'#'. $line[$i]['topic_last_post_id'] .'">'. $last_author .'</a>';
// ############## output ##############
echo '<tr>
<td valign="top" nowrap="nowrap">'. $topic_type .'<a style="text-decoration:" href="'. $topic_url .'"><img src="arrow.gif" border="0"> '. $topic_title .'</a></td>
</tr>
<tr>
</tr>';
// ############## output ##############
}
echo '</table>';
mysql_close();
?>
<br />
<hr /></td>
<td><?php
// ############ Edit below ########################################
$topic_length = '28'; // length of topic title
$topic_limit = '10'; // limit of displayed topics
$special_forums = '1'; // specify forums ('0' = no; '1' = yes)
$forum_ids = '16'; // IDs of forums; separate them with a comma
$config_path = '/forum/'; // path to config.php
$root_path = '/forum/'; // link path
// ############ Edit above ########################################
$path = dirname(__FILE__);
include_once($path.$config_path .'config.php');
mysql_connect($dbhost, $dbuser, $dbpasswd) OR die('Unable to select server.');
mysql_select_db($dbname) OR die('Unable to select database.');
// ############## output ##############
echo '<table width="100%" cellpadding="1" cellspacing="1" border="0" align="center">
<tr>
</tr>';
// ############## output ##############
$where_forums = ( $special_forums == '0' ) ? '' : 't.forum_id IN ('. $forum_ids .') AND ';
$sql = "SELECT t.*, f.forum_id, f.forum_name, u.username AS first_poster, u.user_id AS first_poster_id, u2.username AS last_poster, u2.user_id AS last_poster_id, p.post_username AS first_poster_name, p2.post_username AS last_poster_name, p2.post_time
FROM ". $table_prefix ."topics t, ". $table_prefix ."forums f, ". $table_prefix ."users u, ". $table_prefix ."posts p, ". $table_prefix ."posts p2, ". $table_prefix ."users u2
WHERE $where_forums t.topic_poster = u.user_id AND f.forum_id = t.forum_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id
ORDER BY t.topic_last_post_id DESC LIMIT $topic_limit";
$result = mysql_query($sql);
if( !$result )
{
die('SQL Statement Error: '. mysql_error());
exit();
}
$line = array();
while( $row = mysql_fetch_array($result) )
{
$line[] = $row;
}
for( $i = 0; $i < count($line); $i++ )
{
$forum_id = $line[$i]['forum_id'];
$topic_id = $line[$i]['topic_id'];
$topic_url = $root_path .'viewtopic.php?t='. $topic_id;
$topic_title = ( strlen($line[$i]['topic_title']) < $topic_length ) ? $line[$i]['topic_title'] : substr(stripslashes($line[$i]['topic_title']), 0, $topic_length) .'...';
$views = $line[$i]['topic_views'];
$replies = $line[$i]['topic_replies'];
$first_author = ( $line[$i]['first_poster_id'] != '-1' ) ? '<a href="'. $root_path .'profile.php?mode=viewprofile&u='. $line[$i]['first_poster_id'] .'">'. $line[$i]['first_poster'] .'</a>' : ( ($line[$i]['first_poster_name'] != '' ) ? $line[$i]['first_poster_name'] : 'guest' );
$last_author = ( $line[$i]['last_poster_id'] != '-1' ) ? $line[$i]['last_poster'] : ( ($line[$i]['last_poster_name'] != '' ) ? $line[$i]['last_poster_name'] : 'guest' );
$last_url = '<a href="'. $root_path .'viewtopic.php?p='. $line[$i]['topic_last_post_id'] .'#'. $line[$i]['topic_last_post_id'] .'">'. $last_author .'</a>';
// ############## output ##############
echo '<tr>
<td valign="top" nowrap="nowrap">'. $topic_type .'<a style="text-decoration:" href="'. $topic_url .'"><img src="arrow.gif" border="0"> '. $topic_title .'</a></td>
</tr>
<tr>
</tr>';
// ############## output ##############
}
echo '</table>';
mysql_close();
?>
<br />
<hr /></td>
</tr>
</table>
<br />
<table width="500" align="center">
<tr>
<th bgcolor="#99CC66" class="style81" scope="col">Анонс</th>
</tr>
<tr>
<td><p><font color="#003300" size="3">Добре
дошли в Akvashow.info</font></p>
<p align="justify">Здравейте на всички, ако искате да опознаете прекрасния свят на акваристиката, да изберете най-подходящия аквариум, декориран с екзотични растения и красиви рибки, да научите повече за начина на хранене и размножаване, за болестите по аквариумните рибки и как да ги предпазвате от тях, вие можете да проникните в тайните на водната флора и фауна с помощта на Акваристика за любители. </p>
<p><font color="#003300" size="3">Заповядайте във Форума</font></p>
<p align="justify">Освен статии на страницата ще намерите и полезен форум. В него може да получите отговор на въпросите си свързани с акваристиката. Също така може да потърсите решение на проблем, или да дадете съвет , както и да да помогнете с ценна информация. Този форум е създаден за начинаещи и за дългогодишни любители на аквариумни рибки и за всички, чиито интереси са свързани с акваристиката.<br />
</p>
<hr />
<p><br />
</p></td>
</tr>
</table>
<p> </p>
<td width="179" valign="top" bgcolor="#FFFFFF"> <p> </p>
<p align="center">
<iframe src="http://www.facebook.com/plugins/likebox.php?id=205393939579&width=160&connections=17&stream=false&header=false&height=600" scrolling="No" frameborder="0" style="border:none; overflow:hidden; width:160px; height:600px;" allowtransparency="true"></iframe>
</p>
</tr>
</table>
<table width="900" align="center">
<tr>
<th width="180" scope="col"><hr /></th>
<th width="524" scope="col"><hr /></th>
<th width="180" scope="col"><hr /></th>
</tr>
<tr>
<td><br />
</td>
<td><div align="center">Akvashow.info 2011 |<a href="/about_us/"></a><a href="http://akvashow.info/copyright.php"> Условия на ползване </a>| <a href="mailto:team@akvashow.info">team@akvashow.info<br />
</a><br />
<font size="1"><a href="http://counter.search.bg/cgi-bin/s?_id=Federal"
target="_blank"><img
src="http://counter.search.bg/cgi-bin/c?_id=Federal&_z=3" alt="" width="70" height="15" border="0" /></a></font>
<script type="text/javascript">
</script>
<noscript>
<a href="http://www.tyxo.bg/?27351" title="Tyxo.bg counter" target="_blank"> <img src="http://cnt.tyxo.bg/27351" width="80" height="15" border="0" alt="Tyxo.bg counter" /></a>
</noscript>
</div></td>
<td> </td>
</tr>
<tr>
<td height="4"><hr /></td>
<td><hr /></td>
<td><hr /></td>
</tr>
</table>
</body>
</html>