вывод 3-х тем - Visavi.net https://visavi.net/ RSS - Visavi.net https://visavi.net/assets/img/images/logo_small.png RSS - Visavi.net https://visavi.net/ [email protected] (admin) [email protected] (admin) Wed, 20 Nov 2024 02:05:47 +0300 <blockquote class="blockquote"><strong>Synz</strong> (16 Декабря 2011 / 20:45)<br> 9. <strong>3Doom</strong>, wtf? <img src="https://visavi.net/uploads/stickers/obana.gif" alt="obana"> </blockquote> <br> Hattake (06.12.11 / 21:18)<br> Пришелец [Off]<br> Отв / Цит / Спам<br> как сделать вывод последних 3-х тем с новыми сообщениями?<br> <br> это ответ. залить некуда с мобилы. https://visavi.net/topics/27202/463855 вывод 3-х тем Дмитрий Fri, 16 Dec 2011 20:49:30 +0400 Сообщения https://visavi.net/topics/27202/463855 9. <strong>3Doom</strong>, wtf? <img src="https://visavi.net/uploads/stickers/obana.gif" alt="obana"> https://visavi.net/topics/27202/463844 вывод 3-х тем JustZero Fri, 16 Dec 2011 20:45:15 +0400 Сообщения https://visavi.net/topics/27202/463844 echo &quot; &lt;tr&gt;\n&quot;;<br> if ($set[&#039;set_show_icon&#039;]==2){<br> echo &quot; &lt;td class=&#039;icon48&#039; rowspan=&#039;2&#039;&gt;\n&quot;;<br> echo &quot;&lt;img src=&#039;/style/themes/$set[set_them]/forum/48/them_$them[up]$them[close].png&#039; /&gt;&quot;;<br> echo &quot; &lt;/td&gt;\n&quot;;<br> }<br> elseif ($set[&#039;set_show_icon&#039;]==1)<br> {<br> echo &quot; &lt;td class=&#039;icon14&#039;&gt;\n&quot;;<br> echo &quot;&lt;img src=&#039;/style/themes/$set[set_them]/forum/14/them_$them[up]$them[close].png&#039; alt=&#039;&#039; /&gt;&quot;;<br> echo &quot; &lt;/td&gt;\n&quot;;<br> }<br> <br> <br> echo &quot; &lt;td class=&#039;p_t&#039;&gt;\n&quot;;<br> echo &quot;&lt;a href=&#039;/forum/$forum[id]/$razdel[id]/$them[id]/&#039;&gt;$them[name]&lt;/a&gt; &lt;a href=&#039;/forum/$forum[id]/$razdel[id]/$them[id]/?page=end&#039;&gt;(&quot;.mysql_result(mysql_query(&quot;SELECT COUNT(*) FROM `forum_p` WHERE `id_forum` = &#039;$forum[id]&#039; AND `id_razdel` = &#039;$razdel[id]&#039; AND `id_them` = &#039;$them[id]&#039;&quot;),0).&quot;)&lt;/a&gt;\n&quot;;<br> echo &quot; &lt;/td&gt;\n&quot;;<br> echo &quot; &lt;/tr&gt;\n&quot;;<br> <br> <br> echo &quot; &lt;tr&gt;\n&quot;;<br> if ($set[&#039;set_show_icon&#039;]==1)echo &quot; &lt;td class=&#039;p_m&#039; colspan=&#039;2&#039;&gt;\n&quot;; else echo &quot; &lt;td class=&#039;p_m&#039;&gt;\n&quot;;<br> <br> $post=mysql_fetch_assoc(mysql_query(&quot;SELECT * FROM `forum_p` WHERE `id_them` = &#039;$them[id]&#039; AND `id_razdel` = &#039;$razdel[id]&#039; AND `id_forum` = &#039;$forum[id]&#039; ORDER BY `time` DESC LIMIT 1&quot;));<br> $ank2=mysql_fetch_assoc(mysql_query(&quot;SELECT * FROM `user` WHERE `id` = $post[id_user] LIMIT 1&quot;));<br> echo &quot;Посл.: &lt;a href=&#039;/info.php?id=$ank2[id]&#039; title=&#039;Анкета \&quot;$ank2[nick]\&quot;&#039;&gt;$ank2[nick]&lt;/a&gt; (&quot;.vremja($post[&#039;time&#039;]).&quot;)&lt;br /&gt;\n&quot;;<br> echo &quot; &lt;/td&gt;\n&quot;;<br> echo &quot; &lt;/tr&gt;\n&quot;;<br> <br> }<br> echo &quot;&lt;/table&gt;\n&quot;;<br> <br> ?&gt;<br> <br> <em><span style="font-size:x-small">Добавлено через 00:46 сек.</span></em><br> создай страничку. и инклудь в нужное место на сайте. Условно 3 темы. Но можно сделать сколько нужно. https://visavi.net/topics/27202/463823 вывод 3-х тем Дмитрий Fri, 16 Dec 2011 20:32:20 +0400 Сообщения https://visavi.net/topics/27202/463823 &lt;?<br> echo &quot;&lt;div class=&#039;menu_razd&#039;&gt;\n&quot;;<br> echo &#039;Последние темы форума&#039;;<br> echo &quot;&lt;/div&gt;&quot;;<br> <br> $adm_add2=NULL;<br> if (!isset($user) || $user[&#039;level&#039;]==0){<br> $q222=mysql_query(&quot;SELECT * FROM `forum_f` WHERE `adm` = &#039;1&#039;&quot;);<br> while ($adm_f = mysql_fetch_assoc($q222))<br> {<br> $adm_add[]=&quot;`id_forum` &lt;&gt; &#039;$adm_f[id]&#039;&quot;;<br> }<br> if (sizeof($adm_add)!=0)<br> $adm_add2=&#039; WHERE&#039;.implode(&#039; AND &#039;, $adm_add);<br> }<br> <br> <br> echo &quot;&lt;table class=&#039;post&#039;&gt;\n&quot;;<br> $q=mysql_query(&quot;SELECT * FROM `forum_t`$adm_add2 ORDER BY `time` DESC LIMIT 3&quot;);<br> <br> while ($them = mysql_fetch_assoc($q))<br> {<br> <br> <br> $forum=mysql_fetch_assoc(mysql_query(&quot;SELECT * FROM `forum_f` WHERE `id` = &#039;$them[id_forum]&#039; LIMIT 1&quot;));<br> $razdel=mysql_fetch_assoc(mysql_query(&quot;SELECT * FROM `forum_r` WHERE `id` = &#039;$them[id_razdel]&#039; LIMIT 1&quot;));<br> $ank=mysql_fetch_assoc(mysql_query(&quot;SELECT * FROM `user` WHERE `id` = $them[id_user] LIMIT 1&quot;)); https://visavi.net/topics/27202/463820 вывод 3-х тем Дмитрий Fri, 16 Dec 2011 20:31:48 +0400 Сообщения https://visavi.net/topics/27202/463820 <a href="http://clubwm.ru/forum/11/10/1475/" target="_blank" rel="nofollow">http://clubwm.ru/forum/11/10/1475/</a> вот что то нарыл! https://visavi.net/topics/27202/458557 вывод 3-х тем Александр Thu, 08 Dec 2011 20:18:15 +0400 Сообщения https://visavi.net/topics/27202/458557 А на официальном сайте нет ответа на твой вопрос? https://visavi.net/topics/27202/458546 вывод 3-х тем Александр Thu, 08 Dec 2011 20:01:11 +0400 Сообщения https://visavi.net/topics/27202/458546 и опять мну никто не помог <img src="https://visavi.net/uploads/stickers/vtopku.gif" alt="vtopku"> <img src="https://visavi.net/uploads/stickers/E.gif" alt="E"> https://visavi.net/topics/27202/458543 вывод 3-х тем Hattake Thu, 08 Dec 2011 19:58:01 +0400 Сообщения https://visavi.net/topics/27202/458543 Не не знаю. https://visavi.net/topics/27202/457521 вывод 3-х тем Жень4ик Tue, 06 Dec 2011 21:26:58 +0400 Сообщения https://visavi.net/topics/27202/457521 под DCMS https://visavi.net/topics/27202/457516 вывод 3-х тем Hattake Tue, 06 Dec 2011 21:25:00 +0400 Сообщения https://visavi.net/topics/27202/457516 Под какой двиг? https://visavi.net/topics/27202/457513 вывод 3-х тем Жень4ик Tue, 06 Dec 2011 21:21:41 +0400 Сообщения https://visavi.net/topics/27202/457513 как сделать вывод последних 3-х тем с новыми сообщениями? https://visavi.net/topics/27202/457509 вывод 3-х тем Hattake Tue, 06 Dec 2011 21:18:53 +0400 Сообщения https://visavi.net/topics/27202/457509