- Fórum WMO
- → Viewing Profile: Posts: Shio
Community Stats
- Group Usuários
- Active Posts 11
- Profile Views 572
- Member Title Novato no fórum
- Age Age Unknown
- Birthday Birthday Unknown
-
Sexo
Não informado
User Tools
Friends
Shio hasn't added any friends yet.
Latest Visitors
-
Guest
04/11/2007, 02:51
Posts I've Made
In Topic: Layout E Dreaweaver
30/07/2005, 00:49
--------------------------
Té +
In Topic: Layout E Dreaweaver
29/07/2005, 21:08
É só clicar nos links abaixo
--------------------------------------------------------
Layout certinho
E aqui como fica qdo ponho links
<html>
<head>
<title>index.jpg</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks MX Dreamweaver MX target. Created Thu Jul 28 20:14:43 GMT-0300 (Hora padrão leste da Am. Sul) 2005-->
</head>
<body bgcolor="#ffffff">
<table width="714" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="Sem título" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="imagens/spacer.gif" width="8" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="130" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="7" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="186" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="23" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="101" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="25" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="81" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="19" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="7" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="120" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="7" height="1" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="12"><img name="index_r1_c1" src="imagens/index_r1_c1.jpg" width="714" height="114" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="114" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3"><img name="index_r2_c1" src="imagens/index_r2_c1.jpg" width="145" height="7" border="0" alt=""></td>
<td rowspan="2" colspan="9"><img name="index_r2_c4" src="imagens/index_r2_c4.jpg" width="569" height="17" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="7" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="19"><img name="index_r3_c1" src="imagens/index_r3_c1.jpg" width="8" height="479" border="0" alt=""></td>
<td><img name="index_r3_c2" src="imagens/index_r3_c2.jpg" width="130" height="10" border="0" alt=""></td>
<td rowspan="19"><img name="index_r3_c3" src="imagens/index_r3_c3.jpg" width="7" height="479" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="10" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r4_c2" src="imagens/index_r4_c2.jpg" width="130" height="20" border="0" alt=""></td>
<td rowspan="7"><img name="index_r4_c4" src="imagens/index_r4_c4.jpg" width="186" height="135" border="0" alt=""></td>
<td colspan="8"><img name="index_r4_c5" src="imagens/index_r4_c5.jpg" width="383" height="20" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="20" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="4" valign="top" background="imagens/index_r5_c2.jpg"><font color="#FFFFFF">ipsum
lorem<br>
ipsum lorem<br>
ipsum lorem<br>
ipsum lorem<br>
ipsum lorem </font></td>
<td colspan="3"><img name="index_r5_c5" src="imagens/index_r5_c5.jpg" width="149" height="10" border="0" alt=""></td>
<td rowspan="5"><img name="index_r5_c8" src="imagens/index_r5_c8.jpg" width="81" height="94" border="0" alt=""></td>
<td rowspan="6" colspan="4"><img name="index_r5_c9" src="imagens/index_r5_c9.jpg" width="153" height="115" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="10" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="5"><img name="index_r6_c5" src="imagens/index_r6_c5.jpg" width="23" height="105" border="0" alt=""></td>
<td><img name="index_r6_c6" src="imagens/index_r6_c6.jpg" width="101" height="40" border="0" alt=""></td>
<td rowspan="5"><img name="index_r6_c7" src="imagens/index_r6_c7.jpg" width="25" height="105" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="40" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r7_c6" src="imagens/index_r7_c6.jpg" width="101" height="13" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="13" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="index_r8_c6" src="imagens/index_r8_c6.jpg" width="101" height="31" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="11" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r9_c2" src="imagens/index_r9_c2.jpg" width="130" height="20" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="20" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="3" valign="top" background="imagens/index_r10_c2.jpg"><font color="#FFFFFF">ipsum
lorem</font><br>
<font color="#FFFFFF">ipsum lorem</font><br>
<font color="#FFFFFF">ipsum lorem</font><br>
<font color="#FFFFFF">ipsum lorem</font> </td>
<td><img name="index_r10_c6" src="imagens/index_r10_c6.jpg" width="101" height="21" border="0" alt=""></td>
<td><img name="index_r10_c8" src="imagens/index_r10_c8.jpg" width="81" height="21" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="21" border="0" alt=""></td>
</tr>
<tr>
<td colspan="6"><img name="index_r11_c4" src="imagens/index_r11_c4.jpg" width="435" height="17" border="0" alt=""></td>
<td rowspan="11"><img name="index_r11_c10" src="imagens/index_r11_c10.jpg" width="7" height="334" border="0" alt=""></td>
<td rowspan="4"><img name="index_r11_c11" src="imagens/index_r11_c11.jpg" width="120" height="90" border="0" alt=""></td>
<td rowspan="11"><img name="index_r11_c12" src="imagens/index_r11_c12.jpg" width="7" height="334" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="17" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="6" colspan="6"><img name="index_r12_c4" src="imagens/index_r12_c4.jpg" width="435" height="143" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="27" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r13_c2" src="imagens/index_r13_c2.jpg" width="130" height="23" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="23" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="3"><img name="index_r14_c2" src="imagens/index_r14_c2.jpg" width="130" height="72" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="23" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r15_c11" src="imagens/index_r15_c11.jpg" width="120" height="16" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="index_r16_c11" src="imagens/index_r16_c11.jpg" width="120" height="54" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="33" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r17_c2" src="imagens/index_r17_c2.jpg" width="130" height="21" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="21" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="4"><img name="index_r18_c2" src="imagens/index_r18_c2.jpg" width="130" height="174" border="0" alt=""></td>
<td colspan="6"><img name="index_r18_c4" src="imagens/index_r18_c4.jpg" width="435" height="19" border="0" alt=""></td>
<td><img name="index_r18_c11" src="imagens/index_r18_c11.jpg" width="120" height="19" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="19" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="3" colspan="6"><img name="index_r19_c4" src="imagens/index_r19_c4.jpg" width="435" height="155" border="0" alt=""></td>
<td><img name="index_r19_c11" src="imagens/index_r19_c11.jpg" width="120" height="63" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="63" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r20_c11" src="imagens/index_r20_c11.jpg" width="120" height="16" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td><img name="index_r21_c11" src="imagens/index_r21_c11.jpg" width="120" height="76" border="0" alt=""></td>
<td><img src="imagens/spacer.gif" width="1" height="76" border="0" alt=""></td>
</tr>
</table>
</body>
</html>
Se tiver como ajudar muito obrigado!!!!
In Topic: O Que Tem De Errado?
11/02/2005, 22:53
Como assim declarado?? desculpa minha ignorancia mas nao manjo mto de php, agora sobre o include, seria talvez esse aki???o objeto $db não foi declarado em nenhum lugar do código, não está faltando nenhum include não?
Abraço
Aguardo resposta<?php
// ############ Edit below ########################################
$topic_length = '30'; // length of topic title
$topic_limit = '5'; // 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>
<th colspan="2">'. $topic_limit .' last topics</th>
</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'];
$forum_url = $root_path .'viewforum.php?f='. $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) .'...';
$topic_type = ( $line[$i]['topic_type'] == '2' ) ? 'Announcement ': '';
$topic_type .= ( $line[$i]['topic_type'] == '3' ) ? 'Global Announcement ': '';
$topic_type .= ( $line[$i]['topic_type'] == '1' ) ? 'Sticky ': '';
$topic_type .= ( $line[$i]['topic_vote'] ) ? 'Poll ': '';
$views = $line[$i]['topic_views'];
$replies = $line[$i]['topic_replies'];
$first_time = date('d.m.Y', $line[$i]['topic_time']);
$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_time = date('d.m.Y', $line[$i]['post_time']);
$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 href="'. $topic_url .'">'. $topic_title .'</a></td>
</tr>
<tr>
<td><a href="'. $forum_url .'">'. $line[$i]['forum_name'] .'</a>: '. $last_url .' '. $last_time .'</td>
</tr>';
// ############## output ##############
}
echo '</table>';
mysql_close();
?>
In Topic: Interação Fórum E Site
15/11/2004, 17:01
-----
Klaus com C não!!!



In Topic: Interação Fórum E Site
15/11/2004, 16:56
Brigadão de novo!!!
- Fórum WMO
- → Viewing Profile: Posts: Shio
- Privacy Policy
- Regras ·